== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:50:53 (1787500253) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.batch_stats=0 llite.lustre-ffff8a6d79f51800.statahead_max=32 llite.lustre-ffff8a6d79f51800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.07 seconds: 48.29 ops/second llite.lustre-ffff8a6d79f51800.statahead_max=0 101 real 0m1.970s user 0m0.003s sys 0m0.299s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8a6d79f51800.statahead_max=32 llite.lustre-ffff8a6d79f51800.statahead_max=32 101 real 0m0.840s user 0m0.005s sys 0m0.172s 'ls -l' 100 files with statahead: 1 sec statahead total: 118 statahead wrong: 2 agl total: 113 list_total: 30 fname_total: 88 hit_total: 4433 miss_total: 1280 swrong=2 ewrong=2 total: 900 open/close in 9.53 seconds: 94.42 ops/second llite.lustre-ffff8a6d79f51800.statahead_max=0 1001 real 0m25.599s user 0m0.032s sys 0m2.784s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff8a6d79f51800.statahead_max=32 llite.lustre-ffff8a6d79f51800.statahead_max=32 1001 real 0m7.902s user 0m0.020s sys 0m1.309s 'ls -l' 1000 files with statahead: 8 sec statahead total: 119 statahead wrong: 2 agl total: 114 list_total: 31 fname_total: 88 hit_total: 5430 miss_total: 1283 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff8a6d79f51800.statahead_stats= statahead total: 119 statahead wrong: 2 agl total: 114 list_total: 31 fname_total: 88 hit_total: 5430 miss_total: 1283 mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats= snapshot_time: 1787500340.653683760 secs.nsecs start_time: 1787500258.014582313 secs.nsecs elapsed_time: 82.639101447 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 2 5 15 16: 22 55 70 32: 12 30 100 mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.batch_stats= snapshot_time: 1787500340.653762510 secs.nsecs start_time: 1787500258.014654487 secs.nsecs elapsed_time: 82.639108023 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 4 10 17 16: 16 41 58 32: 16 41 100 - open/close 849 (time 1787500353.73 total 10.00 last 84.87) - open/close 1741 (time 1787500363.74 total 20.01 last 89.18) - open/close 2782 (time 1787500373.75 total 30.02 last 103.99) - open/close 3820 (time 1787500383.75 total 40.02 last 103.76) - open/close 4848 (time 1787500393.76 total 50.02 last 102.77) - open/close 5793 (time 1787500403.76 total 60.03 last 94.47) - open/close 6684 (time 1787500413.76 total 70.03 last 89.07) - open/close 7649 (time 1787500423.76 total 80.03 last 96.48) - open/close 8667 (time 1787500433.78 total 90.04 last 101.67) - open/close 9754 (time 1787500443.79 total 100.06 last 108.53) total: 10000 open/close in 102.59 seconds: 97.48 ops/second llite.lustre-ffff8a6d79f51800.statahead_batch_max=0 llite.lustre-ffff8a6d79f51800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.stats=clear mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.948s user 0m0.309s sys 0m14.148s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a6d79f51800.statahead_batch_max=32 llite.lustre-ffff8a6d79f51800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.stats=clear mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m36.853s user 0m0.280s sys 0m13.215s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats= snapshot_time: 1787500619.539580438 secs.nsecs start_time: 1787500512.801945960 secs.nsecs elapsed_time: 106.737634478 secs.nsecs subreqs per batch batches %% cum %% 1: 1 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-ffff8a6d79f51800.batch_stats= snapshot_time: 1787500619.539644078 secs.nsecs start_time: 1787500512.802061283 secs.nsecs elapsed_time: 106.737582795 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.batch_stats=0 llite.lustre-ffff8a6d79f51800.statahead_max=2048 llite.lustre-ffff8a6d79f51800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.34 seconds: 42.75 ops/second llite.lustre-ffff8a6d79f51800.statahead_max=0 101 real 0m1.786s user 0m0.007s sys 0m0.298s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8a6d79f51800.statahead_max=2048 llite.lustre-ffff8a6d79f51800.statahead_max=2048 101 real 0m0.816s user 0m0.002s sys 0m0.174s '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: 10078 miss_total: 22 swrong=0 ewrong=0 total: 900 open/close in 8.80 seconds: 102.27 ops/second llite.lustre-ffff8a6d79f51800.statahead_max=0 1001 real 0m16.474s user 0m0.029s sys 0m2.768s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff8a6d79f51800.statahead_max=2048 llite.lustre-ffff8a6d79f51800.statahead_max=2048 1001 real 0m5.658s user 0m0.028s sys 0m1.411s '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: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 16 seconds llite.lustre-ffff8a6d79f51800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats= snapshot_time: 1787500918.552609771 secs.nsecs start_time: 1787500622.374054599 secs.nsecs elapsed_time: 296.178555172 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 1 16 33 4: 1 16 50 8: 1 16 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-ffff8a6d79f51800.batch_stats= snapshot_time: 1787500918.552857566 secs.nsecs start_time: 1787500622.374201562 secs.nsecs elapsed_time: 296.178656004 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 0 0 44 32: 1 11 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 1110 (time 1787500930.57 total 10.01 last 110.89) - open/close 2104 (time 1787500940.58 total 20.02 last 99.27) - open/close 2962 (time 1787500950.58 total 30.03 last 85.77) - open/close 3878 (time 1787500960.58 total 40.03 last 91.59) - open/close 4852 (time 1787500970.59 total 50.03 last 97.36) - open/close 5824 (time 1787500980.59 total 60.04 last 97.14) - open/close 6784 (time 1787500990.60 total 70.04 last 95.94) - open/close 7673 (time 1787501000.60 total 80.05 last 88.88) - open/close 8637 (time 1787501010.61 total 90.05 last 96.32) - open/close 9538 (time 1787501020.62 total 100.06 last 90.03) total: 10000 open/close in 104.35 seconds: 95.83 ops/second llite.lustre-ffff8a6d79f51800.statahead_batch_max=0 llite.lustre-ffff8a6d79f51800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.stats=clear mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.899s user 0m0.285s sys 0m13.998s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a6d79f51800.statahead_batch_max=256 llite.lustre-ffff8a6d79f51800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.stats=clear mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m50.854s user 0m0.276s sys 0m14.251s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8a6d79f51800.batch_stats= snapshot_time: 1787501149.330128010 secs.nsecs start_time: 1787501086.073285551 secs.nsecs elapsed_time: 63.256842459 secs.nsecs subreqs per batch batches %% cum %% 1: 150 49 49 2: 48 15 65 4: 23 7 73 8: 14 4 78 16: 8 2 80 32: 13 4 85 64: 10 3 88 128: 1 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff8a6d79f51800.batch_stats= snapshot_time: 1787501149.330200075 secs.nsecs start_time: 1787501086.073384023 secs.nsecs elapsed_time: 63.256816052 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-ffff8a6d79f51800.statahead_batch_max=64 llite.lustre-ffff8a6d79f51800.statahead_max=128