* [PATCH 0/2] xen/net: limit number of tx/rx queues
@ 2017-01-10 13:32 Juergen Gross
0 siblings, 0 replies; 6+ messages in thread
From: Juergen Gross @ 2017-01-10 13:32 UTC (permalink / raw)
To: linux-kernel, xen-devel, netdev
Cc: Juergen Gross, boris.ostrovsky, paul.durrant, wei.liu2
The Xen network frontend/backend supports multiple tx/rx queues for one
virtual interface. The number of queues supported by the backend is
set to the number of cpus of the backend driver domain (usually dom0)
and the number of queues requested by the frontend is limited by the
number of vcpus of the related guest.
On large systems this can lead to ridiculous large number of queues
exhausting the required number of grant pages rather quick.
To avoid this limit the default maximum on both sides to 8. Both
frontend and backend maximum can be individually tuned via module
parameters.
Juergen Gross (2):
xen/netfront: set default upper limit of tx/rx queues to 8
xen/netback: set default upper limit of tx/rx queues to 8
drivers/net/xen-netback/netback.c | 6 ++++--
drivers/net/xen-netfront.c | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
--
2.10.2
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] xen/net: limit number of tx/rx queues
2017-01-10 13:32 Juergen Gross
@ 2017-01-30 2:55 ` Boris Ostrovsky
2017-01-10 13:54 ` Wei Liu
2017-01-30 2:55 ` Boris Ostrovsky
2 siblings, 0 replies; 6+ messages in thread
From: Boris Ostrovsky @ 2017-01-30 2:55 UTC (permalink / raw)
To: Juergen Gross, linux-kernel, xen-devel, netdev; +Cc: wei.liu2, paul.durrant
On 01/10/2017 08:32 AM, Juergen Gross wrote:
> The Xen network frontend/backend supports multiple tx/rx queues for one
> virtual interface. The number of queues supported by the backend is
> set to the number of cpus of the backend driver domain (usually dom0)
> and the number of queues requested by the frontend is limited by the
> number of vcpus of the related guest.
>
> On large systems this can lead to ridiculous large number of queues
> exhausting the required number of grant pages rather quick.
>
> To avoid this limit the default maximum on both sides to 8. Both
> frontend and backend maximum can be individually tuned via module
> parameters.
>
> Juergen Gross (2):
> xen/netfront: set default upper limit of tx/rx queues to 8
> xen/netback: set default upper limit of tx/rx queues to 8
>
> drivers/net/xen-netback/netback.c | 6 ++++--
> drivers/net/xen-netfront.c | 6 ++++--
> 2 files changed, 8 insertions(+), 4 deletions(-)
>
Applied to for-linus-4.11
-boris
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] xen/net: limit number of tx/rx queues
@ 2017-01-30 2:55 ` Boris Ostrovsky
0 siblings, 0 replies; 6+ messages in thread
From: Boris Ostrovsky @ 2017-01-30 2:55 UTC (permalink / raw)
To: Juergen Gross, linux-kernel, xen-devel, netdev; +Cc: paul.durrant, wei.liu2
On 01/10/2017 08:32 AM, Juergen Gross wrote:
> The Xen network frontend/backend supports multiple tx/rx queues for one
> virtual interface. The number of queues supported by the backend is
> set to the number of cpus of the backend driver domain (usually dom0)
> and the number of queues requested by the frontend is limited by the
> number of vcpus of the related guest.
>
> On large systems this can lead to ridiculous large number of queues
> exhausting the required number of grant pages rather quick.
>
> To avoid this limit the default maximum on both sides to 8. Both
> frontend and backend maximum can be individually tuned via module
> parameters.
>
> Juergen Gross (2):
> xen/netfront: set default upper limit of tx/rx queues to 8
> xen/netback: set default upper limit of tx/rx queues to 8
>
> drivers/net/xen-netback/netback.c | 6 ++++--
> drivers/net/xen-netfront.c | 6 ++++--
> 2 files changed, 8 insertions(+), 4 deletions(-)
>
Applied to for-linus-4.11
-boris
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] xen/net: limit number of tx/rx queues
2017-01-10 13:32 Juergen Gross
@ 2017-01-10 13:54 ` Wei Liu
2017-01-10 13:54 ` Wei Liu
2017-01-30 2:55 ` Boris Ostrovsky
2 siblings, 0 replies; 6+ messages in thread
From: Wei Liu @ 2017-01-10 13:54 UTC (permalink / raw)
To: Juergen Gross
Cc: linux-kernel, xen-devel, netdev, boris.ostrovsky, wei.liu2, paul.durrant
On Tue, Jan 10, 2017 at 02:32:50PM +0100, Juergen Gross wrote:
> The Xen network frontend/backend supports multiple tx/rx queues for one
> virtual interface. The number of queues supported by the backend is
> set to the number of cpus of the backend driver domain (usually dom0)
> and the number of queues requested by the frontend is limited by the
> number of vcpus of the related guest.
>
> On large systems this can lead to ridiculous large number of queues
> exhausting the required number of grant pages rather quick.
>
> To avoid this limit the default maximum on both sides to 8. Both
> frontend and backend maximum can be individually tuned via module
> parameters.
>
> Juergen Gross (2):
> xen/netfront: set default upper limit of tx/rx queues to 8
> xen/netback: set default upper limit of tx/rx queues to 8
>
Acked-by: Wei Liu <wei.liu2@citrix.com>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH 0/2] xen/net: limit number of tx/rx queues
2017-01-10 13:32 Juergen Gross
2017-01-10 13:54 ` Wei Liu
@ 2017-01-10 13:54 ` Wei Liu
2017-01-30 2:55 ` Boris Ostrovsky
2 siblings, 0 replies; 6+ messages in thread
From: Wei Liu @ 2017-01-10 13:54 UTC (permalink / raw)
To: Juergen Gross
Cc: wei.liu2, netdev, linux-kernel, paul.durrant, xen-devel, boris.ostrovsky
On Tue, Jan 10, 2017 at 02:32:50PM +0100, Juergen Gross wrote:
> The Xen network frontend/backend supports multiple tx/rx queues for one
> virtual interface. The number of queues supported by the backend is
> set to the number of cpus of the backend driver domain (usually dom0)
> and the number of queues requested by the frontend is limited by the
> number of vcpus of the related guest.
>
> On large systems this can lead to ridiculous large number of queues
> exhausting the required number of grant pages rather quick.
>
> To avoid this limit the default maximum on both sides to 8. Both
> frontend and backend maximum can be individually tuned via module
> parameters.
>
> Juergen Gross (2):
> xen/netfront: set default upper limit of tx/rx queues to 8
> xen/netback: set default upper limit of tx/rx queues to 8
>
Acked-by: Wei Liu <wei.liu2@citrix.com>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH 0/2] xen/net: limit number of tx/rx queues
@ 2017-01-10 13:32 Juergen Gross
2017-01-10 13:54 ` Wei Liu
` (2 more replies)
0 siblings, 3 replies; 6+ messages in thread
From: Juergen Gross @ 2017-01-10 13:32 UTC (permalink / raw)
To: linux-kernel, xen-devel, netdev
Cc: boris.ostrovsky, wei.liu2, paul.durrant, Juergen Gross
The Xen network frontend/backend supports multiple tx/rx queues for one
virtual interface. The number of queues supported by the backend is
set to the number of cpus of the backend driver domain (usually dom0)
and the number of queues requested by the frontend is limited by the
number of vcpus of the related guest.
On large systems this can lead to ridiculous large number of queues
exhausting the required number of grant pages rather quick.
To avoid this limit the default maximum on both sides to 8. Both
frontend and backend maximum can be individually tuned via module
parameters.
Juergen Gross (2):
xen/netfront: set default upper limit of tx/rx queues to 8
xen/netback: set default upper limit of tx/rx queues to 8
drivers/net/xen-netback/netback.c | 6 ++++--
drivers/net/xen-netfront.c | 6 ++++--
2 files changed, 8 insertions(+), 4 deletions(-)
--
2.10.2
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-01-30 5:35 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-10 13:32 [PATCH 0/2] xen/net: limit number of tx/rx queues Juergen Gross
-- strict thread matches above, loose matches on Subject: below --
2017-01-10 13:32 Juergen Gross
2017-01-10 13:54 ` Wei Liu
2017-01-10 13:54 ` Wei Liu
2017-01-30 2:55 ` Boris Ostrovsky
2017-01-30 2:55 ` Boris Ostrovsky
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.