== sanity test 123ad: Verify batching statahead works correctly ========================================================== 14:24:14 (1787855054) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9979106c1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9979106c1000.batch_stats=0 llite.lustre-ffff9979106c1000.statahead_max=32 llite.lustre-ffff9979106c1000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9979106c1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9979106c1000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.61 seconds: 38.38 ops/second llite.lustre-ffff9979106c1000.statahead_max=0 101 real 0m1.943s user 0m0.006s sys 0m0.289s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9979106c1000.statahead_max=32 llite.lustre-ffff9979106c1000.statahead_max=32 101 real 0m1.521s user 0m0.005s sys 0m0.189s 'ls -l' 100 files with statahead: 2 sec statahead total: 158 statahead wrong: 2 agl total: 151 list_total: 32 fname_total: 126 hit_total: 4105 miss_total: 1529 swrong=2 ewrong=2 total: 900 open/close in 9.91 seconds: 90.84 ops/second llite.lustre-ffff9979106c1000.statahead_max=0 1001 real 0m20.810s user 0m0.040s sys 0m2.988s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9979106c1000.statahead_max=32 llite.lustre-ffff9979106c1000.statahead_max=32 1001 real 0m8.281s user 0m0.027s sys 0m1.408s 'ls -l' 1000 files with statahead: 8 sec statahead total: 159 statahead wrong: 2 agl total: 152 list_total: 33 fname_total: 126 hit_total: 5103 miss_total: 1531 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9979106c1000.statahead_stats= statahead total: 159 statahead wrong: 2 agl total: 152 list_total: 33 fname_total: 126 hit_total: 5103 miss_total: 1531 mdc.lustre-MDT0000-mdc-ffff9979106c1000.batch_stats= snapshot_time: 1787855145.586862737 secs.nsecs start_time: 1787855060.284163402 secs.nsecs elapsed_time: 85.302699335 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 3 7 12 8: 2 5 17 16: 18 45 62 32: 15 37 100 mdc.lustre-MDT0001-mdc-ffff9979106c1000.batch_stats= snapshot_time: 1787855145.586954896 secs.nsecs start_time: 1787855060.284272376 secs.nsecs elapsed_time: 85.302682520 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 7 4: 0 0 7 8: 4 10 17 16: 20 50 67 32: 13 32 100 - open/close 751 (time 1787855158.21 total 10.00 last 75.09) - open/close 1568 (time 1787855168.21 total 20.01 last 81.66) - open/close 2289 (time 1787855178.22 total 30.01 last 72.05) - open/close 3057 (time 1787855188.23 total 40.02 last 76.77) - open/close 3799 (time 1787855198.23 total 50.02 last 74.18) - open/close 4588 (time 1787855208.23 total 60.02 last 78.88) - open/close 5469 (time 1787855218.24 total 70.03 last 88.01) - open/close 6348 (time 1787855228.25 total 80.04 last 87.84) - open/close 7105 (time 1787855238.26 total 90.05 last 75.59) - open/close 7886 (time 1787855248.26 total 100.05 last 78.09) - open/close 8693 (time 1787855258.27 total 110.06 last 80.64) - open/close 9398 (time 1787855268.27 total 120.06 last 70.49) total: 10000 open/close in 127.21 seconds: 78.61 ops/second llite.lustre-ffff9979106c1000.statahead_batch_max=0 llite.lustre-ffff9979106c1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9979106c1000.stats=clear mdc.lustre-MDT0001-mdc-ffff9979106c1000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.806s user 0m0.365s sys 0m15.950s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9979106c1000.statahead_batch_max=32 llite.lustre-ffff9979106c1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9979106c1000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9979106c1000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9979106c1000.stats=clear mdc.lustre-MDT0001-mdc-ffff9979106c1000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m45.112s user 0m0.346s sys 0m14.644s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff9979106c1000.batch_stats= snapshot_time: 1787855459.260126160 secs.nsecs start_time: 1787855343.093119566 secs.nsecs elapsed_time: 116.167006594 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-ffff9979106c1000.batch_stats= snapshot_time: 1787855459.260199436 secs.nsecs start_time: 1787855343.093356848 secs.nsecs elapsed_time: 116.166842588 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9979106c1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9979106c1000.batch_stats=0 llite.lustre-ffff9979106c1000.statahead_max=2048 llite.lustre-ffff9979106c1000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9979106c1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9979106c1000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.51 seconds: 39.86 ops/second llite.lustre-ffff9979106c1000.statahead_max=0 101 real 0m2.834s user 0m0.010s sys 0m0.327s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9979106c1000.statahead_max=2048 llite.lustre-ffff9979106c1000.statahead_max=2048 101 real 0m0.788s user 0m0.006s sys 0m0.160s '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 - open/close 816 (time 1787855764.56 total 10.01 last 81.53) total: 900 open/close in 11.40 seconds: 78.96 ops/second llite.lustre-ffff9979106c1000.statahead_max=0 1001 real 0m29.502s user 0m0.039s sys 0m3.180s 'ls -l' 1000 files without statahead: 30 sec llite.lustre-ffff9979106c1000.statahead_max=2048 llite.lustre-ffff9979106c1000.statahead_max=2048 1001 real 0m6.384s user 0m0.028s sys 0m1.467s '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: 20 seconds llite.lustre-ffff9979106c1000.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-ffff9979106c1000.batch_stats= snapshot_time: 1787855834.304587029 secs.nsecs start_time: 1787855461.988932671 secs.nsecs elapsed_time: 372.315654358 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 16 16 4: 2 33 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-ffff9979106c1000.batch_stats= snapshot_time: 1787855834.304642919 secs.nsecs start_time: 1787855461.989101462 secs.nsecs elapsed_time: 372.315541457 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 1 11 22 8: 1 11 33 16: 2 22 55 32: 0 0 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 784 (time 1787855847.02 total 10.01 last 78.34) - open/close 1558 (time 1787855857.03 total 20.02 last 77.33) - open/close 2329 (time 1787855867.04 total 30.02 last 77.04) - open/close 3132 (time 1787855877.04 total 40.03 last 80.24) - open/close 3986 (time 1787855887.05 total 50.04 last 85.33) - open/close 4782 (time 1787855897.05 total 60.04 last 79.59) - open/close 5566 (time 1787855907.06 total 70.05 last 78.35) - open/close 6461 (time 1787855917.07 total 80.05 last 89.45) - open/close 7259 (time 1787855927.07 total 90.06 last 79.80) - open/close 8061 (time 1787855937.07 total 100.06 last 80.16) - open/close 8941 (time 1787855947.08 total 110.07 last 87.95) - open/close 9774 (time 1787855957.10 total 120.09 last 83.10) total: 10000 open/close in 122.41 seconds: 81.69 ops/second llite.lustre-ffff9979106c1000.statahead_batch_max=0 llite.lustre-ffff9979106c1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9979106c1000.stats=clear mdc.lustre-MDT0001-mdc-ffff9979106c1000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.404s user 0m0.395s sys 0m15.522s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9979106c1000.statahead_batch_max=256 llite.lustre-ffff9979106c1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9979106c1000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9979106c1000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9979106c1000.stats=clear mdc.lustre-MDT0001-mdc-ffff9979106c1000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.073s user 0m0.282s sys 0m14.703s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9979106c1000.batch_stats= snapshot_time: 1787856097.383854494 secs.nsecs start_time: 1787856034.014460771 secs.nsecs elapsed_time: 63.369393723 secs.nsecs subreqs per batch batches %% cum %% 1: 67 37 37 2: 22 12 49 4: 17 9 58 8: 9 5 63 16: 8 4 68 32: 14 7 76 64: 6 3 79 128: 1 0 80 256: 36 20 100 mdc.lustre-MDT0001-mdc-ffff9979106c1000.batch_stats= snapshot_time: 1787856097.383929216 secs.nsecs start_time: 1787856034.014606503 secs.nsecs elapsed_time: 63.369322713 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-ffff9979106c1000.statahead_batch_max=64 llite.lustre-ffff9979106c1000.statahead_max=128