jolshan commented on PR #13798:
URL: https://github.com/apache/kafka/pull/13798#issuecomment-1610267331

   I ran some tests with producer-perf. I didn't see noticeable differences, 
but the tests were not particularly long. I can run more if needed. The 
`--transaction-duration` argument tells how many milliseconds before we call 
commit. Also note that really only one partition was produced to, so only that 
one verification per transaction will trigger the metric.
   
   ```
   bin/kafka-producer-perf-test.sh --transaction-duration-ms 1000 --record-size 
1000 --throughput -1 --num-records 1000000 --topic test-topic --producer.config 
config/producer.properties
   
   TRUNK
   1000000 records sent, 215842.866393 records/sec (205.84 MB/sec), 16.21 ms 
avg latency, 153.00 ms max latency, 0 ms 50th, 119 ms 95th, 147 ms 99th, 152 ms 
99.9th.
   1000000 records sent, 223513.634332 records/sec (213.16 MB/sec), 19.28 ms 
avg latency, 139.00 ms max latency, 1 ms 50th, 118 ms 95th, 133 ms 99th, 138 ms 
99.9th.
   1000000 records sent, 214638.334407 records/sec (204.70 MB/sec), 19.43 ms 
avg latency, 134.00 ms max latency, 1 ms 50th, 123 ms 95th, 131 ms 99th, 133 ms 
99.9th.
   
   KAFKA-15028

   1000000 records sent, 217485.863419 records/sec (207.41 MB/sec), 17.88 ms 
avg latency, 151.00 ms max latency, 0 ms 50th, 128 ms 95th, 145 ms 99th, 149 ms 
99.9th.

   1000000 records sent, 229568.411387 records/sec (218.93 MB/sec), 17.15 ms 
avg latency, 137.00 ms max latency, 0 ms 50th, 118 ms 95th, 130 ms 99th, 136 ms 
99.9th.

   1000000 records sent, 220653.133274 records/sec (210.43 MB/sec), 16.47 ms 
avg latency, 134.00 ms max latency, 1 ms 50th, 116 ms 95th, 128 ms 99th, 133 ms 
99.9th.
   
   bin/kafka-producer-perf-test.sh --transaction-duration-ms 300 --record-size 
1000 --throughput -1 --num-records 1000000 --topic test-topic --producer.config 
config/producer.properties
   TRUNK
   1000000 records sent, 213812.272824 records/sec (203.91 MB/sec), 15.79 ms 
avg latency, 142.00 ms max latency, 1 ms 50th, 101 ms 95th, 136 ms 99th, 142 ms 
99.9th.
   
1000000 records sent, 213174.163291 records/sec (203.30 MB/sec), 13.00 ms 
avg latency, 121.00 ms max latency, 1 ms 50th, 96 ms 95th, 118 ms 99th, 120 ms 
99.9th.

   1000000 records sent, 225580.870742 records/sec (215.13 MB/sec), 12.45 ms 
avg latency, 128.00 ms max latency, 1 ms 50th, 101 ms 95th, 123 ms 99th, 127 ms 
99.9th.
   
   KAFKA-15028
   1000000 records sent, 218531.468531 records/sec (208.41 MB/sec), 11.97 ms 
avg latency, 69.00 ms max latency, 1 ms 50th, 52 ms 95th, 65 ms 99th, 68 ms 
99.9th.

   1000000 records sent, 217864.923747 records/sec (207.77 MB/sec), 13.21 ms 
avg latency, 119.00 ms max latency, 1 ms 50th, 103 ms 95th, 117 ms 99th, 119 ms 
99.9th.

   1000000 records sent, 214868.929953 records/sec (204.91 MB/sec), 13.07 ms 
avg latency, 118.00 ms max latency, 1 ms 50th, 94 ms 95th, 115 ms 99th, 117 ms 
99.9th.
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to