Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Nov 2007 21:39:58 -0400
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "Jeff Roberson" <jroberson@chesapeake.net>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: ULE vs. 4BSD in RELENG_7
Message-ID:  <8cb6106e0711021839i4714bdfbh74d412b3e14e808@mail.gmail.com>
In-Reply-To: <20071102150028.R544@10.0.0.1>
References:  <8cb6106e0710230902x4edf2c8eu2d912d5de1f5d4a2@mail.gmail.com> <20071024111105.M598@10.0.0.1> <8cb6106e0710241229i12852d8cq436f4c955ac62c56@mail.gmail.com> <20071024133240.X598@10.0.0.1> <8cb6106e0710251925s2db0117cvcb67321b08d7b2a1@mail.gmail.com> <20071102102331.G544@10.0.0.1> <8cb6106e0711021306w10c48a15s99eab526064ac814@mail.gmail.com> <20071102150028.R544@10.0.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
> Thank you, that was very useful.  I may have something to test very soon.

Sounds great Jeff, just say the word when you need someone to do the
testing. I'll be glad to help!

> What would be interesting to know is if the sum of the temperatures is any
> different.  4BSD gets a much more random distribution of load because a
> thread is run on whatever cpu context switches next.  ULE will have
> specific load patterns since it scans lists of cpus in a fixed order to
> assign load.

That seems to correlate with what I'm seeing, since the core that is
"spiking" is cpu0. I will write a little perl script to calculate the
sum periodically and record that. You're right, the one core may be
increasing 1-2 C periodically, but the other cores may remain lower. I
can definitely get you some numbers here.

So I went ahead and ran sysbench to see if changing the
kern.sched.slice value affected that (which I hear is a much more
accurate benchmark of real world MySQL performance than, say,
supersmack). There is a slight hit with the lower slice value, though
it's minimal. Although with 4 threads, the lower slice value actually
increases performance slightly. Here are the results (with 4BSD as a
baseline):

4bsd   ule.13   ule.7
2263.6   2250.36   2265.67
2181.18   2310.02   2300.25
2137.87   2304.04   2269.54
2100.41   2252.04   2249.26

buildworld isn't cooperating for me, but once I iron that out, I'll
post some results there as well :)

Thanks once again for all your efforts Jeff. I (and I'm sure others)
really appreciate your work.

Regards,
Josh



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