== sanity test 123ad: Verify batching statahead works correctly ========================================================== 02:31:11 (1783146671) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9875c6d36000.batch_stats=0 llite.lustre-ffff9875c6d36000.statahead_max=32 llite.lustre-ffff9875c6d36000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9875c6d36000.batch_stats=0 total: 100 open/close in 0.89 seconds: 112.48 ops/second llite.lustre-ffff9875c6d36000.statahead_max=0 101 real 0m0.730s user 0m0.003s sys 0m0.276s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff9875c6d36000.statahead_max=32 llite.lustre-ffff9875c6d36000.statahead_max=32 101 real 0m0.363s user 0m0.004s sys 0m0.225s 'ls -l' 100 files with statahead: 0 sec statahead total: 89 statahead wrong: 2 agl total: 83 list_total: 29 fname_total: 58 hit_total: 13604 miss_total: 1522 swrong=2 ewrong=2 total: 900 open/close in 1.92 seconds: 467.68 ops/second llite.lustre-ffff9875c6d36000.statahead_max=0 1001 real 0m5.417s user 0m0.025s sys 0m2.104s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9875c6d36000.statahead_max=32 llite.lustre-ffff9875c6d36000.statahead_max=32 1001 real 0m3.374s user 0m0.010s sys 0m1.955s 'ls -l' 1000 files with statahead: 3 sec statahead total: 90 statahead wrong: 2 agl total: 84 list_total: 30 fname_total: 58 hit_total: 14603 miss_total: 1523 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff9875c6d36000.statahead_stats= statahead total: 90 statahead wrong: 2 agl total: 84 list_total: 30 fname_total: 58 hit_total: 14603 miss_total: 1523 mdc.lustre-MDT0000-mdc-ffff9875c6d36000.batch_stats= snapshot_time: 1783146696.882488129 secs.nsecs start_time: 1783146673.238983474 secs.nsecs elapsed_time: 23.643504655 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 4785 (time 1783146707.57 total 10.00 last 478.42) - open/close 9624 (time 1783146717.57 total 20.00 last 483.86) total: 10000 open/close in 20.73 seconds: 482.34 ops/second llite.lustre-ffff9875c6d36000.statahead_batch_max=0 llite.lustre-ffff9875c6d36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9875c6d36000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.464s user 0m0.177s sys 0m32.987s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9875c6d36000.statahead_batch_max=32 llite.lustre-ffff9875c6d36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9875c6d36000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9875c6d36000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.075s user 0m0.148s sys 0m20.072s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9875c6d36000.batch_stats= snapshot_time: 1783146796.829269496 secs.nsecs start_time: 1783146755.735306723 secs.nsecs elapsed_time: 41.093962773 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-ffff9875c6d36000.batch_stats=0 llite.lustre-ffff9875c6d36000.statahead_max=2048 llite.lustre-ffff9875c6d36000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9875c6d36000.batch_stats=0 total: 100 open/close in 1.13 seconds: 88.86 ops/second llite.lustre-ffff9875c6d36000.statahead_max=0 101 real 0m0.626s user 0m0.003s sys 0m0.243s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff9875c6d36000.statahead_max=2048 llite.lustre-ffff9875c6d36000.statahead_max=2048 101 real 0m0.366s user 0m0.002s sys 0m0.246s '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.06 seconds: 437.67 ops/second llite.lustre-ffff9875c6d36000.statahead_max=0 1001 real 0m6.040s user 0m0.015s sys 0m2.327s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9875c6d36000.statahead_max=2048 llite.lustre-ffff9875c6d36000.statahead_max=2048 1001 real 0m3.329s user 0m0.013s sys 0m1.281s '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-ffff9875c6d36000.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-ffff9875c6d36000.batch_stats= snapshot_time: 1783146902.599447191 secs.nsecs start_time: 1783146797.600578022 secs.nsecs elapsed_time: 104.998869169 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 4393 (time 1783146913.41 total 10.00 last 439.21) - open/close 8876 (time 1783146923.41 total 20.00 last 448.22) total: 10000 open/close in 22.44 seconds: 445.55 ops/second llite.lustre-ffff9875c6d36000.statahead_batch_max=0 llite.lustre-ffff9875c6d36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9875c6d36000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m33.529s user 0m0.130s sys 0m29.048s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9875c6d36000.statahead_batch_max=256 llite.lustre-ffff9875c6d36000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9875c6d36000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9875c6d36000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.803s user 0m0.159s sys 0m21.452s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9875c6d36000.batch_stats= snapshot_time: 1783147001.296429207 secs.nsecs start_time: 1783146962.217321995 secs.nsecs elapsed_time: 39.079107212 secs.nsecs subreqs per batch batches %% cum %% 1: 319 66 66 2: 63 13 79 4: 31 6 86 8: 5 1 87 16: 4 0 88 32: 22 4 92 64: 0 0 92 128: 0 0 92 256: 35 7 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-ffff9875c6d36000.statahead_batch_max=64 llite.lustre-ffff9875c6d36000.statahead_max=128