== sanity test 123ad: Verify batching statahead works correctly ========================================================== 07:47:36 (1788781656) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.batch_stats=0 llite.lustre-ffff9fbcbd8d2000.statahead_max=32 llite.lustre-ffff9fbcbd8d2000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.batch_stats=0 total: 100 open/close in 2.20 seconds: 45.44 ops/second llite.lustre-ffff9fbcbd8d2000.statahead_max=0 101 real 0m2.898s user 0m0.004s sys 0m0.321s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9fbcbd8d2000.statahead_max=32 llite.lustre-ffff9fbcbd8d2000.statahead_max=32 101 real 0m1.517s user 0m0.005s sys 0m0.158s 'ls -l' 100 files with statahead: 1 sec statahead total: 93 statahead wrong: 2 agl total: 88 list_total: 30 fname_total: 61 hit_total: 4058 miss_total: 1753 swrong=2 ewrong=2 - open/close 529 (time 1788781687.65 total 10.02 last 52.77) total: 900 open/close in 18.20 seconds: 49.46 ops/second llite.lustre-ffff9fbcbd8d2000.statahead_max=0 1001 real 0m24.642s user 0m0.034s sys 0m2.861s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff9fbcbd8d2000.statahead_max=32 llite.lustre-ffff9fbcbd8d2000.statahead_max=32 1001 real 0m10.133s user 0m0.027s sys 0m1.389s 'ls -l' 1000 files with statahead: 10 sec statahead total: 94 statahead wrong: 2 agl total: 89 list_total: 31 fname_total: 61 hit_total: 5054 miss_total: 1757 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff9fbcbd8d2000.statahead_stats= statahead total: 94 statahead wrong: 2 agl total: 89 list_total: 31 fname_total: 61 hit_total: 5054 miss_total: 1757 mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.batch_stats= snapshot_time: 1788781771.403533013 secs.nsecs start_time: 1788781662.529492408 secs.nsecs elapsed_time: 108.874040605 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 714 (time 1788781784.37 total 10.02 last 71.24) - open/close 1335 (time 1788781794.38 total 20.03 last 62.03) - open/close 1992 (time 1788781804.39 total 30.04 last 65.66) - open/close 2650 (time 1788781814.39 total 40.04 last 65.79) - open/close 3407 (time 1788781824.40 total 50.05 last 75.59) - open/close 4052 (time 1788781834.41 total 60.06 last 64.45) - open/close 4893 (time 1788781844.41 total 70.07 last 84.05) - open/close 5614 (time 1788781854.42 total 80.07 last 72.06) - open/close 6363 (time 1788781864.43 total 90.08 last 74.85) - open/close 6986 (time 1788781874.43 total 100.08 last 62.28) - open/close 7668 (time 1788781884.44 total 110.09 last 68.16) - open/close 8388 (time 1788781894.45 total 120.11 last 71.87) - open/close 9003 (time 1788781904.46 total 130.11 last 61.45) - open/close 9643 (time 1788781914.47 total 140.13 last 63.92) total: 10000 open/close in 145.78 seconds: 68.60 ops/second llite.lustre-ffff9fbcbd8d2000.statahead_batch_max=0 llite.lustre-ffff9fbcbd8d2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.186s user 0m0.304s sys 0m13.594s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fbcbd8d2000.statahead_batch_max=32 llite.lustre-ffff9fbcbd8d2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.024s user 0m0.281s sys 0m13.251s batched statahead RPC= hit count=9981 mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.batch_stats= snapshot_time: 1788782112.223755240 secs.nsecs start_time: 1788781993.091546487 secs.nsecs elapsed_time: 119.132208753 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-ffff9fbcbd8d2000.batch_stats=0 llite.lustre-ffff9fbcbd8d2000.statahead_max=2048 llite.lustre-ffff9fbcbd8d2000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.batch_stats=0 total: 100 open/close in 2.23 seconds: 44.81 ops/second llite.lustre-ffff9fbcbd8d2000.statahead_max=0 101 real 0m1.742s user 0m0.005s sys 0m0.317s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9fbcbd8d2000.statahead_max=2048 llite.lustre-ffff9fbcbd8d2000.statahead_max=2048 101 real 0m1.157s user 0m0.005s sys 0m0.175s '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: 10080 miss_total: 20 swrong=0 ewrong=0 - open/close 521 (time 1788782452.77 total 10.01 last 52.05) total: 900 open/close in 16.52 seconds: 54.49 ops/second llite.lustre-ffff9fbcbd8d2000.statahead_max=0 1001 real 0m17.297s user 0m0.026s sys 0m2.750s 'ls -l' 1000 files without statahead: 17 sec llite.lustre-ffff9fbcbd8d2000.statahead_max=2048 llite.lustre-ffff9fbcbd8d2000.statahead_max=2048 1001 real 0m7.446s user 0m0.026s sys 0m1.331s '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: 11079 miss_total: 21 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 24 seconds llite.lustre-ffff9fbcbd8d2000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11079 miss_total: 21 mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.batch_stats= snapshot_time: 1788782523.157135915 secs.nsecs start_time: 1788782115.409392535 secs.nsecs elapsed_time: 407.747743380 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 20 20 16: 1 10 30 32: 1 10 40 64: 1 10 50 128: 1 10 60 256: 4 40 100 - open/close 728 (time 1788782535.87 total 10.00 last 72.78) - open/close 1419 (time 1788782545.88 total 20.01 last 69.07) - open/close 2150 (time 1788782555.88 total 30.01 last 73.06) - open/close 2942 (time 1788782565.89 total 40.02 last 79.12) - open/close 3681 (time 1788782575.89 total 50.03 last 73.88) - open/close 4413 (time 1788782585.90 total 60.03 last 73.15) - open/close 5137 (time 1788782595.91 total 70.04 last 72.34) - open/close 5684 (time 1788782605.92 total 80.05 last 54.64) - open/close 6445 (time 1788782615.92 total 90.05 last 76.08) - open/close 7094 (time 1788782625.93 total 100.06 last 64.87) - open/close 7750 (time 1788782635.93 total 110.06 last 65.57) - open/close 8329 (time 1788782645.94 total 120.07 last 57.85) - open/close 8928 (time 1788782655.95 total 130.08 last 59.87) - open/close 9619 (time 1788782665.97 total 140.11 last 68.90) total: 10000 open/close in 145.69 seconds: 68.64 ops/second llite.lustre-ffff9fbcbd8d2000.statahead_batch_max=0 llite.lustre-ffff9fbcbd8d2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m1.041s user 0m0.318s sys 0m13.947s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9fbcbd8d2000.statahead_batch_max=256 llite.lustre-ffff9fbcbd8d2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.861s user 0m0.328s sys 0m14.681s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9fbcbd8d2000.batch_stats= snapshot_time: 1788782807.291556210 secs.nsecs start_time: 1788782742.824159471 secs.nsecs elapsed_time: 64.467396739 secs.nsecs subreqs per batch batches %% cum %% 1: 167 51 51 2: 47 14 65 4: 22 6 72 8: 21 6 78 16: 13 3 82 32: 15 4 87 64: 7 2 89 128: 1 0 89 256: 34 10 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-ffff9fbcbd8d2000.statahead_batch_max=64 llite.lustre-ffff9fbcbd8d2000.statahead_max=128