Re: ssd option for USB flash drive?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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,
> > 
> > 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?
> 
> yes, enabling discard is pointless though (no USB storage supports it
> AFAIK).
> 
> > 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.
> 
> ssd mode won't improve performance by much (if any).
> 
> You need to remember that USB2.0 is limited to about 20-30MiB/s (depending
> on CPU) so it will be slow no matter what you do
> 
> > 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...)?
> 
> aligning logical blocks to erase blocks can give some performance but the
> only way to make it really fast is not to use USB
> 
> > Many thanks in advance,
> > Stephane

-- 
Hubert Kario
QBS - Quality Business Software
02-656 Warszawa, ul. Ksawerów 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux