From owner-freebsd-current Sun Apr 1 7:20:56 2001 Delivered-To: freebsd-current@freebsd.org Received: from roaming.cacheboy.net (roaming.cacheboy.net [203.56.168.69]) by hub.freebsd.org (Postfix) with ESMTP id 0501A37B71C; Sun, 1 Apr 2001 07:20:49 -0700 (PDT) (envelope-from adrian@roaming.cacheboy.net) Received: (from adrian@localhost) by roaming.cacheboy.net (8.11.1/8.11.1) id f31EKfp48040; Sun, 1 Apr 2001 16:20:41 +0200 (CEST) (envelope-from adrian) Date: Sun, 1 Apr 2001 16:20:41 +0200 From: Adrian Chadd To: David Xu Cc: freebsd-hackers@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: status of KSE? Message-ID: <20010401162041.B47943@roaming.cacheboy.net> References: <424452460.20010315150427@21cn.com> <3AB19407.222CAC7C@elischer.org> <3715226734.20010316125924@21cn.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3715226734.20010316125924@21cn.com>; from bsddiy@21cn.com on Fri, Mar 16, 2001 at 12:59:24PM +0800 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Mar 16, 2001, David Xu wrote: > I know KSE is not related to SMP and will run on UP. my primary > idea is want to run parellel I/O task in same process with pthread, > simply because FreeBSD pthread does not allow me to do multipile > I/O tasks at same time on disk file, of course, it is also conflicted > with SYSV IPC, so I think of KSE. I don't care about SMP, CPU is > enough fast now, I have already seen 1.3G hz CPU, how fast! I think > Intel and AMD can very easy to double their CPU clock, hope I can see > 3Ghz CPU in next year. I really do think KSE should work before SMP, > but it is obvious not. think about Apache 2.0, it is already > multi-threaded, FreeBSD pthread will be blocked at disk I/O, it is very > bad for Apache 2.0 . One could theoretically hack the pthreads port into using either external processes for disk IO, or the aio_ routines. Both of these would suffice. (Note that aio_ only does read/write/lseek, whilst open() and close() are still sync, and open() can take quite a while..) Adrian -- Adrian Chadd "Programming is like sex: One mistake and you have to support for a lifetime." -- rec.humor.funny To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message