Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-25 Thread Jan Beulich
>>> On 23.01.16 at 01:29, wrote: > On 01/22/2016 07:02 PM, Jan Beulich wrote: > On 22.01.16 at 11:40, wrote: >>> On 01/22/2016 03:53 PM, Jan Beulich wrote: >>> On 22.01.16 at 04:36, wrote: > By the way, do you think it's possible to make grant table support bigger > page e.g 64

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-22 Thread Bob Liu
On 01/22/2016 07:02 PM, Jan Beulich wrote: On 22.01.16 at 11:40, wrote: >> On 01/22/2016 03:53 PM, Jan Beulich wrote: >> On 22.01.16 at 04:36, wrote: By the way, do you think it's possible to make grant table support bigger page e.g 64K? One grant-ref per 64KB instead of

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-22 Thread Jan Beulich
>>> On 22.01.16 at 11:40, wrote: > On 01/22/2016 03:53 PM, Jan Beulich wrote: > On 22.01.16 at 04:36, wrote: >>> By the way, do you think it's possible to make grant table support bigger >>> page e.g 64K? >>> One grant-ref per 64KB instead of 4KB, this should able to reduce the grant >>> en

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-22 Thread Bob Liu
On 01/22/2016 03:53 PM, Jan Beulich wrote: On 22.01.16 at 04:36, wrote: >> By the way, do you think it's possible to make grant table support bigger >> page e.g 64K? >> One grant-ref per 64KB instead of 4KB, this should able to reduce the grant >> entry consumption significantly. > > How

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread Jan Beulich
>>> On 22.01.16 at 04:36, wrote: > By the way, do you think it's possible to make grant table support bigger > page e.g 64K? > One grant-ref per 64KB instead of 4KB, this should able to reduce the grant > entry consumption significantly. How would that work with an underlying page size of 4k, a

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread Bob Liu
On 01/21/2016 08:19 PM, Ian Campbell wrote: > On Thu, 2016-01-21 at 10:56 +, David Vrabel wrote: >> On 20/01/16 12:23, Ian Campbell wrote: >>> There have been a few reports recently[0] which relate to a failure of >>> netfront to allocate sufficient grant refs for all the queues: >>> >>> [

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread annie li
On 2016/1/21 9:17, David Vrabel wrote: On 21/01/16 12:19, Ian Campbell wrote: On Thu, 2016-01-21 at 10:56 +, David Vrabel wrote: On 20/01/16 12:23, Ian Campbell wrote: There have been a few reports recently[0] which relate to a failure of netfront to allocate sufficient grant refs for all

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread David Vrabel
On 21/01/16 12:19, Ian Campbell wrote: > On Thu, 2016-01-21 at 10:56 +, David Vrabel wrote: >> On 20/01/16 12:23, Ian Campbell wrote: >>> There have been a few reports recently[0] which relate to a failure of >>> netfront to allocate sufficient grant refs for all the queues: >>> >>> [0.5335

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread Ian Campbell
On Thu, 2016-01-21 at 10:56 +, David Vrabel wrote: > On 20/01/16 12:23, Ian Campbell wrote: > > There have been a few reports recently[0] which relate to a failure of > > netfront to allocate sufficient grant refs for all the queues: > > > > [0.533589] xen_netfront: can't alloc rx grant re

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread David Vrabel
On 20/01/16 12:23, Ian Campbell wrote: > There have been a few reports recently[0] which relate to a failure of > netfront to allocate sufficient grant refs for all the queues: > > [0.533589] xen_netfront: can't alloc rx grant refs > [0.533612] net eth0: only created 31 queues > > Which c

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread Wei Liu
On Thu, Jan 21, 2016 at 10:37:51AM +, Ian Campbell wrote: > On Thu, 2016-01-21 at 10:25 +, Wei Liu wrote: > > On Thu, Jan 21, 2016 at 10:12:27AM +, Ian Campbell wrote: > > [...] > > > > I've asked the reporter to send logs for the 4.4 case to xen-devel. > > > > > > User confirmed[0] th

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread Ian Campbell
On Thu, 2016-01-21 at 10:25 +, Wei Liu wrote: > On Thu, Jan 21, 2016 at 10:12:27AM +, Ian Campbell wrote: > [...] > > > I've asked the reporter to send logs for the 4.4 case to xen-devel. > > > > User confirmed[0] that 4.4 is actually OK. > > > > Did someone request stable backports yet,

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread Wei Liu
On Thu, Jan 21, 2016 at 10:12:27AM +, Ian Campbell wrote: [...] > > I've asked the reporter to send logs for the 4.4 case to xen-devel. > > User confirmed[0] that 4.4 is actually OK. > > Did someone request stable backports yet, or shall I do so? > I vaguely remember we requested backport f

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-21 Thread Ian Campbell
On Wed, 2016-01-20 at 15:16 +, Ian Campbell wrote: > On Wed, 2016-01-20 at 10:10 -0500, Boris Ostrovsky wrote: > > On 01/20/2016 10:02 AM, David Vrabel wrote: > > > On 20/01/16 14:52, Ian Campbell wrote: > > > > On Wed, 2016-01-20 at 09:40 -0500, Boris Ostrovsky wrote: > > > > > On 01/20/2016 0

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread annie li
On 2016/1/20 7:23, Ian Campbell wrote: There have been a few reports recently[0] which relate to a failure of netfront to allocate sufficient grant refs for all the queues: [0.533589] xen_netfront: can't alloc rx grant refs [0.533612] net eth0: only created 31 queues Which can be worke

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread Ian Campbell
On Wed, 2016-01-20 at 10:10 -0500, Boris Ostrovsky wrote: > On 01/20/2016 10:02 AM, David Vrabel wrote: > > On 20/01/16 14:52, Ian Campbell wrote: > > > On Wed, 2016-01-20 at 09:40 -0500, Boris Ostrovsky wrote: > > > > On 01/20/2016 07:23 AM, Ian Campbell wrote: > > > > > There have been a few repo

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread Boris Ostrovsky
On 01/20/2016 10:02 AM, David Vrabel wrote: On 20/01/16 14:52, Ian Campbell wrote: On Wed, 2016-01-20 at 09:40 -0500, Boris Ostrovsky wrote: On 01/20/2016 07:23 AM, Ian Campbell wrote: There have been a few reports recently[0] which relate to a failure of netfront to allocate sufficient grant

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread David Vrabel
On 20/01/16 14:52, Ian Campbell wrote: > On Wed, 2016-01-20 at 09:40 -0500, Boris Ostrovsky wrote: >> On 01/20/2016 07:23 AM, Ian Campbell wrote: >>> There have been a few reports recently[0] which relate to a failure of >>> netfront to allocate sufficient grant refs for all the queues: >>> >>> [

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread Ian Campbell
On Wed, 2016-01-20 at 09:40 -0500, Boris Ostrovsky wrote: > On 01/20/2016 07:23 AM, Ian Campbell wrote: > > There have been a few reports recently[0] which relate to a failure of > > netfront to allocate sufficient grant refs for all the queues: > > > > [0.533589] xen_netfront: can't alloc rx

Re: [Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread Boris Ostrovsky
On 01/20/2016 07:23 AM, Ian Campbell wrote: There have been a few reports recently[0] which relate to a failure of netfront to allocate sufficient grant refs for all the queues: [0.533589] xen_netfront: can't alloc rx grant refs [0.533612] net eth0: only created 31 queues Which can be w

[Xen-devel] netfront/netback multiqueue exhausting grants

2016-01-20 Thread Ian Campbell
There have been a few reports recently[0] which relate to a failure of netfront to allocate sufficient grant refs for all the queues: [0.533589] xen_netfront: can't alloc rx grant refs [0.533612] net eth0: only created 31 queues Which can be worked around by increasing the number of grant