From owner-freebsd-performance@FreeBSD.ORG Wed Jan 25 11:22:12 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3BD416A41F for ; Wed, 25 Jan 2006 11:22:12 +0000 (GMT) (envelope-from tk@webmatic.de) Received: from trinity.webmatic.de (trinity.webmatic.de [212.78.99.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id A846043D6E for ; Wed, 25 Jan 2006 11:22:09 +0000 (GMT) (envelope-from tk@webmatic.de) Received: from tarpit.webmatic.de (tarpit.webmatic.de [212.78.101.46]) by trinity.webmatic.de (Postfix) with ESMTP id D8285F825 for ; Wed, 25 Jan 2006 12:22:07 +0100 (CET) Received: from localhost (localhost.webmatic.de [127.0.0.1]) by tarpit.webmatic.de (Postfix) with ESMTP id 9A03A33C42 for ; Wed, 25 Jan 2006 12:22:07 +0100 (CET) Received: from tarpit.webmatic.de ([127.0.0.1]) by localhost (tarpit.webmatic.de [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 34778-03 for ; Wed, 25 Jan 2006 12:22:02 +0100 (CET) Received: from gware.int.webmatic.de (gware.int.webmatic.de [10.20.30.50]) by tarpit.webmatic.de (Postfix) with ESMTP id 0EB9933C40 for ; Wed, 25 Jan 2006 12:22:02 +0100 (CET) Received: from [212.78.101.51] (chief-engineer.webmatic.de [212.78.101.51]) by gware.int.webmatic.de (Postfix) with ESMTP id 0BE9E20B3F8 for ; Wed, 25 Jan 2006 12:22:01 +0100 (CET) Message-ID: <43D75F58.7090505@webmatic.de> Date: Wed, 25 Jan 2006 12:22:00 +0100 From: "Thomas Krause (Webmatic)" User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at webmatic.de Subject: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 11:22:13 -0000 Hi, I've read a lot about mysql performance tuning - also on this list. 1) I can switch from libpthread to libthr, which should give a perfomance benefit. This is done in /etc/libmap.conf 2) I can build a static linked version of mysqld (BUILD_OPTIMIZED=yes), which should also give a performance benefit. But with static linked libraries, I cannot switch between libthread and libthr - right? Could somebody give me an inspiration/ recommendation? Kind regards, Thomas From owner-freebsd-performance@FreeBSD.ORG Wed Jan 25 18:28:37 2006 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4E3D816A41F for ; Wed, 25 Jan 2006 18:28:37 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from pinus.cc.fer.hr (pinus.cc.fer.hr [161.53.73.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7447E43D6E for ; Wed, 25 Jan 2006 18:28:36 +0000 (GMT) (envelope-from ivoras@fer.hr) Received: from [161.53.72.113] (lara.cc.fer.hr [161.53.72.113]) by pinus.cc.fer.hr (8.12.2/8.12.2) with ESMTP id k0PISTFx002822; Wed, 25 Jan 2006 19:28:29 +0100 (MET) Message-ID: <43D7C337.7080701@fer.hr> Date: Wed, 25 Jan 2006 19:28:07 +0100 From: Ivan Voras User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050921) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Thomas Krause (Webmatic)" References: <43D75F58.7090505@webmatic.de> In-Reply-To: <43D75F58.7090505@webmatic.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: performance@freebsd.org Subject: Re: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jan 2006 18:28:37 -0000 Thomas Krause (Webmatic) wrote: > But with static linked libraries, I cannot switch between > libthread and libthr - right? Could somebody give me an inspiration/ > recommendation? Unless you are ready to count individual CPU cycles, you won't find a noticable difference between static and dynamic linked executables on application such as MySQL. You should probably leave them dynamic so you can experiment with libmap. If you tried everything from here: http://wikitest.freebsd.org/moin.cgi/MySQL and still get low results, then you're out of luck. From owner-freebsd-performance@FreeBSD.ORG Thu Jan 26 00:27:00 2006 Return-Path: X-Original-To: performance@freebsd.org Delivered-To: freebsd-performance@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE31916A420 for ; Thu, 26 Jan 2006 00:27:00 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3CFFE43D48 for ; Thu, 26 Jan 2006 00:27:00 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 0F83346B83; Wed, 25 Jan 2006 19:26:53 -0500 (EST) Date: Thu, 26 Jan 2006 00:28:19 +0000 (GMT) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Ivan Voras In-Reply-To: <43D7C337.7080701@fer.hr> Message-ID: <20060126002646.R89523@fledge.watson.org> References: <43D75F58.7090505@webmatic.de> <43D7C337.7080701@fer.hr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: performance@freebsd.org, "Thomas Krause \(Webmatic\)" Subject: Re: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 00:27:00 -0000 On Wed, 25 Jan 2006, Ivan Voras wrote: > Thomas Krause (Webmatic) wrote: > >> But with static linked libraries, I cannot switch between >> libthread and libthr - right? Could somebody give me an inspiration/ >> recommendation? > > Unless you are ready to count individual CPU cycles, you won't find a > noticable difference between static and dynamic linked executables on > application such as MySQL. You should probably leave them dynamic so you can > experiment with libmap. > > If you tried everything from here: > http://wikitest.freebsd.org/moin.cgi/MySQL and still get low results, then > you're out of luck. BTW, I've updated the page to point at the timestamp wrapper library: http://www.watson.org/~robert/freebsd/clock/ Still the imperfect prototype, I'd love to see some practical feedback on any performance impact it has for MySQL or other applications along those lines. Basically, you preload this library and set an environmental variable to override the application's selection of clock quality for gettimeofday() and time(). Robert N M Watson From owner-freebsd-performance@FreeBSD.ORG Thu Jan 26 20:13:08 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A35316A420 for ; Thu, 26 Jan 2006 20:13:08 +0000 (GMT) (envelope-from Rich@WhiteOakLabs.com) Received: from whiteoaklabs.com (mail.whiteoaklabs.com [69.55.226.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2FB1443D45 for ; Thu, 26 Jan 2006 20:13:06 +0000 (GMT) (envelope-from Rich@WhiteOakLabs.com) Received: from xa.home.org (cpe-67-10-34-126.houston.res.rr.com [67.10.34.126]) by whiteoaklabs.com (8.12.11/8.12.11) with ESMTP id k0QKD3oj024481 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 26 Jan 2006 12:13:05 -0800 Received: from [127.0.0.1] (a.home.org [172.16.1.6]) by xa.home.org (8.13.4/8.13.4) with ESMTP id k0QKD2ip032987 for ; Thu, 26 Jan 2006 14:13:03 -0600 (CST) (envelope-from Rich@WhiteOakLabs.com) Message-ID: <43D92D49.4060908@WhiteOakLabs.com> Date: Thu, 26 Jan 2006 14:12:57 -0600 From: Rich Murphey User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-performance@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 20:13:08 -0000 I'm curious whether Robert's patch might have an effect on samba3 performance as well. This isn't very methodical, but I see about 60% increase samba3 read bandwidth (from 14MB/s to 26Mb/s) when changing from the default kern.timecounter.hardware=i8254 to TSC, which makes me wonder whether it might. Below are details.. Rich Murphey ------------------------------- Server: Samba3 on a dual xeon running FreeBSD 6.0 release. Client: nbench on windows XP SP2. Client and server are using intel pro 1000MT gigabit cards. Here's the nbench output w/comments: w/sysctl kern.timecounter.hardware=TSC: Disk Performance, MBytes/sec File size: 100.0 MBytes thread: 0 write: 7.93 read: 22.94 followed by kern.timecounter.hardware=i8254: Disk Performance, MBytes/sec File size: 100.0 MBytes thread: 0 write: 6.80 read: 14.01 and back to kern.timecounter.hardware=TSC: Disk Performance, MBytes/sec File size: 100.0 MBytes thread: 0 write: 7.77 read: 23.61 From owner-freebsd-performance@FreeBSD.ORG Thu Jan 26 23:29:56 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BCDF416A420 for ; Thu, 26 Jan 2006 23:29:56 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from smtp101.rog.mail.re2.yahoo.com (smtp101.rog.mail.re2.yahoo.com [206.190.36.79]) by mx1.FreeBSD.org (Postfix) with SMTP id 2ACF043D45 for ; Thu, 26 Jan 2006 23:29:55 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 98128 invoked from network); 26 Jan 2006 23:29:47 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=vm0pm31pWvmVP4MF/SWSZXgt9yfP4SQ+lBKqf2Wdx+F2p0YK8B6hzy/zr7nM3FM0+C3r3QbdZjLL5g2K0E2kGkF9YS8Iu4e1aaS2tU7l2OHq5bfiocexC9kpwNe871ugF0HfYn50AETrZ3wEIRnEi/n7hgYiEYqdAPvPAzMUudM= ; Received: from unknown (HELO ?70.30.133.184?) (mikej@rogers.com@70.30.133.184 with plain) by smtp101.rog.mail.re2.yahoo.com with SMTP; 26 Jan 2006 23:29:46 -0000 Message-ID: <43D95B6B.8070501@rogers.com> Date: Thu, 26 Jan 2006 18:29:47 -0500 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Rich Murphey References: <43D92D49.4060908@WhiteOakLabs.com> In-Reply-To: <43D92D49.4060908@WhiteOakLabs.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-performance@freebsd.org Subject: Re: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 23:29:56 -0000 Rich Murphey wrote: > I'm curious whether Robert's patch might have an > effect on samba3 performance as well. No real difference here, tried ACPI-fast, i8254, and TSC. :( My transfers still average at 10MB/s (although it did peak at 20MB/s once) Which is really horrible for a em gigabit link with jumbo frames enabled. The performance of Samba on FreeBSD just stinks, for unknown reasons. From owner-freebsd-performance@FreeBSD.ORG Fri Jan 27 01:04:36 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C62B16A420 for ; Fri, 27 Jan 2006 01:04:36 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id A66FF43D58 for ; Fri, 27 Jan 2006 01:04:34 +0000 (GMT) (envelope-from joao.barros@gmail.com) Received: by xproxy.gmail.com with SMTP id t12so307041wxc for ; Thu, 26 Jan 2006 17:04:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=K3fUgfdic43QwhE2JX1fyGUBregcG0EIDBjUY60xVGPYwexzecxEb0+ryN1IP7NVFT1DK4jrVvk8VsYZAnOBO664IJK3nhzatgf36cV5q18Y3mT3wSyDrbNQ+2RQOZT3WwpHafbYkrKEfG/p8pME7WDE4pufOI2256i2ep9aQto= Received: by 10.70.41.4 with SMTP id o4mr2866398wxo; Thu, 26 Jan 2006 17:04:33 -0800 (PST) Received: by 10.70.36.7 with HTTP; Thu, 26 Jan 2006 17:04:33 -0800 (PST) Message-ID: <70e8236f0601261704y5e64013elfb36ec99b409e171@mail.gmail.com> Date: Fri, 27 Jan 2006 01:04:33 +0000 From: Joao Barros To: Mike Jakubik In-Reply-To: <43D95B6B.8070501@rogers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <43D92D49.4060908@WhiteOakLabs.com> <43D95B6B.8070501@rogers.com> Cc: Rich Murphey , freebsd-performance@freebsd.org Subject: Re: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 01:04:36 -0000 On 1/26/06, Mike Jakubik wrote: > Rich Murphey wrote: > > I'm curious whether Robert's patch might have an > > effect on samba3 performance as well. > > No real difference here, tried ACPI-fast, i8254, and TSC. :( My > transfers still average at 10MB/s (although it did peak at 20MB/s once) > Which is really horrible for a em gigabit link with jumbo frames > enabled. The performance of Samba on FreeBSD just stinks, for unknown > reasons. No real difference here too... I started a thread on that subject not long ago and following Robert's tip setting net.inet.tcp.inflight.enable=3D0 yielded better results. -- Joao Barros From owner-freebsd-performance@FreeBSD.ORG Fri Jan 27 03:20:52 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 51EC816A423 for ; Fri, 27 Jan 2006 03:20:52 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 88F8143D62 for ; Fri, 27 Jan 2006 03:20:49 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 48585 invoked from network); 27 Jan 2006 03:20:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=ejzGg0aomDIzo17a4/s7vFtwG/GP+pevBjz/dzAD98QDBVDWnILlUMJuRWudjdj6s1o1f4JQliuBLmSEmEgFoi+iUiA14Sa7yTNlkLnYRmOzIXof1HhYi2Wf/ZZFsANDfQNoJj8Dg9CKngLY7TttmT35Pt4g/tOPtjBicB7gP9Y= ; Received: from unknown (HELO ?70.30.133.184?) (mikej@rogers.com@70.30.133.184 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 27 Jan 2006 03:20:48 -0000 Message-ID: <43D99192.9020000@rogers.com> Date: Thu, 26 Jan 2006 22:20:50 -0500 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Joao Barros References: <43D92D49.4060908@WhiteOakLabs.com> <43D95B6B.8070501@rogers.com> <70e8236f0601261704y5e64013elfb36ec99b409e171@mail.gmail.com> In-Reply-To: <70e8236f0601261704y5e64013elfb36ec99b409e171@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Rich Murphey , freebsd-performance@freebsd.org Subject: Re: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 03:20:52 -0000 Joao Barros wrote: > On 1/26/06, Mike Jakubik wrote: > >> Rich Murphey wrote: >> >>> I'm curious whether Robert's patch might have an >>> effect on samba3 performance as well. >>> >> No real difference here, tried ACPI-fast, i8254, and TSC. :( My >> transfers still average at 10MB/s (although it did peak at 20MB/s once) >> Which is really horrible for a em gigabit link with jumbo frames >> enabled. The performance of Samba on FreeBSD just stinks, for unknown >> reasons. >> > > No real difference here too... > > I started a thread on that subject not long ago and following Robert's > tip setting net.inet.tcp.inflight.enable=0 yielded better results. > Yep, i already have that one set to 0. That feature makes FreeBSD perform really poorly in a LAN environment. I don't see why it's even enabled by default. From owner-freebsd-performance@FreeBSD.ORG Fri Jan 27 05:10:27 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D2CA516A420 for ; Fri, 27 Jan 2006 05:10:27 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (ns1.ecoms.com [207.44.130.137]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F5A243D46 for ; Fri, 27 Jan 2006 05:10:27 +0000 (GMT) (envelope-from mv@roq.com) Received: from p4.roq.com (localhost.roq.com [127.0.0.1]) by p4.roq.com (Postfix) with ESMTP id 45ABA4CEA7; Fri, 27 Jan 2006 05:10:29 +0000 (GMT) Received: from [192.168.46.52] (ppp166-27.static.internode.on.net [150.101.166.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by p4.roq.com (Postfix) with ESMTP id 008D94C92E; Fri, 27 Jan 2006 05:10:27 +0000 (GMT) Message-ID: <43D9AB3E.3020806@roq.com> Date: Fri, 27 Jan 2006 16:10:22 +1100 From: Michael Vince User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.7.12) Gecko/20051208 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joao Barros References: <43D92D49.4060908@WhiteOakLabs.com> <43D95B6B.8070501@rogers.com> <70e8236f0601261704y5e64013elfb36ec99b409e171@mail.gmail.com> In-Reply-To: <70e8236f0601261704y5e64013elfb36ec99b409e171@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Cc: Rich Murphey , Mike Jakubik , freebsd-performance@freebsd.org Subject: Re: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jan 2006 05:10:27 -0000 Joao Barros wrote: >On 1/26/06, Mike Jakubik wrote: > > >>Rich Murphey wrote: >> >> >>>I'm curious whether Robert's patch might have an >>>effect on samba3 performance as well. >>> >>> >>No real difference here, tried ACPI-fast, i8254, and TSC. :( My >>transfers still average at 10MB/s (although it did peak at 20MB/s once) >>Which is really horrible for a em gigabit link with jumbo frames >>enabled. The performance of Samba on FreeBSD just stinks, for unknown >>reasons. >> >> > >No real difference here too... > >I started a thread on that subject not long ago and following Robert's >tip setting net.inet.tcp.inflight.enable=0 yielded better results. > >-- >Joao Barros >_______________________________________________ > > With the new TCP/IP stack replacement and major updates to the em driver in FreeBSD -current this should all turn around. I believe I saw a cvs commit for em a little while ago saying the new em driver can achieve higher transfer rates then using em with polling enabled. Hopefully this stuff will make it into 6.1-Release Mike From owner-freebsd-performance@FreeBSD.ORG Sat Jan 28 15:52:39 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 436FC16A422 for ; Sat, 28 Jan 2006 15:52:39 +0000 (GMT) (envelope-from Rich@WhiteOakLabs.com) Received: from whiteoaklabs.com (mail.whiteoaklabs.com [69.55.226.191]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7756A43D45 for ; Sat, 28 Jan 2006 15:52:36 +0000 (GMT) (envelope-from Rich@WhiteOakLabs.com) Received: from xa.home.org (cpe-67-10-34-126.houston.res.rr.com [67.10.34.126]) by whiteoaklabs.com (8.12.11/8.12.11) with ESMTP id k0SFqY9T031504 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 28 Jan 2006 07:52:35 -0800 Received: from [127.0.0.1] (a.home.org [172.16.1.6]) by xa.home.org (8.13.4/8.13.4) with ESMTP id k0SFqTqg070761 for ; Sat, 28 Jan 2006 09:52:30 -0600 (CST) (envelope-from Rich@WhiteOakLabs.com) Message-ID: <43DB9339.405@WhiteOakLabs.com> Date: Sat, 28 Jan 2006 09:52:25 -0600 From: "Dr. Rich Murphey" User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-performance@freebsd.org References: <43D92D49.4060908@WhiteOakLabs.com> <43D95B6B.8070501@rogers.com> <70e8236f0601261704y5e64013elfb36ec99b409e171@mail.gmail.com> <43D9AB3E.3020806@roq.com> In-Reply-To: <43D9AB3E.3020806@roq.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 15:52:39 -0000 Michael Vince wrote: > Joao Barros wrote: > >> On 1/26/06, Mike Jakubik wrote: >> >> >>> Rich Murphey wrote: >>> >>>> I'm curious whether Robert's patch might have an >>>> effect on samba3 performance as well. >>>> >>> No real difference here, tried ACPI-fast, i8254, and TSC. :( My >>> transfers still average at 10MB/s (although it did peak at 20MB/s once) >>> Which is really horrible for a em gigabit link with jumbo frames >>> enabled. The performance of Samba on FreeBSD just stinks, for unknown >>> reasons. >>> >> >> No real difference here too... >> >> I started a thread on that subject not long ago and following Robert's >> tip setting net.inet.tcp.inflight.enable=0 yielded better results. >> >> -- >> Joao Barros >> _______________________________________________ >> >> > With the new TCP/IP stack replacement and major updates to the em > driver in FreeBSD -current this should all turn around. I believe I > saw a cvs commit for em a little while ago saying the new em driver > can achieve higher transfer rates then using em with polling enabled. > Hopefully this stuff will make it into 6.1-Release > > Mike I'm using both polling on the em interfaces and net.inet.tcp.inflight.enable=0 w/6.0 release. Without these, I still see a a repeatable 10% or so increase when switching from i8254 to TSC timecounter. Cheers, Rich From owner-freebsd-performance@FreeBSD.ORG Sat Jan 28 21:03:19 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01B9916A422 for ; Sat, 28 Jan 2006 21:03:19 +0000 (GMT) (envelope-from mikej@rogers.com) Received: from smtp109.rog.mail.re2.yahoo.com (smtp109.rog.mail.re2.yahoo.com [68.142.225.207]) by mx1.FreeBSD.org (Postfix) with SMTP id 316C643D70 for ; Sat, 28 Jan 2006 21:03:13 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 46462 invoked from network); 28 Jan 2006 21:03:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=kdXjLBg8yiS7tkGFvIKXlQyB0DjI0zSTAaEJ8WMOTwRYKLdvNr5BRF90Lzv6A3kSccqdPGYOHlitXWd7afxKHo3pNTu8zeWMTb7sOIoYdev+g0p+6tzwXjTNmv3L/b80gXcKLFLY8gOYf1jVHBHGDjhWL0sxLog0XhjNE3K1+iw= ; Received: from unknown (HELO ?70.30.133.184?) (mikej@rogers.com@70.30.133.184 with plain) by smtp109.rog.mail.re2.yahoo.com with SMTP; 28 Jan 2006 21:03:13 -0000 Message-ID: <43DBDC23.5070800@rogers.com> Date: Sat, 28 Jan 2006 16:03:31 -0500 From: Mike Jakubik User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Michael Vince References: <43D92D49.4060908@WhiteOakLabs.com> <43D95B6B.8070501@rogers.com> <70e8236f0601261704y5e64013elfb36ec99b409e171@mail.gmail.com> <43D9AB3E.3020806@roq.com> In-Reply-To: <43D9AB3E.3020806@roq.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Rich Murphey , Joao Barros , freebsd-performance@freebsd.org Subject: Re: mysql performance tuning @ FreeBSD6 X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2006 21:03:19 -0000 Michael Vince wrote: > Joao Barros wrote: >> No real difference here too... >> >> I started a thread on that subject not long ago and following Robert's >> tip setting net.inet.tcp.inflight.enable=0 yielded better results. >> >> -- >> Joao Barros >> _______________________________________________ >> >> > With the new TCP/IP stack replacement and major updates to the em > driver in FreeBSD -current this should all turn around. I believe I > saw a cvs commit for em a little while ago saying the new em driver > can achieve higher transfer rates then using em with polling enabled. > Hopefully this stuff will make it into 6.1-Release These test *were* done on current, and yes, all debugging features are off. I don't think the problem is with network card drivers.