== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:45:18 (1787064318) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats=0 llite.lustre-ffff8e5910f2f800.statahead_max=32 llite.lustre-ffff8e5910f2f800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats=0 total: 100 open/close in 1.15 seconds: 86.81 ops/second llite.lustre-ffff8e5910f2f800.statahead_max=0 101 real 0m0.951s user 0m0.001s sys 0m0.366s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8e5910f2f800.statahead_max=32 llite.lustre-ffff8e5910f2f800.statahead_max=32 101 real 0m0.426s user 0m0.005s sys 0m0.263s 'ls -l' 100 files with statahead: 0 sec statahead total: 54 statahead wrong: 1 agl total: 50 list_total: 25 fname_total: 29 hit_total: 14120 miss_total: 202 swrong=1 ewrong=1 total: 900 open/close in 2.03 seconds: 442.56 ops/second llite.lustre-ffff8e5910f2f800.statahead_max=0 1001 real 0m6.158s user 0m0.020s sys 0m2.220s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff8e5910f2f800.statahead_max=32 llite.lustre-ffff8e5910f2f800.statahead_max=32 1001 real 0m4.245s user 0m0.021s sys 0m2.241s 'ls -l' 1000 files with statahead: 4 sec statahead total: 55 statahead wrong: 1 agl total: 51 list_total: 26 fname_total: 29 hit_total: 15119 miss_total: 203 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 8 seconds llite.lustre-ffff8e5910f2f800.statahead_stats= statahead total: 55 statahead wrong: 1 agl total: 51 list_total: 26 fname_total: 29 hit_total: 15119 miss_total: 203 mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats= snapshot_time: 1787064349.130261929 secs.nsecs start_time: 1787064319.955478745 secs.nsecs elapsed_time: 29.174783184 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 7 7 16: 2 5 12 32: 34 87 100 - open/close 3682 (time 1787064359.85 total 10.00 last 368.16) - open/close 7509 (time 1787064369.85 total 20.00 last 382.61) total: 10000 open/close in 26.71 seconds: 374.39 ops/second llite.lustre-ffff8e5910f2f800.statahead_batch_max=0 llite.lustre-ffff8e5910f2f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.918s user 0m0.144s sys 0m32.590s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e5910f2f800.statahead_batch_max=32 llite.lustre-ffff8e5910f2f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.831s user 0m0.155s sys 0m21.846s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats= snapshot_time: 1787064458.701618604 secs.nsecs start_time: 1787064413.640229428 secs.nsecs elapsed_time: 45.061389176 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 2 0 0 32: 312 99 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats=0 llite.lustre-ffff8e5910f2f800.statahead_max=2048 llite.lustre-ffff8e5910f2f800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats=0 total: 100 open/close in 0.91 seconds: 110.40 ops/second llite.lustre-ffff8e5910f2f800.statahead_max=0 101 real 0m0.936s user 0m0.004s sys 0m0.306s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff8e5910f2f800.statahead_max=2048 llite.lustre-ffff8e5910f2f800.statahead_max=2048 101 real 0m0.406s user 0m0.003s sys 0m0.237s '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: 10098 miss_total: 2 swrong=0 ewrong=0 total: 900 open/close in 2.47 seconds: 364.37 ops/second llite.lustre-ffff8e5910f2f800.statahead_max=0 1001 real 0m7.257s user 0m0.015s sys 0m2.542s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff8e5910f2f800.statahead_max=2048 llite.lustre-ffff8e5910f2f800.statahead_max=2048 1001 real 0m3.397s user 0m0.011s sys 0m1.198s 'ls -l' 1000 files with statahead: 3 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff8e5910f2f800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11097 miss_total: 3 mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats= snapshot_time: 1787064590.754318096 secs.nsecs start_time: 1787064459.638503117 secs.nsecs elapsed_time: 131.115814979 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 3882 (time 1787064601.63 total 10.00 last 388.17) - open/close 7062 (time 1787064611.63 total 20.00 last 317.98) total: 10000 open/close in 29.69 seconds: 336.81 ops/second llite.lustre-ffff8e5910f2f800.statahead_batch_max=0 llite.lustre-ffff8e5910f2f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.573s user 0m0.146s sys 0m30.221s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8e5910f2f800.statahead_batch_max=256 llite.lustre-ffff8e5910f2f800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.276s user 0m0.129s sys 0m19.673s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8e5910f2f800.batch_stats= snapshot_time: 1787064696.765720951 secs.nsecs start_time: 1787064661.534285575 secs.nsecs elapsed_time: 35.231435376 secs.nsecs subreqs per batch batches %% cum %% 1: 178 67 67 2: 15 5 73 4: 4 1 74 8: 4 1 76 16: 5 1 78 32: 22 8 86 64: 0 0 86 128: 0 0 86 256: 36 13 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-ffff8e5910f2f800.statahead_batch_max=64 llite.lustre-ffff8e5910f2f800.statahead_max=128