== sanity test 123ad: Verify batching statahead works correctly ========================================================== 06:52:18 (1778842338) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8c50870f6800.batch_stats=0 llite.lustre-ffff8c50870f6800.statahead_max=32 llite.lustre-ffff8c50870f6800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8c50870f6800.batch_stats=0 total: 100 open/close in 0.76 seconds: 131.11 ops/second llite.lustre-ffff8c50870f6800.statahead_max=0 101 real 0m0.937s user 0m0.006s sys 0m0.340s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8c50870f6800.statahead_max=32 llite.lustre-ffff8c50870f6800.statahead_max=32 101 real 0m0.505s user 0m0.002s sys 0m0.280s 'ls -l' 100 files with statahead: 0 sec statahead total: 57 statahead wrong: 1 agl total: 52 list_total: 26 fname_total: 30 hit_total: 13892 miss_total: 209 swrong=1 ewrong=1 total: 900 open/close in 2.17 seconds: 415.64 ops/second llite.lustre-ffff8c50870f6800.statahead_max=0 1001 real 0m8.078s user 0m0.024s sys 0m2.874s 'ls -l' 1000 files without statahead: 8 sec llite.lustre-ffff8c50870f6800.statahead_max=32 llite.lustre-ffff8c50870f6800.statahead_max=32 1001 real 0m3.737s user 0m0.017s sys 0m1.909s 'ls -l' 1000 files with statahead: 3 sec statahead total: 58 statahead wrong: 1 agl total: 53 list_total: 27 fname_total: 30 hit_total: 14891 miss_total: 210 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff8c50870f6800.statahead_stats= statahead total: 58 statahead wrong: 1 agl total: 53 list_total: 27 fname_total: 30 hit_total: 14891 miss_total: 210 mdc.lustre-MDT0000-mdc-ffff8c50870f6800.batch_stats= snapshot_time: 1778842369.540536650 secs.nsecs start_time: 1778842340.210150369 secs.nsecs elapsed_time: 29.330386281 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 1 2 5 8: 2 5 10 16: 2 5 15 32: 34 85 100 - open/close 3368 (time 1778842380.62 total 10.00 last 336.79) - open/close 7368 (time 1778842390.62 total 20.00 last 399.91) total: 10000 open/close in 26.75 seconds: 373.80 ops/second llite.lustre-ffff8c50870f6800.statahead_batch_max=0 llite.lustre-ffff8c50870f6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c50870f6800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m43.188s user 0m0.168s sys 0m39.556s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c50870f6800.statahead_batch_max=32 llite.lustre-ffff8c50870f6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c50870f6800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c50870f6800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.032s user 0m0.148s sys 0m21.274s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8c50870f6800.batch_stats= snapshot_time: 1778842489.301536993 secs.nsecs start_time: 1778842443.656169954 secs.nsecs elapsed_time: 45.645367039 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-ffff8c50870f6800.batch_stats=0 llite.lustre-ffff8c50870f6800.statahead_max=2048 llite.lustre-ffff8c50870f6800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8c50870f6800.batch_stats=0 total: 100 open/close in 0.66 seconds: 152.00 ops/second llite.lustre-ffff8c50870f6800.statahead_max=0 101 real 0m1.251s user 0m0.004s sys 0m0.295s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff8c50870f6800.statahead_max=2048 llite.lustre-ffff8c50870f6800.statahead_max=2048 101 real 0m0.318s user 0m0.003s sys 0m0.217s 'ls -l' 100 files with statahead: 0 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.12 seconds: 425.01 ops/second llite.lustre-ffff8c50870f6800.statahead_max=0 1001 real 0m6.276s user 0m0.029s sys 0m2.331s 'ls -l' 1000 files without statahead: 7 sec llite.lustre-ffff8c50870f6800.statahead_max=2048 llite.lustre-ffff8c50870f6800.statahead_max=2048 1001 real 0m3.667s user 0m0.017s sys 0m1.525s '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-ffff8c50870f6800.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-ffff8c50870f6800.batch_stats= snapshot_time: 1778842622.678055139 secs.nsecs start_time: 1778842490.118935317 secs.nsecs elapsed_time: 132.559119822 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 4327 (time 1778842633.45 total 10.00 last 432.66) - open/close 8196 (time 1778842643.45 total 20.00 last 386.89) total: 10000 open/close in 24.23 seconds: 412.69 ops/second llite.lustre-ffff8c50870f6800.statahead_batch_max=0 llite.lustre-ffff8c50870f6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c50870f6800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.791s user 0m0.198s sys 0m30.837s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c50870f6800.statahead_batch_max=256 llite.lustre-ffff8c50870f6800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c50870f6800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c50870f6800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.482s user 0m0.190s sys 0m20.827s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8c50870f6800.batch_stats= snapshot_time: 1778842724.370728108 secs.nsecs start_time: 1778842687.644310903 secs.nsecs elapsed_time: 36.726417205 secs.nsecs subreqs per batch batches % cum % 1: 451 68 68 2: 95 14 82 4: 37 5 88 8: 16 2 90 16: 5 0 91 32: 21 3 94 64: 1 0 94 128: 0 0 94 256: 34 5 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-ffff8c50870f6800.statahead_batch_max=64 llite.lustre-ffff8c50870f6800.statahead_max=128