From: Evgeny Shishkin <itparanoia@gmail.com>
To: Niels Kristian Schjødt <nielskristian@autouncle.com>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Cc: Craig Ringer <craig@2ndquadrant.com>
Subject: Re: Do I have a hardware or a software problem?
Date: Wed, 12 Dec 2012 02:44:24 +0400
Message-ID: <ED7DEE06-B822-43E0-AF49-D89BB40C4C83@gmail.com> (raw)
In-Reply-To: <CADZnK0=0q9Ti9jVpCX3VX=3X_Rs=AxONhxC9cejnbOd5GKjb4A@mail.gmail.com>
References: <AE27BD07-7A3A-449A-BD3F-A0DF4EF76C04@autouncle.com>
<CAMkU=1zcXD5YWMD=QOAdoNG0BKoB-DAXKbzBKybE-3w-YzhSgw@mail.gmail.com>
<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>
<CADZnK0nmm=2WnVVsveu3j0sJ95Ct13SqKbjQ_9DeVCGAmrcggw@mail.gmail.com>
<E2A43856-FE0A-44BC-9764-C3CA533D94D9@gmail.com>
<CADZnK0=0q9Ti9jVpCX3VX=3X_Rs=AxONhxC9cejnbOd5GKjb4A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>
On Dec 12, 2012, at 2:41 AM, Niels Kristian Schjødt <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ødt <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ødt <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ødt wrote:
>> >>>
>> >>> Maybe I should mention, that I never see more than max 5Gb out of my total 32Gb being in use on the server… 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
>>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-performance@postgresql.org
Cc: itparanoia@gmail.com, nielskristian@autouncle.com, jeff.janes@gmail.com, craig@2ndquadrant.com
Subject: Re: Do I have a hardware or a software problem?
In-Reply-To: <ED7DEE06-B822-43E0-AF49-D89BB40C4C83@gmail.com>
References: <AE27BD07-7A3A-449A-BD3F-A0DF4EF76C04@autouncle.com> <CAMkU=1zcXD5YWMD=QOAdoNG0BKoB-DAXKbzBKybE-3w-YzhSgw@mail.gmail.com> <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> <CADZnK0nmm=2WnVVsveu3j0sJ95Ct13SqKbjQ_9DeVCGAmrcggw@mail.gmail.com> <E2A43856-FE0A-44BC-9764-C3CA533D94D9@gmail.com> <CADZnK0=0q9Ti9jVpCX3VX=3X_Rs=AxONhxC9cejnbOd5GKjb4A@mail.gmail.com> <ED7DEE06-B822-43E0-AF49-D89BB40C4C83@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox