== sanity test 123ad: Verify batching statahead works correctly ========================================================== 01:06:01 (1788671161) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats=0 llite.lustre-ffff96c2c6e75000.statahead_max=32 llite.lustre-ffff96c2c6e75000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats=0 total: 100 open/close in 3.53 seconds: 28.35 ops/second llite.lustre-ffff96c2c6e75000.statahead_max=0 101 real 0m2.663s user 0m0.007s sys 0m0.298s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff96c2c6e75000.statahead_max=32 llite.lustre-ffff96c2c6e75000.statahead_max=32 101 real 0m1.179s user 0m0.003s sys 0m0.186s 'ls -l' 100 files with statahead: 2 sec statahead total: 103 statahead wrong: 2 agl total: 97 list_total: 31 fname_total: 69 hit_total: 3636 miss_total: 1585 swrong=2 ewrong=2 - open/close 582 (time 1788671192.01 total 10.00 last 58.20) total: 900 open/close in 16.33 seconds: 55.10 ops/second llite.lustre-ffff96c2c6e75000.statahead_max=0 1001 real 0m23.512s user 0m0.038s sys 0m2.867s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff96c2c6e75000.statahead_max=32 llite.lustre-ffff96c2c6e75000.statahead_max=32 1001 real 0m11.494s user 0m0.030s sys 0m1.369s 'ls -l' 1000 files with statahead: 11 sec statahead total: 104 statahead wrong: 2 agl total: 98 list_total: 32 fname_total: 69 hit_total: 4634 miss_total: 1587 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff96c2c6e75000.statahead_stats= statahead total: 104 statahead wrong: 2 agl total: 98 list_total: 32 fname_total: 69 hit_total: 4634 miss_total: 1587 mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats= snapshot_time: 1788671272.186080821 secs.nsecs start_time: 1788671166.256224144 secs.nsecs elapsed_time: 105.929856677 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 483 (time 1788671285.85 total 10.01 last 48.24) - open/close 945 (time 1788671295.85 total 20.01 last 46.19) - open/close 1477 (time 1788671305.86 total 30.02 last 53.15) - open/close 2032 (time 1788671315.87 total 40.03 last 55.46) - open/close 2610 (time 1788671325.89 total 50.05 last 57.67) - open/close 3223 (time 1788671335.90 total 60.06 last 61.25) - open/close 3849 (time 1788671345.90 total 70.06 last 62.60) - open/close 4311 (time 1788671355.90 total 80.06 last 46.18) - open/close 4872 (time 1788671365.91 total 90.08 last 56.03) - open/close 5472 (time 1788671375.93 total 100.09 last 59.91) - open/close 6124 (time 1788671385.96 total 110.13 last 64.98) - open/close 6727 (time 1788671395.96 total 120.13 last 60.30) - open/close 7299 (time 1788671405.98 total 130.14 last 57.09) - open/close 7877 (time 1788671415.98 total 140.15 last 57.80) - open/close 8470 (time 1788671425.99 total 150.16 last 59.22) - open/close 9092 (time 1788671436.00 total 160.17 last 62.15) - open/close 9715 (time 1788671446.03 total 170.20 last 62.12) total: 10000 open/close in 174.95 seconds: 57.16 ops/second llite.lustre-ffff96c2c6e75000.statahead_batch_max=0 llite.lustre-ffff96c2c6e75000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.406s user 0m0.298s sys 0m15.142s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff96c2c6e75000.statahead_batch_max=32 llite.lustre-ffff96c2c6e75000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m49.453s user 0m0.271s sys 0m13.716s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats= snapshot_time: 1788671650.411196055 secs.nsecs start_time: 1788671529.067270033 secs.nsecs elapsed_time: 121.343926022 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats=0 llite.lustre-ffff96c2c6e75000.statahead_max=2048 llite.lustre-ffff96c2c6e75000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats=0 total: 100 open/close in 3.40 seconds: 29.42 ops/second llite.lustre-ffff96c2c6e75000.statahead_max=0 101 real 0m2.705s user 0m0.006s sys 0m0.364s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff96c2c6e75000.statahead_max=2048 llite.lustre-ffff96c2c6e75000.statahead_max=2048 101 real 0m1.016s user 0m0.006s sys 0m0.199s '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: 10078 miss_total: 22 swrong=0 ewrong=0 - open/close 649 (time 1788672003.90 total 10.01 last 64.86) total: 900 open/close in 13.75 seconds: 65.47 ops/second llite.lustre-ffff96c2c6e75000.statahead_max=0 1001 real 0m23.046s user 0m0.050s sys 0m2.972s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff96c2c6e75000.statahead_max=2048 llite.lustre-ffff96c2c6e75000.statahead_max=2048 1001 real 0m8.011s user 0m0.035s sys 0m1.462s '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: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff96c2c6e75000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats= snapshot_time: 1788672075.700654838 secs.nsecs start_time: 1788671653.452180915 secs.nsecs elapsed_time: 422.248473923 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 25 25 16: 1 12 37 32: 0 0 37 64: 0 0 37 128: 1 12 50 256: 4 50 100 - open/close 623 (time 1788672088.90 total 10.01 last 62.21) - open/close 1250 (time 1788672098.92 total 20.03 last 62.59) - open/close 1909 (time 1788672108.93 total 30.04 last 65.85) - open/close 2543 (time 1788672118.94 total 40.05 last 63.34) - open/close 3241 (time 1788672128.96 total 50.07 last 69.64) - open/close 3910 (time 1788672138.97 total 60.08 last 66.84) - open/close 4567 (time 1788672148.99 total 70.10 last 65.60) - open/close 5250 (time 1788672159.00 total 80.11 last 68.21) - open/close 5931 (time 1788672169.01 total 90.12 last 68.06) - open/close 6571 (time 1788672179.01 total 100.12 last 63.97) - open/close 7136 (time 1788672189.02 total 110.13 last 56.44) - open/close 7744 (time 1788672199.04 total 120.15 last 60.70) - open/close 8365 (time 1788672209.04 total 130.15 last 62.10) - open/close 9023 (time 1788672219.05 total 140.16 last 65.75) - open/close 9604 (time 1788672229.05 total 150.16 last 58.08) total: 10000 open/close in 156.24 seconds: 64.00 ops/second llite.lustre-ffff96c2c6e75000.statahead_batch_max=0 llite.lustre-ffff96c2c6e75000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.567s user 0m0.329s sys 0m14.968s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff96c2c6e75000.statahead_batch_max=256 llite.lustre-ffff96c2c6e75000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m53.150s user 0m0.345s sys 0m15.419s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff96c2c6e75000.batch_stats= snapshot_time: 1788672374.015345347 secs.nsecs start_time: 1788672307.152458748 secs.nsecs elapsed_time: 66.862886599 secs.nsecs subreqs per batch batches %% cum %% 1: 103 45 45 2: 31 13 59 4: 18 7 66 8: 5 2 69 16: 9 3 73 32: 21 9 82 64: 3 1 83 128: 2 0 84 256: 35 15 100 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-ffff96c2c6e75000.statahead_batch_max=64 llite.lustre-ffff96c2c6e75000.statahead_max=128