Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: Sander <sander@humilis.net>
To: Richard Sharpe <realrichardsharpe@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: Tuning of btrfs for throughput?
Date: Tue, 31 Jan 2012 08:08:03 +0100	[thread overview]
Message-ID: <20120131070803.GA24017@attic.humilis.net> (raw)
In-Reply-To: <CACyXjPxb3Ped7yvv5je_g76T+uDKKYkhC7t7MY_-GQK3WuTQ-Q@mail.gmail.com>

Richard Sharpe wrote (ao):
> I am running on 3.2.1 and have set up btrfs across 11 7200RPM 1TB 3.5"
> drives. I told btrfs to mirror metadata and stripe data.

> However, what I would like to know is are there any tuning parameters
> I can tweak to push the numbers up a bit?
> 
> I see lots of idle time (80+%) on my 16 cores (probably two by four by two).

Do you have a partition on the disks? On a partitionless disk you don't
have to deal with aligning.

You could try mkfs.btrfs -l 32k -n 32k as per
http://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg14585.html

Depending on the nature of your data, you could try with zlib, lzo or
snappy compression.

I'd say dd is a lousy benchmarktool btw.

	Sander

-- 
Humilis IT Services and Solutions
http://www.humilis.net

  reply	other threads:[~2012-01-31  7:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-30 19:35 Tuning of btrfs for throughput? Richard Sharpe
2012-01-31  7:08 ` Sander [this message]
2012-01-31  8:59 ` Duncan

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=20120131070803.GA24017@attic.humilis.net \
    --to=sander@humilis.net \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=realrichardsharpe@gmail.com \
    /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