firecracker icon indicating copy to clipboard operation
firecracker copied to clipboard

[Testing] Vsock latency performance test

Open alindima opened this issue 5 years ago • 6 comments

Add a VSOCK latency performance test. The current VSOCK throughput test is using iperf3-vsock to generate VSOCK workloads, which does not offer metrics related to latency.

Investigate what other tools we may use and write a performance test for it.

alindima avatar Dec 15 '20 08:12 alindima

I think we may need to write our own tool here. Is pretty simple just have an echo server and a client that computes the roundtrip time.

raduiliescu avatar Dec 15 '20 08:12 raduiliescu

I think we may even augment the existing vsock integ_test for this.

alindima avatar Dec 15 '20 08:12 alindima

Not sure if that is correct, since on a test like this you may apply statistical processing and run it for a longer time. Still reusing that code is a very good idea.

raduiliescu avatar Dec 15 '20 09:12 raduiliescu

Not sure if that is correct, since on a test like this you may apply statistical processing and run it for a longer time. Still reusing that code is a very good idea.

You're right. It can be a starting point

alindima avatar Dec 16 '20 10:12 alindima