* How do i limit the bandwidth-usage while resyncing on RAID 1?
@ 2007-10-10 15:11 Rustedt, Florian
2007-10-10 15:15 ` Tomasz Chmielewski
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Rustedt, Florian @ 2007-10-10 15:11 UTC (permalink / raw)
To: linux-raid
Hello List,
while resyncing, the process takes the whole bandwidth from disk to disk.
This leads in a VERY unhappy situation, because the system on this raid is
unpractical slow now, because it has to wait for disk-io.
How can i tune this? I want somthing like "nice -n 19 dm-mirror" ;)
Kind regards, Florian
**********************************************************************************************
IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the
named recipient(s) only.
If you have received this email in error, please notify the system manager or the sender immediately and do
not disclose the contents to anyone or make copies thereof.
*** eSafe scanned this email for viruses, vandals, and malicious content. ***
**********************************************************************************************
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do i limit the bandwidth-usage while resyncing on RAID 1?
2007-10-10 15:11 How do i limit the bandwidth-usage while resyncing on RAID 1? Rustedt, Florian
@ 2007-10-10 15:15 ` Tomasz Chmielewski
2007-10-10 19:45 ` Richard Scobie
2007-10-11 22:27 ` Neil Brown
2 siblings, 0 replies; 4+ messages in thread
From: Tomasz Chmielewski @ 2007-10-10 15:15 UTC (permalink / raw)
To: Rustedt, Florian; +Cc: linux-raid
Rustedt, Florian schrieb:
> Hello List,
>
> while resyncing, the process takes the whole bandwidth from disk to disk.
>
> This leads in a VERY unhappy situation, because the system on this raid is
> unpractical slow now, because it has to wait for disk-io.
>
> How can i tune this? I want somthing like "nice -n 19 dm-mirror" ;)
Look into sync_speed_min and sync_speed_max in /sys/block/mdX/md.
--
Tomasz Chmielewski
http://blog.wpkg.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do i limit the bandwidth-usage while resyncing on RAID 1?
2007-10-10 15:11 How do i limit the bandwidth-usage while resyncing on RAID 1? Rustedt, Florian
2007-10-10 15:15 ` Tomasz Chmielewski
@ 2007-10-10 19:45 ` Richard Scobie
2007-10-11 22:27 ` Neil Brown
2 siblings, 0 replies; 4+ messages in thread
From: Richard Scobie @ 2007-10-10 19:45 UTC (permalink / raw)
To: Linux RAID Mailing List
Rustedt, Florian wrote:
> How can i tune this? I want somthing like "nice -n 19 dm-mirror" ;)
Have a look at man rsync - the --bwlimit=KBPS option.
Regards,
Richard
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: How do i limit the bandwidth-usage while resyncing on RAID 1?
2007-10-10 15:11 How do i limit the bandwidth-usage while resyncing on RAID 1? Rustedt, Florian
2007-10-10 15:15 ` Tomasz Chmielewski
2007-10-10 19:45 ` Richard Scobie
@ 2007-10-11 22:27 ` Neil Brown
2 siblings, 0 replies; 4+ messages in thread
From: Neil Brown @ 2007-10-11 22:27 UTC (permalink / raw)
To: Rustedt, Florian; +Cc: linux-raid
On Wednesday October 10, florian.rustedt@smartnet.de wrote:
> Hello List,
>
> while resyncing, the process takes the whole bandwidth from disk to disk.
>
> This leads in a VERY unhappy situation, because the system on this raid is
> unpractical slow now, because it has to wait for disk-io.
>
> How can i tune this? I want somthing like "nice -n 19 dm-mirror" ;)
Are you using MD raid, or DM?
If DM, then it is my understanding that you cannot ratelimit.
If DM, then you already have the answer from a previous post.
NeilBrown
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-10-11 22:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-10 15:11 How do i limit the bandwidth-usage while resyncing on RAID 1? Rustedt, Florian
2007-10-10 15:15 ` Tomasz Chmielewski
2007-10-10 19:45 ` Richard Scobie
2007-10-11 22:27 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).