== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:23:10 (1787343790) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9a7e58414000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a7e58414000.batch_stats=0 llite.lustre-ffff9a7e58414000.statahead_max=32 llite.lustre-ffff9a7e58414000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9a7e58414000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a7e58414000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 3.33 seconds: 30.00 ops/second llite.lustre-ffff9a7e58414000.statahead_max=0 101 real 0m2.399s user 0m0.005s sys 0m0.331s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9a7e58414000.statahead_max=32 llite.lustre-ffff9a7e58414000.statahead_max=32 101 real 0m0.905s user 0m0.004s sys 0m0.143s 'ls -l' 100 files with statahead: 1 sec statahead total: 122 statahead wrong: 2 agl total: 115 list_total: 32 fname_total: 88 hit_total: 4520 miss_total: 788 swrong=2 ewrong=2 - open/close 689 (time 1787343820.53 total 10.01 last 68.82) total: 900 open/close in 13.20 seconds: 68.16 ops/second llite.lustre-ffff9a7e58414000.statahead_max=0 1001 real 0m21.273s user 0m0.031s sys 0m2.705s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9a7e58414000.statahead_max=32 llite.lustre-ffff9a7e58414000.statahead_max=32 1001 real 0m8.382s user 0m0.022s sys 0m1.300s 'ls -l' 1000 files with statahead: 8 sec statahead total: 123 statahead wrong: 2 agl total: 116 list_total: 33 fname_total: 88 hit_total: 5518 miss_total: 790 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff9a7e58414000.statahead_stats= statahead total: 123 statahead wrong: 2 agl total: 116 list_total: 33 fname_total: 88 hit_total: 5518 miss_total: 790 mdc.lustre-MDT0000-mdc-ffff9a7e58414000.batch_stats= snapshot_time: 1787343888.246655090 secs.nsecs start_time: 1787343795.850979001 secs.nsecs elapsed_time: 92.395676089 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 1 2 9 4: 1 2 12 8: 3 7 19 16: 18 43 63 32: 15 36 100 mdc.lustre-MDT0001-mdc-ffff9a7e58414000.batch_stats= snapshot_time: 1787343888.249005328 secs.nsecs start_time: 1787343795.851073183 secs.nsecs elapsed_time: 92.397932145 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 2 5 7 4: 1 2 10 8: 3 7 17 16: 20 50 67 32: 13 32 100 - open/close 502 (time 1787343901.66 total 10.01 last 50.13) - open/close 964 (time 1787343911.69 total 20.04 last 46.06) - open/close 1757 (time 1787343921.69 total 30.05 last 79.26) - open/close 2651 (time 1787343931.70 total 40.05 last 89.35) - open/close 3538 (time 1787343941.70 total 50.06 last 88.68) - open/close 4274 (time 1787343951.71 total 60.06 last 73.57) - open/close 4951 (time 1787343961.71 total 70.06 last 67.69) - open/close 5471 (time 1787343971.74 total 80.10 last 51.83) - open/close 6141 (time 1787343981.75 total 90.10 last 66.96) - open/close 6702 (time 1787343991.77 total 100.12 last 55.99) - open/close 7122 (time 1787344001.77 total 110.12 last 42.00) - open/close 7642 (time 1787344011.78 total 120.13 last 51.95) - open/close 8186 (time 1787344021.80 total 130.16 last 54.26) - open/close 8958 (time 1787344031.81 total 140.16 last 77.16) - open/close 9706 (time 1787344041.81 total 150.17 last 74.75) total: 10000 open/close in 155.24 seconds: 64.42 ops/second llite.lustre-ffff9a7e58414000.statahead_batch_max=0 llite.lustre-ffff9a7e58414000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a7e58414000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a7e58414000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m8.699s user 0m0.350s sys 0m15.553s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a7e58414000.statahead_batch_max=32 llite.lustre-ffff9a7e58414000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a7e58414000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a7e58414000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a7e58414000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a7e58414000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m50.532s user 0m0.266s sys 0m13.525s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff9a7e58414000.batch_stats= snapshot_time: 1787344246.879737030 secs.nsecs start_time: 1787344125.011634482 secs.nsecs elapsed_time: 121.868102548 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-ffff9a7e58414000.batch_stats= snapshot_time: 1787344246.879806283 secs.nsecs start_time: 1787344125.011770292 secs.nsecs elapsed_time: 121.868035991 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9a7e58414000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a7e58414000.batch_stats=0 llite.lustre-ffff9a7e58414000.statahead_max=2048 llite.lustre-ffff9a7e58414000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9a7e58414000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9a7e58414000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.21 seconds: 45.34 ops/second llite.lustre-ffff9a7e58414000.statahead_max=0 101 real 0m1.879s user 0m0.003s sys 0m0.297s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9a7e58414000.statahead_max=2048 llite.lustre-ffff9a7e58414000.statahead_max=2048 101 real 0m1.323s user 0m0.005s sys 0m0.180s 'ls -l' 100 files with statahead: 2 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 total: 900 open/close in 9.50 seconds: 94.74 ops/second llite.lustre-ffff9a7e58414000.statahead_max=0 1001 real 0m18.810s user 0m0.028s sys 0m2.911s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff9a7e58414000.statahead_max=2048 llite.lustre-ffff9a7e58414000.statahead_max=2048 1001 real 0m6.343s user 0m0.025s sys 0m1.299s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff9a7e58414000.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-ffff9a7e58414000.batch_stats= snapshot_time: 1787344599.328166679 secs.nsecs start_time: 1787344249.042900691 secs.nsecs elapsed_time: 350.285265988 secs.nsecs subreqs per batch batches %% cum %% 1: 1 12 12 2: 0 0 12 4: 2 25 37 8: 2 25 62 16: 0 0 62 32: 1 12 75 64: 0 0 75 128: 0 0 75 256: 2 25 100 mdc.lustre-MDT0001-mdc-ffff9a7e58414000.batch_stats= snapshot_time: 1787344599.328249393 secs.nsecs start_time: 1787344249.043066184 secs.nsecs elapsed_time: 350.285183209 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 10 10 4: 0 0 10 8: 2 20 30 16: 4 40 70 32: 0 0 70 64: 0 0 70 128: 1 10 80 256: 2 20 100 - open/close 846 (time 1787344612.14 total 10.01 last 84.55) - open/close 1672 (time 1787344622.14 total 20.01 last 82.54) - open/close 2572 (time 1787344632.15 total 30.02 last 89.92) - open/close 3485 (time 1787344642.17 total 40.04 last 91.16) - open/close 4419 (time 1787344652.18 total 50.05 last 93.31) - open/close 5395 (time 1787344662.18 total 60.05 last 97.54) - open/close 6349 (time 1787344672.19 total 70.06 last 95.34) - open/close 7253 (time 1787344682.20 total 80.07 last 90.31) - open/close 8156 (time 1787344692.22 total 90.09 last 90.14) - open/close 8855 (time 1787344702.22 total 100.09 last 69.87) - open/close 9553 (time 1787344712.23 total 110.10 last 69.75) total: 10000 open/close in 114.51 seconds: 87.33 ops/second llite.lustre-ffff9a7e58414000.statahead_batch_max=0 llite.lustre-ffff9a7e58414000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a7e58414000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a7e58414000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m58.359s user 0m0.303s sys 0m14.321s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9a7e58414000.statahead_batch_max=256 llite.lustre-ffff9a7e58414000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9a7e58414000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9a7e58414000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9a7e58414000.stats=clear mdc.lustre-MDT0001-mdc-ffff9a7e58414000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.097s user 0m0.300s sys 0m14.046s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9a7e58414000.batch_stats= snapshot_time: 1787344846.797303393 secs.nsecs start_time: 1787344783.613477454 secs.nsecs elapsed_time: 63.183825939 secs.nsecs subreqs per batch batches %% cum %% 1: 150 43 43 2: 60 17 60 4: 49 14 75 8: 15 4 79 16: 15 4 83 32: 15 4 88 64: 6 1 89 128: 1 0 90 256: 34 9 100 mdc.lustre-MDT0001-mdc-ffff9a7e58414000.batch_stats= snapshot_time: 1787344846.797370871 secs.nsecs start_time: 1787344783.613624706 secs.nsecs elapsed_time: 63.183746165 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-ffff9a7e58414000.statahead_batch_max=64 llite.lustre-ffff9a7e58414000.statahead_max=128