== sanity test 123ad: Verify batching statahead works correctly ========================================================== 04:00:29 (1786694429) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.batch_stats=0 llite.lustre-ffff8ea8114f7000.statahead_max=32 llite.lustre-ffff8ea8114f7000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 3.88 seconds: 25.76 ops/second llite.lustre-ffff8ea8114f7000.statahead_max=0 101 real 0m4.020s user 0m0.006s sys 0m0.444s 'ls -l' 100 files without statahead: 4 sec llite.lustre-ffff8ea8114f7000.statahead_max=32 llite.lustre-ffff8ea8114f7000.statahead_max=32 101 real 0m1.344s user 0m0.010s sys 0m0.231s 'ls -l' 100 files with statahead: 1 sec statahead total: 149 statahead wrong: 2 agl total: 142 list_total: 32 fname_total: 116 hit_total: 4025 miss_total: 1559 swrong=2 ewrong=2 - open/close 601 (time 1786694465.30 total 10.00 last 60.10) total: 900 open/close in 14.39 seconds: 62.56 ops/second llite.lustre-ffff8ea8114f7000.statahead_max=0 1001 real 0m30.981s user 0m0.037s sys 0m3.699s 'ls -l' 1000 files without statahead: 31 sec llite.lustre-ffff8ea8114f7000.statahead_max=32 llite.lustre-ffff8ea8114f7000.statahead_max=32 1001 real 0m12.784s user 0m0.031s sys 0m1.705s 'ls -l' 1000 files with statahead: 13 sec statahead total: 150 statahead wrong: 2 agl total: 143 list_total: 33 fname_total: 116 hit_total: 5024 miss_total: 1560 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 28 seconds llite.lustre-ffff8ea8114f7000.statahead_stats= statahead total: 150 statahead wrong: 2 agl total: 143 list_total: 33 fname_total: 116 hit_total: 5024 miss_total: 1560 mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats= snapshot_time: 1786694556.758347866 secs.nsecs start_time: 1786694435.972291208 secs.nsecs elapsed_time: 120.786056658 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 1 2 10 4: 3 7 18 8: 2 5 23 16: 23 60 84 32: 6 15 100 mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.batch_stats= snapshot_time: 1786694556.758472576 secs.nsecs start_time: 1786694435.972706529 secs.nsecs elapsed_time: 120.785766047 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 0 0 5 4: 1 2 7 8: 3 7 15 16: 12 30 45 32: 22 55 100 - open/close 547 (time 1786694569.99 total 10.00 last 54.68) - open/close 1108 (time 1786694580.01 total 20.02 last 56.00) - open/close 1713 (time 1786694590.01 total 30.03 last 60.48) - open/close 2264 (time 1786694600.02 total 40.03 last 55.05) - open/close 2831 (time 1786694610.03 total 50.05 last 56.63) - open/close 3395 (time 1786694620.04 total 60.05 last 56.36) - open/close 3851 (time 1786694630.05 total 70.06 last 45.56) - open/close 4456 (time 1786694640.06 total 80.07 last 60.45) - open/close 5067 (time 1786694650.06 total 90.08 last 61.05) - open/close 5727 (time 1786694660.06 total 100.08 last 66.00) - open/close 6366 (time 1786694670.06 total 110.08 last 63.90) - open/close 6952 (time 1786694680.07 total 120.08 last 58.56) - open/close 7539 (time 1786694690.08 total 130.09 last 58.67) - open/close 8088 (time 1786694700.09 total 140.10 last 54.84) - open/close 8655 (time 1786694710.09 total 150.10 last 56.68) - open/close 9144 (time 1786694720.10 total 160.11 last 48.87) - open/close 9733 (time 1786694730.11 total 170.12 last 58.82) total: 10000 open/close in 175.00 seconds: 57.14 ops/second llite.lustre-ffff8ea8114f7000.statahead_batch_max=0 llite.lustre-ffff8ea8114f7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m11.501s user 0m0.348s sys 0m18.135s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ea8114f7000.statahead_batch_max=32 llite.lustre-ffff8ea8114f7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.stats=clear ls -l files in d123ad.sanity: 10001 real 2m12.187s user 0m0.368s sys 0m16.717s batched statahead RPC= hit count=9993 mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats= snapshot_time: 1786694966.632067088 secs.nsecs start_time: 1786694815.958306016 secs.nsecs elapsed_time: 150.673761072 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-ffff8ea8114f7000.batch_stats= snapshot_time: 1786694966.632134620 secs.nsecs start_time: 1786694815.958676149 secs.nsecs elapsed_time: 150.673458471 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.batch_stats=0 llite.lustre-ffff8ea8114f7000.statahead_max=2048 llite.lustre-ffff8ea8114f7000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.42 seconds: 41.28 ops/second llite.lustre-ffff8ea8114f7000.statahead_max=0 101 real 0m2.278s user 0m0.005s sys 0m0.354s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8ea8114f7000.statahead_max=2048 llite.lustre-ffff8ea8114f7000.statahead_max=2048 101 real 0m1.170s user 0m0.004s sys 0m0.189s '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: 10092 miss_total: 8 swrong=0 ewrong=0 - open/close 667 (time 1786695338.72 total 10.01 last 66.63) total: 900 open/close in 13.76 seconds: 65.41 ops/second llite.lustre-ffff8ea8114f7000.statahead_max=0 1001 real 0m27.681s user 0m0.034s sys 0m3.501s 'ls -l' 1000 files without statahead: 28 sec llite.lustre-ffff8ea8114f7000.statahead_max=2048 llite.lustre-ffff8ea8114f7000.statahead_max=2048 1001 real 0m7.921s user 0m0.034s sys 0m1.765s '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: 11091 miss_total: 9 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 21 seconds llite.lustre-ffff8ea8114f7000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11091 miss_total: 9 mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats= snapshot_time: 1786695413.303577959 secs.nsecs start_time: 1786694969.838723492 secs.nsecs elapsed_time: 443.464854467 secs.nsecs subreqs per batch batches %% cum %% 1: 1 14 14 2: 0 0 14 4: 3 42 57 8: 1 14 71 16: 0 0 71 32: 0 0 71 64: 0 0 71 128: 0 0 71 256: 2 28 100 mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.batch_stats= snapshot_time: 1786695413.303646851 secs.nsecs start_time: 1786694969.838869510 secs.nsecs elapsed_time: 443.464777341 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 3 33 44 16: 1 11 55 32: 1 11 66 64: 0 0 66 128: 1 11 77 256: 2 22 100 - open/close 724 (time 1786695425.68 total 10.01 last 72.35) - open/close 1402 (time 1786695435.69 total 20.01 last 67.79) - open/close 2086 (time 1786695445.69 total 30.01 last 68.37) - open/close 2823 (time 1786695455.70 total 40.02 last 73.65) - open/close 3545 (time 1786695465.70 total 50.02 last 72.20) - open/close 4228 (time 1786695475.70 total 60.02 last 68.29) - open/close 4890 (time 1786695485.70 total 70.02 last 66.20) - open/close 5614 (time 1786695495.70 total 80.02 last 72.40) - open/close 6278 (time 1786695505.72 total 90.05 last 66.23) - open/close 6959 (time 1786695515.73 total 100.06 last 68.03) - open/close 7647 (time 1786695525.74 total 110.06 last 68.75) - open/close 8272 (time 1786695535.75 total 120.07 last 62.43) - open/close 9003 (time 1786695545.76 total 130.08 last 73.06) - open/close 9638 (time 1786695555.76 total 140.08 last 63.49) total: 10000 open/close in 145.73 seconds: 68.62 ops/second llite.lustre-ffff8ea8114f7000.statahead_batch_max=0 llite.lustre-ffff8ea8114f7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m9.983s user 0m0.346s sys 0m16.991s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8ea8114f7000.statahead_batch_max=256 llite.lustre-ffff8ea8114f7000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.stats=clear mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m2.693s user 0m0.321s sys 0m16.673s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8ea8114f7000.batch_stats= snapshot_time: 1786695719.835059462 secs.nsecs start_time: 1786695642.245625962 secs.nsecs elapsed_time: 77.589433500 secs.nsecs subreqs per batch batches %% cum %% 1: 267 57 57 2: 65 13 71 4: 45 9 80 8: 29 6 86 16: 7 1 88 32: 15 3 91 64: 5 1 92 128: 0 0 92 256: 34 7 100 mdc.lustre-MDT0001-mdc-ffff8ea8114f7000.batch_stats= snapshot_time: 1786695719.835131502 secs.nsecs start_time: 1786695642.245836055 secs.nsecs elapsed_time: 77.589295447 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-ffff8ea8114f7000.statahead_batch_max=64 llite.lustre-ffff8ea8114f7000.statahead_max=128