Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 1999 16:25:21 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Dirk Froemberg <dirk@FreeBSD.ORG>
Cc:        "Ronald F. Guilmette" <rfg@monkeys.com>, ports@FreeBSD.ORG, questions@FreeBSD.ORG
Subject:   Re: mysql-server-3.22.25 install botch (pthread_attr_setschedparam?)
Message-ID:  <19990921162521.A4053@dan.emsphone.com>
In-Reply-To: <19990921222033.A96951@physik.TU-Berlin.DE>
References:  <19990919230055.E42360@physik.TU-Berlin.DE> <27137.937789692@monkeys.com> <19990921222033.A96951@physik.TU-Berlin.DE>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Sep 21), Dirk Froemberg said:
> > I hope that it is apparent what I am really asking here.  If I run
> > mySQL on a multiprocessor system that is running FreeBSD, will it
> > actually be able to make use of more than one processor at a time
> > on that system? Does the FreeBSD kernel provide adequate support
> > for this?
> 
> Yes, definitly. FreeBSD-SMP scales very well (see
> http://www.freebsd.org/~fsmp/SMP/akgraph-a/graph1.html for details).
> 
> And yes, MySQL will benefit from more than one processor. That's what
> threads support is for. 8-)

Are you sure?  I thought threads support was to avoid the context
switch of a full process, mainly because Windows processes are so
inefficient.

AFAIK, user-level threads are implemented as a single process, and use
setitimer() to switch threads.  All threads will run on one CPU, so SMP
won't help much at all.

-- 
	Dan Nelson
	dnelson@emsphone.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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