== sanity test 123ad: Verify batching statahead works correctly ========================================================== 11:40:19 (1788277219) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c06c507e800.batch_stats=0 llite.lustre-ffff8c06c507e800.statahead_max=32 llite.lustre-ffff8c06c507e800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c06c507e800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.49 seconds: 40.15 ops/second llite.lustre-ffff8c06c507e800.statahead_max=0 101 real 0m2.001s user 0m0.002s sys 0m0.313s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8c06c507e800.statahead_max=32 llite.lustre-ffff8c06c507e800.statahead_max=32 101 real 0m0.952s user 0m0.003s sys 0m0.176s 'ls -l' 100 files with statahead: 1 sec statahead total: 126 statahead wrong: 2 agl total: 120 list_total: 32 fname_total: 94 hit_total: 3907 miss_total: 1536 swrong=2 ewrong=2 - open/close 797 (time 1788277244.98 total 10.00 last 79.67) total: 900 open/close in 11.40 seconds: 78.96 ops/second llite.lustre-ffff8c06c507e800.statahead_max=0 1001 real 0m25.060s user 0m0.033s sys 0m3.056s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff8c06c507e800.statahead_max=32 llite.lustre-ffff8c06c507e800.statahead_max=32 1001 real 0m7.816s user 0m0.027s sys 0m1.394s 'ls -l' 1000 files with statahead: 8 sec statahead total: 127 statahead wrong: 2 agl total: 121 list_total: 33 fname_total: 94 hit_total: 4903 miss_total: 1540 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff8c06c507e800.statahead_stats= statahead total: 127 statahead wrong: 2 agl total: 121 list_total: 33 fname_total: 94 hit_total: 4903 miss_total: 1540 mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats= snapshot_time: 1788277314.956498254 secs.nsecs start_time: 1788277223.704317574 secs.nsecs elapsed_time: 91.252180680 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 8 4: 1 2 10 8: 3 8 18 16: 23 62 81 32: 7 18 100 mdc.lustre-MDT0001-mdc-ffff8c06c507e800.batch_stats= snapshot_time: 1788277314.956571091 secs.nsecs start_time: 1788277223.704486753 secs.nsecs elapsed_time: 91.252084338 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 2 5 12 16: 8 20 33 32: 26 66 100 - open/close 757 (time 1788277327.65 total 10.01 last 75.65) - open/close 1491 (time 1788277337.65 total 20.01 last 73.39) - open/close 2290 (time 1788277347.65 total 30.01 last 79.89) - open/close 3182 (time 1788277357.66 total 40.01 last 89.16) - open/close 3960 (time 1788277367.66 total 50.02 last 77.79) - open/close 4761 (time 1788277377.66 total 60.02 last 80.09) - open/close 5551 (time 1788277387.68 total 70.04 last 78.85) - open/close 6344 (time 1788277397.69 total 80.05 last 79.19) - open/close 7186 (time 1788277407.70 total 90.06 last 84.16) - open/close 7918 (time 1788277417.70 total 100.06 last 73.18) - open/close 8705 (time 1788277427.70 total 110.06 last 78.65) - open/close 9505 (time 1788277437.71 total 120.07 last 79.94) total: 10000 open/close in 126.20 seconds: 79.24 ops/second llite.lustre-ffff8c06c507e800.statahead_batch_max=0 llite.lustre-ffff8c06c507e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c06c507e800.stats=clear mdc.lustre-MDT0001-mdc-ffff8c06c507e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.576s user 0m0.346s sys 0m16.387s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c06c507e800.statahead_batch_max=32 llite.lustre-ffff8c06c507e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8c06c507e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c06c507e800.stats=clear mdc.lustre-MDT0001-mdc-ffff8c06c507e800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m42.239s user 0m0.300s sys 0m14.279s batched statahead RPC= hit count=9984 mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats= snapshot_time: 1788277623.298144487 secs.nsecs start_time: 1788277510.030571005 secs.nsecs elapsed_time: 113.267573482 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-ffff8c06c507e800.batch_stats= snapshot_time: 1788277623.298437230 secs.nsecs start_time: 1788277510.030723280 secs.nsecs elapsed_time: 113.267713950 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c06c507e800.batch_stats=0 llite.lustre-ffff8c06c507e800.statahead_max=2048 llite.lustre-ffff8c06c507e800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8c06c507e800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.68 seconds: 37.28 ops/second llite.lustre-ffff8c06c507e800.statahead_max=0 101 real 0m3.211s user 0m0.005s sys 0m0.326s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8c06c507e800.statahead_max=2048 llite.lustre-ffff8c06c507e800.statahead_max=2048 101 real 0m0.705s user 0m0.002s sys 0m0.167s '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: 10083 miss_total: 17 swrong=0 ewrong=0 - open/close 655 (time 1788277938.98 total 10.01 last 65.42) total: 900 open/close in 13.54 seconds: 66.48 ops/second llite.lustre-ffff8c06c507e800.statahead_max=0 1001 real 0m24.837s user 0m0.031s sys 0m2.981s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff8c06c507e800.statahead_max=2048 llite.lustre-ffff8c06c507e800.statahead_max=2048 1001 real 0m5.197s user 0m0.024s sys 0m1.536s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff8c06c507e800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11082 miss_total: 18 mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats= snapshot_time: 1788278007.764925667 secs.nsecs start_time: 1788277627.162905929 secs.nsecs elapsed_time: 380.602019738 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 10 10 4: 1 10 20 8: 2 20 40 16: 4 40 80 32: 0 0 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 mdc.lustre-MDT0001-mdc-ffff8c06c507e800.batch_stats= snapshot_time: 1788278007.765004720 secs.nsecs start_time: 1788277627.163046800 secs.nsecs elapsed_time: 380.601957920 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 10 10 4: 1 10 20 8: 4 40 60 16: 0 0 60 32: 2 20 80 64: 0 0 80 128: 0 0 80 256: 2 20 100 - open/close 804 (time 1788278020.58 total 10.01 last 80.36) - open/close 1517 (time 1788278030.59 total 20.02 last 71.21) - open/close 2227 (time 1788278040.60 total 30.03 last 70.95) - open/close 2960 (time 1788278050.60 total 40.03 last 73.29) - open/close 3620 (time 1788278060.61 total 50.04 last 65.93) - open/close 4250 (time 1788278070.64 total 60.07 last 62.82) - open/close 4845 (time 1788278080.65 total 70.07 last 59.46) - open/close 5551 (time 1788278090.66 total 80.09 last 70.50) - open/close 6317 (time 1788278100.67 total 90.09 last 76.57) - open/close 7113 (time 1788278110.68 total 100.10 last 79.51) - open/close 7894 (time 1788278120.69 total 110.11 last 78.03) - open/close 8610 (time 1788278130.69 total 120.11 last 71.60) - open/close 9353 (time 1788278140.70 total 130.12 last 74.23) total: 10000 open/close in 138.19 seconds: 72.36 ops/second llite.lustre-ffff8c06c507e800.statahead_batch_max=0 llite.lustre-ffff8c06c507e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c06c507e800.stats=clear mdc.lustre-MDT0001-mdc-ffff8c06c507e800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.202s user 0m0.336s sys 0m15.293s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8c06c507e800.statahead_batch_max=256 llite.lustre-ffff8c06c507e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8c06c507e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8c06c507e800.stats=clear mdc.lustre-MDT0001-mdc-ffff8c06c507e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m56.388s user 0m0.326s sys 0m15.502s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8c06c507e800.batch_stats= snapshot_time: 1788278294.840276746 secs.nsecs start_time: 1788278226.304271812 secs.nsecs elapsed_time: 68.536004934 secs.nsecs subreqs per batch batches %% cum %% 1: 226 55 55 2: 48 11 67 4: 39 9 77 8: 27 6 84 16: 4 0 85 32: 15 3 88 64: 10 2 91 128: 2 0 91 256: 33 8 100 mdc.lustre-MDT0001-mdc-ffff8c06c507e800.batch_stats= snapshot_time: 1788278294.840392385 secs.nsecs start_time: 1788278226.304516459 secs.nsecs elapsed_time: 68.535875926 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-ffff8c06c507e800.statahead_batch_max=64 llite.lustre-ffff8c06c507e800.statahead_max=128