linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* SSD + Rust as raid1
@ 2013-05-30 21:23 Dominic Raferd
  2013-05-31  0:22 ` Mathias Burén
  2013-05-31  7:30 ` Roman Mamedov
  0 siblings, 2 replies; 18+ messages in thread
From: Dominic Raferd @ 2013-05-30 21:23 UTC (permalink / raw)
  To: linux-raid

I am wanting to (re)set up my raid1 array with 1 SSD partition 
(/dev/sda2) and 1 'rust' drive partition (/dev/sdb1) , both 240GB. SSD 
will also have a very small ext2 partition mounted as /mnt/sda1 (to hold 
the write-intent bitmap file).

To get the full speed of the SSD for reads and to maximise speed for 
writes I plan to use these settings:

mdadm -C /dev/md0 --level=raid1 -n 2 /dev/sda2 --write-mostly 
--write-behind=16384 --bitmap=/mnt/sda1/write-intent-bitmap.file 
--bitmap-chunk=256M dev/sdb1

Will this work and be optimal? I am not too bothered about the 
write-intent bitmap file but it is not optional I think, hence I set a 
large chunk size, could or should it be even larger (or smaller)? 
Similarly I have tried to set a high write-behind to speed up writes as 
much as possible - is 16384 the maximum allowed?

My system has mdadm 3.2.3 and kernel 3.2.26.

Any suggestions gratefully received.

Dominic

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

end of thread, other threads:[~2013-06-10  8:57 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30 21:23 SSD + Rust as raid1 Dominic Raferd
2013-05-31  0:22 ` Mathias Burén
2013-05-31  7:02   ` Dominic Raferd
2013-05-31  7:30 ` Roman Mamedov
2013-05-31  7:47   ` Dominic Raferd
2013-05-31  7:54     ` Roman Mamedov
2013-05-31  8:52       ` Dominic Raferd
2013-06-04  8:13         ` Dominic Raferd
2013-06-07 22:23           ` Bill Davidsen
2013-06-08 10:22             ` Roman Mamedov
2013-06-08 17:11               ` Bill Davidsen
2013-06-08 21:58                 ` Roberto Spadim
2013-06-10  8:57                   ` Dominic Raferd
2013-06-01  0:25   ` Stan Hoeppner
2013-06-01  1:19     ` Keith Keller
2013-06-01  4:37       ` Stan Hoeppner
2013-06-07 22:16       ` Bill Davidsen
2013-06-01  1:30     ` Sam Bingner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).