== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:26:58 (1786022818) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e4a11723800.batch_stats=0 llite.lustre-ffff9e4a11723800.statahead_max=32 llite.lustre-ffff9e4a11723800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e4a11723800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.35 seconds: 42.48 ops/second llite.lustre-ffff9e4a11723800.statahead_max=0 101 real 0m2.957s user 0m0.004s sys 0m0.336s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9e4a11723800.statahead_max=32 llite.lustre-ffff9e4a11723800.statahead_max=32 101 real 0m1.640s user 0m0.003s sys 0m0.180s 'ls -l' 100 files with statahead: 1 sec statahead total: 167 statahead wrong: 2 agl total: 160 list_total: 31 fname_total: 121 hit_total: 4077 miss_total: 1445 swrong=2 ewrong=2 - open/close 710 (time 1786022852.07 total 10.00 last 70.98) total: 900 open/close in 13.84 seconds: 65.02 ops/second llite.lustre-ffff9e4a11723800.statahead_max=0 1001 real 0m42.181s user 0m0.028s sys 0m3.469s 'ls -l' 1000 files without statahead: 42 sec llite.lustre-ffff9e4a11723800.statahead_max=32 llite.lustre-ffff9e4a11723800.statahead_max=32 1001 real 0m10.977s user 0m0.022s sys 0m1.426s 'ls -l' 1000 files with statahead: 10 sec statahead total: 168 statahead wrong: 2 agl total: 161 list_total: 32 fname_total: 121 hit_total: 5072 miss_total: 1450 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff9e4a11723800.statahead_stats= statahead total: 168 statahead wrong: 2 agl total: 161 list_total: 32 fname_total: 121 hit_total: 5072 miss_total: 1450 mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats= snapshot_time: 1786022945.595393881 secs.nsecs start_time: 1786022825.352058751 secs.nsecs elapsed_time: 120.243335130 secs.nsecs subreqs per batch batches %% cum %% 1: 5 12 12 2: 1 2 15 4: 2 5 20 8: 2 5 25 16: 23 58 84 32: 6 15 100 mdc.lustre-MDT0001-mdc-ffff9e4a11723800.batch_stats= snapshot_time: 1786022945.595444140 secs.nsecs start_time: 1786022825.352137610 secs.nsecs elapsed_time: 120.243306530 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 4 10 12 16: 13 32 45 32: 22 55 100 - open/close 508 (time 1786022959.01 total 10.02 last 50.70) - open/close 1075 (time 1786022969.01 total 20.02 last 56.69) - open/close 1643 (time 1786022979.02 total 30.03 last 56.74) - open/close 2226 (time 1786022989.02 total 40.03 last 58.30) - open/close 2840 (time 1786022999.03 total 50.04 last 61.32) - open/close 3450 (time 1786023009.07 total 60.08 last 60.80) - open/close 3951 (time 1786023019.10 total 70.11 last 49.94) - open/close 4483 (time 1786023029.11 total 80.12 last 53.14) - open/close 5319 (time 1786023039.11 total 90.12 last 83.59) - open/close 5921 (time 1786023049.14 total 100.15 last 60.02) - open/close 6480 (time 1786023059.15 total 110.16 last 55.84) - open/close 6823 (time 1786023069.19 total 120.21 last 34.15) - open/close 7328 (time 1786023079.20 total 130.21 last 50.49) - open/close 7979 (time 1786023089.21 total 140.22 last 65.01) - open/close 8555 (time 1786023099.22 total 150.23 last 57.57) - open/close 9152 (time 1786023109.23 total 160.24 last 59.60) - open/close 9728 (time 1786023119.24 total 170.25 last 57.55) total: 10000 open/close in 175.08 seconds: 57.12 ops/second llite.lustre-ffff9e4a11723800.statahead_batch_max=0 llite.lustre-ffff9e4a11723800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e4a11723800.stats=clear mdc.lustre-MDT0001-mdc-ffff9e4a11723800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m12.957s user 0m0.268s sys 0m14.450s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9e4a11723800.statahead_batch_max=32 llite.lustre-ffff9e4a11723800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9e4a11723800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9e4a11723800.stats=clear mdc.lustre-MDT0001-mdc-ffff9e4a11723800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m20.472s user 0m0.246s sys 0m14.368s batched statahead RPC= hit count=9969 mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats= snapshot_time: 1786023372.895485855 secs.nsecs start_time: 1786023208.265151551 secs.nsecs elapsed_time: 164.630334304 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: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9e4a11723800.batch_stats= snapshot_time: 1786023372.896991001 secs.nsecs start_time: 1786023208.265234041 secs.nsecs elapsed_time: 164.631756960 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e4a11723800.batch_stats=0 llite.lustre-ffff9e4a11723800.statahead_max=2048 llite.lustre-ffff9e4a11723800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9e4a11723800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 4.40 seconds: 22.72 ops/second llite.lustre-ffff9e4a11723800.statahead_max=0 101 real 0m4.859s user 0m0.005s sys 0m0.380s 'ls -l' 100 files without statahead: 5 sec llite.lustre-ffff9e4a11723800.statahead_max=2048 llite.lustre-ffff9e4a11723800.statahead_max=2048 101 real 0m0.611s user 0m0.001s sys 0m0.151s '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: 10068 miss_total: 32 swrong=0 ewrong=0 - open/close 556 (time 1786023743.62 total 10.00 last 55.59) total: 900 open/close in 14.17 seconds: 63.51 ops/second llite.lustre-ffff9e4a11723800.statahead_max=0 1001 real 0m41.387s user 0m0.029s sys 0m3.151s 'ls -l' 1000 files without statahead: 42 sec llite.lustre-ffff9e4a11723800.statahead_max=2048 llite.lustre-ffff9e4a11723800.statahead_max=2048 1001 real 0m12.099s user 0m0.025s sys 0m1.406s 'ls -l' 1000 files with statahead: 12 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11067 miss_total: 33 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff9e4a11723800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11067 miss_total: 33 mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats= snapshot_time: 1786023841.719718442 secs.nsecs start_time: 1786023377.138576120 secs.nsecs elapsed_time: 464.581142322 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 3 33 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-ffff9e4a11723800.batch_stats= snapshot_time: 1786023841.719779095 secs.nsecs start_time: 1786023377.138876076 secs.nsecs elapsed_time: 464.580903019 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 33 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 605 (time 1786023854.85 total 10.01 last 60.42) - open/close 1493 (time 1786023864.86 total 20.03 last 88.68) - open/close 2181 (time 1786023874.87 total 30.03 last 68.78) - open/close 2840 (time 1786023884.87 total 40.03 last 65.88) - open/close 3600 (time 1786023894.88 total 50.05 last 75.88) - open/close 4162 (time 1786023904.90 total 60.06 last 56.13) - open/close 4716 (time 1786023914.94 total 70.10 last 55.16) - open/close 5125 (time 1786023924.95 total 80.12 last 40.85) - open/close 5649 (time 1786023934.96 total 90.12 last 52.36) - open/close 6140 (time 1786023944.96 total 100.12 last 49.09) - open/close 6794 (time 1786023954.97 total 110.13 last 65.35) - open/close 7428 (time 1786023965.01 total 120.17 last 63.16) - open/close 8061 (time 1786023975.02 total 130.18 last 63.22) - open/close 8752 (time 1786023985.02 total 140.19 last 69.07) - open/close 9378 (time 1786023995.04 total 150.20 last 62.51) - open/close 9996 (time 1786024005.04 total 160.21 last 61.77) total: 10000 open/close in 160.30 seconds: 62.38 ops/second llite.lustre-ffff9e4a11723800.statahead_batch_max=0 llite.lustre-ffff9e4a11723800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e4a11723800.stats=clear mdc.lustre-MDT0001-mdc-ffff9e4a11723800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m17.474s user 0m0.235s sys 0m14.700s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9e4a11723800.statahead_batch_max=256 llite.lustre-ffff9e4a11723800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9e4a11723800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9e4a11723800.stats=clear mdc.lustre-MDT0001-mdc-ffff9e4a11723800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.521s user 0m0.250s sys 0m14.408s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9e4a11723800.batch_stats= snapshot_time: 1786024190.624740161 secs.nsecs start_time: 1786024103.558279929 secs.nsecs elapsed_time: 87.066460232 secs.nsecs subreqs per batch batches %% cum %% 1: 167 45 45 2: 70 19 64 4: 41 11 76 8: 18 4 81 16: 10 2 83 32: 20 5 89 64: 5 1 90 128: 0 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff9e4a11723800.batch_stats= snapshot_time: 1786024190.624802101 secs.nsecs start_time: 1786024103.558408990 secs.nsecs elapsed_time: 87.066393111 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-ffff9e4a11723800.statahead_batch_max=64 llite.lustre-ffff9e4a11723800.statahead_max=128