phoenix-dataplane / phoenix

Phoenix dataplane system service
https://phoenix-dataplane.github.io
Apache License 2.0
51 stars 9 forks source link

Improve the performance #43

Closed crazyboycjr closed 2 years ago

crazyboycjr commented 2 years ago

Why are these changes needed?

Without setting to hyperthread core pair, the latency is

duration: 7.053766ms, #iters: 1000, avg: 3.12µs, min: 2.486µs, median: 2.959µs, P95: 3.466µs, P99: 6.084µs, max: 55.936µs

After setting the hyperthread core pair, the latency is

duration: 5.188733ms, #iters: 1000, avg: 2.272µs, min: 2.066µs, median: 2.149µs, P95: 2.427µs, P99: 4.139µs, max: 18.117µs

Related issue number

Closes #36

Checks