== sanity test 123ad: Verify batching statahead works correctly ========================================================== 23:14:57 (1789787697) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff901150a7b800.batch_stats=0 llite.lustre-ffff901150a7b800.statahead_max=32 llite.lustre-ffff901150a7b800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff901150a7b800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.40 seconds: 29.37 ops/second llite.lustre-ffff901150a7b800.statahead_max=0 101 real 0m3.055s user 0m0.003s sys 0m0.379s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff901150a7b800.statahead_max=32 llite.lustre-ffff901150a7b800.statahead_max=32 101 real 0m1.424s user 0m0.003s sys 0m0.175s 'ls -l' 100 files with statahead: 1 sec statahead total: 134 statahead wrong: 2 agl total: 128 list_total: 30 fname_total: 100 hit_total: 4616 miss_total: 1272 swrong=2 ewrong=2 - open/close 652 (time 1789787728.24 total 10.01 last 65.14) total: 900 open/close in 13.70 seconds: 65.69 ops/second llite.lustre-ffff901150a7b800.statahead_max=0 1001 real 0m23.357s user 0m0.036s sys 0m3.005s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff901150a7b800.statahead_max=32 llite.lustre-ffff901150a7b800.statahead_max=32 1001 real 0m8.284s user 0m0.032s sys 0m1.381s 'ls -l' 1000 files with statahead: 8 sec statahead total: 135 statahead wrong: 2 agl total: 129 list_total: 31 fname_total: 100 hit_total: 5614 miss_total: 1274 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff901150a7b800.statahead_stats= statahead total: 135 statahead wrong: 2 agl total: 129 list_total: 31 fname_total: 100 hit_total: 5614 miss_total: 1274 mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats= snapshot_time: 1789787795.204364632 secs.nsecs start_time: 1789787702.530086144 secs.nsecs elapsed_time: 92.674278488 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 1 2 8 8: 3 8 17 16: 24 68 85 32: 5 14 100 mdc.lustre-MDT0001-mdc-ffff901150a7b800.batch_stats= snapshot_time: 1789787795.204434992 secs.nsecs start_time: 1789787702.530236665 secs.nsecs elapsed_time: 92.674198327 secs.nsecs subreqs per batch batches %% cum %% 1: 2 4 4 2: 0 0 4 4: 2 4 9 8: 2 4 14 16: 10 24 39 32: 25 60 100 - open/close 609 (time 1789787807.85 total 10.01 last 60.84) - open/close 1331 (time 1789787817.86 total 20.02 last 72.14) - open/close 2005 (time 1789787827.87 total 30.03 last 67.29) - open/close 2780 (time 1789787837.87 total 40.04 last 77.48) - open/close 3540 (time 1789787847.87 total 50.04 last 76.00) - open/close 4312 (time 1789787857.87 total 60.04 last 77.20) - open/close 5056 (time 1789787867.88 total 70.05 last 74.32) - open/close 5788 (time 1789787877.89 total 80.05 last 73.18) - open/close 6435 (time 1789787887.89 total 90.05 last 64.70) - open/close 7105 (time 1789787897.89 total 100.06 last 66.97) - open/close 7704 (time 1789787907.90 total 110.06 last 59.85) - open/close 8411 (time 1789787917.90 total 120.07 last 70.67) - open/close 9123 (time 1789787927.93 total 130.09 last 71.04) - open/close 9821 (time 1789787937.93 total 140.09 last 69.78) total: 10000 open/close in 142.72 seconds: 70.07 ops/second llite.lustre-ffff901150a7b800.statahead_batch_max=0 llite.lustre-ffff901150a7b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff901150a7b800.stats=clear mdc.lustre-MDT0001-mdc-ffff901150a7b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.906s user 0m0.273s sys 0m14.726s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff901150a7b800.statahead_batch_max=32 llite.lustre-ffff901150a7b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff901150a7b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff901150a7b800.stats=clear mdc.lustre-MDT0001-mdc-ffff901150a7b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m59.144s user 0m0.338s sys 0m14.045s batched statahead RPC= hit count=9978 mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats= snapshot_time: 1789788138.172576203 secs.nsecs start_time: 1789788008.553783191 secs.nsecs elapsed_time: 129.618793012 secs.nsecs subreqs per batch batches %% cum %% 1: 1 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-ffff901150a7b800.batch_stats= snapshot_time: 1789788138.172648891 secs.nsecs start_time: 1789788008.553849780 secs.nsecs elapsed_time: 129.618799111 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff901150a7b800.batch_stats=0 llite.lustre-ffff901150a7b800.statahead_max=2048 llite.lustre-ffff901150a7b800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff901150a7b800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.46 seconds: 40.72 ops/second llite.lustre-ffff901150a7b800.statahead_max=0 101 real 0m2.312s user 0m0.005s sys 0m0.330s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff901150a7b800.statahead_max=2048 llite.lustre-ffff901150a7b800.statahead_max=2048 101 real 0m0.792s user 0m0.002s sys 0m0.182s '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: 10077 miss_total: 23 swrong=0 ewrong=0 - open/close 725 (time 1789788471.34 total 10.01 last 72.45) total: 900 open/close in 13.18 seconds: 68.28 ops/second llite.lustre-ffff901150a7b800.statahead_max=0 1001 real 0m22.396s user 0m0.033s sys 0m3.005s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff901150a7b800.statahead_max=2048 llite.lustre-ffff901150a7b800.statahead_max=2048 1001 real 0m6.979s user 0m0.029s sys 0m1.298s '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: 11076 miss_total: 24 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff901150a7b800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11076 miss_total: 24 mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats= snapshot_time: 1789788537.420156238 secs.nsecs start_time: 1789788141.470441688 secs.nsecs elapsed_time: 395.949714550 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 10 10 8: 5 50 60 16: 1 10 70 32: 1 10 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 mdc.lustre-MDT0001-mdc-ffff901150a7b800.batch_stats= snapshot_time: 1789788537.420224883 secs.nsecs start_time: 1789788141.470610708 secs.nsecs elapsed_time: 395.949614175 secs.nsecs subreqs per batch batches %% cum %% 1: 1 10 10 2: 1 10 20 4: 2 20 40 8: 0 0 40 16: 3 30 70 32: 1 10 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 - open/close 772 (time 1789788550.41 total 10.00 last 77.20) - open/close 1466 (time 1789788560.41 total 20.00 last 69.38) - open/close 2250 (time 1789788570.42 total 30.01 last 78.37) - open/close 3096 (time 1789788580.42 total 40.01 last 84.56) - open/close 3877 (time 1789788590.44 total 50.03 last 77.97) - open/close 4676 (time 1789788600.44 total 60.03 last 79.89) - open/close 5441 (time 1789788610.44 total 70.04 last 76.45) - open/close 6210 (time 1789788620.45 total 80.04 last 76.87) - open/close 6973 (time 1789788630.46 total 90.05 last 76.26) - open/close 7766 (time 1789788640.46 total 100.05 last 79.24) - open/close 8523 (time 1789788650.47 total 110.06 last 75.67) - open/close 9246 (time 1789788660.47 total 120.06 last 72.24) total: 10000 open/close in 130.04 seconds: 76.90 ops/second llite.lustre-ffff901150a7b800.statahead_batch_max=0 llite.lustre-ffff901150a7b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff901150a7b800.stats=clear mdc.lustre-MDT0001-mdc-ffff901150a7b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.760s user 0m0.338s sys 0m14.508s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff901150a7b800.statahead_batch_max=256 llite.lustre-ffff901150a7b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff901150a7b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff901150a7b800.stats=clear mdc.lustre-MDT0001-mdc-ffff901150a7b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.741s user 0m0.302s sys 0m15.245s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff901150a7b800.batch_stats= snapshot_time: 1789788810.704284875 secs.nsecs start_time: 1789788748.133331893 secs.nsecs elapsed_time: 62.570952982 secs.nsecs subreqs per batch batches %% cum %% 1: 150 49 49 2: 39 12 62 4: 26 8 71 8: 21 6 78 16: 7 2 80 32: 17 5 86 64: 7 2 88 128: 1 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff901150a7b800.batch_stats= snapshot_time: 1789788810.704610685 secs.nsecs start_time: 1789788748.133426389 secs.nsecs elapsed_time: 62.571184296 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-ffff901150a7b800.statahead_batch_max=64 llite.lustre-ffff901150a7b800.statahead_max=128