== sanity test 123ad: Verify batching statahead works correctly ========================================================== 01:42:05 (1788846125) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff918111dcf000.batch_stats=0 llite.lustre-ffff918111dcf000.statahead_max=32 llite.lustre-ffff918111dcf000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff918111dcf000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.11 seconds: 32.14 ops/second llite.lustre-ffff918111dcf000.statahead_max=0 101 real 0m2.458s user 0m0.007s sys 0m0.319s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff918111dcf000.statahead_max=32 llite.lustre-ffff918111dcf000.statahead_max=32 101 real 0m1.332s user 0m0.004s sys 0m0.217s 'ls -l' 100 files with statahead: 1 sec statahead total: 152 statahead wrong: 2 agl total: 143 list_total: 31 fname_total: 113 hit_total: 4108 miss_total: 1688 swrong=2 ewrong=2 - open/close 684 (time 1788846154.08 total 10.02 last 68.30) total: 900 open/close in 13.31 seconds: 67.62 ops/second llite.lustre-ffff918111dcf000.statahead_max=0 1001 real 0m24.239s user 0m0.041s sys 0m3.108s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff918111dcf000.statahead_max=32 llite.lustre-ffff918111dcf000.statahead_max=32 1001 real 0m9.265s user 0m0.033s sys 0m1.446s 'ls -l' 1000 files with statahead: 9 sec statahead total: 153 statahead wrong: 2 agl total: 144 list_total: 32 fname_total: 113 hit_total: 5105 miss_total: 1691 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 25 seconds llite.lustre-ffff918111dcf000.statahead_stats= statahead total: 153 statahead wrong: 2 agl total: 144 list_total: 32 fname_total: 113 hit_total: 5105 miss_total: 1691 mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats= snapshot_time: 1788846229.596058471 secs.nsecs start_time: 1788846130.488179576 secs.nsecs elapsed_time: 99.107878895 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 3 8 10 4: 2 5 16 8: 1 2 18 16: 25 67 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff918111dcf000.batch_stats= snapshot_time: 1788846229.596123876 secs.nsecs start_time: 1788846130.488429518 secs.nsecs elapsed_time: 99.107694358 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 2 5 7 8: 3 7 15 16: 9 22 37 32: 25 62 100 - open/close 704 (time 1788846242.46 total 10.01 last 70.35) - open/close 1417 (time 1788846252.46 total 20.01 last 71.28) - open/close 2083 (time 1788846262.47 total 30.02 last 66.51) - open/close 2768 (time 1788846272.49 total 40.04 last 68.37) - open/close 3527 (time 1788846282.50 total 50.05 last 75.85) - open/close 4265 (time 1788846292.51 total 60.06 last 73.73) - open/close 5040 (time 1788846302.51 total 70.06 last 77.47) - open/close 5849 (time 1788846312.52 total 80.07 last 80.88) - open/close 6476 (time 1788846322.53 total 90.08 last 62.62) - open/close 7089 (time 1788846332.54 total 100.09 last 61.25) - open/close 7878 (time 1788846342.55 total 110.10 last 78.80) - open/close 8566 (time 1788846352.56 total 120.11 last 68.72) - open/close 9234 (time 1788846362.58 total 130.13 last 66.68) - open/close 9930 (time 1788846372.58 total 140.13 last 69.59) total: 10000 open/close in 141.27 seconds: 70.79 ops/second llite.lustre-ffff918111dcf000.statahead_batch_max=0 llite.lustre-ffff918111dcf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff918111dcf000.stats=clear mdc.lustre-MDT0001-mdc-ffff918111dcf000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.017s user 0m0.340s sys 0m15.378s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff918111dcf000.statahead_batch_max=32 llite.lustre-ffff918111dcf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff918111dcf000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff918111dcf000.stats=clear mdc.lustre-MDT0001-mdc-ffff918111dcf000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m45.022s user 0m0.322s sys 0m14.246s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats= snapshot_time: 1788846561.787178134 secs.nsecs start_time: 1788846444.910105771 secs.nsecs elapsed_time: 116.877072363 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-ffff918111dcf000.batch_stats= snapshot_time: 1788846561.787247696 secs.nsecs start_time: 1788846444.910204811 secs.nsecs elapsed_time: 116.877042885 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff918111dcf000.batch_stats=0 llite.lustre-ffff918111dcf000.statahead_max=2048 llite.lustre-ffff918111dcf000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff918111dcf000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.65 seconds: 37.71 ops/second llite.lustre-ffff918111dcf000.statahead_max=0 101 real 0m2.498s user 0m0.005s sys 0m0.319s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff918111dcf000.statahead_max=2048 llite.lustre-ffff918111dcf000.statahead_max=2048 101 real 0m1.134s user 0m0.007s sys 0m0.172s '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: 10081 miss_total: 19 swrong=0 ewrong=0 - open/close 756 (time 1788846897.19 total 10.01 last 75.55) total: 900 open/close in 11.77 seconds: 76.47 ops/second llite.lustre-ffff918111dcf000.statahead_max=0 1001 real 0m23.821s user 0m0.044s sys 0m3.058s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff918111dcf000.statahead_max=2048 llite.lustre-ffff918111dcf000.statahead_max=2048 1001 real 0m7.367s user 0m0.038s sys 0m1.558s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff918111dcf000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11080 miss_total: 20 mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats= snapshot_time: 1788846965.148285502 secs.nsecs start_time: 1788846564.372495848 secs.nsecs elapsed_time: 400.775789654 secs.nsecs subreqs per batch batches %% cum %% 1: 1 14 14 2: 1 14 28 4: 2 28 57 8: 0 0 57 16: 1 14 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff918111dcf000.batch_stats= snapshot_time: 1788846965.148381517 secs.nsecs start_time: 1788846564.372759628 secs.nsecs elapsed_time: 400.775621889 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 0 0 44 32: 2 22 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 706 (time 1788846977.92 total 10.00 last 70.58) - open/close 1349 (time 1788846987.93 total 20.01 last 64.27) - open/close 2069 (time 1788846997.93 total 30.01 last 71.95) - open/close 2840 (time 1788847007.94 total 40.02 last 77.02) - open/close 3626 (time 1788847017.94 total 50.03 last 78.59) - open/close 4463 (time 1788847027.95 total 60.03 last 83.68) - open/close 5188 (time 1788847037.95 total 70.03 last 72.49) - open/close 5985 (time 1788847047.95 total 80.03 last 79.65) - open/close 6850 (time 1788847057.95 total 90.04 last 86.49) - open/close 7621 (time 1788847067.95 total 100.04 last 77.09) - open/close 8206 (time 1788847077.96 total 110.04 last 58.48) - open/close 8805 (time 1788847087.97 total 120.06 last 59.80) - open/close 9478 (time 1788847097.98 total 130.06 last 67.25) total: 10000 open/close in 135.99 seconds: 73.54 ops/second llite.lustre-ffff918111dcf000.statahead_batch_max=0 llite.lustre-ffff918111dcf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff918111dcf000.stats=clear mdc.lustre-MDT0001-mdc-ffff918111dcf000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m4.626s user 0m0.355s sys 0m14.996s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff918111dcf000.statahead_batch_max=256 llite.lustre-ffff918111dcf000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff918111dcf000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff918111dcf000.stats=clear mdc.lustre-MDT0001-mdc-ffff918111dcf000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m55.088s user 0m0.325s sys 0m14.836s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff918111dcf000.batch_stats= snapshot_time: 1788847246.290093349 secs.nsecs start_time: 1788847179.373209209 secs.nsecs elapsed_time: 66.916884140 secs.nsecs subreqs per batch batches %% cum %% 1: 114 42 42 2: 39 14 56 4: 34 12 69 8: 15 5 74 16: 9 3 78 32: 20 7 85 64: 3 1 86 128: 2 0 87 256: 34 12 100 mdc.lustre-MDT0001-mdc-ffff918111dcf000.batch_stats= snapshot_time: 1788847246.290173164 secs.nsecs start_time: 1788847179.373309513 secs.nsecs elapsed_time: 66.916863651 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-ffff918111dcf000.statahead_batch_max=64 llite.lustre-ffff918111dcf000.statahead_max=128