Re: Before & After Under The Giant Lock
- From: Stephen Montgomery-Smith <stephen@xxxxxxxxxxxxxxxxx>
- Date: Sun, 25 Nov 2007 15:58:43 -0600 (CST)
On Sun, 25 Nov 2007, Kip Macy wrote:
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!
pure computation does not need kernel operations most of the time.. ie.
multi-threading kernel wont help much ;)
Yes, I know. But something else was also done to FreeBSD, perhaps fine
tuning with the scheduler, that did bring about massive improvements.
I assume you're using ULE. Jeff has gone to great lengths to take
cache affinity into account. This may be what you are benefiting from.
No, I'm using 4BSD under FreeBSD 7.0. But I just tried it with ULE under FreeBSD 8.0 (Witnesses and invariants switched off), and the speed marginally slower, but only by 2% or so.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- doubt about IPSEC - Freebsd 7
- From: Giulio Ferro
- Re: doubt about IPSEC - Freebsd 7
- From: Rong-en Fan
- Before & After Under The Giant Lock
- From: binto
- Re: Before & After Under The Giant Lock
- From: Robert Watson
- Re: Before & After Under The Giant Lock
- From: Stephen Montgomery-Smith
- Re: Before & After Under The Giant Lock
- From: Roman Divacky
- Re: Before & After Under The Giant Lock
- From: Stephen Montgomery-Smith
- Re: Before & After Under The Giant Lock
- From: Kip Macy
- doubt about IPSEC - Freebsd 7
- Prev by Date: How to add wake on lan support for your card (was: Re: FreeBSD WOL sis on)
- Next by Date: Re: How to add wake on lan support for your card (was: Re: FreeBSD WOL sis on)
- Previous by thread: Re: Before & After Under The Giant Lock
- Next by thread: Re: Before & After Under The Giant Lock
- Index(es):
Relevant Pages
|