== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:40:20 (1787791220) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9df2986c2000.batch_stats=0 llite.lustre-ffff9df2986c2000.statahead_max=32 llite.lustre-ffff9df2986c2000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9df2986c2000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.36 seconds: 42.33 ops/second llite.lustre-ffff9df2986c2000.statahead_max=0 101 real 0m2.015s user 0m0.004s sys 0m0.335s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9df2986c2000.statahead_max=32 llite.lustre-ffff9df2986c2000.statahead_max=32 101 real 0m0.952s user 0m0.003s sys 0m0.161s 'ls -l' 100 files with statahead: 0 sec statahead total: 107 statahead wrong: 2 agl total: 102 list_total: 30 fname_total: 62 hit_total: 4241 miss_total: 757 swrong=2 ewrong=2 - open/close 793 (time 1787791245.31 total 10.01 last 79.23) total: 900 open/close in 11.43 seconds: 78.71 ops/second llite.lustre-ffff9df2986c2000.statahead_max=0 1001 real 0m20.947s user 0m0.037s sys 0m3.033s 'ls -l' 1000 files without statahead: 21 sec llite.lustre-ffff9df2986c2000.statahead_max=32 llite.lustre-ffff9df2986c2000.statahead_max=32 1001 real 0m7.374s user 0m0.026s sys 0m1.452s 'ls -l' 1000 files with statahead: 7 sec statahead total: 108 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 62 hit_total: 5238 miss_total: 760 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 18 seconds llite.lustre-ffff9df2986c2000.statahead_stats= statahead total: 108 statahead wrong: 2 agl total: 103 list_total: 31 fname_total: 62 hit_total: 5238 miss_total: 760 mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats= snapshot_time: 1787791303.058704416 secs.nsecs start_time: 1787791224.511382088 secs.nsecs elapsed_time: 78.547322328 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 2 2 8: 4 10 13 16: 18 47 60 32: 15 39 100 mdc.lustre-MDT0001-mdc-ffff9df2986c2000.batch_stats= snapshot_time: 1787791303.058792020 secs.nsecs start_time: 1787791224.511469798 secs.nsecs elapsed_time: 78.547322222 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 4 10 15 8: 0 0 15 16: 21 52 67 32: 13 32 100 - open/close 773 (time 1787791315.65 total 10.01 last 77.24) - open/close 1561 (time 1787791325.67 total 20.02 last 78.70) - open/close 2359 (time 1787791335.68 total 30.03 last 79.72) - open/close 3193 (time 1787791345.69 total 40.05 last 83.26) - open/close 4048 (time 1787791355.71 total 50.06 last 85.39) - open/close 4857 (time 1787791365.72 total 60.08 last 80.76) - open/close 5621 (time 1787791375.73 total 70.08 last 76.38) - open/close 6393 (time 1787791385.74 total 80.09 last 77.09) - open/close 7124 (time 1787791395.75 total 90.11 last 73.00) - open/close 7840 (time 1787791405.76 total 100.12 last 71.54) - open/close 8625 (time 1787791415.76 total 110.12 last 78.49) - open/close 9372 (time 1787791425.77 total 120.13 last 74.62) total: 10000 open/close in 128.63 seconds: 77.74 ops/second llite.lustre-ffff9df2986c2000.statahead_batch_max=0 llite.lustre-ffff9df2986c2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9df2986c2000.stats=clear mdc.lustre-MDT0001-mdc-ffff9df2986c2000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.097s user 0m0.357s sys 0m16.981s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9df2986c2000.statahead_batch_max=32 llite.lustre-ffff9df2986c2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9df2986c2000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9df2986c2000.stats=clear mdc.lustre-MDT0001-mdc-ffff9df2986c2000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m32.893s user 0m0.349s sys 0m15.674s batched statahead RPC= hit count=9989 mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats= snapshot_time: 1787791607.485041749 secs.nsecs start_time: 1787791503.705203673 secs.nsecs elapsed_time: 103.779838076 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-ffff9df2986c2000.batch_stats= snapshot_time: 1787791607.485110525 secs.nsecs start_time: 1787791503.705294613 secs.nsecs elapsed_time: 103.779815912 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9df2986c2000.batch_stats=0 llite.lustre-ffff9df2986c2000.statahead_max=2048 llite.lustre-ffff9df2986c2000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9df2986c2000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.88 seconds: 34.70 ops/second llite.lustre-ffff9df2986c2000.statahead_max=0 101 real 0m2.383s user 0m0.007s sys 0m0.313s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff9df2986c2000.statahead_max=2048 llite.lustre-ffff9df2986c2000.statahead_max=2048 101 real 0m0.662s user 0m0.007s sys 0m0.196s '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: 10088 miss_total: 12 swrong=0 ewrong=0 - open/close 775 (time 1787791895.70 total 10.02 last 77.37) total: 900 open/close in 11.61 seconds: 77.49 ops/second llite.lustre-ffff9df2986c2000.statahead_max=0 1001 real 0m19.541s user 0m0.033s sys 0m2.896s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff9df2986c2000.statahead_max=2048 llite.lustre-ffff9df2986c2000.statahead_max=2048 1001 real 0m5.297s user 0m0.027s sys 0m1.525s 'ls -l' 1000 files with statahead: 5 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11087 miss_total: 13 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff9df2986c2000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11087 miss_total: 13 mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats= snapshot_time: 1787791948.400157864 secs.nsecs start_time: 1787791610.076962004 secs.nsecs elapsed_time: 338.323195860 secs.nsecs subreqs per batch batches %% cum %% 1: 3 33 33 2: 1 11 44 4: 0 0 44 8: 3 33 77 16: 0 0 77 32: 0 0 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff9df2986c2000.batch_stats= snapshot_time: 1787791948.400231706 secs.nsecs start_time: 1787791610.077099334 secs.nsecs elapsed_time: 338.323132372 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 10 10 4: 1 10 20 8: 2 20 40 16: 2 20 60 32: 1 10 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 895 (time 1787791960.52 total 10.00 last 89.48) - open/close 1755 (time 1787791970.52 total 20.00 last 86.00) - open/close 2672 (time 1787791980.53 total 30.01 last 91.61) - open/close 3557 (time 1787791990.56 total 40.04 last 88.27) - open/close 4525 (time 1787792000.57 total 50.05 last 96.72) - open/close 5436 (time 1787792010.57 total 60.06 last 91.01) - open/close 6319 (time 1787792020.58 total 70.06 last 88.30) - open/close 7261 (time 1787792030.58 total 80.06 last 94.18) - open/close 8184 (time 1787792040.58 total 90.06 last 92.26) - open/close 9082 (time 1787792050.58 total 100.06 last 89.79) - open/close 9921 (time 1787792060.58 total 110.06 last 83.90) total: 10000 open/close in 110.93 seconds: 90.15 ops/second llite.lustre-ffff9df2986c2000.statahead_batch_max=0 llite.lustre-ffff9df2986c2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9df2986c2000.stats=clear mdc.lustre-MDT0001-mdc-ffff9df2986c2000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m51.287s user 0m0.307s sys 0m16.321s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9df2986c2000.statahead_batch_max=256 llite.lustre-ffff9df2986c2000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9df2986c2000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9df2986c2000.stats=clear mdc.lustre-MDT0001-mdc-ffff9df2986c2000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m45.957s user 0m0.287s sys 0m15.784s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9df2986c2000.batch_stats= snapshot_time: 1787792176.209972668 secs.nsecs start_time: 1787792120.653192983 secs.nsecs elapsed_time: 55.556779685 secs.nsecs subreqs per batch batches %% cum %% 1: 160 55 55 2: 27 9 64 4: 24 8 73 8: 10 3 76 16: 10 3 80 32: 18 6 86 64: 3 1 87 128: 1 0 87 256: 35 12 100 mdc.lustre-MDT0001-mdc-ffff9df2986c2000.batch_stats= snapshot_time: 1787792176.210040261 secs.nsecs start_time: 1787792120.653560093 secs.nsecs elapsed_time: 55.556480168 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-ffff9df2986c2000.statahead_batch_max=64 llite.lustre-ffff9df2986c2000.statahead_max=128