Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2011 11:01:17 -0800
From:      Sean Bruno <seanbru@yahoo-inc.com>
To:        Alan Cox <alc@rice.edu>
Cc:        Alan Cox <alc@cs.rice.edu>, "xen@freebsd.org" <xen@freebsd.org>
Subject:   Re: PV i386 patch
Message-ID:  <1325271677.17645.18.camel@hitfishpass-lx.corp.yahoo.com>
In-Reply-To: <4EFCEF2D.4080007@rice.edu>
References:  <4EEB9CCE.6090701@rice.edu> <1324169806.3093.3.camel@hitfishpass-lx.corp.yahoo.com> <4EED4982.3080208@freebsd.org> <1324339762.3093.14.camel@hitfishpass-lx.corp.yahoo.com> <4EF04F3C.9010309@rice.edu> <1324387685.3093.28.camel@hitfishpass-lx.corp.yahoo.com> <4EF0D8D7.2060503@rice.edu> <4EF0EC1A.4010604@freebsd.org> <1324412718.12783.10.camel@hitfishpass-lx.corp.yahoo.com> <4EF245D1.2050503@rice.edu> <1324679157.17645.6.camel@hitfishpass-lx.corp.yahoo.com> <4EFA0313.6030105@rice.edu> <1325028241.17645.10.camel@hitfishpass-lx.corp.yahoo.com> <4EFCCC06.4020001@rice.edu> <1325197722.17645.14.camel@hitfishpass-lx.corp.yahoo.com> <4EFCEF2D.4080007@rice.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2011-12-29 at 14:52 -0800, Alan Cox wrote:
> On 12/29/2011 16:28, Sean Bruno wrote:
> > On Thu, 2011-12-29 at 12:22 -0800, Alan Cox wrote:
> >> Please try this patch.  It eliminates a race condition that might
> >> actually account for some of the crashes in FreeBSD>= 9 on Xen.
> >>
> >> Alan
> >>
> > ref10-xen32.freebsd.org has this applied now.  Looks ok to me?
> >
> 
> 
> I know that lmbench's bw_pipe program exercises the code path that I 
> changed if you want to give it a bit more testing.
> 
> Alan
> 

Ok, I ran "a thing" ... I have a lot of poking around to do in lmbench
now.  Thanks for pointing me at this.

Cursory run with patch "xen-pmap.c"

[sbruno@ref10-xen32 /usr/local/lib/lmbench/bin/i386-freebsd10.0]$ ./bw_pipe
Pipe bandwidth: 892.52 MB/sec
[sbruno@ref10-xen32 /usr/local/lib/lmbench/bin/i386-freebsd10.0]$ ./bw_pipe -N 5
Pipe bandwidth: 982.46 MB/sec
[sbruno@ref10-xen32 /usr/local/lib/lmbench/bin/i386-freebsd10.0]$ ./bw_pipe -N 5 -P 2
Pipe bandwidth: 899.34 MB/sec

Cursory run of vanilla-current:
[sbruno@ref10-xen32 /usr/local/lib/lmbench/bin/i386-freebsd10.0]$ ./bw_pipe
Pipe bandwidth: 984.37 MB/sec
[sbruno@ref10-xen32 /usr/local/lib/lmbench/bin/i386-freebsd10.0]$ ./bw_pipe -N 5
Pipe bandwidth: 977.54 MB/sec
[sbruno@ref10-xen32 /usr/local/lib/lmbench/bin/i386-freebsd10.0]$ ./bw_pipe -N 5 -P 2
Pipe bandwidth: 887.26 MB/sec
[sbruno@ref10-xen32 /usr/local/lib/lmbench/bin/i386-freebsd10.0]$ uname
-a
FreeBSD ref10-xen32.freebsd.org 10.0-CURRENT FreeBSD 10.0-CURRENT #1
r228971: Fri Dec 30 18:27:01 UTC 2011
sbruno@ref10-xen32.freebsd.org:/var/tmp/dumpster/scratch/sbruno-scratch/head/sys/XEN  i386








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1325271677.17645.18.camel>