gVisor database read and write performance

72 views
Skip to first unread message

xingyu wang

unread,
May 31, 2021, 9:10:15 AMMay 31
to gVisor Users [Public]
Hi everyone,

When I compared Runc and Gvisor's database read and write performance, I found that Gvisor's database record insert performance was poor compared to Runc's.However, when testing disk read and write performance with FIO, the performance gap between gvisor and runc was not significant.I want to know, what is the detailed reason why Gvisor's database read and write performance is poor?

Zach Koopmans

unread,
Jun 1, 2021, 2:01:14 PMJun 1
to gVisor Users [Public]
This is discussed in our performance guide using redis as the application: https://gvisor.dev/docs/architecture_guide/performance/. The relevant data is under "system calls".

The short answer is performance across the network stack, either TCP or UDS. Others can elaborate on specifics. See the "network" section as well.

Reply all
Reply to author
Forward
0 new messages