From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Kyle Gates <kylegates@hotmail.com>,
"linux-btrfs@vger.kernel.org" <linux-btrfs@vger.kernel.org>
Subject: Re: ssd mode on rotational media
Date: Thu, 08 Jan 2015 07:37:24 -0500 [thread overview]
Message-ID: <54AE7A04.50507@gmail.com> (raw)
In-Reply-To: <BAY172-W45E04898674EAB817BB2D9B0460@phx.gbl>
[-- Attachment #1: Type: text/plain, Size: 928 bytes --]
On 2015-01-07 13:55, Kyle Gates wrote:
> What issues would arise if ssd mode is activated because of a block layer setting the rotational flag to zero? This happens for me running btrfs on bcache. Would it be beneficial to pass the no_ssd flag?
> Thanks,
> Kyle
In theory, it would result in a greater degree of high-level
fragmentation. You should (in theory) get marginally better performance
by using no_ssd (or using a udev rule to set rotational to 1, as the
flag is writable).
Ideally, bcache shouldn't set the rotational flag to 0 unless the
backing store (the big device that the cache is reading from) also has
it set.
Also, ideally, we should be looking at the type of block device, not
just whether the rotational flag is 0 or not, as there are a number of
cases where rotational is 0 that enabling ssd will make things preform
worse (Xen/Virtio block devices come immediately to mind).
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 2455 bytes --]
prev parent reply other threads:[~2015-01-08 12:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-07 18:55 ssd mode on rotational media Kyle Gates
2015-01-08 12:37 ` Austin S Hemmelgarn [this message]
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=54AE7A04.50507@gmail.com \
--to=ahferroin7@gmail.com \
--cc=kylegates@hotmail.com \
--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;
as well as URLs for NNTP newsgroup(s).