Re: Before & After Under The Giant Lock




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.

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



Relevant Pages

  • Re: Before & After Under The Giant Lock
    ... results to date have been extremely promising, ... I just want to add my 2 cents, that my recent experience with FreeBSD MP ... pure computation does not need kernel operations most of the time.. ...
    (freebsd-hackers)
  • Re: Before & After Under The Giant Lock
    ... results to date have been extremely promising, ... I just want to add my 2 cents, that my recent experience with FreeBSD MP ... pure computation does not need kernel operations most of the time.. ...
    (freebsd-hackers)
  • Re: Before & After Under The Giant Lock
    ... I just want to add my 2 cents, that my recent experience with FreeBSD MP ... I tend to use highly CPU bound MP programs, ... shared cache). ... Should the problem be big enough not to fit in one ...
    (freebsd-hackers)
  • Re: Before & After Under The Giant Lock
    ... On Sun, 25 Nov 2007, Roman Divacky wrote: ... results to date have been extremely promising, ... I tend to use highly CPU bound MP programs, ... Linux beat FreeBSD hands down - now FreeBSD seems to have a slight edge! ...
    (freebsd-hackers)
  • Re: Before & After Under The Giant Lock
    ... On Sun, 25 Nov 2007, Kip Macy wrote: ... I tend to use highly CPU bound MP programs, ... typically lots and lots of floating point operations. ... Linux beat FreeBSD hands down - now FreeBSD seems to have a slight edge! ...
    (freebsd-hackers)