Hi all,
I've had a stable zfs setup for home use for a year or so now on an old dual xeon box with 2GB of RAM (sadly, it's so old that there's no 64 bit support) and it's been great. I started with 9 250GB PATA drives in a raidz1 array (used 6, 3 were idle) on a 3Ware card and since they are old and crappy (Maxtors from 2002) I went through 3 drive failures. This was good - I got to see zfs in action, I got to practice replacing drives, everything was great. I filled this array to about 90% and my reads were around 100MB/s with writes around 80MB/s (bonnie++).
I recently upgraded to 8.2, moved my root to mirrored (UFS2) CF cards, and added 4 Samsung HD103SJ 1TB drives hanging off of two PCI-X siis cards. 1 drive is a spare, the other 3 are in a raidz1 array.
All changes at once, yay for complicating troubleshooting!
I now see about 36MB/s reads and 29MB/s writes. This seems a bit low - even though I cut my number of spindles in half, I've got a faster controller, marginally better drives and more cache onboard each drive, as well as stuff like NCQ. From seeing others with 3 disk arrays on consumer drives, I'd expect at least 80MB/s reads.
Given that I'm on i386, what are some of these crazy tunables I saw discussed on -stable recently that would be appropriate for this setup? Currently I've just got loader.conf setup like so to prevent panics from memory exhaustion:
I so wish the tunables were documented somewhere - the thread I can't find now from -stable had some interesting stuff for a guy with bad smb performance, but it didn't give me much insight as to why these various tunables need to be changed or how they all interact.
I do still need to grab the spare samsung and see what kind of non-zfs single-drive speeds I get from it with bonnie.
Any tips welcome!
I've had a stable zfs setup for home use for a year or so now on an old dual xeon box with 2GB of RAM (sadly, it's so old that there's no 64 bit support) and it's been great. I started with 9 250GB PATA drives in a raidz1 array (used 6, 3 were idle) on a 3Ware card and since they are old and crappy (Maxtors from 2002) I went through 3 drive failures. This was good - I got to see zfs in action, I got to practice replacing drives, everything was great. I filled this array to about 90% and my reads were around 100MB/s with writes around 80MB/s (bonnie++).
I recently upgraded to 8.2, moved my root to mirrored (UFS2) CF cards, and added 4 Samsung HD103SJ 1TB drives hanging off of two PCI-X siis cards. 1 drive is a spare, the other 3 are in a raidz1 array.
All changes at once, yay for complicating troubleshooting!
I now see about 36MB/s reads and 29MB/s writes. This seems a bit low - even though I cut my number of spindles in half, I've got a faster controller, marginally better drives and more cache onboard each drive, as well as stuff like NCQ. From seeing others with 3 disk arrays on consumer drives, I'd expect at least 80MB/s reads.
Given that I'm on i386, what are some of these crazy tunables I saw discussed on -stable recently that would be appropriate for this setup? Currently I've just got loader.conf setup like so to prevent panics from memory exhaustion:
Code:
vm.kmem_size_max="1000M"
vm.kmem_size="1000M"
vfs.zfs.arc_max="200M"
I so wish the tunables were documented somewhere - the thread I can't find now from -stable had some interesting stuff for a guy with bad smb performance, but it didn't give me much insight as to why these various tunables need to be changed or how they all interact.
I do still need to grab the spare samsung and see what kind of non-zfs single-drive speeds I get from it with bonnie.
Any tips welcome!