Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A470C9FB738 for ; Fri, 2 Mar 2007 12:35:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 99489-08 for ; Fri, 2 Mar 2007 12:35:02 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 24CF99FB6CA for ; Fri, 2 Mar 2007 12:35:02 -0400 (AST) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Fri, 2 Mar 2007 16:35:01 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 02 Mar 2007 10:35:01 -0600 Subject: Re: [kris@obsecurity.org: Progress on scaling of FreeBSD on 8 CPU systems] From: Scott Marlowe To: Alvaro Herrera Cc: "Jim C. Nasby" , pgsql-performance@postgresql.org In-Reply-To: <20070302150129.GF4885@alvh.no-ip.org> References: <20070227182621.GE29041@decibel.org> <20070302150129.GF4885@alvh.no-ip.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1172853301.20651.196.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 02 Mar 2007 10:35:01 -0600 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.053 tagged_above=0 required=5 tests=AWL, BAYES_50, SPF_PASS, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200703/62 X-Sequence-Number: 23467 On Fri, 2007-03-02 at 09:01, Alvaro Herrera wrote: > > From: Kris Kennaway > > > We have recently made significant progress on optimizing for MySQL > > running on an 8-core amd64 system. The graph of results may be found > > here: > > > > http://www.freebsd.org/~kris/scaling/scaling.png > > > > This shows the graph of MySQL transactions/second performed by a > > multi-threaded client workload against a local MySQL database with > > varying numbers of client threads, with identically configured FreeBSD > > and Linux systems on the same machine. > > Interesting -- the MySQL/Linux graph is very similar to the graphs from > the .nl magazine posted last year. I think this suggests that the > "MySQL deficiency" was rather a performance bug in Linux, not in MySQL > itself ... I rather think it's a combination of how MySQL does things and Linux not being optimized to handle that situation. It may well be that the fixes to BSD have simply moved the point at which performance dives off quickly from 50 connections to 300 or something. I'd really like to see freebsd tested on the 32 thread Sun CPU that had such horrible performance with linux, and with many more threads to see if there's still a cliff there somewhere, and to see where postgresql's cliff would be as well. After all, the most interesting part of performance graphs are the ones you see when the system is heading into overload.