== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:16:07 (1783952167) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.batch_stats=0 llite.lustre-ffff8a9ec919f000.statahead_max=32 llite.lustre-ffff8a9ec919f000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.48 seconds: 40.29 ops/second llite.lustre-ffff8a9ec919f000.statahead_max=0 101 real 0m3.060s user 0m0.007s sys 0m0.335s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8a9ec919f000.statahead_max=32 llite.lustre-ffff8a9ec919f000.statahead_max=32 101 real 0m1.120s user 0m0.004s sys 0m0.182s 'ls -l' 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 2 agl total: 117 list_total: 31 fname_total: 86 hit_total: 4098 miss_total: 1750 swrong=2 ewrong=2 - open/close 830 (time 1783952194.68 total 10.00 last 82.99) total: 900 open/close in 10.97 seconds: 82.06 ops/second llite.lustre-ffff8a9ec919f000.statahead_max=0 1001 real 0m25.568s user 0m0.036s sys 0m3.155s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff8a9ec919f000.statahead_max=32 llite.lustre-ffff8a9ec919f000.statahead_max=32 1001 real 0m7.534s user 0m0.018s sys 0m1.358s 'ls -l' 1000 files with statahead: 8 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 32 fname_total: 86 hit_total: 5097 miss_total: 1751 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 16 seconds llite.lustre-ffff8a9ec919f000.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 32 fname_total: 86 hit_total: 5097 miss_total: 1751 mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.batch_stats= snapshot_time: 1783952257.118514258 secs.nsecs start_time: 1783952171.362494317 secs.nsecs elapsed_time: 85.756019941 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 2 5 15 16: 19 48 64 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.batch_stats= snapshot_time: 1783952257.119851202 secs.nsecs start_time: 1783952171.362824695 secs.nsecs elapsed_time: 85.757026507 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 1 2 7 4: 1 2 10 8: 3 7 17 16: 21 52 70 32: 12 30 100 - open/close 1015 (time 1783952269.39 total 10.00 last 101.46) - open/close 2089 (time 1783952279.39 total 20.01 last 107.35) - open/close 2959 (time 1783952289.40 total 30.02 last 86.93) - open/close 3872 (time 1783952299.41 total 40.02 last 91.23) - open/close 4872 (time 1783952309.41 total 50.03 last 99.96) - open/close 5926 (time 1783952319.42 total 60.03 last 105.34) - open/close 6998 (time 1783952329.43 total 70.05 last 107.06) - open/close 7890 (time 1783952339.43 total 80.05 last 89.17) - open/close 8741 (time 1783952349.44 total 90.05 last 85.07) - open/close 9712 (time 1783952359.45 total 100.06 last 97.02) total: 10000 open/close in 103.00 seconds: 97.09 ops/second llite.lustre-ffff8a9ec919f000.statahead_batch_max=0 llite.lustre-ffff8a9ec919f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m18.323s user 0m0.334s sys 0m16.416s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a9ec919f000.statahead_batch_max=32 llite.lustre-ffff8a9ec919f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m39.446s user 0m0.337s sys 0m14.918s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.batch_stats= snapshot_time: 1783952561.640762541 secs.nsecs start_time: 1783952450.402441084 secs.nsecs elapsed_time: 111.238321457 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-ffff8a9ec919f000.batch_stats= snapshot_time: 1783952561.640831248 secs.nsecs start_time: 1783952450.402778727 secs.nsecs elapsed_time: 111.238052521 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.batch_stats=0 llite.lustre-ffff8a9ec919f000.statahead_max=2048 llite.lustre-ffff8a9ec919f000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.62 seconds: 27.61 ops/second llite.lustre-ffff8a9ec919f000.statahead_max=0 101 real 0m2.954s user 0m0.001s sys 0m0.368s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8a9ec919f000.statahead_max=2048 llite.lustre-ffff8a9ec919f000.statahead_max=2048 101 real 0m1.560s user 0m0.005s sys 0m0.179s 'ls -l' 100 files with statahead: 2 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 740 (time 1783952840.28 total 10.01 last 73.95) total: 900 open/close in 11.90 seconds: 75.65 ops/second llite.lustre-ffff8a9ec919f000.statahead_max=0 1001 real 0m17.199s user 0m0.022s sys 0m3.129s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff8a9ec919f000.statahead_max=2048 llite.lustre-ffff8a9ec919f000.statahead_max=2048 1001 real 0m6.654s user 0m0.034s sys 0m1.620s '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: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 16 seconds llite.lustre-ffff8a9ec919f000.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-ffff8a9ec919f000.batch_stats= snapshot_time: 1783952893.202490853 secs.nsecs start_time: 1783952565.005430010 secs.nsecs elapsed_time: 328.197060843 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 42 42 8: 1 14 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.batch_stats= snapshot_time: 1783952893.202818904 secs.nsecs start_time: 1783952565.005618883 secs.nsecs elapsed_time: 328.197200021 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 14 14 4: 1 14 28 8: 2 28 57 16: 0 0 57 32: 0 0 57 64: 1 14 71 128: 0 0 71 256: 2 28 100 - open/close 956 (time 1783952905.71 total 10.01 last 95.54) - open/close 1664 (time 1783952915.75 total 20.04 last 70.55) - open/close 2238 (time 1783952925.77 total 30.06 last 57.30) - open/close 2925 (time 1783952935.77 total 40.07 last 68.65) - open/close 3765 (time 1783952945.78 total 50.07 last 83.94) - open/close 4812 (time 1783952955.79 total 60.08 last 104.65) - open/close 5774 (time 1783952965.79 total 70.08 last 96.16) - open/close 6565 (time 1783952975.80 total 80.09 last 79.05) - open/close 7412 (time 1783952985.80 total 90.09 last 84.68) - open/close 8403 (time 1783952995.80 total 100.09 last 99.09) - open/close 9325 (time 1783953005.80 total 110.09 last 92.20) total: 10000 open/close in 116.32 seconds: 85.97 ops/second llite.lustre-ffff8a9ec919f000.statahead_batch_max=0 llite.lustre-ffff8a9ec919f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.201s user 0m0.309s sys 0m16.590s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8a9ec919f000.statahead_batch_max=256 llite.lustre-ffff8a9ec919f000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.stats=clear mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m49.083s user 0m0.291s sys 0m16.232s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8a9ec919f000.batch_stats= snapshot_time: 1783953137.608936812 secs.nsecs start_time: 1783953076.509722100 secs.nsecs elapsed_time: 61.099214712 secs.nsecs subreqs per batch batches %% cum %% 1: 174 49 49 2: 63 17 67 4: 38 10 77 8: 12 3 81 16: 9 2 83 32: 19 5 89 64: 3 0 90 128: 1 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff8a9ec919f000.batch_stats= snapshot_time: 1783953137.609002285 secs.nsecs start_time: 1783953076.509805345 secs.nsecs elapsed_time: 61.099196940 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-ffff8a9ec919f000.statahead_batch_max=64 llite.lustre-ffff8a9ec919f000.statahead_max=128