From owner-freebsd-hackers Fri Mar 16 9:31:17 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from filk.iinet.net.au (syncopation-dns.iinet.net.au [203.59.24.29]) by hub.freebsd.org (Postfix) with SMTP id 80BBB37B718 for ; Fri, 16 Mar 2001 09:31:08 -0800 (PST) (envelope-from julian@elischer.org) Received: (qmail 26908 invoked by uid 666); 16 Mar 2001 17:32:22 -0000 Received: from i078-113.nv.iinet.net.au (HELO elischer.org) (203.59.78.113) by mail.m.iinet.net.au with SMTP; 16 Mar 2001 17:32:22 -0000 Message-ID: <3AB24DAF.7A26F40@elischer.org> Date: Fri, 16 Mar 2001 09:30:23 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Peter Pentchev Cc: David Xu , freebsd-hackers@freebsd.org, freebsd-current@freebsd.org Subject: Re: status of KSE? References: <424452460.20010315150427@21cn.com> <3AB19407.222CAC7C@elischer.org> <3715226734.20010316125924@21cn.com> <20010316191046.B428@ringworld.oblivion.bg> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Peter Pentchev wrote: > > On Fri, Mar 16, 2001 at 12:59:24PM +0800, David Xu wrote: > > Hello Julian, > > > > Friday, March 16, 2001, 12:18:15 PM, you wrote: > > > > JE> David Xu wrote: > > >> > > >> I wonder status of KSE, I am dreaming rewrite our application > > >> server using kqueue+pthread(KSE), current, we use poll()+pthread > > >> because pthread does not work with kqueue at present. > > >> > > >> -- > > >> Best regards, > > >> David Xu > > > > JE> KSE is not into coding yet. > > JE> we have a basic design and have soem documents but > > JE> have been waiting for the SMPng stuff to settle a bit before we > > JE> hit the kernel with a second huge change. > > > > JE> It will not be ready for a long time. do not assume that it > > JE> will be ready for when you need it becasue it will not. > > > > 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 . > > I believe Julian's SMP-related comments were referring to the fact that > SMP development has rendered the -current kernel somewhat unstable at > times (to say the least). KSE-related work would introduce yet another > probable path for instabilities, and the developers prefer dealing with > one huge monster at a time. There is also the fact that KSE work shall > most probably touch many places in the kernel that SMP development also > touches - yet another reason to postpone KSE until SMP is kind-of do That is it. Having said that, Jason and I have patches that start on the first steps towards KSE. That is, the breaking up of the present monolithic 'process' structure. given current slight increases in stablility in -current/SMP I am currently thiunking about whether these changes can start to be added soon. I will also be looking at updating and expanding the KSE documant that Jason put out. > > G'luck, > Peter > > -- > You have, of course, just begun reading the sentence that you have just finished reading. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message