[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1586636.MnKZJZo7n1@jason-thinkpad-t430s>
Date: Tue, 04 Dec 2012 17:23:21 +0800
From: Jason Wang <jasowang@...hat.com>
To: Rusty Russell <rusty@...tcorp.com.au>
Cc: mst@...hat.com, krkumar2@...ibm.com,
virtualization@...ts.linux-foundation.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, kvm@...r.kernel.org,
bhutchings@...arflare.com, jwhan@...ewood.snu.ac.kr,
shiyer@...hat.com
Subject: Re: [net-next rfc v7 1/3] virtio-net: separate fields of sending/receiving queue from virtnet_info
On Tuesday, December 04, 2012 02:13:11 PM Rusty Russell wrote:
> Jason Wang <jasowang@...hat.com> writes:
> > On Monday, December 03, 2012 12:25:42 PM Rusty Russell wrote:
> >> > +
> >> > + /* Work struct for refilling if we run low on memory. */
> >> > + struct delayed_work refill;
> >>
> >> I can't really see the justificaiton for a refill per queue. Just have
> >> one work iterate all the queues if it happens, unless it happens often
> >> (in which case, we need to look harder at this anyway).
> >
> > But during this kind of iteration, we may need enable/disable the napi
> > regardless of whether the receive queue has lots to be refilled. This may
> > add extra latency.
>
> Sure, but does it actually happen? We only use the work when we run out
> of memory. If this happens in normal behaviour we need to change
> something else...
True, I will change to use a global one.
Thanks
>
> Thanks,
> Rusty.
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@...r.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists