All of lore.kernel.org
 help / color / mirror / Atom feed
* RAID resync speed
@ 2005-09-10  2:11 Eyal Lebedinsky
  2005-09-10  2:53 ` Nuno Silva
  0 siblings, 1 reply; 18+ messages in thread
From: Eyal Lebedinsky @ 2005-09-10  2:11 UTC (permalink / raw)
  To: list linux-kernel

I noticed that my 3-disk RAID was syncing at about 40MB/s, now that I
added a fourth disk it goes at only 20+MB/s. This is on an idle machine.

Individually, each disk measures 60+MB/s with hdparm.

kernel: 2.6.13 on ia32
Controller: Promise SATAII150 TX4
Disks: WD 320GB SATA

Q: Is this the way the raid code works? The way the disk-io is managed? Or
could it be due to the SATA controller?

-- 
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
	attach .zip as .dat

^ permalink raw reply	[flat|nested] 18+ messages in thread
* raid resync speed
@ 2014-03-20  1:12 Jeff Allison
  2014-03-20 14:35 ` Stan Hoeppner
  2014-03-20 17:46 ` Bernd Schubert
  0 siblings, 2 replies; 18+ messages in thread
From: Jeff Allison @ 2014-03-20  1:12 UTC (permalink / raw)
  To: linux-raid

The gist of my question is what kind of resync speed should I expect?

I have a HP N54L Microserver running centos 6.5.

In this box I have a 3x2TB disk raid 5 array, which I am in the
process of extending to a 4x2TB raid 5 array.

I've added the new disk --> mdadm --add /dev/md0 /dev/sdb

And grown the array --> mdadm --grow /dev/md0 --raid-devices=4

Now the problem the resync speed is v slow, it refuses to rise above
5MB, in general it sits at 4M.

from looking at glances it would appear that writing to the new disk
is the bottle neck, /dev/sdb is the new disk.

Disk I/O In/s Out/s
md0 0 0
sda1 0 0
sda2 0 1K
sdb1 3.92M 0
sdc1 24.2M 54.7M
sdd1 11.2M 54.7M
sde1 16.3M 54.7M

I partitiioned the disk with --> parted -a optimal /dev/sdb

[root@nas ~]# parted -a optimal /dev/sdb
GNU Parted 2.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA ST2000DM001-1E61 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ntfs raid

There is no ntfs filesystem on the disk, I've still not worked out how
to remove that flag.

I've followed the article here -->
http://www.cyberciti.biz/tips/linux-raid-increase-resync-rebuild-speed.html
to attempt to speed it up but no joy.

Any Ideas what I've done wrong?

parted output

[root@nas ~]# parted -l
Model: ATA ST31000528AS (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext4 boot
2 525MB 1000GB 1000GB primary lvm

Model: ATA ST2000DM001-1E61 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ntfs raid

Model: ATA ST2000DM001-9YN1 (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary raid

Model: ATA WDC WD25EZRS-00J (scsi)
Disk /dev/sdd: 2500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary ntfs raid

Model: ATA ST2000DL001-9VT1 (scsi)
Disk /dev/sde: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 2000GB 2000GB primary raid

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2014-03-28  8:03 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-10  2:11 RAID resync speed Eyal Lebedinsky
2005-09-10  2:53 ` Nuno Silva
2005-09-10  3:18   ` Eyal Lebedinsky
2005-09-10  4:54     ` Nuno Silva
2005-09-10  5:16       ` Joel Jaeggli
2005-09-11  2:16       ` Eyal Lebedinsky
2005-09-12 15:57         ` Roger Heflin
  -- strict thread matches above, loose matches on Subject: below --
2014-03-20  1:12 raid " Jeff Allison
2014-03-20 14:35 ` Stan Hoeppner
2014-03-20 15:35   ` Bernd Schubert
2014-03-20 15:36     ` Bernd Schubert
2014-03-20 16:19       ` Eivind Sarto
2014-03-20 16:22         ` Bernd Schubert
2014-03-20 18:44     ` Stan Hoeppner
2014-03-27 16:08       ` Bernd Schubert
2014-03-28  8:03         ` Stan Hoeppner
2014-03-20 17:46 ` Bernd Schubert
2014-03-21  0:44   ` Jeff Allison

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.