From owner-cvs-all@FreeBSD.ORG Fri Apr 18 10:49:19 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF6DF37B401; Fri, 18 Apr 2003 10:49:18 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F4D143FE5; Fri, 18 Apr 2003 10:49:17 -0700 (PDT) (envelope-from eischen@pcnet1.pcnet.com) Received: from pcnet1.pcnet.com (localhost [127.0.0.1]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h3IHnGBg017880; Fri, 18 Apr 2003 13:49:16 -0400 (EDT) Received: from localhost (eischen@localhost)h3IHnFwe017872; Fri, 18 Apr 2003 13:49:15 -0400 (EDT) Date: Fri, 18 Apr 2003 13:49:15 -0400 (EDT) From: Daniel Eischen To: Robert Watson In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Daniel Eischen cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/lib/libpthread Makefilesrc/lib/libpthread/thread Makefile.inc thr_acl_aclcheck_fd.c thr_aio_suspend.c thr_attr_get_np.c thr_attr_init.c thr_attr_setcreatesuspend_np.c thr_attr_setguardsize.c thr_attr_setschedparam.c thr_attr_setscope.c ... X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 17:49:19 -0000 On Fri, 18 Apr 2003, Robert Watson wrote: > > On Thu, 17 Apr 2003, Daniel Eischen wrote: > > > This library now passes all of the ACE tests that libc_r passes > > with the exception of one. It also seems to work OK with KDE > > including konqueror, kwrite, etc. I haven't been able to get > > mozilla to run due to lack of java plugin, so I'd be interested > > to see how it works with that. > > Great news! Since things are now beginning to get to the usefully > runnable stage, could you (without investing too much time) answer two > questions: > > (1) Do we have any experience getting KSE up and running on SMP hosts? I don't have an SMP box, but David Xu is working on it. There is currently a problem getting one of his tests to work with an SMP kernel whereas it works with a UP kernel. This is with only one KSE. There are few things that we are working on: o Cleanup existing code looking for locking problems and bugs in general. o Fixing signal handling; the libthr signal changes broke this for us, and the current code has some hacks to try and work around it. It's not perfect, so don't expect signals to work fully yet. o Getting multiple KSEs up and running. > In the past this has been a sticking point for KSE, and recently there > have been problems for libthr as well. Give the threading goals of > (a) improved I/O latency, and (b) parallelism to see an improvement > over libc_r, SMP support is an important thing to know works, or is > close to working. Do you guys have the hardware you need to do that > testing? I don't, but David seems to. I'm not sure that having an SMP box would help me currently because there are other things I can work on (see all of the above). At some point, though, I should probably ask donations@ for one. > (2) Do we have any early performance measurements (quantitative or > otherwise) the compare for gains/losses vs. libc_r for libpthread? > I.e., comparison of context switch times, throughput for some pthread > application we like (dumb mysql test), etc? No, we (or at least me) are extremely busy trying to get other things fixed. This is certainly an area in which others are welcome to help. We could also use some testers to find bugs, especially if they can submit sample programs to demonstrate them, or even better -- patches to fix them :-) > Also, any luck getting KSE context management support up and running on > non-i386? No, I don't think I currently have any cycles available. I'm not sure about David, and Julian seems to be busy. Anyone from sparc@, alpha@, ia64@ are welcome to pick up the reigns. -- Dan Eischen