== sanity test 123ad: Verify batching statahead works correctly ========================================================== 09:42:57 (1788874977) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats=0 llite.lustre-ffff9becd24cb800.statahead_max=32 llite.lustre-ffff9becd24cb800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats=0 total: 100 open/close in 2.64 seconds: 37.95 ops/second llite.lustre-ffff9becd24cb800.statahead_max=0 101 real 0m2.791s user 0m0.006s sys 0m0.331s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9becd24cb800.statahead_max=32 llite.lustre-ffff9becd24cb800.statahead_max=32 101 real 0m1.441s user 0m0.008s sys 0m0.169s 'ls -l' 100 files with statahead: 1 sec statahead total: 123 statahead wrong: 2 agl total: 104 list_total: 30 fname_total: 93 hit_total: 3910 miss_total: 1588 swrong=2 ewrong=2 - open/close 684 (time 1788875008.14 total 10.01 last 68.32) total: 900 open/close in 12.86 seconds: 69.98 ops/second llite.lustre-ffff9becd24cb800.statahead_max=0 1001 real 0m23.169s user 0m0.029s sys 0m3.033s 'ls -l' 1000 files without statahead: 23 sec llite.lustre-ffff9becd24cb800.statahead_max=32 llite.lustre-ffff9becd24cb800.statahead_max=32 1001 real 0m12.066s user 0m0.028s sys 0m1.627s 'ls -l' 1000 files with statahead: 12 sec statahead total: 124 statahead wrong: 2 agl total: 105 list_total: 31 fname_total: 93 hit_total: 4908 miss_total: 1590 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 23 seconds llite.lustre-ffff9becd24cb800.statahead_stats= statahead total: 124 statahead wrong: 2 agl total: 105 list_total: 31 fname_total: 93 hit_total: 4908 miss_total: 1590 mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats= snapshot_time: 1788875083.644385089 secs.nsecs start_time: 1788874983.763752183 secs.nsecs elapsed_time: 99.880632906 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 691 (time 1788875096.53 total 10.02 last 68.99) - open/close 1394 (time 1788875106.54 total 20.03 last 70.23) - open/close 2084 (time 1788875116.56 total 30.04 last 68.89) - open/close 2842 (time 1788875126.57 total 40.05 last 75.76) - open/close 3638 (time 1788875136.57 total 50.05 last 79.59) - open/close 4418 (time 1788875146.57 total 60.05 last 77.95) - open/close 5193 (time 1788875156.58 total 70.06 last 77.47) - open/close 5949 (time 1788875166.58 total 80.07 last 75.54) - open/close 6691 (time 1788875176.59 total 90.07 last 74.15) - open/close 7557 (time 1788875186.60 total 100.08 last 86.54) - open/close 8285 (time 1788875196.60 total 110.09 last 72.75) - open/close 9027 (time 1788875206.61 total 120.09 last 74.15) - open/close 9762 (time 1788875216.62 total 130.10 last 73.44) total: 10000 open/close in 133.10 seconds: 75.13 ops/second llite.lustre-ffff9becd24cb800.statahead_batch_max=0 llite.lustre-ffff9becd24cb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9becd24cb800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.605s user 0m0.306s sys 0m15.717s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9becd24cb800.statahead_batch_max=32 llite.lustre-ffff9becd24cb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9becd24cb800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m54.278s user 0m0.304s sys 0m15.430s batched statahead RPC= hit count=9986 mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats= snapshot_time: 1788875428.230605443 secs.nsecs start_time: 1788875299.246396937 secs.nsecs elapsed_time: 128.984208506 secs.nsecs subreqs per batch batches %% cum %% 1: 1 0 0 2: 1 0 0 4: 0 0 0 8: 1 0 0 16: 1 0 1 32: 313 98 100 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats=0 llite.lustre-ffff9becd24cb800.statahead_max=2048 llite.lustre-ffff9becd24cb800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats=0 total: 100 open/close in 2.18 seconds: 45.91 ops/second llite.lustre-ffff9becd24cb800.statahead_max=0 101 real 0m2.257s user 0m0.003s sys 0m0.323s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9becd24cb800.statahead_max=2048 llite.lustre-ffff9becd24cb800.statahead_max=2048 101 real 0m0.950s user 0m0.005s sys 0m0.179s '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: 10085 miss_total: 15 swrong=0 ewrong=0 - open/close 765 (time 1788875752.79 total 10.01 last 76.44) total: 900 open/close in 11.96 seconds: 75.23 ops/second llite.lustre-ffff9becd24cb800.statahead_max=0 1001 real 0m21.223s user 0m0.033s sys 0m3.032s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9becd24cb800.statahead_max=2048 llite.lustre-ffff9becd24cb800.statahead_max=2048 1001 real 0m7.283s user 0m0.020s sys 0m1.518s '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: 11084 miss_total: 16 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff9becd24cb800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11084 miss_total: 16 mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats= snapshot_time: 1788875816.202264588 secs.nsecs start_time: 1788875430.930704025 secs.nsecs elapsed_time: 385.271560563 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 2 20 40 32: 1 10 50 64: 0 0 50 128: 1 10 60 256: 4 40 100 - open/close 764 (time 1788875828.76 total 10.01 last 76.34) - open/close 1562 (time 1788875838.77 total 20.02 last 79.73) - open/close 2410 (time 1788875848.78 total 30.03 last 84.70) - open/close 3172 (time 1788875858.79 total 40.03 last 76.16) - open/close 3915 (time 1788875868.80 total 50.04 last 74.22) - open/close 4646 (time 1788875878.80 total 60.04 last 73.09) - open/close 5396 (time 1788875888.80 total 70.04 last 75.00) - open/close 5962 (time 1788875898.80 total 80.05 last 56.59) - open/close 6501 (time 1788875908.83 total 90.07 last 53.78) - open/close 7178 (time 1788875918.84 total 100.08 last 67.62) - open/close 7935 (time 1788875928.85 total 110.10 last 75.58) - open/close 8654 (time 1788875938.86 total 120.11 last 71.84) - open/close 9439 (time 1788875948.87 total 130.11 last 78.45) total: 10000 open/close in 137.94 seconds: 72.50 ops/second llite.lustre-ffff9becd24cb800.statahead_batch_max=0 llite.lustre-ffff9becd24cb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9becd24cb800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.920s user 0m0.328s sys 0m15.805s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9becd24cb800.statahead_batch_max=256 llite.lustre-ffff9becd24cb800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9becd24cb800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.884s user 0m0.299s sys 0m16.369s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9becd24cb800.batch_stats= snapshot_time: 1788876100.674582719 secs.nsecs start_time: 1788876026.318578459 secs.nsecs elapsed_time: 74.356004260 secs.nsecs subreqs per batch batches %% cum %% 1: 197 50 50 2: 54 13 64 4: 42 10 75 8: 24 6 81 16: 18 4 86 32: 17 4 90 64: 3 0 91 128: 0 0 91 256: 34 8 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-ffff9becd24cb800.statahead_batch_max=64 llite.lustre-ffff9becd24cb800.statahead_max=128