Jan Stary wrote:
On May 04 22:15:09, Juan Miscaro wrote:
What is the current state of multiprocessing and multithreading in
OpenBSD? Also, what applications are multithreaded? In particular,
someone told me that pf is "garbage" because it is not multithreaded?
What truth is there to this? Under what kind of load would an OpenBSD
firewall's performance suffer due to it being non-multithreaded?
STFU, GTFO, and all that.
Still, I think the question itself merits some discussion.
If we filter out the op:s PF nonsense, the state of rthreads development
is relevant to several well-used software packages, the first one that
comes to mind being MySQL.
I run several webservers using OpenBSD for my customers with PHP and
MySQL as important ingredients, and while I couldn't agree more to those
that would immediately say "dump MySQL, use PostgreSQL" it isn't always
possible to do so.
It is of course well known that MySQL doesn't run well (as in "as fast
as its potential allows") in a pthreads-environment, and yes, seven of
my gallant eight-core servers cores sits near idle waiting for the poor
MySQL process to finish up its work with the web server running rings
around it utilizing all cores very nicely. (Still, I use it with its
shortcomings, because I wouldn't trust any other os to do that kind of
heavily internet exposed work.)
I'm constantly scanning the changelogs in the vain hope that some day
there will be a message about rthreads being promoted to be the default
threading model. :-) Keep up the good work!
/B
--
internetlabbet.se / work: +46 8 551 124 80 / "Words must
Benny Lvfgren / mobile: +46 70 718 11 90 / be weighed,
/ fax: +46 8 551 124 89 / not counted."
/ email: [email protected]