Re: [PATCH RFC 0/3] tun zerocopy stats

2017-10-12 Thread Jason Wang
On 2017年10月12日 05:44, Willem de Bruijn wrote: On Tue, Oct 10, 2017 at 11:15 PM, Jason Wang wrote: On 2017年10月11日 03:11, Willem de Bruijn wrote: On Tue, Oct 10, 2017 at 1:39 PM, David Miller wrote: From: Willem de Bruijn Date: Tue, 10 Oct 2017 11:29:33 -0400 If there is a way to expose

Re: [PATCH RFC 0/3] tun zerocopy stats

2017-10-11 Thread Willem de Bruijn
On Tue, Oct 10, 2017 at 11:15 PM, Jason Wang wrote: > > > On 2017年10月11日 03:11, Willem de Bruijn wrote: >> >> On Tue, Oct 10, 2017 at 1:39 PM, David Miller wrote: >>> >>> From: Willem de Bruijn >>> Date: Tue, 10 Oct 2017 11:29:33 -0400 >>> If there is a way to expose these stats through vho

Re: [PATCH RFC 0/3] tun zerocopy stats

2017-10-10 Thread Jason Wang
On 2017年10月11日 03:11, Willem de Bruijn wrote: On Tue, Oct 10, 2017 at 1:39 PM, David Miller wrote: From: Willem de Bruijn Date: Tue, 10 Oct 2017 11:29:33 -0400 If there is a way to expose these stats through vhost_net directly, instead of through tun, that may be better. But I did not see

Re: [PATCH RFC 0/3] tun zerocopy stats

2017-10-10 Thread Willem de Bruijn
On Tue, Oct 10, 2017 at 1:39 PM, David Miller wrote: > From: Willem de Bruijn > Date: Tue, 10 Oct 2017 11:29:33 -0400 > >> If there is a way to expose these stats through vhost_net directly, >> instead of through tun, that may be better. But I did not see a >> suitable interface. Perhaps debugfs.

Re: [PATCH RFC 0/3] tun zerocopy stats

2017-10-10 Thread David Miller
From: Willem de Bruijn Date: Tue, 10 Oct 2017 11:29:33 -0400 > If there is a way to expose these stats through vhost_net directly, > instead of through tun, that may be better. But I did not see a > suitable interface. Perhaps debugfs. Please don't use debugfs, thank you :-)

Re: [PATCH RFC 0/3] tun zerocopy stats

2017-10-10 Thread Stephen Hemminger
On Tue, 10 Oct 2017 11:29:33 -0400 Willem de Bruijn wrote: > On Mon, Oct 9, 2017 at 11:52 PM, David Miller wrote: > > From: Willem de Bruijn > > Date: Fri, 6 Oct 2017 18:25:13 -0400 > > > >> From: Willem de Bruijn > >> > >> Add zerocopy transfer statistics to the vhost_net/tun zerocopy path

Re: [PATCH RFC 0/3] tun zerocopy stats

2017-10-10 Thread Willem de Bruijn
On Mon, Oct 9, 2017 at 11:52 PM, David Miller wrote: > From: Willem de Bruijn > Date: Fri, 6 Oct 2017 18:25:13 -0400 > >> From: Willem de Bruijn >> >> Add zerocopy transfer statistics to the vhost_net/tun zerocopy path. >> >> I've been using this to verify recent changes to zerocopy tuning [1].

Re: [PATCH RFC 0/3] tun zerocopy stats

2017-10-09 Thread David Miller
From: Willem de Bruijn Date: Fri, 6 Oct 2017 18:25:13 -0400 > From: Willem de Bruijn > > Add zerocopy transfer statistics to the vhost_net/tun zerocopy path. > > I've been using this to verify recent changes to zerocopy tuning [1]. > Sharing more widely, as it may be useful in similar future

[PATCH RFC 0/3] tun zerocopy stats

2017-10-06 Thread Willem de Bruijn
From: Willem de Bruijn Add zerocopy transfer statistics to the vhost_net/tun zerocopy path. I've been using this to verify recent changes to zerocopy tuning [1]. Sharing more widely, as it may be useful in similar future work. Use ethtool stats as interface, as these are defined per device driv