== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:38:08 (1788356288) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats=0 llite.lustre-ffff98dbbbd13800.statahead_max=32 llite.lustre-ffff98dbbbd13800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.19 seconds: 83.77 ops/second llite.lustre-ffff98dbbbd13800.statahead_max=0 101 real 0m1.186s user 0m0.001s sys 0m0.305s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff98dbbbd13800.statahead_max=32 llite.lustre-ffff98dbbbd13800.statahead_max=32 101 real 0m0.742s user 0m0.004s sys 0m0.172s 'ls -l' 100 files with statahead: 0 sec statahead total: 56 statahead wrong: 2 agl total: 51 list_total: 27 fname_total: 29 hit_total: 14252 miss_total: 1234 swrong=2 ewrong=2 total: 900 open/close in 8.19 seconds: 109.83 ops/second llite.lustre-ffff98dbbbd13800.statahead_max=0 1001 real 0m16.324s user 0m0.043s sys 0m3.027s 'ls -l' 1000 files without statahead: 16 sec llite.lustre-ffff98dbbbd13800.statahead_max=32 llite.lustre-ffff98dbbbd13800.statahead_max=32 1001 real 0m5.285s user 0m0.023s sys 0m1.503s 'ls -l' 1000 files with statahead: 5 sec statahead total: 57 statahead wrong: 2 agl total: 52 list_total: 28 fname_total: 29 hit_total: 15251 miss_total: 1235 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 11 seconds llite.lustre-ffff98dbbbd13800.statahead_stats= statahead total: 57 statahead wrong: 2 agl total: 52 list_total: 28 fname_total: 29 hit_total: 15251 miss_total: 1235 mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats= snapshot_time: 1788356345.066980424 secs.nsecs start_time: 1788356290.424881636 secs.nsecs elapsed_time: 54.642098788 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 8 4: 2 5 13 8: 1 2 16 16: 22 61 77 32: 8 22 100 mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats= snapshot_time: 1788356345.067040265 secs.nsecs start_time: 1788356290.424976418 secs.nsecs elapsed_time: 54.642063847 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 3 7 10 16: 12 30 41 32: 23 58 100 - open/close 1400 (time 1788356356.87 total 10.01 last 139.91) - open/close 2836 (time 1788356366.87 total 20.01 last 143.57) - open/close 4144 (time 1788356376.87 total 30.01 last 130.79) - open/close 5383 (time 1788356386.87 total 40.01 last 123.87) - open/close 6851 (time 1788356396.87 total 50.01 last 146.77) - open/close 8328 (time 1788356406.88 total 60.02 last 147.67) - open/close 9706 (time 1788356416.88 total 70.02 last 137.76) total: 10000 open/close in 71.87 seconds: 139.14 ops/second llite.lustre-ffff98dbbbd13800.statahead_batch_max=0 llite.lustre-ffff98dbbbd13800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.stats=clear mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m34.059s user 0m0.251s sys 0m26.800s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98dbbbd13800.statahead_batch_max=32 llite.lustre-ffff98dbbbd13800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.stats=clear mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.345s user 0m0.223s sys 0m17.683s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats= snapshot_time: 1788356510.801335892 secs.nsecs start_time: 1788356456.844000544 secs.nsecs elapsed_time: 53.957335348 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats= snapshot_time: 1788356510.801461787 secs.nsecs start_time: 1788356456.844081767 secs.nsecs elapsed_time: 53.957380020 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats=0 llite.lustre-ffff98dbbbd13800.statahead_max=2048 llite.lustre-ffff98dbbbd13800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.18 seconds: 85.02 ops/second llite.lustre-ffff98dbbbd13800.statahead_max=0 101 real 0m1.014s user 0m0.004s sys 0m0.303s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff98dbbbd13800.statahead_max=2048 llite.lustre-ffff98dbbbd13800.statahead_max=2048 101 real 0m0.430s user 0m0.006s sys 0m0.232s '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: 10084 miss_total: 16 swrong=0 ewrong=0 total: 900 open/close in 4.16 seconds: 216.11 ops/second llite.lustre-ffff98dbbbd13800.statahead_max=0 1001 real 0m9.972s user 0m0.023s sys 0m2.947s 'ls -l' 1000 files without statahead: 10 sec llite.lustre-ffff98dbbbd13800.statahead_max=2048 llite.lustre-ffff98dbbbd13800.statahead_max=2048 1001 real 0m3.429s user 0m0.022s sys 0m1.824s 'ls -l' 1000 files with statahead: 4 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 7 seconds llite.lustre-ffff98dbbbd13800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats= snapshot_time: 1788356686.195796251 secs.nsecs start_time: 1788356511.863502346 secs.nsecs elapsed_time: 174.332293905 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 40 40 8: 1 20 60 16: 0 0 60 32: 0 0 60 64: 0 0 60 128: 0 0 60 256: 2 40 100 mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats= snapshot_time: 1788356686.195861574 secs.nsecs start_time: 1788356511.863620422 secs.nsecs elapsed_time: 174.332241152 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 3 37 37 16: 1 12 50 32: 0 0 50 64: 1 12 62 128: 1 12 75 256: 2 25 100 - open/close 2304 (time 1788356697.16 total 10.00 last 230.34) - open/close 4239 (time 1788356707.16 total 20.00 last 193.46) - open/close 6479 (time 1788356717.16 total 30.01 last 223.95) - open/close 8860 (time 1788356727.16 total 40.01 last 238.04) total: 10000 open/close in 45.74 seconds: 218.61 ops/second llite.lustre-ffff98dbbbd13800.statahead_batch_max=0 llite.lustre-ffff98dbbbd13800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.stats=clear mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m32.951s user 0m0.242s sys 0m26.787s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff98dbbbd13800.statahead_batch_max=256 llite.lustre-ffff98dbbbd13800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.stats=clear mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m29.955s user 0m0.224s sys 0m21.323s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff98dbbbd13800.batch_stats= snapshot_time: 1788356806.331652519 secs.nsecs start_time: 1788356769.834210443 secs.nsecs elapsed_time: 36.497442076 secs.nsecs subreqs per batch batches %% cum %% 1: 378 65 65 2: 95 16 81 4: 36 6 87 8: 9 1 89 16: 4 0 89 32: 18 3 92 64: 8 1 94 128: 0 0 94 256: 33 5 100 mdc.lustre-MDT0001-mdc-ffff98dbbbd13800.batch_stats= snapshot_time: 1788356806.331725964 secs.nsecs start_time: 1788356769.834281758 secs.nsecs elapsed_time: 36.497444206 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-ffff98dbbbd13800.statahead_batch_max=64 llite.lustre-ffff98dbbbd13800.statahead_max=128