Date: Fri, 8 Jan 1999 11:28:24 +0000 (GMT) From: dot@dotat.at (Tony Finch) To: hackers@FreeBSD.ORG Subject: Re: pthreads question/problem... Message-ID: <13973.60376.9845.729115@chiark.greenend.org.uk> In-Reply-To: <199901070335.UAA11431@usr09.primenet.com> References: <E0zxstX-00060r-00@fanf.noc.demon.net> <199901070335.UAA11431@usr09.primenet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert writes: > > > Sometimes you want M to be large relative to the number of CPUs > > because you are using threading to improve userland IO concurrency. > > Finish the thought: > > "...and you don't want to use async I/O to improve I/O > concurrency because, while doing so would be less overhead > than using a bunch of threads, it doesn't accomplish > your *real* goal." The other reason for not using aio is because the aio calls do not cover the whole range of system calls that block (open, close, stat, unlink, etc...). I don't see how you can fix that without either using some sort of fork or adding stuff to the API. Tony. -- f.a.n.finch fanf@demon.net dot@dotat.at 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?13973.60376.9845.729115>