== sanity test 123ad: Verify batching statahead works correctly ========================================================== 01:46:29 (1780811189) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.batch_stats=0 llite.lustre-ffff9dc7112ec000.statahead_max=32 llite.lustre-ffff9dc7112ec000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.batch_stats=0 total: 100 open/close in 0.73 seconds: 137.93 ops/second llite.lustre-ffff9dc7112ec000.statahead_max=0 101 real 0m0.582s user 0m0.001s sys 0m0.215s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9dc7112ec000.statahead_max=32 llite.lustre-ffff9dc7112ec000.statahead_max=32 101 real 0m0.389s user 0m0.001s sys 0m0.203s 'ls -l' 100 files with statahead: 1 sec statahead total: 56 statahead wrong: 1 agl total: 52 list_total: 25 fname_total: 31 hit_total: 13648 miss_total: 199 swrong=1 ewrong=1 total: 900 open/close in 1.93 seconds: 465.61 ops/second llite.lustre-ffff9dc7112ec000.statahead_max=0 1001 real 0m5.926s user 0m0.019s sys 0m2.209s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9dc7112ec000.statahead_max=32 llite.lustre-ffff9dc7112ec000.statahead_max=32 1001 real 0m3.677s user 0m0.011s sys 0m2.170s 'ls -l' 1000 files with statahead: 3 sec statahead total: 57 statahead wrong: 1 agl total: 53 list_total: 26 fname_total: 31 hit_total: 14647 miss_total: 200 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff9dc7112ec000.statahead_stats= statahead total: 57 statahead wrong: 1 agl total: 53 list_total: 26 fname_total: 31 hit_total: 14647 miss_total: 200 mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.batch_stats= snapshot_time: 1780811214.933027383 secs.nsecs start_time: 1780811190.722989719 secs.nsecs elapsed_time: 24.210037664 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 2 5 7 16: 2 5 12 32: 34 87 100 - open/close 4396 (time 1780811225.79 total 10.00 last 439.55) - open/close 8833 (time 1780811235.79 total 20.00 last 443.68) total: 10000 open/close in 22.62 seconds: 442.17 ops/second llite.lustre-ffff9dc7112ec000.statahead_batch_max=0 llite.lustre-ffff9dc7112ec000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.537s user 0m0.186s sys 0m37.352s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9dc7112ec000.statahead_batch_max=32 llite.lustre-ffff9dc7112ec000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.702s user 0m0.154s sys 0m21.912s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.batch_stats= snapshot_time: 1780811326.367218271 secs.nsecs start_time: 1780811281.979329101 secs.nsecs elapsed_time: 44.387889170 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-ffff9dc7112ec000.batch_stats=0 llite.lustre-ffff9dc7112ec000.statahead_max=2048 llite.lustre-ffff9dc7112ec000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.batch_stats=0 total: 100 open/close in 1.35 seconds: 73.92 ops/second llite.lustre-ffff9dc7112ec000.statahead_max=0 101 real 0m0.613s user 0m0.006s sys 0m0.215s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9dc7112ec000.statahead_max=2048 llite.lustre-ffff9dc7112ec000.statahead_max=2048 101 real 0m0.355s user 0m0.004s sys 0m0.222s '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.08 seconds: 432.64 ops/second llite.lustre-ffff9dc7112ec000.statahead_max=0 1001 real 0m5.970s user 0m0.014s sys 0m2.210s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9dc7112ec000.statahead_max=2048 llite.lustre-ffff9dc7112ec000.statahead_max=2048 1001 real 0m3.375s user 0m0.011s sys 0m1.592s '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: 5 seconds llite.lustre-ffff9dc7112ec000.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-ffff9dc7112ec000.batch_stats= snapshot_time: 1780811435.479823697 secs.nsecs start_time: 1780811327.144292414 secs.nsecs elapsed_time: 108.335531283 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 4540 (time 1780811446.20 total 10.00 last 453.95) - open/close 9119 (time 1780811456.21 total 20.00 last 457.83) total: 10000 open/close in 21.87 seconds: 457.21 ops/second llite.lustre-ffff9dc7112ec000.statahead_batch_max=0 llite.lustre-ffff9dc7112ec000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.736s user 0m0.147s sys 0m40.849s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9dc7112ec000.statahead_batch_max=256 llite.lustre-ffff9dc7112ec000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.459s user 0m0.149s sys 0m20.334s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9dc7112ec000.batch_stats= snapshot_time: 1780811548.509587495 secs.nsecs start_time: 1780811508.574819913 secs.nsecs elapsed_time: 39.934767582 secs.nsecs subreqs per batch batches % cum % 1: 258 64 64 2: 44 11 75 4: 26 6 82 8: 8 2 84 16: 4 1 85 32: 24 6 91 64: 0 0 91 128: 0 0 91 256: 35 8 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-ffff9dc7112ec000.statahead_batch_max=64 llite.lustre-ffff9dc7112ec000.statahead_max=128