* BUG - xen-netback stats interface limited to 32-bit values on 64 bit systems
[not found] <1423480148.23098.36.camel@citrix.com>
@ 2015-02-12 19:47 ` Atom2
2015-02-18 15:24 ` Ian Campbell
0 siblings, 1 reply; 5+ messages in thread
From: Atom2 @ 2015-02-12 19:47 UTC (permalink / raw)
To: xen-devel; +Cc: Ian Campbell
Hi guys,
I am forwarding this message after initially having confirmed with Ian
Campbell on the user list that there's really an issue - please see
further below.
I am currently running xen-4.3.3 on gentoo (dom0 is based on kernel
3.17.7) and I am happy to help out by applying and testing patches on my
version.
Thanks Atom2
-------- Weitergeleitete Nachricht --------
Betreff: Re: [Xen-users] BUG? vif RX/TX byte counters limited to 32-bit
values on 64 bit systems
Datum: Mon, 9 Feb 2015 11:09:08 +0000
Von: Ian Campbell <ian.campbell@citrix.com>
An: Atom2 <ariel.atom2@web2web.at>
Kopie (CC): xen-users@lists.xen.org
On Mon, 2015-02-09 at 00:37 +0100, Atom2 wrote:
> Hi guys,
> I recently experienced that ifconfig executed within dom0 wraps around
> byte counters after reaching the 32-bit max value (2^32) for XEN vif
> interfaces. Specifically I was able to observe this for a XEN vif
> interface connected to a HVM domU running FreeBSD 10.0.
Looks like xen-netback was never converted to the 64 bit stats interface
like e.g. netfront was (see commit e00f85bec0a9 in ~v3.1).
I could have sworn netback changed eons ago -- I was clearly mistaken.
Ian.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BUG - xen-netback stats interface limited to 32-bit values on 64 bit systems
2015-02-12 19:47 ` BUG - xen-netback stats interface limited to 32-bit values on 64 bit systems Atom2
@ 2015-02-18 15:24 ` Ian Campbell
2015-02-18 15:30 ` Processed: " xen
2015-02-18 17:57 ` Atom2
0 siblings, 2 replies; 5+ messages in thread
From: Ian Campbell @ 2015-02-18 15:24 UTC (permalink / raw)
To: Atom2; +Cc: xen-devel
create ^
thanks
On Thu, 2015-02-12 at 20:47 +0100, Atom2 wrote:
> Hi guys,
> I am forwarding this message after initially having confirmed with Ian
> Campbell on the user list that there's really an issue - please see
> further below.
>
> I am currently running xen-4.3.3 on gentoo (dom0 is based on kernel
> 3.17.7) and I am happy to help out by applying and testing patches on my
> version.
FWIW based on e00f85bec0a9 this seems like it would be a reasonably
straight forward introductory kernel hacking exercise (mostly copying
e00f85bec0a9) if you are interested I could help guide/mentor you
through it.
Ian.
>
> Thanks Atom2
>
> -------- Weitergeleitete Nachricht --------
> Betreff: Re: [Xen-users] BUG? vif RX/TX byte counters limited to 32-bit
> values on 64 bit systems
> Datum: Mon, 9 Feb 2015 11:09:08 +0000
> Von: Ian Campbell <ian.campbell@citrix.com>
> An: Atom2 <ariel.atom2@web2web.at>
> Kopie (CC): xen-users@lists.xen.org
>
> On Mon, 2015-02-09 at 00:37 +0100, Atom2 wrote:
> > Hi guys,
> > I recently experienced that ifconfig executed within dom0 wraps around
> > byte counters after reaching the 32-bit max value (2^32) for XEN vif
> > interfaces. Specifically I was able to observe this for a XEN vif
> > interface connected to a HVM domU running FreeBSD 10.0.
>
> Looks like xen-netback was never converted to the 64 bit stats interface
> like e.g. netfront was (see commit e00f85bec0a9 in ~v3.1).
>
> I could have sworn netback changed eons ago -- I was clearly mistaken.
>
> Ian.
>
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Processed: Re: BUG - xen-netback stats interface limited to 32-bit values on 64 bit systems
2015-02-18 15:24 ` Ian Campbell
@ 2015-02-18 15:30 ` xen
2015-02-18 17:57 ` Atom2
1 sibling, 0 replies; 5+ messages in thread
From: xen @ 2015-02-18 15:30 UTC (permalink / raw)
To: Ian Campbell, xen-devel
Processing commands for xen@bugs.xenproject.org:
> create ^
Created new bug #49 rooted at `<54DD036E.4060706@web2web.at>'
Title: `Re: BUG - xen-netback stats interface limited to 32-bit values on 64 bit systems'
> thanks
Finished processing.
Modified/created Bugs:
- 49: http://bugs.xenproject.org/xen/bug/49 (new)
---
Xen Hypervisor Bug Tracker
See http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen for information on reporting bugs
Contact xen-bugs-owner@bugs.xenproject.org with any infrastructure issues
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BUG - xen-netback stats interface limited to 32-bit values on 64 bit systems
2015-02-18 15:24 ` Ian Campbell
2015-02-18 15:30 ` Processed: " xen
@ 2015-02-18 17:57 ` Atom2
2015-02-19 9:51 ` Ian Campbell
1 sibling, 1 reply; 5+ messages in thread
From: Atom2 @ 2015-02-18 17:57 UTC (permalink / raw)
To: xen-devel
Am 18.02.15 um 16:24 schrieb Ian Campbell:
> create ^
> thanks
>
> On Thu, 2015-02-12 at 20:47 +0100, Atom2 wrote:
>> Hi guys,
>> I am forwarding this message after initially having confirmed with Ian
>> Campbell on the user list that there's really an issue - please see
>> further below.
>>
>> I am currently running xen-4.3.3 on gentoo (dom0 is based on kernel
>> 3.17.7) and I am happy to help out by applying and testing patches on my
>> version.
>
> FWIW based on e00f85bec0a9 this seems like it would be a reasonably
> straight forward introductory kernel hacking exercise (mostly copying
> e00f85bec0a9) if you are interested I could help guide/mentor you
> through it.
>
> Ian.
Ian,
thanks for your initiative in moving this forward. Based on your comment
and your offer to help/guide me in the process, I am happy to give this
a try. In the end this excercise might be more work for you than just
fixing it yourself, but it might pay off in the long run.
I did actually have a look at the relevant source for the xen netback
code already a couple of days ago and think that I have already
identified (at least parts of) the code that requires change.
Unfortunately I failed miserable in finding the commit e00f85bec0a9 you
were/are referring to in your mails (I used google to search, but
nothing came up) and therefore thought it being too risky to just change
what I thought needs changing - albeit that's part of the kernel and
could just bring down a system if changed inappropriately.
So if you could provide me with a link to that commit, I have something
to start from and make myself familiar with the required changes.
Thanks Atom2
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: BUG - xen-netback stats interface limited to 32-bit values on 64 bit systems
2015-02-18 17:57 ` Atom2
@ 2015-02-19 9:51 ` Ian Campbell
0 siblings, 0 replies; 5+ messages in thread
From: Ian Campbell @ 2015-02-19 9:51 UTC (permalink / raw)
To: Atom2; +Cc: xen-devel
On Wed, 2015-02-18 at 18:57 +0100, Atom2 wrote:
> Am 18.02.15 um 16:24 schrieb Ian Campbell:
> > create ^
> > thanks
> >
> > On Thu, 2015-02-12 at 20:47 +0100, Atom2 wrote:
> >> Hi guys,
> >> I am forwarding this message after initially having confirmed with Ian
> >> Campbell on the user list that there's really an issue - please see
> >> further below.
> >>
> >> I am currently running xen-4.3.3 on gentoo (dom0 is based on kernel
> >> 3.17.7) and I am happy to help out by applying and testing patches on my
> >> version.
> >
> > FWIW based on e00f85bec0a9 this seems like it would be a reasonably
> > straight forward introductory kernel hacking exercise (mostly copying
> > e00f85bec0a9) if you are interested I could help guide/mentor you
> > through it.
> >
> > Ian.
> Ian,
> thanks for your initiative in moving this forward. Based on your comment
> and your offer to help/guide me in the process, I am happy to give this
> a try. In the end this excercise might be more work for you than just
> fixing it yourself, but it might pay off in the long run.
I'm unlikely to make the time to do it myself, but I'm always willing to
make time for helping others do things, usually in the long term / on
average it's worthwhile to help others get up to speed even if short
term it takes a bit more effort.
> I did actually have a look at the relevant source for the xen netback
> code already a couple of days ago and think that I have already
> identified (at least parts of) the code that requires change.
> Unfortunately I failed miserable in finding the commit e00f85bec0a9 you
> were/are referring to in your mails (I used google to search, but
> nothing came up) and therefore thought it being too risky to just change
> what I thought needs changing - albeit that's part of the kernel and
> could just bring down a system if changed inappropriately.
>
> So if you could provide me with a link to that commit, I have something
> to start from and make myself familiar with the required changes.
The full commit id is:
commit e00f85bec0a9924eb517ccd126ddbb9787068f53
Author: stephen hemminger <shemminger@vyatta.com>
Date: Tue Jun 21 05:35:31 2011 +0000
xen: convert to 64 bit stats interface
Convert xen driver to 64 bit statistics interface.
Use stats_sync to ensure that 64 bit update is read atomically on
Put hot statistics into per-cpu table.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
and its in the mainline (i.e. Linus') Linux tree, see
http://git.kernel.org/linus/e00f85bec0a9924eb517ccd126ddbb9787068f53
Ian.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-02-19 9:51 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1423480148.23098.36.camel@citrix.com>
2015-02-12 19:47 ` BUG - xen-netback stats interface limited to 32-bit values on 64 bit systems Atom2
2015-02-18 15:24 ` Ian Campbell
2015-02-18 15:30 ` Processed: " xen
2015-02-18 17:57 ` Atom2
2015-02-19 9:51 ` Ian Campbell
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.