== sanity test 123ad: Verify batching statahead works correctly ========================================================== 18:47:26 (1777502846) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats=0 llite.lustre-ffff9a5ed88cb000.statahead_max=32 llite.lustre-ffff9a5ed88cb000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 0.59 seconds: 168.76 ops/second llite.lustre-ffff9a5ed88cb000.statahead_max=0 101 real 0m0.578s user 0m0.002s sys 0m0.229s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff9a5ed88cb000.statahead_max=32 llite.lustre-ffff9a5ed88cb000.statahead_max=32 101 real 0m0.382s user 0m0.002s sys 0m0.204s 'ls -l' 100 files with statahead: 0 sec statahead total: 106 statahead wrong: 2 agl total: 101 list_total: 31 fname_total: 74 hit_total: 3741 miss_total: 1025 swrong=2 ewrong=2 total: 900 open/close in 1.78 seconds: 505.99 ops/second llite.lustre-ffff9a5ed88cb000.statahead_max=0 1001 real 0m5.803s user 0m0.022s sys 0m2.223s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9a5ed88cb000.statahead_max=32 llite.lustre-ffff9a5ed88cb000.statahead_max=32 1001 real 0m3.439s user 0m0.015s sys 0m1.650s 'ls -l' 1000 files with statahead: 3 sec statahead total: 107 statahead wrong: 2 agl total: 102 list_total: 32 fname_total: 74 hit_total: 4740 miss_total: 1026 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 6 seconds llite.lustre-ffff9a5ed88cb000.statahead_stats= statahead total: 107 statahead wrong: 2 agl total: 102 list_total: 32 fname_total: 74 hit_total: 4740 miss_total: 1026 mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats= snapshot_time: 1777502871.166765669 secs.nsecs start_time: 1777502847.371524264 secs.nsecs elapsed_time: 23.795241405 secs.nsecs subreqs per batch batches % cum % 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 18 46 61 32: 15 38 100 mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats= snapshot_time: 1777502871.166810090 secs.nsecs start_time: 1777502847.371594909 secs.nsecs elapsed_time: 23.795215181 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 4 10 10 8: 2 5 15 16: 23 58 74 32: 10 25 100 - open/close 4590 (time 1777502881.95 total 10.00 last 458.95) - open/close 9261 (time 1777502891.95 total 20.00 last 467.06) total: 10000 open/close in 21.51 seconds: 464.93 ops/second llite.lustre-ffff9a5ed88cb000.statahead_batch_max=0 llite.lustre-ffff9a5ed88cb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.130s user 0m0.193s sys 0m32.702s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a5ed88cb000.statahead_batch_max=32 llite.lustre-ffff9a5ed88cb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.959s user 0m0.182s sys 0m20.374s batched statahead RPC= hit count=9997 mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats= snapshot_time: 1777502973.218181662 secs.nsecs start_time: 1777502930.589919466 secs.nsecs elapsed_time: 42.628262196 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 mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats= snapshot_time: 1777502973.218248728 secs.nsecs start_time: 1777502930.589988381 secs.nsecs elapsed_time: 42.628260347 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats=0 llite.lustre-ffff9a5ed88cb000.statahead_max=2048 llite.lustre-ffff9a5ed88cb000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.76 seconds: 131.75 ops/second llite.lustre-ffff9a5ed88cb000.statahead_max=0 101 real 0m0.606s user 0m0.003s sys 0m0.238s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9a5ed88cb000.statahead_max=2048 llite.lustre-ffff9a5ed88cb000.statahead_max=2048 101 real 0m0.301s user 0m0.003s sys 0m0.199s '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: 10096 miss_total: 4 swrong=0 ewrong=0 total: 900 open/close in 1.78 seconds: 504.98 ops/second llite.lustre-ffff9a5ed88cb000.statahead_max=0 1001 real 0m6.095s user 0m0.023s sys 0m2.323s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9a5ed88cb000.statahead_max=2048 llite.lustre-ffff9a5ed88cb000.statahead_max=2048 1001 real 0m3.041s user 0m0.010s sys 0m1.402s '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: 11095 miss_total: 5 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 4 seconds llite.lustre-ffff9a5ed88cb000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11095 miss_total: 5 mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats= snapshot_time: 1777503078.821974376 secs.nsecs start_time: 1777502974.013376026 secs.nsecs elapsed_time: 104.808598350 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 4 44 55 16: 1 11 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats= snapshot_time: 1777503078.822054836 secs.nsecs start_time: 1777502974.013513179 secs.nsecs elapsed_time: 104.808541657 secs.nsecs subreqs per batch batches % cum % 1: 0 0 0 2: 1 11 11 4: 2 22 33 8: 2 22 55 16: 1 11 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 4997 (time 1777503090.47 total 10.00 last 499.69) - open/close 9767 (time 1777503100.47 total 20.00 last 477.00) total: 10000 open/close in 20.47 seconds: 488.46 ops/second llite.lustre-ffff9a5ed88cb000.statahead_batch_max=0 llite.lustre-ffff9a5ed88cb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.682s user 0m0.177s sys 0m24.998s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a5ed88cb000.statahead_batch_max=256 llite.lustre-ffff9a5ed88cb000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m26.855s user 0m0.157s sys 0m18.961s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a5ed88cb000.batch_stats= snapshot_time: 1777503165.165911059 secs.nsecs start_time: 1777503132.559405631 secs.nsecs elapsed_time: 32.606505428 secs.nsecs subreqs per batch batches % cum % 1: 154 52 52 2: 36 12 64 4: 30 10 74 8: 11 3 78 16: 6 2 80 32: 23 7 87 64: 1 0 88 128: 0 0 88 256: 35 11 100 mdc.lustre-MDT0001-mdc-ffff9a5ed88cb000.batch_stats= snapshot_time: 1777503165.165972156 secs.nsecs start_time: 1777503132.559466339 secs.nsecs elapsed_time: 32.606505817 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-ffff9a5ed88cb000.statahead_batch_max=64 llite.lustre-ffff9a5ed88cb000.statahead_max=128