Date: Wed, 3 Apr 2002 20:31:37 -0600 (CST) From: Mike Silbersack <silby@silby.com> To: John Regehr <regehr@cs.utah.edu> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Linuxthreads on Linux vs FreeBSD performance question Message-ID: <20020403202732.K59420-100000@patrocles.silby.com> In-Reply-To: <Pine.LNX.4.21.0204031311270.15454-100000@famine.cs.utah.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Apr 2002, John Regehr wrote: > Anyway, I was speculating that the higher cost is either due to (1) a > failure, in FreeBSD, to avoid page table operations when switching > between threads in the same addres space, or (2) some other kind of > semantic mismatch between Linuxthreads and rfork. Is one of these > guesses right? > > Any help appreciated. Thanks, > > John Regehr You may be able to learn which is the case by building a kernel with profiling support and seeing where the hotspot is during your tests. Offhand, I'd guess that any of your ideas is possible. I don't believe that much time was spent optimizing the kernel for Linuxthreads. Have you tried benchmarking process to process context switch times to see if the results are similar? Mike "Silby" Silbersack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020403202732.K59420-100000>