== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:33:20 (1790739200) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.batch_stats=0 llite.lustre-ffff8917d1fc1000.statahead_max=32 llite.lustre-ffff8917d1fc1000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.57 seconds: 38.96 ops/second llite.lustre-ffff8917d1fc1000.statahead_max=0 101 real 0m2.532s user 0m0.003s sys 0m0.308s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8917d1fc1000.statahead_max=32 llite.lustre-ffff8917d1fc1000.statahead_max=32 101 real 0m1.098s user 0m0.003s sys 0m0.181s 'ls -l' 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 2 agl total: 117 list_total: 31 fname_total: 71 hit_total: 3758 miss_total: 1499 swrong=2 ewrong=2 - open/close 865 (time 1790739227.58 total 10.02 last 86.37) total: 900 open/close in 10.63 seconds: 84.66 ops/second llite.lustre-ffff8917d1fc1000.statahead_max=0 1001 real 0m20.191s user 0m0.025s sys 0m2.910s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff8917d1fc1000.statahead_max=32 llite.lustre-ffff8917d1fc1000.statahead_max=32 1001 real 0m8.555s user 0m0.032s sys 0m1.441s 'ls -l' 1000 files with statahead: 9 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 32 fname_total: 71 hit_total: 4755 miss_total: 1502 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff8917d1fc1000.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 32 fname_total: 71 hit_total: 4755 miss_total: 1502 mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats= snapshot_time: 1790739286.817233788 secs.nsecs start_time: 1790739204.934118165 secs.nsecs elapsed_time: 81.883115623 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 4 10 15 16: 20 51 66 32: 13 33 100 mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.batch_stats= snapshot_time: 1790739286.817303160 secs.nsecs start_time: 1790739204.934361219 secs.nsecs elapsed_time: 81.882941941 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 3 7 10 8: 2 5 15 16: 18 46 61 32: 15 38 100 - open/close 854 (time 1790739299.31 total 10.01 last 85.33) - open/close 1759 (time 1790739309.31 total 20.01 last 90.46) - open/close 2622 (time 1790739319.32 total 30.02 last 86.27) - open/close 3458 (time 1790739329.32 total 40.02 last 83.59) - open/close 4314 (time 1790739339.32 total 50.02 last 85.57) - open/close 5191 (time 1790739349.33 total 60.03 last 87.58) - open/close 5984 (time 1790739359.34 total 70.04 last 79.22) - open/close 6794 (time 1790739369.35 total 80.05 last 80.96) - open/close 7574 (time 1790739379.36 total 90.06 last 77.92) - open/close 8230 (time 1790739389.38 total 100.08 last 65.49) - open/close 8975 (time 1790739399.40 total 110.10 last 74.31) - open/close 9811 (time 1790739409.41 total 120.11 last 83.55) total: 10000 open/close in 122.07 seconds: 81.92 ops/second llite.lustre-ffff8917d1fc1000.statahead_batch_max=0 llite.lustre-ffff8917d1fc1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.stats=clear mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.499s user 0m0.322s sys 0m15.705s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8917d1fc1000.statahead_batch_max=32 llite.lustre-ffff8917d1fc1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.stats=clear mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.769s user 0m0.321s sys 0m14.745s batched statahead RPC= hit count=9988 mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats= snapshot_time: 1790739599.105058587 secs.nsecs start_time: 1790739479.272311203 secs.nsecs elapsed_time: 119.832747384 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-ffff8917d1fc1000.batch_stats= snapshot_time: 1790739599.105121736 secs.nsecs start_time: 1790739479.272431729 secs.nsecs elapsed_time: 119.832690007 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.batch_stats=0 llite.lustre-ffff8917d1fc1000.statahead_max=2048 llite.lustre-ffff8917d1fc1000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.66 seconds: 37.58 ops/second llite.lustre-ffff8917d1fc1000.statahead_max=0 101 real 0m3.388s user 0m0.003s sys 0m0.325s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff8917d1fc1000.statahead_max=2048 llite.lustre-ffff8917d1fc1000.statahead_max=2048 101 real 0m1.186s user 0m0.005s sys 0m0.207s '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: 10087 miss_total: 13 swrong=0 ewrong=0 - open/close 739 (time 1790739917.25 total 10.01 last 73.80) total: 900 open/close in 11.92 seconds: 75.51 ops/second llite.lustre-ffff8917d1fc1000.statahead_max=0 1001 real 0m24.429s user 0m0.033s sys 0m2.968s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff8917d1fc1000.statahead_max=2048 llite.lustre-ffff8917d1fc1000.statahead_max=2048 1001 real 0m6.912s user 0m0.031s sys 0m1.500s '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: 11086 miss_total: 14 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8917d1fc1000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11086 miss_total: 14 mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats= snapshot_time: 1790739983.199852880 secs.nsecs start_time: 1790739602.183085289 secs.nsecs elapsed_time: 381.016767591 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 16 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-ffff8917d1fc1000.batch_stats= snapshot_time: 1790739983.199925510 secs.nsecs start_time: 1790739602.183261342 secs.nsecs elapsed_time: 381.016664168 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: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 654 (time 1790739996.75 total 10.00 last 65.38) - open/close 1308 (time 1790740006.76 total 20.01 last 65.34) - open/close 2090 (time 1790740016.76 total 30.02 last 78.17) - open/close 2905 (time 1790740026.77 total 40.02 last 81.45) - open/close 3815 (time 1790740036.77 total 50.03 last 90.96) - open/close 4535 (time 1790740046.78 total 60.04 last 71.92) - open/close 5347 (time 1790740056.79 total 70.04 last 81.15) - open/close 6101 (time 1790740066.80 total 80.05 last 75.33) - open/close 6984 (time 1790740076.82 total 90.07 last 88.11) - open/close 7813 (time 1790740086.82 total 100.08 last 82.86) - open/close 8564 (time 1790740096.83 total 110.08 last 75.07) - open/close 9183 (time 1790740106.84 total 120.09 last 61.83) - open/close 9903 (time 1790740116.85 total 130.11 last 71.91) total: 10000 open/close in 131.35 seconds: 76.14 ops/second llite.lustre-ffff8917d1fc1000.statahead_batch_max=0 llite.lustre-ffff8917d1fc1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.stats=clear mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.962s user 0m0.311s sys 0m15.109s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8917d1fc1000.statahead_batch_max=256 llite.lustre-ffff8917d1fc1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.stats=clear mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m46.000s user 0m0.277s sys 0m16.225s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8917d1fc1000.batch_stats= snapshot_time: 1790740243.971600148 secs.nsecs start_time: 1790740188.989991954 secs.nsecs elapsed_time: 54.981608194 secs.nsecs subreqs per batch batches %% cum %% 1: 104 46 46 2: 21 9 55 4: 18 8 63 8: 16 7 70 16: 12 5 76 32: 9 4 80 64: 9 4 84 128: 0 0 84 256: 35 15 100 mdc.lustre-MDT0001-mdc-ffff8917d1fc1000.batch_stats= snapshot_time: 1790740243.971705611 secs.nsecs start_time: 1790740188.990174181 secs.nsecs elapsed_time: 54.981531430 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-ffff8917d1fc1000.statahead_batch_max=64 llite.lustre-ffff8917d1fc1000.statahead_max=128