== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:11:51 (1789269111) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats=0 llite.lustre-ffff9543c9ae8800.statahead_max=32 llite.lustre-ffff9543c9ae8800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats=0 total: 100 open/close in 2.68 seconds: 37.33 ops/second llite.lustre-ffff9543c9ae8800.statahead_max=0 101 real 0m2.530s user 0m0.002s sys 0m0.311s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9543c9ae8800.statahead_max=32 llite.lustre-ffff9543c9ae8800.statahead_max=32 101 real 0m1.297s user 0m0.002s sys 0m0.166s 'ls -l' 100 files with statahead: 2 sec statahead total: 106 statahead wrong: 2 agl total: 101 list_total: 29 fname_total: 70 hit_total: 4536 miss_total: 1271 swrong=2 ewrong=2 - open/close 679 (time 1789269141.57 total 10.02 last 67.80) total: 900 open/close in 13.54 seconds: 66.46 ops/second llite.lustre-ffff9543c9ae8800.statahead_max=0 1001 real 0m29.255s user 0m0.035s sys 0m2.963s 'ls -l' 1000 files without statahead: 29 sec llite.lustre-ffff9543c9ae8800.statahead_max=32 llite.lustre-ffff9543c9ae8800.statahead_max=32 1001 real 0m10.668s user 0m0.023s sys 0m1.354s 'ls -l' 1000 files with statahead: 10 sec statahead total: 107 statahead wrong: 2 agl total: 102 list_total: 30 fname_total: 70 hit_total: 5529 miss_total: 1278 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff9543c9ae8800.statahead_stats= statahead total: 107 statahead wrong: 2 agl total: 102 list_total: 30 fname_total: 70 hit_total: 5529 miss_total: 1278 mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats= snapshot_time: 1789269222.709913081 secs.nsecs start_time: 1789269117.062250418 secs.nsecs elapsed_time: 105.647662663 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 666 (time 1789269235.58 total 10.01 last 66.56) - open/close 1262 (time 1789269245.59 total 20.01 last 59.58) - open/close 1872 (time 1789269255.59 total 30.02 last 60.95) - open/close 2510 (time 1789269265.62 total 40.04 last 63.65) - open/close 3157 (time 1789269275.63 total 50.05 last 64.65) - open/close 3816 (time 1789269285.63 total 60.05 last 65.88) - open/close 4509 (time 1789269295.66 total 70.08 last 69.08) - open/close 5156 (time 1789269305.69 total 80.11 last 64.53) - open/close 5706 (time 1789269315.70 total 90.12 last 54.96) - open/close 6359 (time 1789269325.71 total 100.13 last 65.21) - open/close 7011 (time 1789269335.74 total 110.16 last 65.04) - open/close 7748 (time 1789269345.75 total 120.17 last 73.57) - open/close 8374 (time 1789269355.77 total 130.19 last 62.52) - open/close 9146 (time 1789269365.78 total 140.20 last 77.09) - open/close 9877 (time 1789269375.79 total 150.21 last 73.04) total: 10000 open/close in 151.65 seconds: 65.94 ops/second llite.lustre-ffff9543c9ae8800.statahead_batch_max=0 llite.lustre-ffff9543c9ae8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.767s user 0m0.328s sys 0m14.642s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9543c9ae8800.statahead_batch_max=32 llite.lustre-ffff9543c9ae8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m46.421s user 0m0.319s sys 0m13.612s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats= snapshot_time: 1789269574.121918367 secs.nsecs start_time: 1789269453.689240946 secs.nsecs elapsed_time: 120.432677421 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats=0 llite.lustre-ffff9543c9ae8800.statahead_max=2048 llite.lustre-ffff9543c9ae8800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats=0 total: 100 open/close in 3.10 seconds: 32.31 ops/second llite.lustre-ffff9543c9ae8800.statahead_max=0 101 real 0m2.744s user 0m0.004s sys 0m0.330s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9543c9ae8800.statahead_max=2048 llite.lustre-ffff9543c9ae8800.statahead_max=2048 101 real 0m1.253s user 0m0.004s sys 0m0.145s '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: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 666 (time 1789269921.37 total 10.01 last 66.56) total: 900 open/close in 13.78 seconds: 65.29 ops/second llite.lustre-ffff9543c9ae8800.statahead_max=0 1001 real 0m26.413s user 0m0.027s sys 0m2.887s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff9543c9ae8800.statahead_max=2048 llite.lustre-ffff9543c9ae8800.statahead_max=2048 1001 real 0m6.270s user 0m0.029s sys 0m1.351s '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: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff9543c9ae8800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats= snapshot_time: 1789269992.945261404 secs.nsecs start_time: 1789269576.796593676 secs.nsecs elapsed_time: 416.148667728 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 18 18 16: 2 18 36 32: 2 18 54 64: 0 0 54 128: 1 9 63 256: 4 36 100 - open/close 657 (time 1789270006.44 total 10.00 last 65.69) - open/close 1245 (time 1789270016.44 total 20.00 last 58.80) - open/close 1951 (time 1789270026.45 total 30.01 last 70.57) - open/close 2627 (time 1789270036.45 total 40.01 last 67.57) - open/close 3364 (time 1789270046.45 total 50.01 last 73.68) - open/close 4003 (time 1789270056.47 total 60.03 last 63.81) - open/close 4526 (time 1789270066.50 total 70.06 last 52.13) - open/close 5221 (time 1789270076.50 total 80.06 last 69.49) - open/close 5883 (time 1789270086.50 total 90.06 last 66.18) - open/close 6612 (time 1789270096.51 total 100.08 last 72.82) - open/close 7298 (time 1789270106.52 total 110.08 last 68.59) - open/close 7994 (time 1789270116.52 total 120.08 last 69.60) - open/close 8709 (time 1789270126.52 total 130.08 last 71.46) - open/close 9437 (time 1789270136.53 total 140.09 last 72.74) total: 10000 open/close in 147.22 seconds: 67.93 ops/second llite.lustre-ffff9543c9ae8800.statahead_batch_max=0 llite.lustre-ffff9543c9ae8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.814s user 0m0.346s sys 0m15.768s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9543c9ae8800.statahead_batch_max=256 llite.lustre-ffff9543c9ae8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.460s user 0m0.350s sys 0m14.840s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9543c9ae8800.batch_stats= snapshot_time: 1789270265.195722623 secs.nsecs start_time: 1789270204.521194039 secs.nsecs elapsed_time: 60.674528584 secs.nsecs subreqs per batch batches %% cum %% 1: 140 49 49 2: 27 9 58 4: 35 12 70 8: 15 5 76 16: 10 3 79 32: 13 4 84 64: 10 3 87 128: 1 0 88 256: 34 11 100 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-ffff9543c9ae8800.statahead_batch_max=64 llite.lustre-ffff9543c9ae8800.statahead_max=128