Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TfvLm-0004J6-G5 for pgsql-performance@arkaria.postgresql.org; Tue, 04 Dec 2012 16:28:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TfvLl-0005FD-J9 for pgsql-performance@arkaria.postgresql.org; Tue, 04 Dec 2012 16:28:01 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TfvLk-0005Dl-9J for pgsql-performance@postgresql.org; Tue, 04 Dec 2012 16:28:00 +0000 Received: from mail.kickstone.com ([46.37.63.75]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TfvLi-0000Ef-2g for pgsql-performance@postgresql.org; Tue, 04 Dec 2012 16:27:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kickstone.com; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=m10+kwqxUABr7uDwPg0a1U/CPbtAyxrbEMXecnziRdQ=; b=xXxuc7IN7z60AOIdt3cpBhW/H9vZlN+PGRQlCcnYqLNhNzcjWsO32P+KnP9NnKDSQkzBZ6Qru34rwoV+n9wqxnQLF2Bk/FepReuTzUIqqftlX61DpQny+dVQNviHJrPX; Received: from gw1-york.kickstone.com ([46.37.63.73]:60417 helo=[192.168.2.133]) by mail.kickstone.com with esmtpa (Exim 4.76) (envelope-from ) id 1TfvLg-0003xe-NS; Tue, 04 Dec 2012 16:27:56 +0000 Message-ID: <50BE2533.5050101@kickstone.com> Date: Tue, 04 Dec 2012 16:30:43 +0000 From: John Lister User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Merlin Moncure CC: pgsql-performance@postgresql.org Subject: Re: Comparative tps question References: <50B659EC.4080509@kickstone.com> <50B793C5.3070806@kickstone.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 29/11/2012 17:33, Merlin Moncure wrote: > one thing that immediately jumps out here is that your wal volume > could be holding you up. so it's possible we may want to move wal to > the ssd volume. if you can scrounge up a 9.2 pgbench, we can gather > more evidence for that by running pgbench with the "--unlogged-tables" > option, which creates the tables unlogged so that they are not wal > logged (for the record, this causes tables to be truncated when not > shut down in clean state). Ok, got myself a 9.2 version of pgbench and run it a few times on unlogged tables... changing the number of threads has maybe a 5% change in values which isn't probably too much to worry about. -j 25 -c 100 -s 100 gives a tps of around 10.5k using -N ups that to around 20k using -S ups that again to around 40k I'll have to wait until I get to shut the db down again to try the wal on an ssd. Although unless I did something wrong it didn't seem to make a huge difference before.... During these tests, iowait dropped to almost 0, user and sys stayed around the same (60% and 20% respectively). although the disk traffic was only in the 10s of Mb/s which seems very low - unless there is some wierd caching going on and it gets dumped at a later date? John -- Get the PriceGoblin Browser Addon www.pricegoblin.co.uk -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance