public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] more tripleE SSD fs controversy
@ 2009-06-05 20:41 Maxim Wexler
  2009-06-06 14:18 ` Robert Bridge
  2009-06-06 23:45 ` Walter Dnes
  0 siblings, 2 replies; 5+ messages in thread
From: Maxim Wexler @ 2009-06-05 20:41 UTC (permalink / raw
  To: gentoo-user

Hi group,

More and more I'm coming across references to "cheap" ssds in the EEEs.

http://www.hohndel.org/communitymatters/eeepc/best-filesystem-choice-for-the-eeepc/

recommends ext2. Which I found surprising, but the guy seems knowlegeable.

Here is Theodore T'so:

# mke2fs -t ext4 -E stripe-width=32,resize=500G /dev/ssd/root

In his discussion of formatting the pricy Intel product. He doesn't
say if this would be worthwhile for the "cheap" type.

hohndel doesn't specify any options, just says, use ext2. What does
the group recommend?

Maxim



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] more tripleE SSD fs controversy
  2009-06-05 20:41 [gentoo-user] more tripleE SSD fs controversy Maxim Wexler
@ 2009-06-06 14:18 ` Robert Bridge
  2009-06-06 18:39   ` Maxim Wexler
  2009-06-06 23:45 ` Walter Dnes
  1 sibling, 1 reply; 5+ messages in thread
From: Robert Bridge @ 2009-06-06 14:18 UTC (permalink / raw
  To: gentoo-user

Maxim Wexler wrote:
> Hi group,
> 
> More and more I'm coming across references to "cheap" ssds in the EEEs.
> 
> http://www.hohndel.org/communitymatters/eeepc/best-filesystem-choice-for-the-eeepc/
> 
> recommends ext2. Which I found surprising, but the guy seems knowlegeable.
> 
> Here is Theodore T'so:
> 
> # mke2fs -t ext4 -E stripe-width=32,resize=500G /dev/ssd/root
> 
> In his discussion of formatting the pricy Intel product. He doesn't
> say if this would be worthwhile for the "cheap" type.
> 
> hohndel doesn't specify any options, just says, use ext2. What does
> the group recommend?
> 
> Maxim
> 

Theodore T'so is playing with Intel SSDs if I recall correctly, which 
are in a totally different class to what you get in EEEs, like they cost 
about the same as the EEE does. His recommendations are based on a SSD 
with good built in wear leveling, and fast read/write performance.

ext2 is normally recommended for "cheap" SSDs such as are in the EEE 
because it is a non-journalled FS, which is kind of important when your 
disk has severely limited write life.

At least, that is my understanding of the situation
RobbieAB




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] more tripleE SSD fs controversy
  2009-06-06 14:18 ` Robert Bridge
@ 2009-06-06 18:39   ` Maxim Wexler
  0 siblings, 0 replies; 5+ messages in thread
From: Maxim Wexler @ 2009-06-06 18:39 UTC (permalink / raw
  To: gentoo-user

>
> ext2 is normally recommended for "cheap" SSDs such as are in the EEE
> because it is a non-journalled FS, which is kind of important when your
> disk has severely limited write life.

It's not just the write life I'm worried about; it's booting into a
system whose partitions no longer line up, as recently happened
following an attempt to emerge mozilla-firefox.

mw



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] more tripleE SSD fs controversy
  2009-06-05 20:41 [gentoo-user] more tripleE SSD fs controversy Maxim Wexler
  2009-06-06 14:18 ` Robert Bridge
@ 2009-06-06 23:45 ` Walter Dnes
  2009-06-07  3:45   ` [gentoo-user] " ABCD
  1 sibling, 1 reply; 5+ messages in thread
From: Walter Dnes @ 2009-06-06 23:45 UTC (permalink / raw
  To: gentoo-user

On Fri, Jun 05, 2009 at 02:41:33PM -0600, Maxim Wexler wrote

> hohndel doesn't specify any options, just says, use ext2. What does
> the group recommend?

  This is in the context of "cheap SSD" diask drives.  They behave
differently from hard disks, so "everything you know is wrong" if you
try stuff that applies to harddrives.  You want to minimize the number
of writes to disk as much as possible, for 2 reasons...

1) Cheap SSD disk drives are atrociously slow.  The fewer unnecessary
writes, the more responsive the machine will be.

2) Cheap SSD disk drives are liable to wear out after a lot of writes.
Fewer writes means a longer lifetime for the drive.

  This brings us to the question of exactly how to minimize writes.  I
suggest ext2fs with the "async" and "nodiratime" and "noatime" options.

* journalling file systems pound away continuously at the journal file.
  As Martha Stewart would say... "that is not a good thing" for cheap
  SSD drives

* async is the default, but it doesn't hurt to list it.  It says not to
  do a separate write for each request, but to do writes in bigger, and
  less frequent, batches.  The "mount (8)" manpage has this to say about
  sync...
> In case of media with limited number of write cycles (e.g. some flash
> drives) "sync" may cause life-cycle shortening.

* nodiratime says not to update directory inodes when accessed.  You do
  need to specify it, because it is not the default

* noatime says not to update file inodes when accessed.  You do need to
  specify it, because it is not the default.  I don't know if "noatime"
  implies "nodiratime", but I'd play it safe and specify both.

-- 
Walter Dnes <waltdnes@waltdnes.org>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user]  Re: more tripleE SSD fs controversy
  2009-06-06 23:45 ` Walter Dnes
@ 2009-06-07  3:45   ` ABCD
  0 siblings, 0 replies; 5+ messages in thread
From: ABCD @ 2009-06-07  3:45 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Walter Dnes wrote:
> * nodiratime says not to update directory inodes when accessed.  You do
>   need to specify it, because it is not the default
> 
> * noatime says not to update file inodes when accessed.  You do need to
>   specify it, because it is not the default.  I don't know if "noatime"
>   implies "nodiratime", but I'd play it safe and specify both.
> 

"noatime" does imply "nodiratime", per various posts on lkml, so you
don't need both.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkorN+QACgkQOypDUo0oQOrhoACeLhctvc3GL/773RAJJpYHJIzH
hDAAnjDIQQYXIT6FEGh7YlNPc6sSsOyN
=Di1b
-----END PGP SIGNATURE-----




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-06-07  3:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-05 20:41 [gentoo-user] more tripleE SSD fs controversy Maxim Wexler
2009-06-06 14:18 ` Robert Bridge
2009-06-06 18:39   ` Maxim Wexler
2009-06-06 23:45 ` Walter Dnes
2009-06-07  3:45   ` [gentoo-user] " ABCD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox