From owner-cvs-all@FreeBSD.ORG Wed Apr 28 14:37:18 2004 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 A7CA416A4D2 for ; Wed, 28 Apr 2004 14:37:18 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 20BC443D4C for ; Wed, 28 Apr 2004 14:37:18 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 47516 invoked from network); 28 Apr 2004 21:37:17 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 28 Apr 2004 21:37:17 -0000 X-pair-Authenticated: 209.68.2.70 Date: Wed, 28 Apr 2004 16:53:18 -0500 (CDT) From: Mike Silbersack To: Daniel Eischen In-Reply-To: Message-ID: <20040428165138.Q5009@odysseus.silby.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys proc.h src/sys/kern kern_thread.c subr_sleepqueue.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: Wed, 28 Apr 2004 21:37:18 -0000 On Wed, 28 Apr 2004, Daniel Eischen wrote: > > Interestingly enough, in addition to stumbling upon this problem with > > mysql, the benchmarking I'm doing for a class project also found a problem > > in the mysql client libraries. For some reasons, when selecting blobs, > > libmysql will get into a loop where it does 4 byte reads. Yes, it will > > read entire 100K objects 4 bytes at a time. I'll post about this to the > > relevant mailing lists next week... > > That sounds like a mysql bug. The threads libraries (except for > libc_r) don't do anything with read(). > > -- > Dan Eischen Apologies, I didn't mean to implicate the threading libraries in regards to this bug. The client program that's doing the dumb reads isn't threaded. I mentioned it in the same thread because I was thinking that if this client bug is slowing down MySQL's client libraries on all FreeBSD systems, then once it's fixed _and_ libpthread works well, MySQL will really fly! Mike "Silby" Silbersack