== sanity test 123ad: Verify batching statahead works correctly ========================================================== 06:14:58 (1787825698) batch: statahead_max=32 statahead_batch_max=32 mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats=0 llite.lustre-ffff99441019b000.statahead_max=32 llite.lustre-ffff99441019b000.statahead_batch_max=32 seq.cli-lustre-OST0000-super.width=0x1ffffff seq.cli-lustre-OST0001-super.width=0x1ffffff kvm mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats=0 total: 100 open/close in 3.09 seconds: 32.37 ops/second llite.lustre-ffff99441019b000.statahead_max=0 101 real 0m2.754s user 0m0.005s sys 0m0.303s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff99441019b000.statahead_max=32 llite.lustre-ffff99441019b000.statahead_max=32 101 real 0m1.361s user 0m0.006s sys 0m0.164s 'ls -l' 100 files with statahead: 2 sec statahead total: 127 statahead wrong: 2 agl total: 122 list_total: 30 fname_total: 97 hit_total: 4053 miss_total: 1729 swrong=2 ewrong=2 - open/close 740 (time 1787825727.44 total 10.01 last 73.90) total: 900 open/close in 12.32 seconds: 73.04 ops/second llite.lustre-ffff99441019b000.statahead_max=0 1001 real 0m19.658s user 0m0.034s sys 0m3.031s 'ls -l' 1000 files without statahead: 19 sec llite.lustre-ffff99441019b000.statahead_max=32 llite.lustre-ffff99441019b000.statahead_max=32 1001 real 0m9.698s user 0m0.035s sys 0m1.382s 'ls -l' 1000 files with statahead: 9 sec statahead total: 128 statahead wrong: 2 agl total: 123 list_total: 31 fname_total: 97 hit_total: 5051 miss_total: 1731 swrong=2 ewrong=2 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff99441019b000.statahead_stats= statahead total: 128 statahead wrong: 2 agl total: 123 list_total: 31 fname_total: 97 hit_total: 5051 miss_total: 1731 mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats= snapshot_time: 1787825794.044975455 secs.nsecs start_time: 1787825703.624352115 secs.nsecs elapsed_time: 90.420623340 secs.nsecs subreqs per batch batches %% cum %% 1: 1 2 2 2: 0 0 2 4: 0 0 2 8: 3 7 10 16: 2 5 15 32: 34 85 100 - open/close 646 (time 1787825806.68 total 10.00 last 64.57) - open/close 1296 (time 1787825816.68 total 20.01 last 65.00) - open/close 1956 (time 1787825826.70 total 30.03 last 65.85) - open/close 2616 (time 1787825836.71 total 40.04 last 65.93) - open/close 3262 (time 1787825846.72 total 50.04 last 64.57) - open/close 4005 (time 1787825856.75 total 60.08 last 74.05) - open/close 4684 (time 1787825866.75 total 70.08 last 67.89) - open/close 5389 (time 1787825876.76 total 80.09 last 70.43) - open/close 6088 (time 1787825886.77 total 90.09 last 69.85) - open/close 6725 (time 1787825896.77 total 100.09 last 63.70) - open/close 7321 (time 1787825906.78 total 110.10 last 59.57) - open/close 7977 (time 1787825916.79 total 120.11 last 65.52) - open/close 8591 (time 1787825926.80 total 130.12 last 61.34) - open/close 9183 (time 1787825936.80 total 140.13 last 59.16) - open/close 9674 (time 1787825946.82 total 150.14 last 49.04) total: 10000 open/close in 155.62 seconds: 64.26 ops/second llite.lustre-ffff99441019b000.statahead_batch_max=0 llite.lustre-ffff99441019b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99441019b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m0.195s user 0m0.330s sys 0m15.852s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99441019b000.statahead_batch_max=32 llite.lustre-ffff99441019b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99441019b000.stats=clear ls -l files in d123ad.sanity: 10001 real 1m42.693s user 0m0.307s sys 0m14.048s batched statahead RPC= hit count=9982 mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats= snapshot_time: 1787826133.949423313 secs.nsecs start_time: 1787826021.179392993 secs.nsecs elapsed_time: 112.770030320 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 batch: statahead_max=2048 statahead_batch_max=256 mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats=0 llite.lustre-ffff99441019b000.statahead_max=2048 llite.lustre-ffff99441019b000.statahead_batch_max=256 kvm mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats=0 total: 100 open/close in 3.12 seconds: 32.10 ops/second llite.lustre-ffff99441019b000.statahead_max=0 101 real 0m2.327s user 0m0.006s sys 0m0.324s 'ls -l' 100 files without statahead: 2 sec llite.lustre-ffff99441019b000.statahead_max=2048 llite.lustre-ffff99441019b000.statahead_max=2048 101 real 0m0.986s user 0m0.003s sys 0m0.166s '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: 10081 miss_total: 19 swrong=0 ewrong=0 - open/close 625 (time 1787826467.50 total 10.00 last 62.48) total: 900 open/close in 14.12 seconds: 63.76 ops/second llite.lustre-ffff99441019b000.statahead_max=0 1001 real 0m24.691s user 0m0.038s sys 0m3.026s 'ls -l' 1000 files without statahead: 25 sec llite.lustre-ffff99441019b000.statahead_max=2048 llite.lustre-ffff99441019b000.statahead_max=2048 1001 real 0m6.802s user 0m0.033s sys 0m1.500s '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: 11080 miss_total: 20 swrong=0 ewrong=0 'ls -l' done unlink + rm -r /mnt/lustre/d123ad.sanity: 22 seconds llite.lustre-ffff99441019b000.statahead_stats= statahead total: 3 statahead wrong: 0 agl total: 3 list_total: 3 fname_total: 0 hit_total: 11080 miss_total: 20 mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats= snapshot_time: 1787826538.228601220 secs.nsecs start_time: 1787826136.556875998 secs.nsecs elapsed_time: 401.671725222 secs.nsecs subreqs per batch batches %% cum %% 1: 0 0 0 2: 0 0 0 4: 0 0 0 8: 2 16 16 16: 2 16 33 32: 2 16 50 64: 1 8 58 128: 1 8 66 256: 4 33 100 - open/close 659 (time 1787826550.90 total 10.01 last 65.82) - open/close 1282 (time 1787826560.90 total 20.01 last 62.29) - open/close 1903 (time 1787826570.91 total 30.02 last 62.06) - open/close 2502 (time 1787826580.91 total 40.02 last 59.88) - open/close 3088 (time 1787826590.91 total 50.02 last 58.59) - open/close 3704 (time 1787826600.92 total 60.03 last 61.57) - open/close 4326 (time 1787826610.94 total 70.05 last 62.08) - open/close 5006 (time 1787826620.95 total 80.06 last 67.95) - open/close 5653 (time 1787826630.95 total 90.06 last 64.66) - open/close 6260 (time 1787826640.96 total 100.07 last 60.64) - open/close 6918 (time 1787826650.98 total 110.09 last 65.70) - open/close 7584 (time 1787826660.98 total 120.09 last 66.59) - open/close 8306 (time 1787826670.99 total 130.10 last 72.12) - open/close 9045 (time 1787826681.00 total 140.11 last 73.86) - open/close 9809 (time 1787826691.00 total 150.11 last 76.37) total: 10000 open/close in 153.03 seconds: 65.35 ops/second llite.lustre-ffff99441019b000.statahead_batch_max=0 llite.lustre-ffff99441019b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99441019b000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m54.962s user 0m0.307s sys 0m16.068s unbatched statahead RPC=10004 hit count=9999 llite.lustre-ffff99441019b000.statahead_batch_max=256 llite.lustre-ffff99441019b000.statahead_stats=clear mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats=clear mdc.lustre-MDT0000-mdc-ffff99441019b000.stats=clear ls -l files in d123ad.sanity: 10001 real 0m47.680s user 0m0.285s sys 0m15.491s batched statahead RPC= hit count=9999 mdc.lustre-MDT0000-mdc-ffff99441019b000.batch_stats= snapshot_time: 1787826814.995793095 secs.nsecs start_time: 1787826757.399994130 secs.nsecs elapsed_time: 57.595798965 secs.nsecs subreqs per batch batches %% cum %% 1: 140 53 53 2: 28 10 64 4: 16 6 70 8: 13 4 75 16: 9 3 78 32: 14 5 84 64: 4 1 85 128: 2 0 86 256: 35 13 100 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-ffff99441019b000.statahead_batch_max=64 llite.lustre-ffff99441019b000.statahead_max=128