== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:34:20 (1780338860) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats=0 llite.lustre-ffff9ccc04c93800.statahead_max=32 llite.lustre-ffff9ccc04c93800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.67 seconds: 37.40 ops/second llite.lustre-ffff9ccc04c93800.statahead_max=0 101 real 0m2.167s user 0m0.009s sys 0m0.323s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9ccc04c93800.statahead_max=32 llite.lustre-ffff9ccc04c93800.statahead_max=32 101 real 0m1.486s user 0m0.006s sys 0m0.170s 'ls -l' 100 files with statahead: 1 sec statahead total: 113 statahead wrong: 2 agl total: 108 list_total: 32 fname_total: 78 hit_total: 4397 miss_total: 1289 swrong=2 ewrong=2 - open/close 612 (time 1780338890.08 total 10.02 last 61.05) total: 900 open/close in 14.50 seconds: 62.05 ops/second llite.lustre-ffff9ccc04c93800.statahead_max=0 1001 real 0m25.000s user 0m0.034s sys 0m3.067s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9ccc04c93800.statahead_max=32 llite.lustre-ffff9ccc04c93800.statahead_max=32 1001 real 0m11.144s user 0m0.030s sys 0m1.515s 'ls -l' 1000 files with statahead: 12 sec statahead total: 114 statahead wrong: 2 agl total: 109 list_total: 33 fname_total: 78 hit_total: 5393 miss_total: 1293 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff9ccc04c93800.statahead_stats= statahead total: 114 statahead wrong: 2 agl total: 109 list_total: 33 fname_total: 78 hit_total: 5393 miss_total: 1293 mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats= snapshot_time: 1780338970.264751323 secs.nsecs start_time: 1780338865.863863446 secs.nsecs elapsed_time: 104.400887877 secs.nsecs subreqs per batch batches % cum % 1: 3 7 7 2: 2 5 13 4: 1 2 15 8: 4 10 26 16: 19 50 76 32: 9 23 100 mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats= snapshot_time: 1780338970.264894025 secs.nsecs start_time: 1780338865.864101042 secs.nsecs elapsed_time: 104.400792983 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 2 5 12 16: 14 35 47 32: 21 52 100 - open/close 693 (time 1780338983.82 total 10.01 last 69.24) - open/close 1351 (time 1780338993.82 total 20.01 last 65.79) - open/close 2104 (time 1780339003.83 total 30.02 last 75.23) - open/close 2869 (time 1780339013.88 total 40.07 last 76.13) - open/close 3547 (time 1780339023.90 total 50.09 last 67.70) - open/close 4220 (time 1780339033.90 total 60.09 last 67.28) - open/close 4963 (time 1780339043.90 total 70.09 last 74.27) - open/close 5697 (time 1780339053.92 total 80.11 last 73.27) - open/close 6435 (time 1780339063.92 total 90.11 last 73.80) - open/close 7153 (time 1780339073.93 total 100.12 last 71.75) - open/close 7834 (time 1780339083.93 total 110.12 last 68.07) - open/close 8536 (time 1780339093.94 total 120.12 last 70.19) - open/close 9193 (time 1780339103.95 total 130.13 last 65.64) - open/close 9982 (time 1780339113.95 total 140.14 last 78.83) total: 10000 open/close in 140.33 seconds: 71.26 ops/second llite.lustre-ffff9ccc04c93800.statahead_batch_max=0 llite.lustre-ffff9ccc04c93800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.991s user 0m0.311s sys 0m15.391s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ccc04c93800.statahead_batch_max=32 llite.lustre-ffff9ccc04c93800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m57.880s user 0m0.322s sys 0m14.729s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats= snapshot_time: 1780339324.062800153 secs.nsecs start_time: 1780339191.217043085 secs.nsecs elapsed_time: 132.845757068 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats= snapshot_time: 1780339324.062882821 secs.nsecs start_time: 1780339191.217124274 secs.nsecs elapsed_time: 132.845758547 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats=0 llite.lustre-ffff9ccc04c93800.statahead_max=2048 llite.lustre-ffff9ccc04c93800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.82 seconds: 35.47 ops/second llite.lustre-ffff9ccc04c93800.statahead_max=0 101 real 0m2.260s user 0m0.005s sys 0m0.315s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9ccc04c93800.statahead_max=2048 llite.lustre-ffff9ccc04c93800.statahead_max=2048 101 real 0m0.979s user 0m0.005s sys 0m0.180s 'ls -l' 100 files with statahead: 1 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10079 miss_total: 21 swrong=0 ewrong=0 - open/close 656 (time 1780339663.81 total 10.01 last 65.54) total: 900 open/close in 13.82 seconds: 65.13 ops/second llite.lustre-ffff9ccc04c93800.statahead_max=0 1001 real 0m20.050s user 0m0.029s sys 0m2.934s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff9ccc04c93800.statahead_max=2048 llite.lustre-ffff9ccc04c93800.statahead_max=2048 1001 real 0m7.104s user 0m0.029s sys 0m1.470s 'ls -l' 1000 files with statahead: 7 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9ccc04c93800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats= snapshot_time: 1780339729.095312327 secs.nsecs start_time: 1780339327.973290462 secs.nsecs elapsed_time: 401.122021865 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 12 12 4: 1 12 25 8: 2 25 50 16: 1 12 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats= snapshot_time: 1780339729.095389958 secs.nsecs start_time: 1780339327.973436954 secs.nsecs elapsed_time: 401.121953004 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 12 12 4: 1 12 25 8: 3 37 62 16: 0 0 62 32: 0 0 62 64: 1 12 75 128: 0 0 75 256: 2 25 100 - open/close 837 (time 1780339742.13 total 10.01 last 83.66) - open/close 1557 (time 1780339752.13 total 20.01 last 71.97) - open/close 2331 (time 1780339762.14 total 30.01 last 77.36) - open/close 3241 (time 1780339772.15 total 40.02 last 90.91) - open/close 4054 (time 1780339782.16 total 50.03 last 81.25) - open/close 5071 (time 1780339792.17 total 60.05 last 101.53) - open/close 5929 (time 1780339802.18 total 70.05 last 85.75) - open/close 6738 (time 1780339812.19 total 80.06 last 80.83) - open/close 7649 (time 1780339822.19 total 90.07 last 91.05) - open/close 8512 (time 1780339832.19 total 100.07 last 86.28) - open/close 9474 (time 1780339842.20 total 110.07 last 96.17) total: 10000 open/close in 115.09 seconds: 86.89 ops/second llite.lustre-ffff9ccc04c93800.statahead_batch_max=0 llite.lustre-ffff9ccc04c93800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.671s user 0m0.310s sys 0m15.267s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ccc04c93800.statahead_batch_max=256 llite.lustre-ffff9ccc04c93800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.637s user 0m0.284s sys 0m14.393s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9ccc04c93800.batch_stats= snapshot_time: 1780339995.513471528 secs.nsecs start_time: 1780339921.353896675 secs.nsecs elapsed_time: 74.159574853 secs.nsecs subreqs per batch batches % cum % 1: 198 46 46 2: 61 14 60 4: 48 11 72 8: 39 9 81 16: 27 6 87 32: 14 3 91 64: 5 1 92 128: 0 0 92 256: 33 7 100 mdc.lustre-MDT0001-mdc-ffff9ccc04c93800.batch_stats= snapshot_time: 1780339995.513797064 secs.nsecs start_time: 1780339921.354053600 secs.nsecs elapsed_time: 74.159743464 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second unlink(/mnt/lustre/d123ad.sanity/f123ad.sanity0) error: No such file or directory total: 0 unlinks in 0 seconds: -nan unlinks/second seq.cli-lustre-OST0000-super.width=65536 seq.cli-lustre-OST0001-super.width=65536 llite.lustre-ffff9ccc04c93800.statahead_batch_max=64 llite.lustre-ffff9ccc04c93800.statahead_max=128