== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:26:30 (1787869590) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats=0 llite.lustre-ffff9b9b056b0000.statahead_max=32 llite.lustre-ffff9b9b056b0000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.68 seconds: 37.37 ops/second llite.lustre-ffff9b9b056b0000.statahead_max=0 101 real 0m2.318s user 0m0.006s sys 0m0.341s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9b9b056b0000.statahead_max=32 llite.lustre-ffff9b9b056b0000.statahead_max=32 101 real 0m0.917s user 0m0.004s sys 0m0.191s 'ls -l' 100 files with statahead: 1 sec statahead total: 140 statahead wrong: 2 agl total: 135 list_total: 33 fname_total: 107 hit_total: 4488 miss_total: 1292 swrong=2 ewrong=2 - open/close 709 (time 1787869618.50 total 10.01 last 70.84) total: 900 open/close in 13.11 seconds: 68.63 ops/second llite.lustre-ffff9b9b056b0000.statahead_max=0 1001 real 0m24.389s user 0m0.033s sys 0m2.886s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff9b9b056b0000.statahead_max=32 llite.lustre-ffff9b9b056b0000.statahead_max=32 1001 real 0m9.194s user 0m0.025s sys 0m1.440s 'ls -l' 1000 files with statahead: 9 sec statahead total: 141 statahead wrong: 2 agl total: 136 list_total: 34 fname_total: 107 hit_total: 5487 miss_total: 1293 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff9b9b056b0000.statahead_stats= statahead total: 141 statahead wrong: 2 agl total: 136 list_total: 34 fname_total: 107 hit_total: 5487 miss_total: 1293 mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats= snapshot_time: 1787869691.116644293 secs.nsecs start_time: 1787869595.322497608 secs.nsecs elapsed_time: 95.794146685 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 5 5 4: 0 0 5 8: 5 12 17 16: 18 46 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats= snapshot_time: 1787869691.116712537 secs.nsecs start_time: 1787869595.322695935 secs.nsecs elapsed_time: 95.794016602 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 7 4: 2 5 12 8: 1 2 15 16: 24 60 75 32: 10 25 100 - open/close 752 (time 1787869703.68 total 10.01 last 75.15) - open/close 1484 (time 1787869713.69 total 20.01 last 73.15) - open/close 2217 (time 1787869723.70 total 30.03 last 73.20) - open/close 2942 (time 1787869733.71 total 40.03 last 72.46) - open/close 3690 (time 1787869743.72 total 50.04 last 74.72) - open/close 4394 (time 1787869753.72 total 60.05 last 70.38) - open/close 5148 (time 1787869763.74 total 70.07 last 75.25) - open/close 5861 (time 1787869773.75 total 80.07 last 71.25) - open/close 6590 (time 1787869783.75 total 90.08 last 72.85) - open/close 7270 (time 1787869793.76 total 100.08 last 67.97) - open/close 7973 (time 1787869803.77 total 110.09 last 70.23) - open/close 8730 (time 1787869813.78 total 120.11 last 75.59) - open/close 9497 (time 1787869823.80 total 130.13 last 76.56) total: 10000 open/close in 136.95 seconds: 73.02 ops/second llite.lustre-ffff9b9b056b0000.statahead_batch_max=0 llite.lustre-ffff9b9b056b0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.596s user 0m0.290s sys 0m14.938s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b9b056b0000.statahead_batch_max=32 llite.lustre-ffff9b9b056b0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m48.847s user 0m0.307s sys 0m14.084s batched statahead RPC= hit count=9976 mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats= snapshot_time: 1787870028.263781460 secs.nsecs start_time: 1787869907.929212216 secs.nsecs elapsed_time: 120.334569244 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats= snapshot_time: 1787870028.263842100 secs.nsecs start_time: 1787869907.929298485 secs.nsecs elapsed_time: 120.334543615 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats=0 llite.lustre-ffff9b9b056b0000.statahead_max=2048 llite.lustre-ffff9b9b056b0000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 3.48 seconds: 28.74 ops/second llite.lustre-ffff9b9b056b0000.statahead_max=0 101 real 0m2.642s user 0m0.005s sys 0m0.313s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9b9b056b0000.statahead_max=2048 llite.lustre-ffff9b9b056b0000.statahead_max=2048 101 real 0m1.052s user 0m0.004s sys 0m0.204s '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: 10075 miss_total: 25 swrong=0 ewrong=0 - open/close 673 (time 1787870376.70 total 10.02 last 67.19) total: 900 open/close in 13.64 seconds: 66.00 ops/second llite.lustre-ffff9b9b056b0000.statahead_max=0 1001 real 0m25.650s user 0m0.033s sys 0m3.129s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff9b9b056b0000.statahead_max=2048 llite.lustre-ffff9b9b056b0000.statahead_max=2048 1001 real 0m6.050s user 0m0.029s sys 0m1.555s '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: 11074 miss_total: 26 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9b9b056b0000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11074 miss_total: 26 mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats= snapshot_time: 1787870449.354441026 secs.nsecs start_time: 1787870030.771529464 secs.nsecs elapsed_time: 418.582911562 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 0 0 16 4: 1 16 33 8: 2 33 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats= snapshot_time: 1787870449.354534902 secs.nsecs start_time: 1787870030.771673760 secs.nsecs elapsed_time: 418.582861142 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 12 12 4: 1 12 25 8: 1 12 37 16: 1 12 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 691 (time 1787870462.59 total 10.00 last 69.09) - open/close 1318 (time 1787870472.59 total 20.01 last 62.66) - open/close 1880 (time 1787870482.61 total 30.02 last 56.11) - open/close 2540 (time 1787870492.61 total 40.03 last 65.96) - open/close 3224 (time 1787870502.61 total 50.03 last 68.40) - open/close 3933 (time 1787870512.63 total 60.04 last 70.80) - open/close 4517 (time 1787870522.64 total 70.06 last 58.32) - open/close 5113 (time 1787870532.66 total 80.07 last 59.52) - open/close 5749 (time 1787870542.66 total 90.07 last 63.58) - open/close 6331 (time 1787870552.68 total 100.10 last 58.06) - open/close 6964 (time 1787870562.69 total 110.10 last 63.27) - open/close 7631 (time 1787870572.70 total 120.12 last 66.62) - open/close 8345 (time 1787870582.70 total 130.12 last 71.37) - open/close 9015 (time 1787870592.71 total 140.12 last 66.98) - open/close 9655 (time 1787870602.72 total 150.14 last 63.92) total: 10000 open/close in 154.58 seconds: 64.69 ops/second llite.lustre-ffff9b9b056b0000.statahead_batch_max=0 llite.lustre-ffff9b9b056b0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.221s user 0m0.363s sys 0m17.054s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b9b056b0000.statahead_batch_max=256 llite.lustre-ffff9b9b056b0000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.799s user 0m0.338s sys 0m16.375s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9b9b056b0000.batch_stats= snapshot_time: 1787870739.836227679 secs.nsecs start_time: 1787870676.237538570 secs.nsecs elapsed_time: 63.598689109 secs.nsecs subreqs per batch batches %% cum %% 1: 183 53 53 2: 37 10 64 4: 32 9 73 8: 17 4 78 16: 12 3 82 32: 20 5 88 64: 6 1 90 128: 0 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff9b9b056b0000.batch_stats= snapshot_time: 1787870739.836297479 secs.nsecs start_time: 1787870676.237639988 secs.nsecs elapsed_time: 63.598657491 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-ffff9b9b056b0000.statahead_batch_max=64 llite.lustre-ffff9b9b056b0000.statahead_max=128