== sanity test 123ad: Verify batching statahead works correctly ========================================================== 01:24:51 (1788758691) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats=0 llite.lustre-ffff9f5f87cb8000.statahead_max=32 llite.lustre-ffff9f5f87cb8000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.18 seconds: 45.92 ops/second llite.lustre-ffff9f5f87cb8000.statahead_max=0 101 real 0m1.961s user 0m0.003s sys 0m0.296s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9f5f87cb8000.statahead_max=32 llite.lustre-ffff9f5f87cb8000.statahead_max=32 101 real 0m1.289s user 0m0.006s sys 0m0.181s 'ls -l' 100 files with statahead: 1 sec statahead total: 138 statahead wrong: 2 agl total: 132 list_total: 31 fname_total: 81 hit_total: 4569 miss_total: 1292 swrong=2 ewrong=2 - open/close 706 (time 1788758718.37 total 10.00 last 70.57) total: 900 open/close in 12.84 seconds: 70.12 ops/second llite.lustre-ffff9f5f87cb8000.statahead_max=0 1001 real 0m22.494s user 0m0.036s sys 0m2.895s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9f5f87cb8000.statahead_max=32 llite.lustre-ffff9f5f87cb8000.statahead_max=32 1001 real 0m9.643s user 0m0.026s sys 0m1.357s 'ls -l' 1000 files with statahead: 10 sec statahead total: 139 statahead wrong: 2 agl total: 133 list_total: 32 fname_total: 81 hit_total: 5565 miss_total: 1296 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9f5f87cb8000.statahead_stats= statahead total: 139 statahead wrong: 2 agl total: 133 list_total: 32 fname_total: 81 hit_total: 5565 miss_total: 1296 mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats= snapshot_time: 1788758788.200536467 secs.nsecs start_time: 1788758696.513092956 secs.nsecs elapsed_time: 91.687443511 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 7 4: 1 2 10 8: 2 5 15 16: 21 52 67 32: 13 32 100 mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats= snapshot_time: 1788758788.215585087 secs.nsecs start_time: 1788758696.513729334 secs.nsecs elapsed_time: 91.701855753 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 3 7 7 8: 4 10 17 16: 16 41 58 32: 16 41 100 - open/close 481 (time 1788758802.46 total 10.00 last 48.09) - open/close 1259 (time 1788758812.47 total 20.02 last 77.69) - open/close 2017 (time 1788758822.48 total 30.02 last 75.75) - open/close 2954 (time 1788758832.48 total 40.03 last 93.65) - open/close 3806 (time 1788758842.49 total 50.04 last 85.12) - open/close 4609 (time 1788758852.49 total 60.04 last 80.30) - open/close 5509 (time 1788758862.50 total 70.04 last 89.97) - open/close 6304 (time 1788758872.50 total 80.05 last 79.47) - open/close 6978 (time 1788758882.51 total 90.06 last 67.33) - open/close 7845 (time 1788758892.52 total 100.06 last 86.64) - open/close 8661 (time 1788758902.53 total 110.07 last 81.54) - open/close 9507 (time 1788758912.54 total 120.09 last 84.45) total: 10000 open/close in 126.36 seconds: 79.14 ops/second llite.lustre-ffff9f5f87cb8000.statahead_batch_max=0 llite.lustre-ffff9f5f87cb8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.stats=clear mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m7.151s user 0m0.315s sys 0m14.525s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f5f87cb8000.statahead_batch_max=32 llite.lustre-ffff9f5f87cb8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.stats=clear mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m47.339s user 0m0.298s sys 0m13.550s batched statahead RPC= hit count=9974 mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats= snapshot_time: 1788759117.915258672 secs.nsecs start_time: 1788758996.128688612 secs.nsecs elapsed_time: 121.786570060 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 0 0 16: 1 0 0 32: 313 99 100 mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats= snapshot_time: 1788759117.915305475 secs.nsecs start_time: 1788758996.129143792 secs.nsecs elapsed_time: 121.786161683 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats=0 llite.lustre-ffff9f5f87cb8000.statahead_max=2048 llite.lustre-ffff9f5f87cb8000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.13 seconds: 31.90 ops/second llite.lustre-ffff9f5f87cb8000.statahead_max=0 101 real 0m2.504s user 0m0.004s sys 0m0.341s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9f5f87cb8000.statahead_max=2048 llite.lustre-ffff9f5f87cb8000.statahead_max=2048 101 real 0m0.864s user 0m0.007s sys 0m0.174s '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: 10073 miss_total: 27 swrong=0 ewrong=0 - open/close 759 (time 1788759414.37 total 10.01 last 75.82) total: 900 open/close in 12.12 seconds: 74.28 ops/second llite.lustre-ffff9f5f87cb8000.statahead_max=0 1001 real 0m21.693s user 0m0.035s sys 0m2.855s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9f5f87cb8000.statahead_max=2048 llite.lustre-ffff9f5f87cb8000.statahead_max=2048 1001 real 0m5.897s user 0m0.030s sys 0m1.323s 'ls -l' 1000 files with statahead: 6 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11072 miss_total: 28 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9f5f87cb8000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11072 miss_total: 28 mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats= snapshot_time: 1788759477.317981077 secs.nsecs start_time: 1788759120.549695870 secs.nsecs elapsed_time: 356.768285207 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 2 22 22 4: 0 0 22 8: 2 22 44 16: 2 22 66 32: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats= snapshot_time: 1788759477.318063928 secs.nsecs start_time: 1788759120.549898786 secs.nsecs elapsed_time: 356.768165142 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 22 22 8: 4 44 66 16: 0 0 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 891 (time 1788759489.99 total 10.01 last 89.05) - open/close 1681 (time 1788759500.00 total 20.01 last 78.94) - open/close 2482 (time 1788759510.01 total 30.02 last 80.02) - open/close 3349 (time 1788759520.03 total 40.04 last 86.52) - open/close 4174 (time 1788759530.04 total 50.06 last 82.40) - open/close 5031 (time 1788759540.04 total 60.06 last 85.66) - open/close 5762 (time 1788759550.05 total 70.07 last 73.05) - open/close 6542 (time 1788759560.07 total 80.08 last 77.89) - open/close 7473 (time 1788759570.08 total 90.09 last 92.98) - open/close 8348 (time 1788759580.08 total 100.10 last 87.45) - open/close 9250 (time 1788759590.09 total 110.11 last 90.15) total: 10000 open/close in 117.66 seconds: 84.99 ops/second llite.lustre-ffff9f5f87cb8000.statahead_batch_max=0 llite.lustre-ffff9f5f87cb8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.stats=clear mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m5.612s user 0m0.346s sys 0m14.207s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9f5f87cb8000.statahead_batch_max=256 llite.lustre-ffff9f5f87cb8000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.stats=clear mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m59.727s user 0m0.338s sys 0m13.841s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9f5f87cb8000.batch_stats= snapshot_time: 1788759743.470931955 secs.nsecs start_time: 1788759672.589771632 secs.nsecs elapsed_time: 70.881160323 secs.nsecs subreqs per batch batches %% cum %% 1: 137 43 43 2: 56 17 61 4: 41 13 74 8: 12 3 78 16: 8 2 80 32: 21 6 87 64: 6 1 89 128: 0 0 89 256: 34 10 100 mdc.lustre-MDT0001-mdc-ffff9f5f87cb8000.batch_stats= snapshot_time: 1788759743.471007530 secs.nsecs start_time: 1788759672.589936017 secs.nsecs elapsed_time: 70.881071513 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-ffff9f5f87cb8000.statahead_batch_max=64 llite.lustre-ffff9f5f87cb8000.statahead_max=128