Date: Wed, 02 Apr 2003 12:56:08 -0800 From: Peter Wemm <peter@wemm.org> To: Terry Lambert <tlambert2@mindspring.com> Cc: current@FreeBSD.org Subject: Re: libthr and 1:1 threading. Message-ID: <20030402205608.2FCF82A8A5@canning.wemm.org> In-Reply-To: <3E8A9101.66FE4135@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote: > Jun Su wrote: > > > [ ... 1:1 kernel threads implementation ... ] > > > > A benchmark would be interested. > > This request doesn't make sense. > > The primary performance reasoning behind a 1:1 kernel threading > implementation, relative to the user space single kernel entry > scheduler in the libc_r implementation is SMP scalability for > threaded applications. No. It gives the ability for a thread to block on a syscall without stalling the entire system. Just try using mysqld on a system using libc_r and heavy disk IO. You can't select() on a read() from disk. Thats the ultimate reason to do it. The SMP parallelism is a bonus. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030402205608.2FCF82A8A5>