== sanity test 123ad: Verify batching statahead works correctly ========================================================== 20:04:51 (1786752291) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.batch_stats=0 llite.lustre-ffff8be2ce6e9000.statahead_max=32 llite.lustre-ffff8be2ce6e9000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.batch_stats=0 striped dir -i1 -c2 -H fnv_1a_64 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.42 seconds: 41.30 ops/second llite.lustre-ffff8be2ce6e9000.statahead_max=0 101 real 0m1.730s user 0m0.005s sys 0m0.321s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff8be2ce6e9000.statahead_max=32 llite.lustre-ffff8be2ce6e9000.statahead_max=32 101 real 0m1.400s user 0m0.004s sys 0m0.167s 'ls -l' 100 files with statahead: 1 sec statahead total: 124 statahead wrong: 2 agl total: 118 list_total: 32 fname_total: 85 hit_total: 3822 miss_total: 1498 swrong=2 ewrong=2 - open/close 780 (time 1786752319.98 total 10.01 last 77.95) total: 900 open/close in 11.71 seconds: 76.88 ops/second llite.lustre-ffff8be2ce6e9000.statahead_max=0 1001 real 0m20.577s user 0m0.029s sys 0m3.194s 'ls -l' 1000 files without statahead: 20 sec llite.lustre-ffff8be2ce6e9000.statahead_max=32 llite.lustre-ffff8be2ce6e9000.statahead_max=32 1001 real 0m8.926s user 0m0.033s sys 0m1.524s 'ls -l' 1000 files with statahead: 9 sec statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 33 fname_total: 85 hit_total: 4821 miss_total: 1499 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 19 seconds llite.lustre-ffff8be2ce6e9000.statahead_stats= statahead total: 125 statahead wrong: 2 agl total: 119 list_total: 33 fname_total: 85 hit_total: 4821 miss_total: 1499 mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats= snapshot_time: 1786752383.130285604 secs.nsecs start_time: 1786752296.448600453 secs.nsecs elapsed_time: 86.681685151 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 3 7 10 8: 3 7 17 16: 19 47 65 32: 14 35 100 mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.batch_stats= snapshot_time: 1786752383.130648530 secs.nsecs start_time: 1786752296.448724822 secs.nsecs elapsed_time: 86.681923708 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 2 2 4: 4 10 12 8: 1 2 15 16: 18 46 61 32: 15 38 100 - open/close 940 (time 1786752395.69 total 10.00 last 93.95) - open/close 1928 (time 1786752405.70 total 20.01 last 98.72) - open/close 2815 (time 1786752415.71 total 30.02 last 88.65) - open/close 3625 (time 1786752425.71 total 40.02 last 80.99) - open/close 4461 (time 1786752435.71 total 50.03 last 83.55) - open/close 5310 (time 1786752445.72 total 60.03 last 84.84) - open/close 6228 (time 1786752455.72 total 70.04 last 91.77) - open/close 6949 (time 1786752465.73 total 80.04 last 72.06) - open/close 7621 (time 1786752475.74 total 90.06 last 67.10) - open/close 8463 (time 1786752485.75 total 100.07 last 84.12) - open/close 9265 (time 1786752495.76 total 110.07 last 80.16) total: 10000 open/close in 119.19 seconds: 83.90 ops/second llite.lustre-ffff8be2ce6e9000.statahead_batch_max=0 llite.lustre-ffff8be2ce6e9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.stats=clear mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m6.159s user 0m0.316s sys 0m15.825s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8be2ce6e9000.statahead_batch_max=32 llite.lustre-ffff8be2ce6e9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.stats=clear mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m43.747s user 0m0.282s sys 0m15.199s batched statahead RPC= hit count=9990 mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats= snapshot_time: 1786752701.692345829 secs.nsecs start_time: 1786752582.293335751 secs.nsecs elapsed_time: 119.399010078 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-ffff8be2ce6e9000.batch_stats= snapshot_time: 1786752701.692452699 secs.nsecs start_time: 1786752582.293415251 secs.nsecs elapsed_time: 119.399037448 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.batch_stats=0 llite.lustre-ffff8be2ce6e9000.statahead_max=2048 llite.lustre-ffff8be2ce6e9000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats=0 mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.batch_stats=0 striped dir -i1 -c2 -H crush2 /mnt/lustre/d123ad.sanity total: 100 open/close in 2.67 seconds: 37.43 ops/second llite.lustre-ffff8be2ce6e9000.statahead_max=0 101 real 0m2.688s user 0m0.005s sys 0m0.350s 'ls -l' 100 files without statahead: 3 sec llite.lustre-ffff8be2ce6e9000.statahead_max=2048 llite.lustre-ffff8be2ce6e9000.statahead_max=2048 101 real 0m1.005s user 0m0.005s sys 0m0.177s '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: 10089 miss_total: 11 swrong=0 ewrong=0 - open/close 830 (time 1786753009.40 total 10.00 last 82.96) total: 900 open/close in 11.10 seconds: 81.11 ops/second llite.lustre-ffff8be2ce6e9000.statahead_max=0 1001 real 0m23.712s user 0m0.031s sys 0m3.113s 'ls -l' 1000 files without statahead: 24 sec llite.lustre-ffff8be2ce6e9000.statahead_max=2048 llite.lustre-ffff8be2ce6e9000.statahead_max=2048 1001 real 0m8.521s user 0m0.021s sys 0m1.615s '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: 11088 miss_total: 12 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 20 seconds llite.lustre-ffff8be2ce6e9000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11088 miss_total: 12 mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats= snapshot_time: 1786753077.261520626 secs.nsecs start_time: 1786752704.188803556 secs.nsecs elapsed_time: 373.072717070 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 1 20 20 4: 0 0 20 8: 2 40 60 16: 0 0 60 32: 0 0 60 64: 0 0 60 128: 0 0 60 256: 2 40 100 mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.batch_stats= snapshot_time: 1786753077.261583974 secs.nsecs start_time: 1786752704.189019784 secs.nsecs elapsed_time: 373.072564190 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 1 11 11 8: 2 22 33 16: 1 11 44 32: 1 11 55 64: 2 22 77 128: 0 0 77 256: 2 22 100 - open/close 774 (time 1786753090.63 total 10.00 last 77.39) - open/close 1514 (time 1786753100.64 total 20.00 last 73.97) - open/close 2347 (time 1786753110.65 total 30.01 last 83.22) - open/close 3239 (time 1786753120.65 total 40.02 last 89.16) - open/close 4132 (time 1786753130.66 total 50.03 last 89.24) - open/close 5000 (time 1786753140.67 total 60.04 last 86.72) - open/close 5628 (time 1786753150.68 total 70.04 last 62.75) - open/close 6356 (time 1786753160.68 total 80.05 last 72.78) - open/close 7189 (time 1786753170.68 total 90.05 last 83.29) - open/close 8009 (time 1786753180.68 total 100.05 last 82.00) - open/close 8878 (time 1786753190.68 total 110.05 last 86.86) - open/close 9789 (time 1786753200.69 total 120.05 last 91.09) total: 10000 open/close in 123.17 seconds: 81.19 ops/second llite.lustre-ffff8be2ce6e9000.statahead_batch_max=0 llite.lustre-ffff8be2ce6e9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.stats=clear mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m12.600s user 0m0.328s sys 0m16.001s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff8be2ce6e9000.statahead_batch_max=256 llite.lustre-ffff8be2ce6e9000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats=clear mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.stats=clear mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m3.176s user 0m0.304s sys 0m15.680s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff8be2ce6e9000.batch_stats= snapshot_time: 1786753367.251370466 secs.nsecs start_time: 1786753287.281325439 secs.nsecs elapsed_time: 79.970045027 secs.nsecs subreqs per batch batches %% cum %% 1: 267 55 55 2: 71 14 70 4: 53 11 81 8: 15 3 84 16: 19 3 88 32: 15 3 91 64: 6 1 92 128: 1 0 93 256: 33 6 100 mdc.lustre-MDT0001-mdc-ffff8be2ce6e9000.batch_stats= snapshot_time: 1786753367.251439811 secs.nsecs start_time: 1786753287.286987739 secs.nsecs elapsed_time: 79.964452072 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-ffff8be2ce6e9000.statahead_batch_max=64 llite.lustre-ffff8be2ce6e9000.statahead_max=128