=] i agree with you on all cases :) the idea of a generic raid10 for raid1,0,10 isn't good for low cpu/ram (in other words increase performace) know i understand why raid10 raid1 raid0 are diferent files and raid456 only one let´s try the option2: could we implement layout/offset to raid1? it´s a read performace improvement (maybe write problem) for example, odd sectors on start of disk1 and end of disk2, even sectors on end of disk1 and start of disk2 or another layouts like raid10 2011/2/16 NeilBrown <neilb@xxxxxxx>: > On Wed, 16 Feb 2011 11:21:50 -0300 Roberto Spadim <roberto@xxxxxxxxxxxxx> > wrote: > >> since we have the option1 done, why continue with raid1 code? could we >> port write-behind to raid10 code? > > No. write-behind depends on write-mostly, and write-mostly only really makes > sense for RAID1. I much prefer to keep these two code bases separate. > >> another thing, could raid10 work without replica? like a raid0? > > Why don't you try it? Choose a layout that asks for only 1 copy of the data. > It should work. > >> >> why? just to remove many files with the same function (raid1and raid0, >> if raid10 do the same work, many some mdadm changes allow us to >> --level=1 to understand that's raid10 without stripe, --level=0 is >> raid10 without mirrors) > > Again, RAID0 has some features that RAID10 doesn'tand cannot. I suggest you > read man pages (e.g. 'man md') to find out the details. > > Also the RAID0 code is much simpler and hence possibly faster. > > NeilBrown > > -- > To unsubscribe from this list: send the line "unsubscribe linux-raid" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- Roberto Spadim Spadim Technology / SPAEmpresarial -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html