Re: SMP on FreeBSD 6.x and 7.0: Worth doing? freenx@deweyonline.com



On Sat, Dec 22, 2007 at 01:40:00PM +0100, Claus Guttesen wrote:
It appears, though I'd need to instrument the code more to be sure,
that the slowdown is coming from file I/O. Could it be that there
less concurrency or more overhead in FreeBSD file operations than
there is in Linux? Even with SoftUpdates turned on, the cache
volume mounted with -noatime, and aufs (which uses kqueues -- a
FreeBSD invention -- to optimize multithreaded disk access), the
benchmark shows FreeBSD losing out. Why?

I have noticed an entry in GENERIC called

device cpufreq

Could this have any influence on the performance (on FreeBSD)?

I saw this device late in the 7.0 release-process and I since I'm
accustomed to comment out any devices and options I don't need I have
commented this out as well. So I haven't performed any tests with and
without this device.


Cpufreq is for CPU frequency scaling. In the linux world, the cpufreq
daemon allows you to control your cpu speed and voltage using power
profiles and such, which makes it a definite power saving tool for
laptops. The cpufreq driver is already included with the Linux kernel,
so I'm going to assume that they've just implemented the cpufreq driver
in the kernel recently :)

If enabled, it probably would have an impact on performance, however I
have lost the ability to test such a function since my laptop decides
not to POST anymore.

Yes, I did figure out what the purpose of this device was. :-) My
point was that this could lead to lower benchmarks on servers if
GENERIC is used.

--
regards
Claus

When lenity and cruelty play for a kingdom,
the gentlest gamester is the soonest winner.

Shakespeare
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"

Oh, yeah, I see what you mean now. We have GENERIC and SMP kernel
configs, with the cpufreq driver now, there should be like a LAPTOP
kernel config file with laptop-specific options :P

Once I get my laptop working again, though, I'll try testing it out when
7.0-RELEASE comes about.


Russell Doucette

_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: What OS should I use?
    ... that laptop on any of the linux/unixe. ... than I would recommend one of the Linux ... Though this is a FreeBSD list and I would love to recommend FreeBSD:), ... I do know that that the regular KNOPPIX comes with two ...
    (freebsd-questions)
  • Re: can I use info from gentoo installation?
    ... about the drivers etc. from linux (linux binary compat, ... laptop and couldn't even get the NIC to light up and the system doesn't have a floppy drive, so getting downloaded files onto the machine is tough, at best. ... Use the FreeBSD Handbook. ...
    (freebsd-questions)
  • Re: Trying to change my OS from Windows to Linux/Mac
    ... I've never succeeded to make my laptops work perfectly on Linux. ... or Sound card is not working. ... I suggest you look into this for your laptop. ... FreeBSD: the Complete FreeBSD ...
    (comp.lang.ruby)
  • Re: Is 5.3 faster than 4.10 for desktop apps?
    ... > slashdot claim that 5.3 is among the slowest of all free unices. ... > I have ordered a new laptop and haven't decided yet what to install. ... It may be that Linux (may i recommend trying the Kanotix live cdrom, ... with freebsd or linux. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FreeBSD 4.x Opteron Question
    ... the FreeBSD developers told everyone that 5.3 was da ... initially over linux not because there's a bunch of good guys on the ... My tests measure kernel performance; ... > a networking device is a key performance indicator. ...
    (freebsd-questions)