== sanity test 123ad: Verify batching statahead works correctly ========================================================== 10:51:35 (1787842295) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8af750f9b000.batch_stats=0 llite.lustre-ffff8af750f9b000.statahead_max=32 llite.lustre-ffff8af750f9b000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8af750f9b000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.57 seconds: 38.94 ops/second llite.lustre-ffff8af750f9b000.statahead_max=0 101 real 0m2.349s user 0m0.002s sys 0m0.304s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8af750f9b000.statahead_max=32 llite.lustre-ffff8af750f9b000.statahead_max=32 101 real 0m0.932s user 0m0.006s sys 0m0.179s 'ls -l' 100 files with statahead: 1 sec statahead total: 157 statahead wrong: 2 agl total: 145 list_total: 31 fname_total: 115 hit_total: 4032 miss_total: 1488 swrong=2 ewrong=2 - open/close 772 (time 1787842322.29 total 10.00 last 77.18) total: 900 open/close in 12.06 seconds: 74.62 ops/second llite.lustre-ffff8af750f9b000.statahead_max=0 1001 real 0m21.657s user 0m0.039s sys 0m2.929s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff8af750f9b000.statahead_max=32 llite.lustre-ffff8af750f9b000.statahead_max=32 1001 real 0m8.669s user 0m0.025s sys 0m1.422s 'ls -l' 1000 files with statahead: 8 sec statahead total: 158 statahead wrong: 2 agl total: 146 list_total: 32 fname_total: 115 hit_total: 5029 miss_total: 1491 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8af750f9b000.statahead_stats= statahead total: 158 statahead wrong: 2 agl total: 146 list_total: 32 fname_total: 115 hit_total: 5029 miss_total: 1491 mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats= snapshot_time: 1787842385.978187188 secs.nsecs start_time: 1787842299.483221143 secs.nsecs elapsed_time: 86.494966045 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 2 5 10 8: 4 10 20 16: 17 42 62 32: 15 37 100 mdc.lustre-MDT0001-mdc-ffff8af750f9b000.batch_stats= snapshot_time: 1787842385.978257698 secs.nsecs start_time: 1787842299.483406478 secs.nsecs elapsed_time: 86.494851220 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 7 8: 2 5 12 16: 18 46 58 32: 16 41 100 - open/close 846 (time 1787842399.01 total 10.00 last 84.60) - open/close 1733 (time 1787842409.02 total 20.01 last 88.65) - open/close 2560 (time 1787842419.03 total 30.02 last 82.63) - open/close 3371 (time 1787842429.03 total 40.02 last 81.09) - open/close 4268 (time 1787842439.03 total 50.02 last 89.67) - open/close 5042 (time 1787842449.03 total 60.02 last 77.37) - open/close 5827 (time 1787842459.04 total 70.02 last 78.49) - open/close 6715 (time 1787842469.04 total 80.03 last 88.75) - open/close 7695 (time 1787842479.04 total 90.03 last 97.98) - open/close 8562 (time 1787842489.05 total 100.04 last 86.67) - open/close 9356 (time 1787842499.05 total 110.04 last 79.35) total: 10000 open/close in 117.05 seconds: 85.43 ops/second llite.lustre-ffff8af750f9b000.statahead_batch_max=0 llite.lustre-ffff8af750f9b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8af750f9b000.stats=clear mdc.lustre-MDT0001-mdc-ffff8af750f9b000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.842s user 0m0.293s sys 0m16.347s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8af750f9b000.statahead_batch_max=32 llite.lustre-ffff8af750f9b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8af750f9b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8af750f9b000.stats=clear mdc.lustre-MDT0001-mdc-ffff8af750f9b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m41.504s user 0m0.295s sys 0m14.145s batched statahead RPC= hit count=9980 mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats= snapshot_time: 1787842683.737478298 secs.nsecs start_time: 1787842572.998361050 secs.nsecs elapsed_time: 110.739117248 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 1 0 0 16: 0 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff8af750f9b000.batch_stats= snapshot_time: 1787842683.737910135 secs.nsecs start_time: 1787842572.998981379 secs.nsecs elapsed_time: 110.738928756 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8af750f9b000.batch_stats=0 llite.lustre-ffff8af750f9b000.statahead_max=2048 llite.lustre-ffff8af750f9b000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8af750f9b000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.82 seconds: 35.45 ops/second llite.lustre-ffff8af750f9b000.statahead_max=0 101 real 0m2.004s user 0m0.005s sys 0m0.315s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8af750f9b000.statahead_max=2048 llite.lustre-ffff8af750f9b000.statahead_max=2048 101 real 0m0.700s user 0m0.006s sys 0m0.164s '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: 10079 miss_total: 21 swrong=0 ewrong=0 - open/close 749 (time 1787842975.77 total 10.02 last 74.73) total: 900 open/close in 12.73 seconds: 70.68 ops/second llite.lustre-ffff8af750f9b000.statahead_max=0 1001 real 0m22.943s user 0m0.037s sys 0m2.982s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff8af750f9b000.statahead_max=2048 llite.lustre-ffff8af750f9b000.statahead_max=2048 1001 real 0m7.428s user 0m0.037s sys 0m1.461s 'ls -l' 1000 files with statahead: 8 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8af750f9b000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11078 miss_total: 22 mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats= snapshot_time: 1787843043.305307823 secs.nsecs start_time: 1787842686.715981316 secs.nsecs elapsed_time: 356.589326507 secs.nsecs subreqs per batch batches %% cum %% 1: 2 28 28 2: 0 0 28 4: 2 28 57 8: 1 14 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-ffff8af750f9b000.batch_stats= snapshot_time: 1787843043.305391511 secs.nsecs start_time: 1787842686.716129271 secs.nsecs elapsed_time: 356.589262240 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 10 10 8: 2 20 30 16: 1 10 40 32: 3 30 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 827 (time 1787843056.42 total 10.02 last 82.57) - open/close 1618 (time 1787843066.42 total 20.02 last 79.07) - open/close 2468 (time 1787843076.44 total 30.03 last 84.87) - open/close 3349 (time 1787843086.44 total 40.04 last 88.03) - open/close 4209 (time 1787843096.45 total 50.04 last 85.98) - open/close 5031 (time 1787843106.45 total 60.05 last 82.18) - open/close 5888 (time 1787843116.45 total 70.05 last 85.67) - open/close 6649 (time 1787843126.45 total 80.05 last 76.09) - open/close 7320 (time 1787843136.46 total 90.05 last 67.08) - open/close 8023 (time 1787843146.46 total 100.06 last 70.27) - open/close 8731 (time 1787843156.47 total 110.07 last 70.75) - open/close 9391 (time 1787843166.48 total 120.07 last 65.94) total: 10000 open/close in 129.36 seconds: 77.30 ops/second llite.lustre-ffff8af750f9b000.statahead_batch_max=0 llite.lustre-ffff8af750f9b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8af750f9b000.stats=clear mdc.lustre-MDT0001-mdc-ffff8af750f9b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.326s user 0m0.331s sys 0m15.385s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8af750f9b000.statahead_batch_max=256 llite.lustre-ffff8af750f9b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8af750f9b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8af750f9b000.stats=clear mdc.lustre-MDT0001-mdc-ffff8af750f9b000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.906s user 0m0.279s sys 0m15.513s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8af750f9b000.batch_stats= snapshot_time: 1787843324.375116173 secs.nsecs start_time: 1787843255.648117459 secs.nsecs elapsed_time: 68.726998714 secs.nsecs subreqs per batch batches %% cum %% 1: 121 48 48 2: 23 9 57 4: 26 10 67 8: 16 6 74 16: 7 2 76 32: 16 6 83 64: 6 2 85 128: 2 0 86 256: 34 13 100 mdc.lustre-MDT0001-mdc-ffff8af750f9b000.batch_stats= snapshot_time: 1787843324.375186018 secs.nsecs start_time: 1787843255.648201714 secs.nsecs elapsed_time: 68.726984304 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-ffff8af750f9b000.statahead_batch_max=64 llite.lustre-ffff8af750f9b000.statahead_max=128