== sanity test 123ad: Verify batching statahead works correctly ========================================================== 06:10:03 (1787393403) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ea98939d800.batch_stats=0 llite.lustre-ffff9ea98939d800.statahead_max=32 llite.lustre-ffff9ea98939d800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ea98939d800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.64 seconds: 27.47 ops/second llite.lustre-ffff9ea98939d800.statahead_max=0 101 real 0m3.458s user 0m0.005s sys 0m0.397s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9ea98939d800.statahead_max=32 llite.lustre-ffff9ea98939d800.statahead_max=32 101 real 0m0.913s user 0m0.002s sys 0m0.190s 'ls -l' 100 files with statahead: 1 sec statahead total: 139 statahead wrong: 2 agl total: 118 list_total: 31 fname_total: 108 hit_total: 3606 miss_total: 1391 swrong=2 ewrong=2 - open/close 744 (time 1787393435.85 total 10.00 last 74.38) total: 900 open/close in 12.09 seconds: 74.47 ops/second llite.lustre-ffff9ea98939d800.statahead_max=0 1001 real 0m25.228s user 0m0.042s sys 0m3.464s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9ea98939d800.statahead_max=32 llite.lustre-ffff9ea98939d800.statahead_max=32 1001 real 0m9.958s user 0m0.033s sys 0m1.639s 'ls -l' 1000 files with statahead: 10 sec statahead total: 140 statahead wrong: 2 agl total: 119 list_total: 32 fname_total: 108 hit_total: 4602 miss_total: 1395 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff9ea98939d800.statahead_stats= statahead total: 140 statahead wrong: 2 agl total: 119 list_total: 32 fname_total: 108 hit_total: 4602 miss_total: 1395 mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats= snapshot_time: 1787393507.489631004 secs.nsecs start_time: 1787393410.022087237 secs.nsecs elapsed_time: 97.467543767 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 24 60 75 32: 10 25 100 mdc.lustre-MDT0001-mdc-ffff9ea98939d800.batch_stats= snapshot_time: 1787393507.489694943 secs.nsecs start_time: 1787393410.022571719 secs.nsecs elapsed_time: 97.467123224 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 3 7 10 8: 3 7 17 16: 19 48 66 32: 13 33 100 - open/close 753 (time 1787393519.92 total 10.01 last 75.20) - open/close 1531 (time 1787393529.92 total 20.02 last 77.75) - open/close 2300 (time 1787393539.94 total 30.04 last 76.75) - open/close 3056 (time 1787393549.94 total 40.04 last 75.59) - open/close 3858 (time 1787393559.95 total 50.04 last 80.18) - open/close 4705 (time 1787393569.96 total 60.06 last 84.57) - open/close 5486 (time 1787393579.97 total 70.07 last 78.03) - open/close 6205 (time 1787393589.97 total 80.07 last 71.89) - open/close 6888 (time 1787393599.98 total 90.08 last 68.23) - open/close 7580 (time 1787393609.99 total 100.09 last 69.13) - open/close 8285 (time 1787393620.00 total 110.10 last 70.44) - open/close 9083 (time 1787393630.01 total 120.11 last 79.74) - open/close 9813 (time 1787393640.01 total 130.11 last 72.99) total: 10000 open/close in 133.27 seconds: 75.04 ops/second llite.lustre-ffff9ea98939d800.statahead_batch_max=0 llite.lustre-ffff9ea98939d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ea98939d800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ea98939d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.508s user 0m0.302s sys 0m16.717s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ea98939d800.statahead_batch_max=32 llite.lustre-ffff9ea98939d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9ea98939d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ea98939d800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ea98939d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m53.635s user 0m0.334s sys 0m16.755s batched statahead RPC= hit count=9988 mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats= snapshot_time: 1787393859.080013743 secs.nsecs start_time: 1787393732.228869850 secs.nsecs elapsed_time: 126.851143893 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-ffff9ea98939d800.batch_stats= snapshot_time: 1787393859.080103936 secs.nsecs start_time: 1787393732.228993030 secs.nsecs elapsed_time: 126.851110906 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ea98939d800.batch_stats=0 llite.lustre-ffff9ea98939d800.statahead_max=2048 llite.lustre-ffff9ea98939d800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9ea98939d800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.74 seconds: 26.73 ops/second llite.lustre-ffff9ea98939d800.statahead_max=0 101 real 0m2.828s user 0m0.007s sys 0m0.340s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9ea98939d800.statahead_max=2048 llite.lustre-ffff9ea98939d800.statahead_max=2048 101 real 0m1.527s user 0m0.006s sys 0m0.201s 'ls -l' 100 files with statahead: 2 sec statahead total: 2 statahead wrong: 0 agl total: 2 list_total: 2 fname_total: 0 hit_total: 10087 miss_total: 13 swrong=0 ewrong=0 - open/close 707 (time 1787394192.30 total 10.01 last 70.62) total: 900 open/close in 13.33 seconds: 67.52 ops/second llite.lustre-ffff9ea98939d800.statahead_max=0 1001 real 0m25.628s user 0m0.037s sys 0m3.399s 'ls -l' 1000 files without statahead: 26 sec llite.lustre-ffff9ea98939d800.statahead_max=2048 llite.lustre-ffff9ea98939d800.statahead_max=2048 1001 real 0m6.886s user 0m0.023s sys 0m1.530s 'ls -l' 1000 files with statahead: 7 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11086 miss_total: 14 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff9ea98939d800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11086 miss_total: 14 mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats= snapshot_time: 1787394261.805067543 secs.nsecs start_time: 1787393861.353758333 secs.nsecs elapsed_time: 400.451309210 secs.nsecs subreqs per batch batches %% cum %% 1: 1 14 14 2: 0 0 14 4: 1 14 28 8: 3 42 71 16: 0 0 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff9ea98939d800.batch_stats= snapshot_time: 1787394261.805166136 secs.nsecs start_time: 1787393861.353895960 secs.nsecs elapsed_time: 400.451270176 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 1 11 22 8: 2 22 44 16: 1 11 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 746 (time 1787394274.35 total 10.01 last 74.53) - open/close 1464 (time 1787394284.35 total 20.01 last 71.80) - open/close 2201 (time 1787394294.36 total 30.02 last 73.65) - open/close 2821 (time 1787394304.37 total 40.03 last 61.92) - open/close 3407 (time 1787394314.38 total 50.03 last 58.58) - open/close 4098 (time 1787394324.38 total 60.04 last 69.08) - open/close 4821 (time 1787394334.39 total 70.05 last 72.22) - open/close 5602 (time 1787394344.39 total 80.05 last 78.10) - open/close 6322 (time 1787394354.40 total 90.06 last 71.93) - open/close 7006 (time 1787394364.41 total 100.07 last 68.35) - open/close 7762 (time 1787394374.41 total 110.07 last 75.60) - open/close 8418 (time 1787394384.41 total 120.07 last 65.57) - open/close 9220 (time 1787394394.42 total 130.07 last 80.17) - open/close 9975 (time 1787394404.43 total 140.09 last 75.40) total: 10000 open/close in 140.49 seconds: 71.18 ops/second llite.lustre-ffff9ea98939d800.statahead_batch_max=0 llite.lustre-ffff9ea98939d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ea98939d800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ea98939d800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.279s user 0m0.306s sys 0m16.950s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9ea98939d800.statahead_batch_max=256 llite.lustre-ffff9ea98939d800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9ea98939d800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9ea98939d800.stats=clear mdc.lustre-MDT0001-mdc-ffff9ea98939d800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.343s user 0m0.293s sys 0m16.906s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9ea98939d800.batch_stats= snapshot_time: 1787394548.002898269 secs.nsecs start_time: 1787394477.437598617 secs.nsecs elapsed_time: 70.565299652 secs.nsecs subreqs per batch batches %% cum %% 1: 210 54 54 2: 40 10 65 4: 41 10 76 8: 19 4 81 16: 17 4 85 32: 14 3 89 64: 7 1 91 128: 0 0 91 256: 34 8 100 mdc.lustre-MDT0001-mdc-ffff9ea98939d800.batch_stats= snapshot_time: 1787394548.002965021 secs.nsecs start_time: 1787394477.437724346 secs.nsecs elapsed_time: 70.565240675 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 1 seconds: 0.000000 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-ffff9ea98939d800.statahead_batch_max=64 llite.lustre-ffff9ea98939d800.statahead_max=128