firecracker-microvm / firecracker

Secure and fast microVMs for serverless computing.
http://firecracker-microvm.io
Apache License 2.0
26.19k stars 1.82k forks source link

[Testing] Vsock latency performance test #2353

Open alindima opened 3 years ago

alindima commented 3 years ago

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.

raduiliescu commented 3 years ago

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.

alindima commented 3 years ago

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

raduiliescu commented 3 years ago

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.

alindima commented 3 years ago

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