Date: Wed, 16 Jul 2003 07:30:39 +0800 From: "David Xu" <davidxu@freebsd.org> To: "Craig Rodrigues" <rodrigc@crodrigues.org>, <freebsd-threads@freebsd.org> Cc: Craig Rodrigues <rodrigc@crodrigues.org> Subject: Re: ACE Proactor and libkse Message-ID: <002801c34b29$1a9831b0$0701a8c0@tiger> References: <20030411234140.GA51044@attbi.com><Pine.GSO.4.10.10304111945260.15530-100000@pcnet1.pcnet.com> <20030715175141.GA99650@crodrigues.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Can you test my libkse patch ? http://people.freebsd.org/~davidxu/libpthread_bound.diffs If you can test the patch to make sure I don't break signal code, then I will commit this patch.=20 The patch is used to remove system scope thread's upcall, and make libkse to have ability to run in pure 1:1 mode, the patch also changes the way of delivering signal to bound thread. Make sure to update your kernel source code to most recent, I have committed a fix for kse_create yesterday. I have already past all 2 hours MySQL server benchmark test. its funny test suit mysql-test is also past except some problems which may not related to thread library. You can test libkse in two modes: M:N and 1:1, uncomment line "CFLAGS+=3D-DSYSTEM_SCOPE_ONLY" in Makefile will make libkse in 1:1 mode, comment out the line will make libkse in M:N mode. Your help is always appreciated, David Xu ----- Original Message -----=20 From: "Craig Rodrigues" <rodrigc@crodrigues.org> To: <freebsd-threads@freebsd.org> Cc: "Craig Rodrigues" <rodrigc@crodrigues.org> Sent: Wednesday, July 16, 2003 1:51 AM Subject: ACE Proactor and libkse > On Fri, Apr 11, 2003 at 07:51:49PM -0400, Daniel Eischen wrote: > > > >=20 > > > > libkse libc_r > > > > ACE 5.3.1 Test Pass? Pass? > > > > ------------------------------------------------ > > > > Cached_Conn_Test No No > > > > Conn_Test No Yes > > > > MT_Reactor_Timer_Test No Yes > > > > Malloc_Test No No > > > > Proactor_Test No No > > > > Proactor_Timer_Test No No >=20 >=20 > Hi, >=20 > I just contributed a patch to ACE which I believe fixes > the Proactor_Test under FreeBSD. The Proactor_Test seems > to *only* work with with KSE, i.e. I specified that libkse > should be used in my /etc/libmap.conf. >=20 > If anyone is interested in trying this out, you can check out > the head of the ACE CVS repository by doing: >=20 > (0) Make sure that /etc/libmap.conf is configured to use libkse > (1) cvs -d :pserver:anonymous@anoncvs.ociweb.com:/cvs login > (2) (just press <Enter> when prompted for password) > (3) cvs -d :pserver:anonymous@anoncvs.ociweb.com:/cvs co ACE > (4) Set the environment ACE_ROOT environment variable to the root=20 > directory of where all the ACE files get extracted to > (5) Set the environment variable LD_LIBRARY_PATH to $ACE_ROOT/ace > (6) Create a file $ACE_ROOT/ace/config.h with one line: > #include "ace/config-freebsd.h" > (7) Create a file $ACE_ROOT/include/makeinclude/platform_macros.GNU = with one line: > include $(ACE_ROOT)/include/makeinclude/platform_freebsd.GNU >=20 >=20 > (8) cd $ACE_ROOT; gmake > (9) cd $ACE_ROOT/tests ; run_tests.pl >=20 >=20 > What is the status of KSE + signals? Signals seem to make a big = difference > with the ACE Proactor. The Proactor_Test seems to work with libkse, > but not libc_r, and I think it is due to signals. >=20 > Thanks. > --=20 > Craig Rodrigues =20 > http://crodrigues.org > rodrigc@crodrigues.org > _______________________________________________ > freebsd-threads@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-threads > To unsubscribe, send any mail to = "freebsd-threads-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002801c34b29$1a9831b0$0701a8c0>