Date: Tue, 11 Jan 2000 05:34:20 -0600 From: "Richard Seaman, Jr." <dick@tar.com> To: Matthew Dillon <dillon@apollo.backplane.com> Cc: Scott Hess <scott@avantgo.com>, freebsd-hackers@FreeBSD.ORG, developer@lists.mysql.com Subject: Re: Concept check: iothreads addition to pthreads for MYSQL+FreeBSD. Message-ID: <20000111053419.D360@tar.com> In-Reply-To: <200001102336.PAA31453@apollo.backplane.com>; from dillon@apollo.backplane.com on Mon, Jan 10, 2000 at 03:36:23PM -0800 References: <1a6101bf5bc1$4e364b20$1e80000a@avantgo.com> <200001102336.PAA31453@apollo.backplane.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jan 10, 2000 at 03:36:23PM -0800, Matthew Dillon wrote: > A better solution may be to shift to FreeBSD4.0 (when it's released - > wait for it to become good and stable), and then use the native > linuxthreads port (/usr/ports/devel/linuxthreads) for FreeBSD. > > The linuxthreads port is at least four times faster and, since it uses > rfork(), will be I/O optimal. However, since only FreeBSD-4.x implements > rfork(...RF_MEM) you can only use it with FreeBSD-4.x (or am I wrong > there?). rfork (...RF_MEM) works under 3.X too on uni-processors. Its only SMP that you need 4.0 for. However, if you're going to use dynamic linking, there's a problem in ld-elf.so (its not thread safe) that has only been fixed recently. There are reported problems with both UP and SMP, but the problem is more evident with SMP. In theory the problem should exist for libc_r, but I don't know of any reports. -- Richard Seaman, Jr. email: dick@tar.com 5182 N. Maple Lane phone: 262-367-5450 Chenequa WI 53058 fax: 262-367-5852 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?20000111053419.D360>