== sanity test 123ad: Verify batching statahead works correctly ========================================================== 16:53:11 (1787604791) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.batch_stats=0 llite.lustre-ffff8ae4055b8800.statahead_max=32 llite.lustre-ffff8ae4055b8800.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 2.58 seconds: 38.79 ops/second llite.lustre-ffff8ae4055b8800.statahead_max=0 101 real 0m2.379s user 0m0.007s sys 0m0.377s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8ae4055b8800.statahead_max=32 llite.lustre-ffff8ae4055b8800.statahead_max=32 101 real 0m1.096s user 0m0.006s sys 0m0.203s 'ls -l' 100 files with statahead: 1 sec statahead total: 107 statahead wrong: 2 agl total: 100 list_total: 30 fname_total: 77 hit_total: 3777 miss_total: 1457 swrong=2 ewrong=2 - open/close 539 (time 1787604820.81 total 10.01 last 53.83) total: 900 open/close in 16.08 seconds: 55.97 ops/second llite.lustre-ffff8ae4055b8800.statahead_max=0 1001 real 0m27.624s user 0m0.037s sys 0m3.304s 'ls -l' 1000 files without statahead: 27 sec llite.lustre-ffff8ae4055b8800.statahead_max=32 llite.lustre-ffff8ae4055b8800.statahead_max=32 1001 real 0m9.863s user 0m0.035s sys 0m1.603s 'ls -l' 1000 files with statahead: 10 sec statahead total: 108 statahead wrong: 2 agl total: 101 list_total: 31 fname_total: 77 hit_total: 4774 miss_total: 1460 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8ae4055b8800.statahead_stats= statahead total: 108 statahead wrong: 2 agl total: 101 list_total: 31 fname_total: 77 hit_total: 4774 miss_total: 1460 mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats= snapshot_time: 1787604899.120964898 secs.nsecs start_time: 1787604797.299045421 secs.nsecs elapsed_time: 101.821919477 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 1 2 5 4: 4 10 15 8: 1 2 17 16: 20 50 67 32: 13 32 100 mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.batch_stats= snapshot_time: 1787604899.121046494 secs.nsecs start_time: 1787604797.300985595 secs.nsecs elapsed_time: 101.820060899 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 2 5 5 8: 3 7 12 16: 21 53 66 32: 13 33 100 - open/close 678 (time 1787604911.33 total 10.01 last 67.71) - open/close 1369 (time 1787604921.33 total 20.01 last 69.09) - open/close 1997 (time 1787604931.35 total 30.04 last 62.66) - open/close 2554 (time 1787604941.36 total 40.05 last 55.63) - open/close 3335 (time 1787604951.38 total 50.06 last 77.99) - open/close 3914 (time 1787604961.38 total 60.06 last 57.89) - open/close 4576 (time 1787604971.38 total 70.07 last 66.17) - open/close 5201 (time 1787604981.39 total 80.07 last 62.46) - open/close 5839 (time 1787604991.40 total 90.08 last 63.74) - open/close 6443 (time 1787605001.42 total 100.11 last 60.27) - open/close 7101 (time 1787605011.44 total 110.13 last 65.63) - open/close 7712 (time 1787605021.45 total 120.14 last 61.06) - open/close 8426 (time 1787605031.46 total 130.15 last 71.34) - open/close 9148 (time 1787605041.46 total 140.15 last 72.18) - open/close 9964 (time 1787605051.46 total 150.15 last 81.60) total: 10000 open/close in 150.57 seconds: 66.41 ops/second llite.lustre-ffff8ae4055b8800.statahead_batch_max=0 llite.lustre-ffff8ae4055b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m14.239s user 0m0.386s sys 0m16.275s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ae4055b8800.statahead_batch_max=32 llite.lustre-ffff8ae4055b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.stats=clear ls -l files in d123ad.sanity: 10001 real 2m0.778s user 0m0.362s sys 0m15.636s batched statahead RPC= hit count=9983 mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats= snapshot_time: 1787605270.379424008 secs.nsecs start_time: 1787605135.270762985 secs.nsecs elapsed_time: 135.108661023 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-ffff8ae4055b8800.batch_stats= snapshot_time: 1787605270.380831761 secs.nsecs start_time: 1787605135.270849654 secs.nsecs elapsed_time: 135.109982107 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.batch_stats=0 llite.lustre-ffff8ae4055b8800.statahead_max=2048 llite.lustre-ffff8ae4055b8800.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.58 seconds: 27.95 ops/second llite.lustre-ffff8ae4055b8800.statahead_max=0 101 real 0m2.567s user 0m0.005s sys 0m0.355s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8ae4055b8800.statahead_max=2048 llite.lustre-ffff8ae4055b8800.statahead_max=2048 101 real 0m1.136s user 0m0.010s sys 0m0.188s '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: 10082 miss_total: 18 swrong=0 ewrong=0 - open/close 798 (time 1787605606.39 total 10.03 last 79.55) total: 900 open/close in 11.72 seconds: 76.77 ops/second llite.lustre-ffff8ae4055b8800.statahead_max=0 1001 real 0m33.894s user 0m0.033s sys 0m3.281s 'ls -l' 1000 files without statahead: 34 sec llite.lustre-ffff8ae4055b8800.statahead_max=2048 llite.lustre-ffff8ae4055b8800.statahead_max=2048 1001 real 0m7.339s user 0m0.031s sys 0m1.374s 'ls -l' 1000 files with statahead: 7 sec statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8ae4055b8800.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11081 miss_total: 19 mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats= snapshot_time: 1787605685.537863904 secs.nsecs start_time: 1787605273.091040598 secs.nsecs elapsed_time: 412.446823306 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: 1 11 77 64: 0 0 77 128: 0 0 77 256: 2 22 100 mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.batch_stats= snapshot_time: 1787605685.537951723 secs.nsecs start_time: 1787605273.093980981 secs.nsecs elapsed_time: 412.443970742 secs.nsecs subreqs per batch batches %% cum %% 1: 1 11 11 2: 0 0 11 4: 3 33 44 8: 0 0 44 16: 2 22 66 32: 0 0 66 64: 1 11 77 128: 0 0 77 256: 2 22 100 - open/close 734 (time 1787605698.26 total 10.02 last 73.28) - open/close 1524 (time 1787605708.27 total 20.02 last 78.96) - open/close 2521 (time 1787605718.28 total 30.03 last 99.60) - open/close 3434 (time 1787605728.28 total 40.04 last 91.25) - open/close 4216 (time 1787605738.29 total 50.04 last 78.17) - open/close 4951 (time 1787605748.32 total 60.08 last 73.23) - open/close 5563 (time 1787605758.33 total 70.08 last 61.18) - open/close 6259 (time 1787605768.33 total 80.09 last 69.57) - open/close 6873 (time 1787605778.34 total 90.10 last 61.31) - open/close 7485 (time 1787605788.35 total 100.10 last 61.20) - open/close 8054 (time 1787605798.35 total 110.11 last 56.87) - open/close 8859 (time 1787605808.35 total 120.11 last 80.50) - open/close 9435 (time 1787605818.36 total 130.11 last 57.55) total: 10000 open/close in 136.78 seconds: 73.11 ops/second llite.lustre-ffff8ae4055b8800.statahead_batch_max=0 llite.lustre-ffff8ae4055b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.600s user 0m0.317s sys 0m14.472s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ae4055b8800.statahead_batch_max=256 llite.lustre-ffff8ae4055b8800.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.stats=clear mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.524s user 0m0.279s sys 0m13.603s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ae4055b8800.batch_stats= snapshot_time: 1787605963.739649938 secs.nsecs start_time: 1787605895.882657604 secs.nsecs elapsed_time: 67.856992334 secs.nsecs subreqs per batch batches %% cum %% 1: 77 40 40 2: 19 10 50 4: 18 9 60 8: 8 4 64 16: 6 3 67 32: 19 10 77 64: 6 3 80 128: 1 0 81 256: 35 18 100 mdc.lustre-MDT0001-mdc-ffff8ae4055b8800.batch_stats= snapshot_time: 1787605963.739944799 secs.nsecs start_time: 1787605895.882765353 secs.nsecs elapsed_time: 67.857179446 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-ffff8ae4055b8800.statahead_batch_max=64 llite.lustre-ffff8ae4055b8800.statahead_max=128