== sanity test 123ad: Verify batching statahead works correctly ========================================================== 07:41:48 (1789126908) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.batch_stats=0 llite.lustre-ffff8f6be0d5b800.statahead_max=32 llite.lustre-ffff8f6be0d5b800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.51 seconds: 39.80 ops/second llite.lustre-ffff8f6be0d5b800.statahead_max=0 101 real 0m2.394s user 0m0.004s sys 0m0.307s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8f6be0d5b800.statahead_max=32 llite.lustre-ffff8f6be0d5b800.statahead_max=32 101 real 0m1.343s user 0m0.002s sys 0m0.156s 'ls -l' 100 files with statahead: 1 sec statahead total: 140 statahead wrong: 1 agl total: 128 list_total: 30 fname_total: 95 hit_total: 4096 miss_total: 254 swrong=1 ewrong=1 - open/close 815 (time 1789126936.29 total 10.00 last 81.48) total: 900 open/close in 11.39 seconds: 78.99 ops/second llite.lustre-ffff8f6be0d5b800.statahead_max=0 1001 real 0m24.040s user 0m0.026s sys 0m3.061s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff8f6be0d5b800.statahead_max=32 llite.lustre-ffff8f6be0d5b800.statahead_max=32 1001 real 0m10.763s user 0m0.028s sys 0m1.481s 'ls -l' 1000 files with statahead: 10 sec statahead total: 141 statahead wrong: 1 agl total: 129 list_total: 31 fname_total: 95 hit_total: 5094 miss_total: 256 swrong=1 ewrong=1 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8f6be0d5b800.statahead_stats= statahead total: 141 statahead wrong: 1 agl total: 129 list_total: 31 fname_total: 95 hit_total: 5094 miss_total: 256 mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats= snapshot_time: 1789127005.587265034 secs.nsecs start_time: 1789126914.150231259 secs.nsecs elapsed_time: 91.437033775 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 3 7 15 4: 0 0 15 8: 4 10 26 16: 19 50 76 32: 9 23 100 mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.batch_stats= snapshot_time: 1789127005.587383389 secs.nsecs start_time: 1789126914.150413697 secs.nsecs elapsed_time: 91.436969692 secs.nsecs subreqs per batch batches %% cum %% 1: 2 4 4 2: 1 2 7 4: 1 2 9 8: 3 7 17 16: 12 29 46 32: 22 53 100 - open/close 788 (time 1789127018.07 total 10.00 last 78.76) - open/close 1528 (time 1789127028.07 total 20.01 last 74.00) - open/close 2285 (time 1789127038.09 total 30.02 last 75.61) - open/close 3053 (time 1789127048.10 total 40.03 last 76.73) - open/close 3800 (time 1789127058.10 total 50.03 last 74.69) - open/close 4412 (time 1789127068.10 total 60.03 last 61.17) - open/close 4982 (time 1789127078.11 total 70.04 last 56.95) - open/close 5722 (time 1789127088.12 total 80.05 last 73.92) - open/close 6450 (time 1789127098.12 total 90.05 last 72.79) - open/close 7176 (time 1789127108.13 total 100.06 last 72.54) - open/close 7994 (time 1789127118.14 total 110.07 last 81.69) - open/close 8761 (time 1789127128.15 total 120.08 last 76.65) - open/close 9535 (time 1789127138.15 total 130.08 last 77.39) total: 10000 open/close in 136.03 seconds: 73.51 ops/second llite.lustre-ffff8f6be0d5b800.statahead_batch_max=0 llite.lustre-ffff8f6be0d5b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.stats=clear mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.724s user 0m0.374s sys 0m16.769s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8f6be0d5b800.statahead_batch_max=32 llite.lustre-ffff8f6be0d5b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.stats=clear mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m52.903s user 0m0.324s sys 0m14.274s batched statahead RPC= hit count=9985 mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats= snapshot_time: 1789127338.546951562 secs.nsecs start_time: 1789127215.604874099 secs.nsecs elapsed_time: 122.942077463 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-ffff8f6be0d5b800.batch_stats= snapshot_time: 1789127338.547015565 secs.nsecs start_time: 1789127215.605235802 secs.nsecs elapsed_time: 122.941779763 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.batch_stats=0 llite.lustre-ffff8f6be0d5b800.statahead_max=2048 llite.lustre-ffff8f6be0d5b800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.68 seconds: 37.37 ops/second llite.lustre-ffff8f6be0d5b800.statahead_max=0 101 real 0m2.725s user 0m0.009s sys 0m0.329s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8f6be0d5b800.statahead_max=2048 llite.lustre-ffff8f6be0d5b800.statahead_max=2048 101 real 0m1.023s user 0m0.003s sys 0m0.185s '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: 10084 miss_total: 16 swrong=0 ewrong=0 - open/close 729 (time 1789127662.14 total 10.00 last 72.89) total: 900 open/close in 12.21 seconds: 73.73 ops/second llite.lustre-ffff8f6be0d5b800.statahead_max=0 1001 real 0m25.293s user 0m0.035s sys 0m3.118s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff8f6be0d5b800.statahead_max=2048 llite.lustre-ffff8f6be0d5b800.statahead_max=2048 1001 real 0m8.481s user 0m0.042s sys 0m1.512s 'ls -l' 1000 files with statahead: 9 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff8f6be0d5b800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11083 miss_total: 17 mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats= snapshot_time: 1789127735.585751431 secs.nsecs start_time: 1789127340.941159449 secs.nsecs elapsed_time: 394.644591982 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 1 11 55 32: 2 22 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.batch_stats= snapshot_time: 1789127735.585823606 secs.nsecs start_time: 1789127340.941389234 secs.nsecs elapsed_time: 394.644434372 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 11 11 4: 2 22 33 8: 2 22 55 16: 0 0 55 32: 1 11 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 704 (time 1789127748.67 total 10.00 last 70.39) - open/close 1365 (time 1789127758.68 total 20.01 last 66.06) - open/close 1994 (time 1789127768.69 total 30.02 last 62.83) - open/close 2655 (time 1789127778.71 total 40.04 last 65.95) - open/close 3369 (time 1789127788.71 total 50.04 last 71.40) - open/close 4047 (time 1789127798.72 total 60.05 last 67.77) - open/close 4696 (time 1789127808.74 total 70.07 last 64.77) - open/close 5427 (time 1789127818.74 total 80.07 last 73.08) - open/close 6194 (time 1789127828.75 total 90.08 last 76.63) - open/close 6925 (time 1789127838.75 total 100.08 last 73.06) - open/close 7654 (time 1789127848.76 total 110.09 last 72.87) - open/close 8328 (time 1789127858.78 total 120.11 last 67.24) - open/close 8988 (time 1789127868.80 total 130.12 last 65.90) - open/close 9656 (time 1789127878.80 total 140.13 last 66.76) total: 10000 open/close in 145.42 seconds: 68.77 ops/second llite.lustre-ffff8f6be0d5b800.statahead_batch_max=0 llite.lustre-ffff8f6be0d5b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.stats=clear mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.908s user 0m0.355s sys 0m16.434s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8f6be0d5b800.statahead_batch_max=256 llite.lustre-ffff8f6be0d5b800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.stats=clear mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.092s user 0m0.319s sys 0m15.726s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8f6be0d5b800.batch_stats= snapshot_time: 1789128018.560001312 secs.nsecs start_time: 1789127953.948116124 secs.nsecs elapsed_time: 64.611885188 secs.nsecs subreqs per batch batches %% cum %% 1: 67 39 39 2: 15 8 48 4: 9 5 54 8: 5 2 57 16: 12 7 64 32: 16 9 73 64: 6 3 77 128: 4 2 79 256: 34 20 100 mdc.lustre-MDT0001-mdc-ffff8f6be0d5b800.batch_stats= snapshot_time: 1789128018.560140102 secs.nsecs start_time: 1789127953.948203316 secs.nsecs elapsed_time: 64.611936786 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-ffff8f6be0d5b800.statahead_batch_max=64 llite.lustre-ffff8f6be0d5b800.statahead_max=128