Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Nov 2007 09:31:14 +0100
From:      "Johan Bucht" <jbucht@gmail.com>
To:        "Stephen Montgomery-Smith" <stephen@math.missouri.edu>
Cc:        binto <binto@triplegate.net.id>, freebsd-hackers@freebsd.org, Robert Watson <rwatson@freebsd.org>, Girwatson@freebsd.org
Subject:   Re: Before & After Under The Giant Lock
Message-ID:  <947010c30711260031w10689412w5f5ce56abc1fbe56@mail.gmail.com>
In-Reply-To: <20071125143546.V6583@cauchy.math.missouri.edu>
References:  <474830F9.90305@zirakzigil.org> <6eb82e0711240638g2cc1e54o1fb1321cafe8ff9f@mail.gmail.com> <1188.202.127.99.4.1195957922.squirrel@webmail.triplegate.net.id> <20071125110116.U63238@fledge.watson.org> <20071125143546.V6583@cauchy.math.missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
2007/11/25, Stephen Montgomery-Smith <stephen@math.missouri.edu>:
>
>
> I just want to add my 2 cents, that my recent experience with FreeBSD MP
> has been extremely positive.  I tend to use highly CPU bound MP programs,
> typically lots and lots of floating point operations.  It used to be that
> Linux beat FreeBSD hands down - now FreeBSD seems to have a slight edge!
> Basically my program runs about twice as fast when I run two threads as
> opposed to one - I cannot see doing any better than that!

Actually, some worksets can get a higher speedup since you usually
double your cache size going from one to two cpus (core 2 duo has a
shared cache). Should the problem be big enough not to fit in one
cpu's cache but small enough to fit in two cpu's caches, you can get
more than 2 times speedup.

/Johan



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