== sanity test 123ad: Verify batching statahead works correctly ========================================================== 21:25:13 (1788657913) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.batch_stats=0 llite.lustre-ffff9c8706eb1000.statahead_max=32 llite.lustre-ffff9c8706eb1000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.90 seconds: 34.50 ops/second llite.lustre-ffff9c8706eb1000.statahead_max=0 101 real 0m1.606s user 0m0.007s sys 0m0.290s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9c8706eb1000.statahead_max=32 llite.lustre-ffff9c8706eb1000.statahead_max=32 101 real 0m1.202s user 0m0.003s sys 0m0.175s 'ls -l' 100 files with statahead: 1 sec statahead total: 119 statahead wrong: 2 agl total: 114 list_total: 30 fname_total: 81 hit_total: 3525 miss_total: 1669 swrong=2 ewrong=2 - open/close 651 (time 1788657941.40 total 10.00 last 65.09) total: 900 open/close in 13.23 seconds: 68.04 ops/second llite.lustre-ffff9c8706eb1000.statahead_max=0 1001 real 0m23.232s user 0m0.032s sys 0m2.967s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9c8706eb1000.statahead_max=32 llite.lustre-ffff9c8706eb1000.statahead_max=32 1001 real 0m8.331s user 0m0.029s sys 0m1.345s 'ls -l' 1000 files with statahead: 8 sec statahead total: 120 statahead wrong: 2 agl total: 115 list_total: 31 fname_total: 81 hit_total: 4522 miss_total: 1672 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff9c8706eb1000.statahead_stats= statahead total: 120 statahead wrong: 2 agl total: 115 list_total: 31 fname_total: 81 hit_total: 4522 miss_total: 1672 mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats= snapshot_time: 1788658009.779494678 secs.nsecs start_time: 1788657918.417979307 secs.nsecs elapsed_time: 91.361515371 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 2 5 10 4: 1 2 13 8: 3 8 21 16: 24 64 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.batch_stats= snapshot_time: 1788658009.779558875 secs.nsecs start_time: 1788657918.418099609 secs.nsecs elapsed_time: 91.361459266 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 11 27 42 32: 23 57 100 - open/close 895 (time 1788658022.97 total 10.01 last 89.42) - open/close 1717 (time 1788658032.97 total 20.01 last 82.18) - open/close 2571 (time 1788658042.98 total 30.02 last 85.36) - open/close 3422 (time 1788658052.99 total 40.03 last 84.98) - open/close 4282 (time 1788658062.99 total 50.03 last 85.98) - open/close 5069 (time 1788658073.04 total 60.07 last 78.37) - open/close 5843 (time 1788658083.04 total 70.08 last 77.35) - open/close 6601 (time 1788658093.05 total 80.09 last 75.74) - open/close 7429 (time 1788658103.05 total 90.09 last 82.75) - open/close 8283 (time 1788658113.06 total 100.09 last 85.38) - open/close 9134 (time 1788658123.06 total 110.10 last 85.06) total: 10000 open/close in 119.91 seconds: 83.40 ops/second llite.lustre-ffff9c8706eb1000.statahead_batch_max=0 llite.lustre-ffff9c8706eb1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.stats=clear mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.087s user 0m0.283s sys 0m15.298s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c8706eb1000.statahead_batch_max=32 llite.lustre-ffff9c8706eb1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.stats=clear mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m29.381s user 0m0.276s sys 0m13.823s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats= snapshot_time: 1788658300.941378523 secs.nsecs start_time: 1788658202.918111345 secs.nsecs elapsed_time: 98.023267178 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-ffff9c8706eb1000.batch_stats= snapshot_time: 1788658300.941443845 secs.nsecs start_time: 1788658202.918209113 secs.nsecs elapsed_time: 98.023234732 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.batch_stats=0 llite.lustre-ffff9c8706eb1000.statahead_max=2048 llite.lustre-ffff9c8706eb1000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 1.79 seconds: 55.84 ops/second llite.lustre-ffff9c8706eb1000.statahead_max=0 101 real 0m1.872s user 0m0.008s sys 0m0.291s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9c8706eb1000.statahead_max=2048 llite.lustre-ffff9c8706eb1000.statahead_max=2048 101 real 0m0.798s user 0m0.006s sys 0m0.177s '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: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 868 (time 1788658567.71 total 10.02 last 86.61) total: 900 open/close in 10.50 seconds: 85.71 ops/second llite.lustre-ffff9c8706eb1000.statahead_max=0 1001 real 0m18.663s user 0m0.035s sys 0m2.811s 'ls -l' 1000 files without statahead: 18 sec llite.lustre-ffff9c8706eb1000.statahead_max=2048 llite.lustre-ffff9c8706eb1000.statahead_max=2048 1001 real 0m5.901s user 0m0.033s sys 0m1.541s 'ls -l' 1000 files with statahead: 6 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff9c8706eb1000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats= snapshot_time: 1788658620.308889076 secs.nsecs start_time: 1788658302.774061947 secs.nsecs elapsed_time: 317.534827129 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 16 16 4: 2 33 50 8: 1 16 66 16: 0 0 66 32: 0 0 66 64: 0 0 66 128: 0 0 66 256: 2 33 100 mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.batch_stats= snapshot_time: 1788658620.310882702 secs.nsecs start_time: 1788658302.774206981 secs.nsecs elapsed_time: 317.536675721 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 2 22 44 16: 0 0 44 32: 1 11 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 711 (time 1788658632.85 total 10.01 last 71.03) - open/close 1599 (time 1788658642.85 total 20.01 last 88.80) - open/close 2475 (time 1788658652.85 total 30.01 last 87.57) - open/close 3448 (time 1788658662.85 total 40.01 last 97.29) - open/close 4316 (time 1788658672.86 total 50.02 last 86.71) - open/close 5237 (time 1788658682.87 total 60.04 last 92.00) - open/close 5981 (time 1788658692.88 total 70.04 last 74.36) - open/close 6877 (time 1788658702.88 total 80.04 last 89.56) - open/close 7916 (time 1788658712.89 total 90.05 last 103.84) - open/close 8886 (time 1788658722.90 total 100.06 last 96.92) - open/close 9723 (time 1788658732.90 total 110.06 last 83.68) total: 10000 open/close in 113.05 seconds: 88.46 ops/second llite.lustre-ffff9c8706eb1000.statahead_batch_max=0 llite.lustre-ffff9c8706eb1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.stats=clear mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.239s user 0m0.302s sys 0m15.707s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9c8706eb1000.statahead_batch_max=256 llite.lustre-ffff9c8706eb1000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.stats=clear mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m40.206s user 0m0.294s sys 0m16.276s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9c8706eb1000.batch_stats= snapshot_time: 1788658847.659336014 secs.nsecs start_time: 1788658798.272371407 secs.nsecs elapsed_time: 49.386964607 secs.nsecs subreqs per batch batches %% cum %% 1: 176 50 50 2: 37 10 61 4: 40 11 73 8: 21 6 79 16: 11 3 82 32: 17 4 87 64: 11 3 90 128: 0 0 90 256: 33 9 100 mdc.lustre-MDT0001-mdc-ffff9c8706eb1000.batch_stats= snapshot_time: 1788658847.659406801 secs.nsecs start_time: 1788658798.272559598 secs.nsecs elapsed_time: 49.386847203 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-ffff9c8706eb1000.statahead_batch_max=64 llite.lustre-ffff9c8706eb1000.statahead_max=128