![]() |
Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
I finally got myself a Micro SD card for my N900, and it struck me, why not RAID-0 the Micro SD and the MMC. That should make it fast and big, and since I rsync everything each night, I can RAID-0 without fear.
Does anyone have any experience with doing this? Most importantly, does the latest Power Kernel have RAID-support? |
Re: Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
Quote:
That being said it should be possible to spread loads by other means, just not RAIDing; I saw a kernel module (this was a couple of years ago) that simulated a Flash-Based device and every byte written to an odd-numbered sector was sent to one HDD and vice-versa, probably too CPU-intensive for N900 but who knows... |
Re: Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
Quote:
If the kernel does support RAID, then it should be possible. I don't see how a RAID-0 will improve performance across the SD card and MMC. The RAID performance will be tied to the lowest performing member of the set. If the SD card is slow, expect the RAID to perform slowly as well. That being said. As a proof of concept, you could dd a few test images, mount them as loop devices, and then RAID them to see if it will work. |
Re: Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
Hardware RAID often works best with identical disks, but the Linux software RAID is actually very forgiving, so I think the slight differences will be OK.
I am hoping that the striping will give me more bandwidth. Apparently there is an advantage to using an extra parallel swap partition on your sd card if the sd card is fast enough, so I was hoping that I could get the same advantage to disk access in general. I made a large file from /dev/urandom and timed when copying it to both the MMC and the sd card (from root). The sd card and the MMC seem to have roughly the same speed, at least for sequential writes. Does anyone have any experience with doing this? Are there any problems? Any advice? |
Re: Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
Quote:
|
Re: Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
You're doing it in pursuit of MOAR SPEED, eh? Pendrive/SD raids were tested numerous times, and performance is miserable. So miserable, that "flash raid" or "pendrive raid" has become some sort of pun-name*, when someone want to gain only numerological performance advantage (with no impact in real life).
/Estel *See "Maemo administration" or "Hildon Board of Directors", for other popular pun-names. |
Re: Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
jack: It's a a SanDisk 32GB UHS-1 30MB/s SD card.
Estel, yep, MOAR SPEED is what I am after! But I would prefer real speed, not just single digit percentage or extreme-case-only potential. However, I can't see that there is anything inherent in flash technology that prevents it from being RAIDed. AFAIK, one of the reasons for the high performance of SSD drives is that they have many flash-chips that are "RAIDed" internally. You are mentioning pen drives, so maybe you are talking about some older measurements using the USB port? I have a reasonably good performance modern micro SD, so it should be significantly faster than your average pen drive... |
Re: Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
put away raid , i would like to see flashfire ssd driver on maemo , that would be something
|
Re: Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
Quote:
1. On N900, using 2 swaps at the same time - one on eMMC and one on microSD, with equal priority - doesn't seem to help with speed, at all. In fact, it even gives *worse* results than swap on microSD *only*, due to I/O conflicts between /home and swap on eMMC (see point 2). 2. We have hardware controller on eMMC, that (transparently for OS - no control for it, at all) does some "nice" things, like forced hardware leveling. Now, it's well know, that flash memory doesn't have problems with multiple reads, but simultaneous multiple write attempts cuts performance by orders of magnitude (so-called I/O conflicts - not real "conflicts" in true terms, just I/O's getting in the way of each other, and slowing things down) *if* you would be using software RAID on eMMC and microSD, you would have simultaneous I/O on both eMMC and microSD all the time, coupled with I/O for swap. IMO, it will lead to same performance penalties as in point 1. during normal usage, it can be avoided by having swap on microSD *only* (so I/O from opt, home, etc, doesn't get in a way with swap, and other way around, as they're two separate physical devices), but if you RAID them, there is no way around it. /Estel |
Re: Does Power Kernel have RAID support? I want to RAID-0 Micro SD and MMC...
Hmm, according to the wiki page on balanced swap (same priority), it can be an advantage, no diff or slower, depending on the SD card performance, YMMV. For the wiki page author it was an advantage.
http://wiki.maemo.org/Swap_on_microSD Have you tried using balanced swap on MMC and SD card on a modern SD card? I am asking just to try to reconcile your two opposing reports. |
All times are GMT. The time now is 07:51. |
vBulletin® Version 3.8.8