mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
virtio_nic: Increase default TX & RX virtqueue sizes.
32KB is a rather small value. The driver can cope with it now, but it does not perform as well as it should. This visible especially in scenarions like nic_router_flood where we still often hit synchronous wait path. Bump the size to 256kB. Issue #4264
This commit is contained in:
parent
880cd3a490
commit
60980045ea
@ -128,10 +128,10 @@ class Virtio_nic::Device : Noncopyable
|
||||
* a power of 2. Each VirtIO queue needs some additional space for the descriptor table,
|
||||
* available and used rings. The default VirtIO queue parameter values defined here have
|
||||
* been selected to make Ram_dataspace used by both TX and RX VirtIO queues consume around
|
||||
* 32Kb of RAM.
|
||||
* 256kB of RAM.
|
||||
*/
|
||||
static const uint16_t DEFAULT_VQ_SIZE = 16;
|
||||
static const uint16_t DEFAULT_VQ_BUF_SIZE = 2020;
|
||||
static const uint16_t DEFAULT_VQ_SIZE = 64;
|
||||
static const uint16_t DEFAULT_VQ_BUF_SIZE = 2016;
|
||||
|
||||
struct Rx_queue_traits
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user