From: Hubert Kario <hka@qbs.com.pl>
To: Stephane Chazelas <stephane_chazelas@yahoo.fr>
Cc: "linux-btrfs" <linux-btrfs@vger.kernel.org>
Subject: Re: ssd option for USB flash drive?
Date: Thu, 19 May 2011 21:53:24 +0200 [thread overview]
Message-ID: <201105192153.24797.hka@qbs.com.pl> (raw)
In-Reply-To: <201105192104.58726.hka@qbs.com.pl>
Sorry, loks like list mailer doesn't like SMIME messages.
On Thursday 19 of May 2011 21:04:54 Hubert Kario wrote:
> On Wednesday 18 of May 2011 00:02:52 Stephane Chazelas wrote:
> > Hiya,
> >=20
> > I've not found much detail on what the "ssd" btrfs mount option
> > did. Would it make sense to enable it to a fs on a USB flash
> > drive?
>=20
> yes, enabling discard is pointless though (no USB storage supports it
> AFAIK).
>=20
> > I'm using btrfs (over LVM) on a Live Linux USB stick to benefit
> > from btrfs's compression and am trying to improve the
> > performance.
>=20
> ssd mode won't improve performance by much (if any).
>=20
> You need to remember that USB2.0 is limited to about 20-30MiB/s (depe=
nding
> on CPU) so it will be slow no matter what you do
>=20
> > Would anybody have any recommendation on how to improve
> > performance there? Like what would be the best way to
> > enable/increase writeback buffer or any way to make sure writes
> > are delayed and asynchronous? Would disabling read-ahead help?
> > (at which level would it be done?). Any other tip (like
> > disabling atime, aligning blocks/extents, figure out erase block
> > sizes if relevant...)?
>=20
> aligning logical blocks to erase blocks can give some performance but=
the
> only way to make it really fast is not to use USB
>=20
> > Many thanks in advance,
> > Stephane
--=20
Hubert Kario
QBS - Quality Business Software
02-656 Warszawa, ul. Ksawer=F3w 30/85
tel. +48 (22) 646-61-51, 646-74-24
www.qbs.com.pl
--
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
next prev parent reply other threads:[~2011-05-19 19:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-17 22:02 ssd option for USB flash drive? Stephane Chazelas
2011-05-19 19:04 ` Hubert Kario
2011-05-19 19:53 ` Hubert Kario [this message]
2011-05-19 21:47 ` Stephane Chazelas
2011-05-19 21:54 ` cwillu
2011-05-19 22:12 ` Stephane Chazelas
2011-05-19 22:19 ` cwillu
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=201105192153.24797.hka@qbs.com.pl \
--to=hka@qbs.com.pl \
--cc=linux-btrfs@vger.kernel.org \
--cc=stephane_chazelas@yahoo.fr \
/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