* how much of ssd to use?
@ 2013-03-02 6:19 James Harper
[not found] ` <6035A0D088A63A46850C3988ED045A4B3876B655-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: James Harper @ 2013-03-02 6:19 UTC (permalink / raw)
To: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
I've read that SSD drives work best when you only use some percentage of them (75%, 50%, etc) because by leaving unused space it allows the SSD more headroom to shuffle data around internally to keep things optimal. Those articles are most likely written for a filesystem on an OS that might not know about TRIM/UNMAP etc.
Has anyone done any testing on sustained random write throughput on a (say) 60GB flash drive with only 50% dedicated to bcache, or 75%, or 100%?
Thanks
James
^ permalink raw reply [flat|nested] 2+ messages in thread[parent not found: <6035A0D088A63A46850C3988ED045A4B3876B655-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>]
* Re: how much of ssd to use? [not found] ` <6035A0D088A63A46850C3988ED045A4B3876B655-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org> @ 2013-03-02 7:02 ` Brad Campbell 0 siblings, 0 replies; 2+ messages in thread From: Brad Campbell @ 2013-03-02 7:02 UTC (permalink / raw) To: James Harper; +Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org On 02/03/13 14:19, James Harper wrote: > I've read that SSD drives work best when you only use some percentage of them (75%, 50%, etc) because by leaving unused space it allows the SSD more headroom to shuffle data around internally to keep things optimal. Those articles are most likely written for a filesystem on an OS that might not know about TRIM/UNMAP etc. > > Has anyone done any testing on sustained random write throughput on a (say) 60GB flash drive with only 50% dedicated to bcache, or 75%, or 100%? > SSD's use spare space to shuffle things around so they can reclaim space freed in sizes less than a full erase block. Bcache explicitly uses big buckets in such a way as to remove the requirement for this. Nothing is freed in a way that would cause fragmentation of the sector space, so no re-organising is required on the part of the drive. ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-03-02 7:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02 6:19 how much of ssd to use? James Harper
[not found] ` <6035A0D088A63A46850C3988ED045A4B3876B655-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
2013-03-02 7:02 ` Brad Campbell
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox