== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:34:44 (1784086484) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.batch_stats=0 llite.lustre-ffff9ed3c7206800.statahead_max=32 llite.lustre-ffff9ed3c7206800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.61 seconds: 165.13 ops/second llite.lustre-ffff9ed3c7206800.statahead_max=0 101 real 0m0.617s user 0m0.006s sys 0m0.247s 'ls -l' 100 files without statahead: 0 sec llite.lustre-ffff9ed3c7206800.statahead_max=32 llite.lustre-ffff9ed3c7206800.statahead_max=32 101 real 0m0.434s user 0m0.005s sys 0m0.266s 'ls -l' 100 files with statahead: 0 sec statahead total: 77 statahead wrong: 1 agl total: 69 list_total: 27 fname_total: 50 hit_total: 13935 miss_total: 211 swrong=1 ewrong=1 total: 900 open/close in 1.87 seconds: 481.96 ops/second llite.lustre-ffff9ed3c7206800.statahead_max=0 1001 real 0m5.595s user 0m0.023s sys 0m2.204s 'ls -l' 1000 files without statahead: 6 sec llite.lustre-ffff9ed3c7206800.statahead_max=32 llite.lustre-ffff9ed3c7206800.statahead_max=32 1001 real 0m3.709s user 0m0.017s sys 0m1.778s 'ls -l' 1000 files with statahead: 4 sec statahead total: 78 statahead wrong: 1 agl total: 70 list_total: 28 fname_total: 50 hit_total: 14934 miss_total: 212 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 4 seconds llite.lustre-ffff9ed3c7206800.statahead_stats= statahead total: 78 statahead wrong: 1 agl total: 70 list_total: 28 fname_total: 50 hit_total: 14934 miss_total: 212 mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats= snapshot_time: 1784086508.325757141 secs.nsecs start_time: 1784086485.420905176 secs.nsecs elapsed_time: 22.904851965 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 11 8: 2 5 16 16: 25 69 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.batch_stats= snapshot_time: 1784086508.325819400 secs.nsecs start_time: 1784086485.420972903 secs.nsecs elapsed_time: 22.904846497 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 2 5 10 16: 14 35 46 32: 21 53 100 - open/close 5435 (time 1784086519.55 total 10.00 last 543.39) total: 10000 open/close in 18.25 seconds: 548.05 ops/second llite.lustre-ffff9ed3c7206800.statahead_batch_max=0 llite.lustre-ffff9ed3c7206800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.154s user 0m0.151s sys 0m32.362s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ed3c7206800.statahead_batch_max=32 llite.lustre-ffff9ed3c7206800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m36.117s user 0m0.144s sys 0m20.971s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats= snapshot_time: 1784086607.928346764 secs.nsecs start_time: 1784086565.817487620 secs.nsecs elapsed_time: 42.110859144 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-ffff9ed3c7206800.batch_stats= snapshot_time: 1784086607.928384621 secs.nsecs start_time: 1784086565.817534622 secs.nsecs elapsed_time: 42.110849999 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.batch_stats=0 llite.lustre-ffff9ed3c7206800.statahead_max=2048 llite.lustre-ffff9ed3c7206800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 0.78 seconds: 127.84 ops/second llite.lustre-ffff9ed3c7206800.statahead_max=0 101 real 0m0.590s user 0m0.002s sys 0m0.257s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9ed3c7206800.statahead_max=2048 llite.lustre-ffff9ed3c7206800.statahead_max=2048 101 real 0m0.492s user 0m0.003s sys 0m0.325s '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 1.77 seconds: 507.17 ops/second llite.lustre-ffff9ed3c7206800.statahead_max=0 1001 real 0m5.784s user 0m0.021s sys 0m2.267s 'ls -l' 1000 files without statahead: 5 sec llite.lustre-ffff9ed3c7206800.statahead_max=2048 llite.lustre-ffff9ed3c7206800.statahead_max=2048 1001 real 0m3.458s user 0m0.016s sys 0m1.765s '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 - open/close 4810 (time 1784086715.00 total 10.00 last 480.99) total: 9000 open/close in 18.36 seconds: 490.20 ops/second llite.lustre-ffff9ed3c7206800.statahead_max=0 10001 real 0m59.125s user 0m0.215s sys 0m23.256s 'ls -l' 10000 files without statahead: 59 sec llite.lustre-ffff9ed3c7206800.statahead_max=2048 llite.lustre-ffff9ed3c7206800.statahead_max=2048 10001 real 0m31.324s user 0m0.147s sys 0m22.905s 'ls -l' 10000 files with statahead: 31 sec statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 59 seconds llite.lustre-ffff9ed3c7206800.statahead_stats= statahead total: 4 statahead wrong: 0 agl total: 4 list_total: 4 fname_total: 0 hit_total: 21096 miss_total: 4 mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats= snapshot_time: 1784086885.971893093 secs.nsecs start_time: 1784086608.674721611 secs.nsecs elapsed_time: 277.297171482 secs.nsecs subreqs per batch batches %% cum %% 1: 231 71 71 2: 43 13 84 4: 13 4 88 8: 4 1 90 16: 1 0 90 32: 0 0 90 64: 0 0 90 128: 4 1 91 256: 27 8 100 mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.batch_stats= snapshot_time: 1784086885.971957465 secs.nsecs start_time: 1784086608.674834560 secs.nsecs elapsed_time: 277.297122905 secs.nsecs subreqs per batch batches %% cum %% 1: 280 73 73 2: 46 12 85 4: 14 3 89 8: 3 0 90 16: 2 0 90 32: 1 0 91 64: 2 0 91 128: 2 0 92 256: 30 7 100 - open/close 5358 (time 1784086896.97 total 10.00 last 535.74) total: 10000 open/close in 18.98 seconds: 526.81 ops/second llite.lustre-ffff9ed3c7206800.statahead_batch_max=0 llite.lustre-ffff9ed3c7206800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m35.175s user 0m0.164s sys 0m29.245s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ed3c7206800.statahead_batch_max=256 llite.lustre-ffff9ed3c7206800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m28.742s user 0m0.138s sys 0m21.388s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9ed3c7206800.batch_stats= snapshot_time: 1784086978.754023193 secs.nsecs start_time: 1784086943.978116839 secs.nsecs elapsed_time: 34.775906354 secs.nsecs subreqs per batch batches %% cum %% 1: 337 68 68 2: 51 10 78 4: 38 7 86 8: 8 1 87 16: 2 0 88 32: 21 4 92 64: 4 0 93 128: 0 0 93 256: 34 6 100 mdc.lustre-MDT0001-mdc-ffff9ed3c7206800.batch_stats= snapshot_time: 1784086978.754065297 secs.nsecs start_time: 1784086943.978186849 secs.nsecs elapsed_time: 34.775878448 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-ffff9ed3c7206800.statahead_batch_max=64 llite.lustre-ffff9ed3c7206800.statahead_max=128