== sanity test 123ad: Verify batching statahead works correctly ========================================================== 03:43:56 (1785224636) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff9b6210b91000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b6210b91000.batch_stats=0 llite.lustre-ffff9b6210b91000.statahead_max=32 llite.lustre-ffff9b6210b91000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff9b6210b91000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b6210b91000.batch_stats=0 striped dir -i1 -c2 -H all_char /mnt/lustre/d123ad.sanity total: 100 open/close in 1.67 seconds: 59.96 ops/second llite.lustre-ffff9b6210b91000.statahead_max=0 101 real 0m1.514s user 0m0.003s sys 0m0.330s 'ls -l' 100 files without statahead: 1 sec llite.lustre-ffff9b6210b91000.statahead_max=32 llite.lustre-ffff9b6210b91000.statahead_max=32 101 real 0m0.606s user 0m0.002s sys 0m0.208s 'ls -l' 100 files with statahead: 1 sec statahead total: 109 statahead wrong: 2 agl total: 103 list_total: 30 fname_total: 77 hit_total: 3554 miss_total: 1035 swrong=2 ewrong=2 total: 900 open/close in 8.14 seconds: 110.58 ops/second llite.lustre-ffff9b6210b91000.statahead_max=0 1001 real 0m14.177s user 0m0.034s sys 0m3.094s 'ls -l' 1000 files without statahead: 14 sec llite.lustre-ffff9b6210b91000.statahead_max=32 llite.lustre-ffff9b6210b91000.statahead_max=32 1001 real 0m4.981s user 0m0.022s sys 0m1.696s 'ls -l' 1000 files with statahead: 5 sec statahead total: 110 statahead wrong: 2 agl total: 104 list_total: 31 fname_total: 77 hit_total: 4552 miss_total: 1037 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 11 seconds llite.lustre-ffff9b6210b91000.statahead_stats= statahead total: 110 statahead wrong: 2 agl total: 104 list_total: 31 fname_total: 77 hit_total: 4552 miss_total: 1037 mdc.lustre-MDT0000-mdc-ffff9b6210b91000.batch_stats= snapshot_time: 1785224690.364208939 secs.nsecs start_time: 1785224639.348129252 secs.nsecs elapsed_time: 51.016079687 secs.nsecs subreqs per batch batches %% cum %% 1: 3 7 7 2: 0 0 7 4: 1 2 9 8: 3 7 17 16: 24 58 75 32: 10 24 100 mdc.lustre-MDT0001-mdc-ffff9b6210b91000.batch_stats= snapshot_time: 1785224690.364263209 secs.nsecs start_time: 1785224639.348204057 secs.nsecs elapsed_time: 51.016059152 secs.nsecs subreqs per batch batches %% cum %% 1: 2 5 5 2: 1 2 7 4: 3 7 15 8: 1 2 17 16: 16 40 57 32: 17 42 100 - open/close 1240 (time 1785224701.58 total 10.00 last 123.94) - open/close 2524 (time 1785224711.59 total 20.01 last 128.37) - open/close 3727 (time 1785224721.59 total 30.01 last 120.27) - open/close 4998 (time 1785224731.59 total 40.01 last 127.06) - open/close 6245 (time 1785224741.59 total 50.01 last 124.69) - open/close 7658 (time 1785224751.60 total 60.02 last 141.21) - open/close 9064 (time 1785224761.60 total 70.02 last 140.54) total: 10000 open/close in 76.99 seconds: 129.88 ops/second llite.lustre-ffff9b6210b91000.statahead_batch_max=0 llite.lustre-ffff9b6210b91000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b6210b91000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b6210b91000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m38.010s user 0m0.292s sys 0m28.188s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b6210b91000.statahead_batch_max=32 llite.lustre-ffff9b6210b91000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b6210b91000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9b6210b91000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b6210b91000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b6210b91000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m52.938s user 0m0.240s sys 0m19.484s batched statahead RPC= hit count=9993 mdc.lustre-MDT0000-mdc-ffff9b6210b91000.batch_stats= snapshot_time: 1785224872.141750407 secs.nsecs start_time: 1785224811.330210058 secs.nsecs elapsed_time: 60.811540349 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-ffff9b6210b91000.batch_stats= snapshot_time: 1785224872.141814616 secs.nsecs start_time: 1785224811.330359544 secs.nsecs elapsed_time: 60.811455072 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff9b6210b91000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b6210b91000.batch_stats=0 llite.lustre-ffff9b6210b91000.statahead_max=2048 llite.lustre-ffff9b6210b91000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff9b6210b91000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff9b6210b91000.batch_stats=0 striped dir -i1 -c2 -H crush /mnt/lustre/d123ad.sanity total: 100 open/close in 2.58 seconds: 38.82 ops/second llite.lustre-ffff9b6210b91000.statahead_max=0 101 real 0m1.862s user 0m0.002s sys 0m0.335s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff9b6210b91000.statahead_max=2048 llite.lustre-ffff9b6210b91000.statahead_max=2048 101 real 0m0.824s user 0m0.002s sys 0m0.199s '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 835 (time 1785225182.03 total 10.00 last 83.49) total: 900 open/close in 10.85 seconds: 82.95 ops/second llite.lustre-ffff9b6210b91000.statahead_max=0 1001 real 0m21.739s user 0m0.039s sys 0m3.269s 'ls -l' 1000 files without statahead: 22 sec llite.lustre-ffff9b6210b91000.statahead_max=2048 llite.lustre-ffff9b6210b91000.statahead_max=2048 1001 real 0m8.606s user 0m0.031s sys 0m1.620s '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-ffff9b6210b91000.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-ffff9b6210b91000.batch_stats= snapshot_time: 1785225247.448800071 secs.nsecs start_time: 1785224873.644623308 secs.nsecs elapsed_time: 373.804176763 secs.nsecs subreqs per batch batches %% cum %% 1: 1 14 14 2: 2 28 42 4: 1 14 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-ffff9b6210b91000.batch_stats= snapshot_time: 1785225247.449034833 secs.nsecs start_time: 1785224873.644760727 secs.nsecs elapsed_time: 373.804274106 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 10 10 4: 0 0 10 8: 3 30 40 16: 1 10 50 32: 2 20 70 64: 1 10 80 128: 0 0 80 256: 2 20 100 - open/close 822 (time 1785225260.52 total 10.00 last 82.19) - open/close 1536 (time 1785225270.53 total 20.01 last 71.31) - open/close 2316 (time 1785225280.54 total 30.02 last 77.94) - open/close 3089 (time 1785225290.55 total 40.03 last 77.26) - open/close 3893 (time 1785225300.55 total 50.03 last 80.37) - open/close 4659 (time 1785225310.55 total 60.03 last 76.58) - open/close 5434 (time 1785225320.56 total 70.04 last 77.47) - open/close 6203 (time 1785225330.56 total 80.04 last 76.88) - open/close 7029 (time 1785225340.56 total 90.04 last 82.58) - open/close 7710 (time 1785225350.56 total 100.04 last 68.10) - open/close 8502 (time 1785225360.57 total 110.05 last 79.17) - open/close 9248 (time 1785225370.57 total 120.05 last 74.57) total: 10000 open/close in 129.10 seconds: 77.46 ops/second llite.lustre-ffff9b6210b91000.statahead_batch_max=0 llite.lustre-ffff9b6210b91000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b6210b91000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b6210b91000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.688s user 0m0.353s sys 0m18.809s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff9b6210b91000.statahead_batch_max=256 llite.lustre-ffff9b6210b91000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff9b6210b91000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff9b6210b91000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff9b6210b91000.stats=clear mdc.lustre-MDT0001-mdc-ffff9b6210b91000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m57.340s user 0m0.298s sys 0m17.119s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff9b6210b91000.batch_stats= snapshot_time: 1785225519.826318797 secs.nsecs start_time: 1785225448.098801182 secs.nsecs elapsed_time: 71.727517615 secs.nsecs subreqs per batch batches %% cum %% 1: 153 49 49 2: 38 12 62 4: 28 9 71 8: 22 7 78 16: 7 2 80 32: 19 6 86 64: 4 1 88 128: 2 0 88 256: 34 11 100 mdc.lustre-MDT0001-mdc-ffff9b6210b91000.batch_stats= snapshot_time: 1785225519.826387198 secs.nsecs start_time: 1785225448.098921684 secs.nsecs elapsed_time: 71.727465514 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-ffff9b6210b91000.statahead_batch_max=64 llite.lustre-ffff9b6210b91000.statahead_max=128