FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 12-31-2011, 12:11 AM
Reindl Harald
 
Default change existing RAID10 to "far layout"

>> for better performance you could use RAID10 in the far layout instead (raid10,f2),
>> this is a direct replacement with the enhanced raid10 driver, which gives double
>> the sequential read speed compared to raid1. Use "--level=10 -p f2" as additional
>> parameters when creating arrays with mdadm.

hmm is there a way to change this in an existing RAID10?
i think i would like this for / where read-performance is much
more important and /dev/md2 is perfectly with near-layout
for write-performance (hughe data, virtual machines)
________________

[root@raid ~]# mdadm --grow /dev/md1 --level=10 -p f2
mdadm: RAID10 can only be changed to RAID0
[root@raid ~]# mdadm --grow /dev/md1 -p f2
mdadm: RAID10 can only be changed to RAID0
[root@raid ~]# mdadm --misc /dev/md1 -p f2
mdadm: option -p not valid in misc mode
________________

md2 : active raid10 sdc3[0] sdd3[3] sda3[4] sdb3[5]
3875222528 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
bitmap: 7/29 pages [28KB], 65536KB chunk

md1 : active raid10 sdc2[0] sdd2[3] sda2[4] sdb2[5]
30716928 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
bitmap: 1/1 pages [4KB], 65536KB chunk

md0 : active raid1 sdc1[0] sdd1[3] sda1[4] sdb1[5]
511988 blocks super 1.0 [4/4] [UUUU]

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 12-31-2011, 02:11 PM
Roberto Ragusa
 
Default change existing RAID10 to "far layout"

On 12/31/2011 02:11 AM, Reindl Harald wrote:
>>> for better performance you could use RAID10 in the far layout instead (raid10,f2),
>>> this is a direct replacement with the enhanced raid10 driver, which gives double
>>> the sequential read speed compared to raid1. Use "--level=10 -p f2" as additional
>>> parameters when creating arrays with mdadm.
>
> hmm is there a way to change this in an existing RAID10?
> i think i would like this for / where read-performance is much
> more important and /dev/md2 is perfectly with near-layout
> for write-performance (hughe data, virtual machines)

It is apparently impossible to change the layout from near to far.
If you think about how different they are, it is difficult to
imagine how a conversion could be done.

The best option is to boot from a rescue image, copy the root partition
somewhere else, destroy and redo the RAID and copy the root partition back.

In that case, you may want to consider the offset layout too.
After some experiments when making a filesystem for VM files, the best
option proved to be offset=2 with chunksize=4MiB.
Very good linear read speed, and good write performance even on random writes.

# cat /proc/mdstat
Personalities : [raid10]
md10 : active raid10 sdd5[3] sdc5[2] sdb3[1] sda3[0]
285196288 blocks super 1.2 4096K chunks 2 offset-copies [4/4] [UUUU]

unused devices: <none>
# hdparm -t /dev/md10

/dev/md10:
Timing buffered disk reads: 922 MB in 3.02 seconds = 305.11 MB/sec

--
Roberto Ragusa mail at robertoragusa.it
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 
Old 12-31-2011, 02:14 PM
Reindl Harald
 
Default change existing RAID10 to "far layout"

Am 31.12.2011 16:11, schrieb Roberto Ragusa:
> On 12/31/2011 02:11 AM, Reindl Harald wrote:
>>>> for better performance you could use RAID10 in the far layout instead (raid10,f2),
>>>> this is a direct replacement with the enhanced raid10 driver, which gives double
>>>> the sequential read speed compared to raid1. Use "--level=10 -p f2" as additional
>>>> parameters when creating arrays with mdadm.
>>
>> hmm is there a way to change this in an existing RAID10?
>> i think i would like this for / where read-performance is much
>> more important and /dev/md2 is perfectly with near-layout
>> for write-performance (hughe data, virtual machines)
>
> It is apparently impossible to change the layout from near to far.
> If you think about how different they are, it is difficult to
> imagine how a conversion could be done.
>
> The best option is to boot from a rescue image, copy the root partition
> somewhere else, destroy and redo the RAID and copy the root partition back.
>
> In that case, you may want to consider the offset layout too.
> After some experiments when making a filesystem for VM files, the best
> option proved to be offset=2 with chunksize=4MiB.
> Very good linear read speed, and good write performance even on random writes.
>
> # cat /proc/mdstat
> Personalities : [raid10]
> md10 : active raid10 sdd5[3] sdc5[2] sdb3[1] sda3[0]
> 285196288 blocks super 1.2 4096K chunks 2 offset-copies [4/4] [UUUU]
>
> unused devices: <none>
> # hdparm -t /dev/md10
>
> /dev/md10:
> Timing buffered disk reads: 922 MB in 3.02 seconds = 305.11 MB/sec

OK, so better leave it as it is :-)

> 200 MB/Secnod are not too bad and i considered it only if
it is not too much risk, but not risk setup the machine again
while there are two physical cloesn running perfect at all

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
 

Thread Tools




All times are GMT. The time now is 09:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org