== sanity test 123ad: Verify batching statahead works correctly ========================================================== 05:00:48 (1787734848) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.batch_stats=0 llite.lustre-ffff9111c2c2e800.statahead_max=32 llite.lustre-ffff9111c2c2e800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.38 seconds: 41.97 ops/second llite.lustre-ffff9111c2c2e800.statahead_max=0 101 real 0m1.780s user 0m0.003s sys 0m0.294s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9111c2c2e800.statahead_max=32 llite.lustre-ffff9111c2c2e800.statahead_max=32 101 real 0m1.381s user 0m0.005s sys 0m0.154s 'ls -l' 100 files with statahead: 1 sec statahead total: 116 statahead wrong: 2 agl total: 111 list_total: 30 fname_total: 68 hit_total: 4328 miss_total: 1280 swrong=2 ewrong=2 - open/close 844 (time 1787734875.78 total 10.00 last 84.38) total: 900 open/close in 10.76 seconds: 83.65 ops/second llite.lustre-ffff9111c2c2e800.statahead_max=0 1001 real 0m18.696s user 0m0.026s sys 0m2.659s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff9111c2c2e800.statahead_max=32 llite.lustre-ffff9111c2c2e800.statahead_max=32 1001 real 0m8.312s user 0m0.027s sys 0m1.382s 'ls -l' 1000 files with statahead: 8 sec statahead total: 117 statahead wrong: 2 agl total: 112 list_total: 31 fname_total: 68 hit_total: 5326 miss_total: 1282 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff9111c2c2e800.statahead_stats= statahead total: 117 statahead wrong: 2 agl total: 112 list_total: 31 fname_total: 68 hit_total: 5326 miss_total: 1282 mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats= snapshot_time: 1787734932.046945742 secs.nsecs start_time: 1787734854.015266676 secs.nsecs elapsed_time: 78.031679066 secs.nsecs subreqs per batch batches %% cum %% 1: 5 13 13 2: 1 2 15 4: 0 0 15 8: 1 2 18 16: 26 68 86 32: 5 13 100 mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.batch_stats= snapshot_time: 1787734932.047034302 secs.nsecs start_time: 1787734854.015484883 secs.nsecs elapsed_time: 78.031549419 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 1 2 7 8: 2 5 12 16: 10 25 37 32: 25 62 100 - open/close 846 (time 1787734944.23 total 10.01 last 84.56) - open/close 1668 (time 1787734954.23 total 20.01 last 82.13) - open/close 2623 (time 1787734964.24 total 30.02 last 95.43) - open/close 3576 (time 1787734974.24 total 40.02 last 95.28) - open/close 4487 (time 1787734984.25 total 50.03 last 91.02) - open/close 5356 (time 1787734994.26 total 60.04 last 86.84) - open/close 6296 (time 1787735004.27 total 70.04 last 93.95) - open/close 7139 (time 1787735014.27 total 80.05 last 84.29) - open/close 7958 (time 1787735024.27 total 90.05 last 81.85) - open/close 8823 (time 1787735034.29 total 100.07 last 86.37) - open/close 9646 (time 1787735044.29 total 110.07 last 82.28) total: 10000 open/close in 114.53 seconds: 87.31 ops/second llite.lustre-ffff9111c2c2e800.statahead_batch_max=0 llite.lustre-ffff9111c2c2e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.stats=clear mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.055s user 0m0.289s sys 0m14.671s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9111c2c2e800.statahead_batch_max=32 llite.lustre-ffff9111c2c2e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.stats=clear mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m24.145s user 0m0.269s sys 0m13.684s batched statahead RPC= hit count=9979 mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats= snapshot_time: 1787735203.043722881 secs.nsecs start_time: 1787735109.080340977 secs.nsecs elapsed_time: 93.963381904 secs.nsecs subreqs per batch batches %% cum %% 1: 1 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-ffff9111c2c2e800.batch_stats= snapshot_time: 1787735203.043799915 secs.nsecs start_time: 1787735109.080749678 secs.nsecs elapsed_time: 93.963050237 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.batch_stats=0 llite.lustre-ffff9111c2c2e800.statahead_max=2048 llite.lustre-ffff9111c2c2e800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.27 seconds: 43.96 ops/second llite.lustre-ffff9111c2c2e800.statahead_max=0 101 real 0m2.066s user 0m0.001s sys 0m0.312s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9111c2c2e800.statahead_max=2048 llite.lustre-ffff9111c2c2e800.statahead_max=2048 101 real 0m0.840s user 0m0.006s sys 0m0.182s '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: 10078 miss_total: 22 swrong=0 ewrong=0 - open/close 845 (time 1787735467.04 total 10.01 last 84.39) total: 900 open/close in 10.71 seconds: 84.07 ops/second llite.lustre-ffff9111c2c2e800.statahead_max=0 1001 real 0m18.555s user 0m0.031s sys 0m2.821s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff9111c2c2e800.statahead_max=2048 llite.lustre-ffff9111c2c2e800.statahead_max=2048 1001 real 0m5.536s user 0m0.024s sys 0m1.461s '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: 11077 miss_total: 23 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 17 seconds llite.lustre-ffff9111c2c2e800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11077 miss_total: 23 mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats= snapshot_time: 1787735518.582898378 secs.nsecs start_time: 1787735205.222196832 secs.nsecs elapsed_time: 313.360701546 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 14 14 4: 3 42 57 8: 0 0 57 16: 0 0 57 32: 1 14 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.batch_stats= snapshot_time: 1787735518.583178919 secs.nsecs start_time: 1787735205.223607635 secs.nsecs elapsed_time: 313.359571284 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 5 55 55 16: 0 0 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 863 (time 1787735530.74 total 10.00 last 86.29) - open/close 1734 (time 1787735540.74 total 20.00 last 87.09) - open/close 2607 (time 1787735550.74 total 30.00 last 87.29) - open/close 3476 (time 1787735560.75 total 40.01 last 86.82) - open/close 4317 (time 1787735570.76 total 50.02 last 84.05) - open/close 5140 (time 1787735580.77 total 60.03 last 82.23) - open/close 5995 (time 1787735590.78 total 70.04 last 85.42) - open/close 6821 (time 1787735600.79 total 80.05 last 82.51) - open/close 7649 (time 1787735610.80 total 90.06 last 82.68) - open/close 8403 (time 1787735620.81 total 100.07 last 75.33) - open/close 9358 (time 1787735630.81 total 110.07 last 95.48) total: 10000 open/close in 117.44 seconds: 85.15 ops/second llite.lustre-ffff9111c2c2e800.statahead_batch_max=0 llite.lustre-ffff9111c2c2e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.stats=clear mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.325s user 0m0.300s sys 0m16.282s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9111c2c2e800.statahead_batch_max=256 llite.lustre-ffff9111c2c2e800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.stats=clear mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m37.607s user 0m0.265s sys 0m16.702s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9111c2c2e800.batch_stats= snapshot_time: 1787735738.654177667 secs.nsecs start_time: 1787735693.491617220 secs.nsecs elapsed_time: 45.162560447 secs.nsecs subreqs per batch batches %% cum %% 1: 164 52 52 2: 37 11 64 4: 32 10 74 8: 17 5 80 16: 4 1 81 32: 15 4 86 64: 8 2 88 128: 1 0 89 256: 34 10 100 mdc.lustre-MDT0001-mdc-ffff9111c2c2e800.batch_stats= snapshot_time: 1787735738.654242409 secs.nsecs start_time: 1787735693.491741722 secs.nsecs elapsed_time: 45.162500687 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-ffff9111c2c2e800.statahead_batch_max=64 llite.lustre-ffff9111c2c2e800.statahead_max=128