== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:33:29 (1782228809) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98a890f9f800.batch_stats=0 llite.lustre-ffff98a890f9f800.statahead_max=32 llite.lustre-ffff98a890f9f800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98a890f9f800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.49 seconds: 40.13 ops/second llite.lustre-ffff98a890f9f800.statahead_max=0 101 real 0m2.401s user 0m0.007s sys 0m0.381s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff98a890f9f800.statahead_max=32 llite.lustre-ffff98a890f9f800.statahead_max=32 101 real 0m0.987s user 0m0.008s sys 0m0.203s 'ls -l' 100 files with statahead: 1 sec statahead total: 143 statahead wrong: 2 agl total: 137 list_total: 31 fname_total: 92 hit_total: 3614 miss_total: 1293 swrong=2 ewrong=2 - open/close 773 (time 1782228836.31 total 10.00 last 77.29) total: 900 open/close in 11.71 seconds: 76.84 ops/second llite.lustre-ffff98a890f9f800.statahead_max=0 1001 real 0m25.143s user 0m0.040s sys 0m3.578s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff98a890f9f800.statahead_max=32 llite.lustre-ffff98a890f9f800.statahead_max=32 1001 real 0m12.066s user 0m0.034s sys 0m1.755s 'ls -l' 1000 files with statahead: 12 sec statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 32 fname_total: 92 hit_total: 4613 miss_total: 1294 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff98a890f9f800.statahead_stats= statahead total: 144 statahead wrong: 2 agl total: 138 list_total: 32 fname_total: 92 hit_total: 4613 miss_total: 1294 mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats= snapshot_time: 1782228913.751925945 secs.nsecs start_time: 1782228814.326054837 secs.nsecs elapsed_time: 99.425871108 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 3 7 12 8: 0 0 12 16: 21 53 66 32: 13 33 100 mdc.lustre-MDT0001-mdc-ffff98a890f9f800.batch_stats= snapshot_time: 1782228913.752003314 secs.nsecs start_time: 1782228814.326260740 secs.nsecs elapsed_time: 99.425742574 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 1 2 7 8: 4 10 17 16: 19 47 65 32: 14 35 100 - open/close 592 (time 1782228926.78 total 10.01 last 59.15) - open/close 1168 (time 1782228936.78 total 20.01 last 57.60) - open/close 1753 (time 1782228946.78 total 30.02 last 58.46) - open/close 2346 (time 1782228956.79 total 40.02 last 59.26) - open/close 2998 (time 1782228966.79 total 50.03 last 65.19) - open/close 3706 (time 1782228976.79 total 60.03 last 70.79) - open/close 4430 (time 1782228986.80 total 70.04 last 72.34) - open/close 5142 (time 1782228996.80 total 80.04 last 71.18) - open/close 5817 (time 1782229006.81 total 90.04 last 67.47) - open/close 6517 (time 1782229016.82 total 100.05 last 69.92) - open/close 7157 (time 1782229026.83 total 110.07 last 63.92) - open/close 7868 (time 1782229036.84 total 120.08 last 71.03) - open/close 8568 (time 1782229046.85 total 130.09 last 69.93) - open/close 9264 (time 1782229056.85 total 140.09 last 69.60) total: 10000 open/close in 149.82 seconds: 66.75 ops/second llite.lustre-ffff98a890f9f800.statahead_batch_max=0 llite.lustre-ffff98a890f9f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98a890f9f800.stats=clear mdc.lustre-MDT0001-mdc-ffff98a890f9f800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.275s user 0m0.340s sys 0m17.307s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98a890f9f800.statahead_batch_max=32 llite.lustre-ffff98a890f9f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff98a890f9f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98a890f9f800.stats=clear mdc.lustre-MDT0001-mdc-ffff98a890f9f800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m5.997s user 0m0.354s sys 0m16.547s batched statahead RPC= hit count=9987 mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats= snapshot_time: 1782229292.913524943 secs.nsecs start_time: 1782229151.451410653 secs.nsecs elapsed_time: 141.462114290 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-ffff98a890f9f800.batch_stats= snapshot_time: 1782229292.914134620 secs.nsecs start_time: 1782229151.451777708 secs.nsecs elapsed_time: 141.462356912 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98a890f9f800.batch_stats=0 llite.lustre-ffff98a890f9f800.statahead_max=2048 llite.lustre-ffff98a890f9f800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98a890f9f800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.54 seconds: 39.42 ops/second llite.lustre-ffff98a890f9f800.statahead_max=0 101 real 0m2.437s user 0m0.004s sys 0m0.357s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff98a890f9f800.statahead_max=2048 llite.lustre-ffff98a890f9f800.statahead_max=2048 101 real 0m0.926s user 0m0.006s sys 0m0.227s 'ls -l' 100 files with statahead: 0 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10086 miss_total: 14 swrong=0 ewrong=0 - open/close 739 (time 1782229653.53 total 10.00 last 73.88) total: 900 open/close in 12.24 seconds: 73.51 ops/second llite.lustre-ffff98a890f9f800.statahead_max=0 1001 real 0m22.977s user 0m0.042s sys 0m3.206s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff98a890f9f800.statahead_max=2048 llite.lustre-ffff98a890f9f800.statahead_max=2048 1001 real 0m6.516s user 0m0.032s sys 0m1.570s '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: 11085 miss_total: 15 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff98a890f9f800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11085 miss_total: 15 mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats= snapshot_time: 1782229718.376758115 secs.nsecs start_time: 1782229296.248799199 secs.nsecs elapsed_time: 422.127958916 secs.nsecs subreqs per batch batches %% cum %% 1: 1 16 16 2: 1 16 33 4: 2 33 66 8: 0 0 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-ffff98a890f9f800.batch_stats= snapshot_time: 1782229718.376822731 secs.nsecs start_time: 1782229296.248953629 secs.nsecs elapsed_time: 422.127869102 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 33 33 16: 2 22 55 32: 0 0 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 685 (time 1782229731.04 total 10.00 last 68.49) - open/close 1369 (time 1782229741.05 total 20.02 last 68.30) - open/close 1983 (time 1782229751.07 total 30.03 last 61.32) - open/close 2684 (time 1782229761.08 total 40.04 last 70.01) - open/close 3374 (time 1782229771.09 total 50.05 last 68.94) - open/close 4069 (time 1782229781.09 total 60.05 last 69.48) - open/close 4773 (time 1782229791.10 total 70.06 last 70.37) - open/close 5456 (time 1782229801.11 total 80.07 last 68.19) - open/close 6137 (time 1782229811.12 total 90.09 last 68.02) - open/close 6879 (time 1782229821.12 total 100.09 last 74.19) - open/close 7608 (time 1782229831.13 total 110.09 last 72.84) - open/close 8323 (time 1782229841.15 total 120.11 last 71.38) - open/close 8952 (time 1782229851.17 total 130.13 last 62.76) - open/close 9613 (time 1782229861.17 total 140.13 last 66.10) total: 10000 open/close in 146.53 seconds: 68.24 ops/second llite.lustre-ffff98a890f9f800.statahead_batch_max=0 llite.lustre-ffff98a890f9f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98a890f9f800.stats=clear mdc.lustre-MDT0001-mdc-ffff98a890f9f800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.114s user 0m0.321s sys 0m16.965s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98a890f9f800.statahead_batch_max=256 llite.lustre-ffff98a890f9f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff98a890f9f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98a890f9f800.stats=clear mdc.lustre-MDT0001-mdc-ffff98a890f9f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m50.599s user 0m0.290s sys 0m17.933s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff98a890f9f800.batch_stats= snapshot_time: 1782230002.816545379 secs.nsecs start_time: 1782229939.921107720 secs.nsecs elapsed_time: 62.895437659 secs.nsecs subreqs per batch batches %% cum %% 1: 236 51 51 2: 76 16 67 4: 44 9 77 8: 39 8 85 16: 11 2 88 32: 12 2 90 64: 9 1 92 128: 0 0 92 256: 33 7 100 mdc.lustre-MDT0001-mdc-ffff98a890f9f800.batch_stats= snapshot_time: 1782230002.816634293 secs.nsecs start_time: 1782229939.921360911 secs.nsecs elapsed_time: 62.895273382 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-ffff98a890f9f800.statahead_batch_max=64 llite.lustre-ffff98a890f9f800.statahead_max=128