public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* does btrfs have RAID I/O throughput (un)limiting sysctls, similar to md?
@ 2010-02-06  0:37 0bo0
  2010-02-06 13:10 ` Daniel J Blueman
  0 siblings, 1 reply; 4+ messages in thread
From: 0bo0 @ 2010-02-06  0:37 UTC (permalink / raw)
  To: linux-btrfs

i've a 4 drive array connected via a PCIe SATA card.

per OS (opensuse) default, md RAID I/O performance was being limited by,

  cat /proc/sys/dev/raid/speed_limit_min
    1000
  cat /proc/sys/dev/raid/speed_limit_max
    200000

changing,

  echo "dev.raid.speed_limit_min=100000" >> /etc/sysctl.conf
  echo "dev.raid.speed_limit_max=600000" >> /etc/sysctl.conf

enabled full/best I/O throughput.

does btrfs have a similar construct that I need to set/tweak for
maximum I/O throughput?

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

* Re: does btrfs have RAID I/O throughput (un)limiting sysctls, similar to md?
  2010-02-06  0:37 does btrfs have RAID I/O throughput (un)limiting sysctls, similar to md? 0bo0
@ 2010-02-06 13:10 ` Daniel J Blueman
  2010-02-06 14:48   ` 0bo0
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel J Blueman @ 2010-02-06 13:10 UTC (permalink / raw)
  To: 0bo0; +Cc: linux-btrfs

On Sat, Feb 6, 2010 at 12:37 AM, 0bo0 <0.bugs.only.0@gmail.com> wrote:
> i've a 4 drive array connected via a PCIe SATA card.
>
> per OS (opensuse) default, md RAID I/O performance was being limited =
by,
>
> =A0cat /proc/sys/dev/raid/speed_limit_min
> =A0 =A01000
> =A0cat /proc/sys/dev/raid/speed_limit_max
> =A0 =A0200000
>
> changing,
>
> =A0echo "dev.raid.speed_limit_min=3D100000" >> /etc/sysctl.conf
> =A0echo "dev.raid.speed_limit_max=3D600000" >> /etc/sysctl.conf
>
> enabled full/best I/O throughput.

These proc entries affect just array reconstruction, not general I/O
performance/throughput, so affect just an edge-case of applications
requiring maximum latency/minimum throughout guarantees.
--=20
Daniel J Blueman
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" =
in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: does btrfs have RAID I/O throughput (un)limiting sysctls, similar to md?
  2010-02-06 13:10 ` Daniel J Blueman
@ 2010-02-06 14:48   ` 0bo0
  2010-02-07 11:48     ` Martin Steigerwald
  0 siblings, 1 reply; 4+ messages in thread
From: 0bo0 @ 2010-02-06 14:48 UTC (permalink / raw)
  To: Daniel J Blueman; +Cc: linux-btrfs

On Sat, Feb 6, 2010 at 5:10 AM, Daniel J Blueman
<daniel.blueman@gmail.com> wrote:
> These proc entries affect just array reconstruction, not general I/O
> performance/throughput, so affect just an edge-case of applications
> requiring maximum latency/minimum throughout guarantees.

although i'd 1st seen the perf hit at the (re)construction stage, i
didn't recognize that the sysctls were limited to that case.

so, iiuc, btrfs has no such issues?

thanks for clarifying!

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

* Re: does btrfs have RAID I/O throughput (un)limiting sysctls, similar to md?
  2010-02-06 14:48   ` 0bo0
@ 2010-02-07 11:48     ` Martin Steigerwald
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Steigerwald @ 2010-02-07 11:48 UTC (permalink / raw)
  To: linux-btrfs, 0bo0

[-- Attachment #1: Type: Text/Plain, Size: 829 bytes --]

Am Samstag 06 Februar 2010 schrieben Sie:
> On Sat, Feb 6, 2010 at 5:10 AM, Daniel J Blueman
> 
> <daniel.blueman@gmail.com> wrote:
> > These proc entries affect just array reconstruction, not general I/O
> > performance/throughput, so affect just an edge-case of applications
> > requiring maximum latency/minimum throughout guarantees.
> 
> although i'd 1st seen the perf hit at the (re)construction stage, i
> didn't recognize that the sysctls were limited to that case.

Limiting rebuild throughput helps to have productively running 
applications getting their share of I/O during RAID rebuilds.
 
> so, iiuc, btrfs has no such issues?

Issues? I would call that a feature, not an issue.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

end of thread, other threads:[~2010-02-07 11:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-06  0:37 does btrfs have RAID I/O throughput (un)limiting sysctls, similar to md? 0bo0
2010-02-06 13:10 ` Daniel J Blueman
2010-02-06 14:48   ` 0bo0
2010-02-07 11:48     ` Martin Steigerwald

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox