Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TiYYx-0003P3-OM for pgsql-performance@arkaria.postgresql.org; Tue, 11 Dec 2012 22:44:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1TiYYx-0005dC-74 for pgsql-performance@arkaria.postgresql.org; Tue, 11 Dec 2012 22:44:31 +0000 Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TiYYv-0005c7-N5 for pgsql-performance@postgresql.org; Tue, 11 Dec 2012 22:44:30 +0000 Received: from mail-lb0-f174.google.com ([209.85.217.174]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TiYYt-0008F0-MZ for pgsql-performance@postgresql.org; Tue, 11 Dec 2012 22:44:29 +0000 Received: by mail-lb0-f174.google.com with SMTP id gi11so20868lbb.19 for ; Tue, 11 Dec 2012 14:44:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=g+jyt4Wywhn4OkydDbhAkgO4Rw536fYMA7WN2V68+g4=; b=X13SK4/gvHDa+WudUwMbOIPj6pQMh5n0ws0eh3H7oEOcf+NiPX/TI0mG7p2AdOQJYF gS0YQN4uldaYUd6T6u0RBuL+uQSfrJrAYtoc4mYEfM7PKF3RgMu+c5ykDmoiAMGOlKSh g6evzngFjSjDuT3BI6UXhsdqgaJZ3Ot3zkqhVVdatoEBjNdKuZsOl2bd6RldQZB1+802 m5DikNDYAB01khjiHx/eorbIYqHWGepz51En2LCZSuAaEhOOdjxGcfz8H5DGShV7BxBJ 17+de1UbCuJ5I7fFWsu9buz2SF+EM2YZXQe6gT4W2YFcawyGJ9gu/QfJT/c1coe06nOk gOtA== Received: by 10.152.131.168 with SMTP id on8mr8732860lab.38.1355265866377; Tue, 11 Dec 2012 14:44:26 -0800 (PST) Received: from [192.168.20.5] ([176.195.39.85]) by mx.google.com with ESMTPS id k7sm9884359lbf.4.2012.12.11.14.44.24 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 11 Dec 2012 14:44:25 -0800 (PST) Content-Type: multipart/alternative; boundary="Apple-Mail=_E544D603-B3D3-4BCE-9FB1-E8BD33CC5643" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Do I have a hardware or a software problem? From: Evgeny Shishkin In-Reply-To: Date: Wed, 12 Dec 2012 02:44:24 +0400 Cc: Jeff Janes , "pgsql-performance@postgresql.org" , Craig Ringer Message-Id: References: <8F7661E7-D6D4-4334-8C6A-A8B6C56A2C3F@autouncle.com> <50C7351C.30407@2ndQuadrant.com> <4507A68A-3CD5-4283-AFA5-1C0593427E14@autouncle.com> <67FBF3AF-5C6A-45D4-9206-7257C8C01C5E@gmail.com> To: =?iso-8859-1?Q?Niels_Kristian_Schj=F8dt?= X-Mailer: Apple Mail (2.1499) X-Pg-Spam-Score: -2.6 (--) 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 --Apple-Mail=_E544D603-B3D3-4BCE-9FB1-E8BD33CC5643 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Dec 12, 2012, at 2:41 AM, Niels Kristian Schj=F8dt = wrote: > Are you using a hardware based raid controller with them? >=20 Yes, of course. Hardware raid with cache and bbu is a must. You can't = get fast fsync without it. Also mdadm is a pain in the ass and is suitable only on amazon and other = cloud shit. > Den 11/12/2012 20.11 skrev "Evgeny Shishkin" : >=20 > On Dec 11, 2012, at 10:54 PM, Niels Kristian Schj=F8dt = wrote: >=20 >> And what is your experience so far? >>=20 > Increased tps by a factor of 10, database no longer a limiting factor = of application. > And it is cheaper than brand rotating drives. >=20 >=20 >> Den 11/12/2012 18.16 skrev "Evgeny Shishkin" : >>=20 >> On Dec 11, 2012, at 5:35 PM, Niels Kristian Schj=F8dt = wrote: >>=20 >> > >> > Den 11/12/2012 kl. 14.29 skrev Craig Ringer = : >> > >> >> On 12/11/2012 06:04 PM, Niels Kristian Schj=F8dt wrote: >> >>> >> >>> Maybe I should mention, that I never see more than max 5Gb out of = my total 32Gb being in use on the server=85 Can I somehow utilize more = of it? >> >> For an update-mostly workload it probably won't do you tons of = good so >> >> long as all your indexes fit in RAM. You're clearly severely >> >> bottlenecked on disk I/O not RAM. >> >>> The SSD's I use a are 240Gb each which will grow too small within = a >> >>> few months - so - how does moving the whole data dir onto four of >> >>> those in a RAID5 array sound? >> >> >> >> Not RAID 5! >> >> >> >> Use a RAID10 of four or six SSDs. >> >> >> >> -- >> >> Craig Ringer http://www.2ndQuadrant.com/ >> >> PostgreSQL Development, 24x7 Support, Training & Services >> >> >> > Hehe got it - did you have a look at the SSD's I am considering = building it of? = http://ark.intel.com/products/66250/Intel-SSD-520-Series-240GB-2_5in-SATA-= 6Gbs-25nm-MLC >> > Are they suitable do you think? >> > >>=20 >> I am not Craig, but i use them in production in raid10 array now. >>=20 >> > >> > >> > -- >> > Sent via pgsql-performance mailing list = (pgsql-performance@postgresql.org) >> > To make changes to your subscription: >> > http://www.postgresql.org/mailpref/pgsql-performance >>=20 >=20 --Apple-Mail=_E544D603-B3D3-4BCE-9FB1-E8BD33CC5643 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 nielskristian@autouncle.com> wrote:

Are you using a hardware based raid = controller with them?

Yes, of course. Hardware = raid with cache and bbu is a must. You can't get fast fsync without = it.
Also mdadm is a pain in the ass and is suitable only on = amazon and other cloud shit.

Den 11/12/2012 20.11 skrev "Evgeny Shishkin" = <itparanoia@gmail.com>:

On Dec 11, 2012, at = 10:54 PM, Niels Kristian Schj=F8dt <nielskristian@autouncle.com> = wrote:

And what is = your experience so far?

Increased tps by a factor = of 10, database no longer a limiting factor of = application.
And it is cheaper than brand rotating = drives.


Den 11/12/2012 18.16 skrev "Evgeny Shishkin" = <itparanoia@gmail.com>:

On Dec 11, 2012, at 5:35 PM, Niels Kristian Schj=F8dt <nielskristian@autouncle.com> wrote:

>
> Den 11/12/2012 kl. 14.29 skrev Craig Ringer <craig@2ndQuadrant.com>:
>
>> On 12/11/2012 06:04 PM, Niels Kristian Schj=F8dt wrote:
>>>
>>> Maybe I should mention, that I never see more than max 5Gb = out of my total 32Gb being in use on the server=85 Can I somehow utilize = more of it?
>> For an update-mostly workload it probably won't do you tons of = good so
>> long as all your indexes fit in RAM. You're clearly = severely
>> bottlenecked on disk I/O not RAM.
>>> The SSD's I use a are 240Gb each which will grow too small = within a
>>> few months - so - how does moving the whole data dir onto = four of
>>> those in a RAID5 array sound?
>>
>> Not RAID 5!
>>
>> Use a RAID10 of four or six SSDs.
>>
>> --
>> Craig Ringer               =     http://www.2ndQuadrant.com/
>> PostgreSQL Development, 24x7 Support, Training & = Services
>>
> Hehe got it - did you have a look at the SSD's I am considering = building it of? http://ark.intel.com/products/66250/Intel-SSD-520-Series= -240GB-2_5in-SATA-6Gbs-25nm-MLC
> Are they suitable do you think?
>

I am not Craig, but i use them in production in raid10 array now.

>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance=



= --Apple-Mail=_E544D603-B3D3-4BCE-9FB1-E8BD33CC5643--