== sanity test 123ad: Verify batching statahead works correctly ========================================================== 19:40:43 (1784590843) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.batch_stats=0 llite.lustre-ffff9cfdd81e4000.statahead_max=32 llite.lustre-ffff9cfdd81e4000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.77 seconds: 36.07 ops/second llite.lustre-ffff9cfdd81e4000.statahead_max=0 101 real 0m3.110s user 0m0.008s sys 0m0.355s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9cfdd81e4000.statahead_max=32 llite.lustre-ffff9cfdd81e4000.statahead_max=32 101 real 0m1.085s user 0m0.003s sys 0m0.199s 'ls -l' 100 files with statahead: 1 sec statahead total: 136 statahead wrong: 2 agl total: 130 list_total: 30 fname_total: 93 hit_total: 4215 miss_total: 1272 swrong=2 ewrong=2 - open/close 652 (time 1784590873.55 total 10.00 last 65.18) total: 900 open/close in 13.94 seconds: 64.57 ops/second llite.lustre-ffff9cfdd81e4000.statahead_max=0 1001 real 0m25.610s user 0m0.047s sys 0m3.450s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9cfdd81e4000.statahead_max=32 llite.lustre-ffff9cfdd81e4000.statahead_max=32 1001 real 0m10.109s user 0m0.034s sys 0m1.765s 'ls -l' 1000 files with statahead: 10 sec statahead total: 137 statahead wrong: 2 agl total: 131 list_total: 31 fname_total: 93 hit_total: 5210 miss_total: 1277 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9cfdd81e4000.statahead_stats= statahead total: 137 statahead wrong: 2 agl total: 131 list_total: 31 fname_total: 93 hit_total: 5210 miss_total: 1277 mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats= snapshot_time: 1784590945.562711123 secs.nsecs start_time: 1784590849.232284750 secs.nsecs elapsed_time: 96.330426373 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 1 2 5 8: 4 10 15 16: 23 57 72 32: 11 27 100 mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.batch_stats= snapshot_time: 1784590945.562797162 secs.nsecs start_time: 1784590849.232527840 secs.nsecs elapsed_time: 96.330269322 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 3 7 12 8: 3 7 20 16: 18 45 65 32: 14 35 100 - open/close 699 (time 1784590958.44 total 10.00 last 69.89) - open/close 1390 (time 1784590968.45 total 20.01 last 69.02) - open/close 2085 (time 1784590978.47 total 30.03 last 69.39) - open/close 2750 (time 1784590988.47 total 40.04 last 66.46) - open/close 3426 (time 1784590998.48 total 50.05 last 67.53) - open/close 4112 (time 1784591008.49 total 60.05 last 68.55) - open/close 4812 (time 1784591018.50 total 70.06 last 69.95) - open/close 5513 (time 1784591028.50 total 80.07 last 70.05) - open/close 6220 (time 1784591038.52 total 90.08 last 70.63) - open/close 6912 (time 1784591048.52 total 100.08 last 69.19) - open/close 7615 (time 1784591058.52 total 110.09 last 70.26) - open/close 8319 (time 1784591068.54 total 120.10 last 70.29) - open/close 8948 (time 1784591078.55 total 130.11 last 62.81) - open/close 9612 (time 1784591088.56 total 140.12 last 66.34) total: 10000 open/close in 145.68 seconds: 68.64 ops/second llite.lustre-ffff9cfdd81e4000.statahead_batch_max=0 llite.lustre-ffff9cfdd81e4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.stats=clear mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.217s user 0m0.374s sys 0m19.202s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9cfdd81e4000.statahead_batch_max=32 llite.lustre-ffff9cfdd81e4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.stats=clear mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m43.444s user 0m0.313s sys 0m16.575s batched statahead RPC= hit count=9992 mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats= snapshot_time: 1784591284.723173503 secs.nsecs start_time: 1784591169.211127455 secs.nsecs elapsed_time: 115.512046048 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-ffff9cfdd81e4000.batch_stats= snapshot_time: 1784591284.723246976 secs.nsecs start_time: 1784591169.211217204 secs.nsecs elapsed_time: 115.512029772 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.batch_stats=0 llite.lustre-ffff9cfdd81e4000.statahead_max=2048 llite.lustre-ffff9cfdd81e4000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.12 seconds: 32.08 ops/second llite.lustre-ffff9cfdd81e4000.statahead_max=0 101 real 0m2.954s user 0m0.005s sys 0m0.365s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9cfdd81e4000.statahead_max=2048 llite.lustre-ffff9cfdd81e4000.statahead_max=2048 101 real 0m0.958s user 0m0.004s sys 0m0.195s '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: 10091 miss_total: 9 swrong=0 ewrong=0 - open/close 623 (time 1784591604.62 total 10.00 last 62.28) total: 900 open/close in 14.18 seconds: 63.47 ops/second llite.lustre-ffff9cfdd81e4000.statahead_max=0 1001 real 0m28.369s user 0m0.037s sys 0m3.484s 'ls -l' 1000 files without statahead: 28 sec llite.lustre-ffff9cfdd81e4000.statahead_max=2048 llite.lustre-ffff9cfdd81e4000.statahead_max=2048 1001 real 0m5.958s user 0m0.027s sys 0m1.656s 'ls -l' 1000 files with statahead: 6 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11090 miss_total: 10 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff9cfdd81e4000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11090 miss_total: 10 mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats= snapshot_time: 1784591672.417690763 secs.nsecs start_time: 1784591286.932341954 secs.nsecs elapsed_time: 385.485348809 secs.nsecs subreqs per batch batches %% cum %% 1: 2 25 25 2: 0 0 25 4: 2 25 50 8: 2 25 75 16: 0 0 75 32: 0 0 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.batch_stats= snapshot_time: 1784591672.417759676 secs.nsecs start_time: 1784591286.932533404 secs.nsecs elapsed_time: 385.485226272 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 1 11 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 748 (time 1784591685.02 total 10.00 last 74.78) - open/close 1481 (time 1784591695.02 total 20.01 last 73.28) - open/close 2251 (time 1784591705.03 total 30.02 last 76.91) - open/close 2937 (time 1784591715.04 total 40.02 last 68.59) - open/close 3702 (time 1784591725.05 total 50.04 last 76.36) - open/close 4456 (time 1784591735.06 total 60.04 last 75.37) - open/close 5166 (time 1784591745.07 total 70.05 last 70.93) - open/close 5892 (time 1784591755.07 total 80.06 last 72.56) - open/close 6626 (time 1784591765.08 total 90.06 last 73.36) - open/close 7348 (time 1784591775.10 total 100.08 last 72.08) - open/close 8167 (time 1784591785.10 total 110.08 last 81.86) - open/close 9029 (time 1784591795.11 total 120.09 last 86.14) - open/close 9920 (time 1784591805.11 total 130.10 last 89.04) total: 10000 open/close in 131.06 seconds: 76.30 ops/second llite.lustre-ffff9cfdd81e4000.statahead_batch_max=0 llite.lustre-ffff9cfdd81e4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.stats=clear mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.456s user 0m0.319s sys 0m21.280s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9cfdd81e4000.statahead_batch_max=256 llite.lustre-ffff9cfdd81e4000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.stats=clear mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m41.287s user 0m0.279s sys 0m20.104s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9cfdd81e4000.batch_stats= snapshot_time: 1784591910.484153080 secs.nsecs start_time: 1784591860.448214940 secs.nsecs elapsed_time: 50.035938140 secs.nsecs subreqs per batch batches %% cum %% 1: 276 62 62 2: 56 12 74 4: 38 8 83 8: 11 2 85 16: 7 1 87 32: 14 3 90 64: 9 2 92 128: 0 0 92 256: 34 7 100 mdc.lustre-MDT0001-mdc-ffff9cfdd81e4000.batch_stats= snapshot_time: 1784591910.484218885 secs.nsecs start_time: 1784591860.448344556 secs.nsecs elapsed_time: 50.035874329 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-ffff9cfdd81e4000.statahead_batch_max=64 llite.lustre-ffff9cfdd81e4000.statahead_max=128