Re: [PERFORM] BBU still needed with SSD?

2011-07-21 Thread Klaus Ita
Have you also created your partitions with a reasonably new fdisk (or equivalent) with -c -u as options? Your partitions should be starting somewhere at 2048 i guess (let the sw figure that out). The fast degradation of the one disk might indicate bad partitioning? (maybe recheck with a grml.iso

Re: [PERFORM] BBU still needed with SSD?

2011-07-19 Thread Florian Weimer
* Yeb Havinga: The biggest drawback of 2 SSD's with supercap in hardware raid 1, is that if they are both new and of the same model/firmware, they'd probably reach the end of their write cycles at the same time, thereby failing simultaneously. I thought so too, but I've got two Intel 320s (I

Re: [PERFORM] BBU still needed with SSD?

2011-07-19 Thread Greg Smith
On 07/18/2011 11:56 PM, Andy wrote: I'm talking about after I get 2 Intel 320s, should I spend the extra money on a RAID BBU? Adding RAID BBU in this case wouldn't improve reliability, but does it improve performance? If so, how much improvement can it bring? It won't improve performance

Re: [PERFORM] BBU still needed with SSD?

2011-07-19 Thread Yeb Havinga
On 2011-07-19 09:56, Florian Weimer wrote: * Yeb Havinga: The biggest drawback of 2 SSD's with supercap in hardware raid 1, is that if they are both new and of the same model/firmware, they'd probably reach the end of their write cycles at the same time, thereby failing simultaneously. I

Re: [PERFORM] BBU still needed with SSD?

2011-07-19 Thread Florian Weimer
* Yeb Havinga: On 2011-07-19 09:56, Florian Weimer wrote: * Yeb Havinga: The biggest drawback of 2 SSD's with supercap in hardware raid 1, is that if they are both new and of the same model/firmware, they'd probably reach the end of their write cycles at the same time, thereby failing

Re: [PERFORM] BBU still needed with SSD?

2011-07-19 Thread Yeb Havinga
On 2011-07-19 12:47, Florian Weimer wrote: It would be interesting to see if the drives also show total xyz written, and if that differs a lot too. Do you know how to check that with smartctl? smartctl -a /dev/your disk should show all values. If it shows something that looks like garbage,

Re: [PERFORM] BBU still needed with SSD?

2011-07-19 Thread Florian Weimer
* Yeb Havinga: On 2011-07-19 12:47, Florian Weimer wrote: It would be interesting to see if the drives also show total xyz written, and if that differs a lot too. Do you know how to check that with smartctl? smartctl -a /dev/your disk should show all values. If it shows something that

Re: [PERFORM] BBU still needed with SSD?

2011-07-19 Thread Yeb Havinga
On 2011-07-19 13:37, Florian Weimer wrote: Is this Total_LBAs_Written? I got the same name Total_LBAs_Written on an 5.39 smartmontools, which was renamed to 241 Lifetime_Writes_GiB after upgrade to 5.42. Note that this is smartmontools new interpretation of the values, which happen to match

Re: [PERFORM] BBU still needed with SSD?

2011-07-19 Thread Greg Smith
Yeb Havinga wrote: So for the Intels it's probably also lifetime writes in GB but you'd have to check with an Intel smart values reader to be absolutely sure. With my 320 series drive, the LBA units are pretty clearly 32MB each. Watch this: root@toy:/ssd/data# smartctl --version smartctl

Re: [PERFORM] BBU still needed with SSD?

2011-07-18 Thread Yeb Havinga
On 2011-07-18 03:43, Andy wrote: Hi, Is BBU still needed with SSD? SSD has its own cache. And in certain models such as Intel 320 that cache is backed by capacitors. So in a sense that cache acts as a BBU that's backed by capacitors instead of batteries. In this case is BBU still needed? If

Re: [PERFORM] BBU still needed with SSD?

2011-07-18 Thread David Rees
On Sun, Jul 17, 2011 at 7:30 PM, Craig Ringer cr...@postnewspapers.com.au wrote: On 18/07/2011 9:43 AM, Andy wrote: Is BBU still needed with SSD? You *need* an SSD with a supercapacitor or on-board battery backup for its cache. Otherwise you *will* lose data. Consumer SSDs are like a hard

Re: [PERFORM] BBU still needed with SSD?

2011-07-18 Thread Greg Smith
Andy wrote: SSD has its own cache. And in certain models such as Intel 320 that cache is backed by capacitors. So in a sense that cache acts as a BBU that's backed by capacitors instead of batteries. Tests I did on the 320 series says it works fine:

Re: [PERFORM] BBU still needed with SSD?

2011-07-18 Thread Andy
--- On Mon, 7/18/11, David Rees dree...@gmail.com wrote: In this case is BBU still needed? If I put 2 SSD in software RAID 1, would that be any slower than 2 SSD in HW RAID 1 with BBU? What are the pros and cons? What will perform better will vary greatly depending on the exact

Re: [PERFORM] BBU still needed with SSD?

2011-07-18 Thread Bruce Momjian
Andy wrote: --- On Mon, 7/18/11, David Rees dree...@gmail.com wrote: In this case is BBU still needed? If I put 2 SSD in software RAID 1, would that be any slower than 2 SSD in HW RAID 1 with BBU? What are the pros and cons? What will perform better will vary greatly

Re: [PERFORM] BBU still needed with SSD?

2011-07-18 Thread Andy
I'm not comparing SSD in SW RAID with rotating disks in HW RAID with BBU though. I'm just comparing SSDs with or without BBU. I'm going to get a couple of Intel 320s, just want to know if BBU makes sense for them. Yes, it certainly does, even if you have a RAID BBU. even if you

[PERFORM] BBU still needed with SSD?

2011-07-17 Thread Andy
Hi, Is BBU still needed with SSD? SSD has its own cache. And in certain models such as Intel 320 that cache is backed by capacitors. So in a sense that cache acts as a BBU that's backed by capacitors instead of batteries. In this case is BBU still needed? If I put 2 SSD in software RAID 1,

Re: [PERFORM] BBU still needed with SSD?

2011-07-17 Thread Craig Ringer
On 18/07/2011 9:43 AM, Andy wrote: Hi, Is BBU still needed with SSD? You *need* an SSD with a supercapacitor or on-board battery backup for its cache. Otherwise you *will* lose data. Consumer SSDs are like a hard disk attached to a RAID controller with write-back caching enabled and no BBU.