public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
From: David Sterba <dsterba@suse.cz>
To: Hendrik Friedel <hendrik@friedels.name>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Very high load when reading/writing
Date: Mon, 5 May 2014 18:16:11 +0200	[thread overview]
Message-ID: <20140505161611.GT5988@twin.jikos.cz> (raw)
In-Reply-To: <53628953.8030707@friedels.name>

On Thu, May 01, 2014 at 07:50:11PM +0200, Hendrik Friedel wrote:
> I have very high load when writing/reading from/to two of my btrfs volumes.
> One sda1, mounted as /mnt/BTRFS, the other, sdd2/sde2 (raid) as /
> sda1 is a 3TB disc, whereas the sdd2/sde2 are small SSDs of 16GB.
> 
> I wrote a small script to demonstrate it. It does:
> -echo what it will do
> -show the current load
> -dd from one volume to the other.
> -show the current load
> -sync and flush the cache
> -sleep 300s in order to get the load down again.

load average is not a good metric, it mixes IO an CPU load into one
number, would be better to measure cpu and IO loads separately.

> Here the output:
> Test from /mnt/BTRFS to /tmp
> 124,553 s, 16,8 MB/s

Is the transfer speed comparable if using a bare blockdevice instead of
a filesystem on top of that?

According to the S.M.A.R.T. stats the devices seem to be working
normally.

  reply	other threads:[~2014-05-05 16:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-01 17:50 Very high load when reading/writing Hendrik Friedel
2014-05-05 16:16 ` David Sterba [this message]
2014-05-05 23:37 ` Chris Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140505161611.GT5988@twin.jikos.cz \
    --to=dsterba@suse.cz \
    --cc=hendrik@friedels.name \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox