pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Setup of four 15k SAS disk with LSI raid controller
6+ messages / 3 participants
[nested] [flat]

* Setup of four 15k SAS disk with LSI raid controller
@ 2013-03-13 17:43  Niels Kristian Schjødt <nielskristian@autouncle.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Niels Kristian Schjødt @ 2013-03-13 17:43 UTC (permalink / raw)
  To: pgsql-performance

I have a server with 32GB ram, one intel E3-1245 and four 15k SAS disks with a BB LSI MegaRaid controller. I wan't the optimal performance for my server, which will be pretty write heavy at times, and less optimized for redundancy, as my data is not very crucial and I will be running a streaming replication along side.

Now what would you prefer:

1) 3 disks in RAID 0 containing PGDATA + 1 containing SYSTEM and WAL
2) All four in RAID 10 containing both PGDATA, SYSTEM AND WAL
3) 2 disks in RAID 1 containing PGDATA + 2 disks in RAID 1 containing SYSTEM and WAL
4) Something different? 



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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Setup of four 15k SAS disk with LSI raid controller
@ 2013-03-13 18:15  Vasilis Ventirozos <v.ventirozos@gmail.com>
  parent: Niels Kristian Schjødt <nielskristian@autouncle.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Vasilis Ventirozos @ 2013-03-13 18:15 UTC (permalink / raw)
  To: pgsql-performance

raid0 tends to linear scaling so 3 of them should give something close to
300% increased write speed. So i would say 1. but make sure you test your
configuration as soon as you can with bonnie++ or something similar

On Wed, Mar 13, 2013 at 7:43 PM, Niels Kristian Schjødt <
nielskristian@autouncle.com> wrote:

> I have a server with 32GB ram, one intel E3-1245 and four 15k SAS disks
> with a BB LSI MegaRaid controller. I wan't the optimal performance for my
> server, which will be pretty write heavy at times, and less optimized for
> redundancy, as my data is not very crucial and I will be running a
> streaming replication along side.
>
> Now what would you prefer:
>
> 1) 3 disks in RAID 0 containing PGDATA + 1 containing SYSTEM and WAL
> 2) All four in RAID 10 containing both PGDATA, SYSTEM AND WAL
> 3) 2 disks in RAID 1 containing PGDATA + 2 disks in RAID 1 containing
> SYSTEM and WAL
> 4) Something different?
>
>
>
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
>

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Setup of four 15k SAS disk with LSI raid controller
@ 2013-03-13 18:37  Niels Kristian Schjødt <nielskristian@autouncle.com>
  parent: Vasilis Ventirozos <v.ventirozos@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Niels Kristian Schjødt @ 2013-03-13 18:37 UTC (permalink / raw)
  To: Vasilis Ventirozos <v.ventirozos@gmail.com>; +Cc: pgsql-performance

Den 13/03/2013 kl. 19.15 skrev Vasilis Ventirozos <v.ventirozos@gmail.com>:

> raid0 tends to linear scaling so 3 of them should give something close to 300% increased write speed. So i would say 1. but make sure you test your configuration as soon as you can with bonnie++ or something similar
> 
> On Wed, Mar 13, 2013 at 7:43 PM, Niels Kristian Schjødt <nielskristian@autouncle.com> wrote:
> I have a server with 32GB ram, one intel E3-1245 and four 15k SAS disks with a BB LSI MegaRaid controller. I wan't the optimal performance for my server, which will be pretty write heavy at times, and less optimized for redundancy, as my data is not very crucial and I will be running a streaming replication along side.
> 
> Now what would you prefer:
> 
> 1) 3 disks in RAID 0 containing PGDATA + 1 containing SYSTEM and WAL
> 2) All four in RAID 10 containing both PGDATA, SYSTEM AND WAL
> 3) 2 disks in RAID 1 containing PGDATA + 2 disks in RAID 1 containing SYSTEM and WAL
> 4) Something different?
A 5. option could also be to simply have all 4 disk in a RAID 0 containing all PGDATA, SYSTEM and WAL
> 
> 
> 
> --
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance
> 

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Setup of four 15k SAS disk with LSI raid controller
@ 2013-03-13 18:45  Vasilis Ventirozos <v.ventirozos@gmail.com>
  parent: Niels Kristian Schjødt <nielskristian@autouncle.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Vasilis Ventirozos @ 2013-03-13 18:45 UTC (permalink / raw)
  To: pgsql-performance

