From owner-freebsd-hackers Mon Jan 10 17:19:21 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id BD89114F77 for ; Mon, 10 Jan 2000 17:19:14 -0800 (PST) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id TAA05631; Mon, 10 Jan 2000 19:19:05 -0600 (CST) (envelope-from cdillon@wolves.k12.mo.us) Date: Mon, 10 Jan 2000 19:19:05 -0600 (CST) From: Chris Dillon To: Scott Hess Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Concept check: iothreads addition to pthreads for MYSQL+FreeBSD. In-Reply-To: <1a6101bf5bc1$4e364b20$1e80000a@avantgo.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 10 Jan 2000, Scott Hess wrote: > 4) Is there anyone willing to commit to testing my modified pthreads > library against MYSQL? [I'll be stress testing it quite heavily, of > course. It would probably also be testable against Squid with async I/O > and multithreaded Apache 2.0.] I'm willing to test this on Squid 2.2STABLE5 with async I/O compiled in, assuming I can get it to compile. Currently when I try to compile the Squid port with --enable-async-io, it complains thusly: cc -O -pipe -D_REENTRANT -I. -I../include -I../include -c send-announce.c aiops.o(.text+0x80): undefined reference to `pthread_cond_init' aiops.o(.text+0xaf): undefined reference to `pthread_create' aiops.o: In function `aio_thread_loop': aiops.o(.text+0x130): undefined reference to `pthread_sigmask' aiops.o(.text+0x139): undefined reference to `pthread_mutex_lock' aiops.o(.text+0x169): undefined reference to `pthread_cond_timedwait' aiops.o: In function `aio_process_request_queue': aiops.o(.text+0x64e): undefined reference to `pthread_cond_signal' *** Error code 1 Stop. I'm running a very recent 3.4-STABLE. I'm assuming the work you do will apply to -STABLE since you're running a production server. :-) This box only gets an average load most of the time, but will see an occasional high peak, so it should be a fair test subject. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For Intel x86 and Alpha architectures. ( http://www.freebsd.org ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message