Thread (28 messages) 28 messages, 4 authors, 2018-11-20

Re: [PATCH 10/11] nvmet-tcp: add NVMe over TCP target driver

From: Max Gurtovoy <hidden>
Date: 2018-11-17 22:50:00
Also in: linux-block, linux-nvme

On 11/17/2018 10:15 PM, David Miller wrote:
From: Sagi Grimberg <redacted>
Date: Thu, 15 Nov 2018 09:16:22 -0800
quoted
+static unsigned nvmet_tcp_recv_budget = 8;
+module_param_named(recv_budget, nvmet_tcp_recv_budget, int, S_IRUGO | S_IWUSR);
+MODULE_PARM_DESC(recv_budget, "recvs budget");
+
+static unsigned nvmet_tcp_send_budget = 8;
+module_param_named(send_budget, nvmet_tcp_send_budget, int, S_IRUGO | S_IWUSR);
+MODULE_PARM_DESC(send_budget, "sends budget");
+
+static unsigned nvmet_tcp_io_work_budget = 64;
+module_param_named(io_work_budget, nvmet_tcp_io_work_budget, int, S_IRUGO | S_IWUSR);
+MODULE_PARM_DESC(io_work_budget, "io work budget");
I strongly suggest moving away from module parameters for this stuff.
agree here.

also, Sagi, can you explain about the performance trade-offs seen during 
your development for these values ?

are they HCA/NIC dependent ?

should send/recv ratio be 1:1 ?

should total/send/recv ratio be 8:1:1 ?

Create a genetlink socket family and allow run time configuration of these knobs
by the user.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help