Its better to split WAL segments and data just because these two have
different io requirements and because its easier to measure and tune things
if you have them on different disks.

 Vasilis Ventirozos

On Wed, Mar 13, 2013 at 8:37 PM, Niels Kristian Schjødt <
nielskristian@autouncle.com> wrote:

> Den 13/03/2013 kl. 19.15 skrev Vasilis Ventirozos <v.ventirozos@gmail.com
> >:
>
> raid0 tends to linear scaling so 3 of them should give something close to
> 300% increased write speed. So i would say 1. but make sure you test your
> configuration as soon as you can with bonnie++ or something similar
>
> On Wed, Mar 13, 2013 at 7:43 PM, Niels Kristian Schjødt <
> nielskristian@autouncle.com> wrote:
>
>> I have a server with 32GB ram, one intel E3-1245 and four 15k SAS disks
>> with a BB LSI MegaRaid controller. I wan't the optimal performance for my
>> server, which will be pretty write heavy at times, and less optimized for
>> redundancy, as my data is not very crucial and I will be running a
>> streaming replication along side.
>>
>> Now what would you prefer:
>>
>> 1) 3 disks in RAID 0 containing PGDATA + 1 containing SYSTEM and WAL
>> 2) All four in RAID 10 containing both PGDATA, SYSTEM AND WAL
>> 3) 2 disks in RAID 1 containing PGDATA + 2 disks in RAID 1 containing
>> SYSTEM and WAL
>> 4) Something different?
>>
> A 5. option could also be to simply have all 4 disk in a RAID 0 containing
> all PGDATA, SYSTEM and WAL
>
>
>>
>>
>> --
>> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org
>> )
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-performance
>>
>
>
>

^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Setup of four 15k SAS disk with LSI raid controller
@ 2013-03-13 19:01  Joshua D. Drake <jd@commandprompt.com>
  parent: Vasilis Ventirozos <v.ventirozos@gmail.com>
  0 siblings, 1 reply; 6+ messages in thread

From: Joshua D. Drake @ 2013-03-13 19:01 UTC (permalink / raw)
  To: Vasilis Ventirozos <v.ventirozos@gmail.com>; +Cc: pgsql-performance


On 03/13/2013 11:45 AM, Vasilis Ventirozos wrote:
> Its better to split WAL segments and data just because these two have
> different io requirements and because its easier to measure and tune
> things if you have them on different disks.

Generally speaking you are correct but we are talking about RAID 0 here.

JD

-- 
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Support, Training, Professional Services and Development
High Availability, Oracle Conversion, Postgres-XC
@cmdpromptinc - 509-416-6579


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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Setup of four 15k SAS disk with LSI raid controller
@ 2013-03-13 19:26  Niels Kristian Schjødt <nielskristian@autouncle.com>
  parent: Joshua D. Drake <jd@commandprompt.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Niels Kristian Schjødt @ 2013-03-13 19:26 UTC (permalink / raw)
  To: Joshua D. Drake <jd@commandprompt.com>; +Cc: Vasilis Ventirozos <v.ventirozos@gmail.com>; pgsql-performance


Den 13/03/2013 kl. 20.01 skrev Joshua D. Drake <jd@commandprompt.com>:

> 
> On 03/13/2013 11:45 AM, Vasilis Ventirozos wrote:
>> Its better to split WAL segments and data just because these two have
>> different io requirements and because its easier to measure and tune
>> things if you have them on different disks.
> 
> Generally speaking you are correct but we are talking about RAID 0 here.
So your suggestion is?
> JD
> 
> -- 
> Command Prompt, Inc. - http://www.commandprompt.com/
> PostgreSQL Support, Training, Professional Services and Development
> High Availability, Oracle Conversion, Postgres-XC
> @cmdpromptinc - 509-416-6579
> 
> 
> -- 
> Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-performance



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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2013-03-13 19:26 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2013-03-13 17:43 Setup of four 15k SAS disk with LSI raid controller Niels Kristian Schjødt <nielskristian@autouncle.com>
2013-03-13 18:15 ` Vasilis Ventirozos <v.ventirozos@gmail.com>
2013-03-13 18:37   ` Niels Kristian Schjødt <nielskristian@autouncle.com>
2013-03-13 18:45     ` Vasilis Ventirozos <v.ventirozos@gmail.com>
2013-03-13 19:01       ` Joshua D. Drake <jd@commandprompt.com>
2013-03-13 19:26         ` Niels Kristian Schjødt <nielskristian@autouncle.com>

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