Results 1 to 5 of 5

Thread: filesystem for SSD question

  1. #1
    Join Date
    Sep 2008
    Beans
    3

    filesystem for SSD question

    I just recently bought a solid state drive for my laptop and I'm about to install Ubuntu on it. But before I do that, is there a filesystem that is optimized for SSD's?

  2. #2
    Join Date
    Jan 2006
    Beans
    192
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: filesystem for SSD question

    none, but its been said that ext2 or ext3 tweaked is better, normal ext3 is thought to kill drives faster, its not been proven though

  3. #3
    Join Date
    Jul 2005
    Location
    Hughenden, Australia
    Beans
    Hidden!
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: filesystem for SSD question

    Check whether or not your SSD features a controller for 'wear levelling' and 'error correction'.
    If it does, then you don't need any special file system because you'll be writing to the flash memory's controller and not to directly to the raw disk.
    The flash memory controller provides a fake layer between the operating system and the raw disk. It makes the flash memory appear to the operating system and the user as a hard disk.
    Meanwhile, behind the scenes, the controller will be busy shuffling the flash memory's blocks around and rotating your files and data so you don't keep wearing out any one particular block. (The file system's journal blocks in particular). That way your flash memory will last for many years, much longer than a hard disk probably, regardless of what file system you think you're using (on the 'surface').

    This whole page, Flash memory from Wikipedia has good information,
    particularly this part, Quoted from Flash memory - WikiPedia:
    Flash file systems
    Because of the particular characteristics of flash memory, it is best used with either a controller to perform wear-levelling and error correction or specifically designed file systems which spread writes over the media and deal with the long erase times of NOR flash blocks.
    The basic concept behind flash file systems is: When the flash store is to be updated, the file system will write a new copy of the changed data over to a fresh block, remap the file pointers, then erase the old block later when it has time. One of the earliest flash file systems was Microsoft's FFS2 (presumably preceded by FFS1), for use with MS-DOS in the early 1990s.[12]
    Around 1994, the PCMCIA, an industry group, approved the Flash Translation Layer (FTL) specification, which allowed a Linear Flash device to look like a FAT disk, but still have effective wear levelling. Other commercial systems such as FlashFX and FlashFX Pro by Datalight were created to avoid patent concerns with FTL.
    ZFS by Sun Microsystems has been optimized to manage Flash SSD systems, both as cache as well as main storage facilities, available for OpenSolaris, FreeBSD, and Mac OS X operating systems. Sun has announced a complete line of Flash enabled systems and storage devices.
    JFFS was the first flash-specific file system for Linux, but it was quickly superseded by JFFS2, originally developed for NOR flash. Then YAFFS was released in 2002, dealing specifically with NAND flash, and JFFS2 was updated to support NAND flash too.
    In practice, flash file systems are only used for "Memory Technology Devices" ("MTD"), which are embedded flash memories that do not have a controller.
    Removable flash memory cards and USB flash drives have built-in controllers to perform wear-levellingerror correction so use of a specific flash file system does not add any benefit.
    These removable flash memory devices use the FAT file system to allow universal compatibility with computers, cameras, PDAs and other portable devices with memory card slots or ports.
    In some (but not all) USB flash memory sticks, the reiserfs file system seems to give a significant speed advantage compared with any other file system. I don't know why but I guess maybe it works better with some flash memory controllers. In other flash memories it doesn't seem to give as much improvement over ext3.
    We can use a program called bonnie++, (installable in Ubuntu), to test the speed of various drives and file systems.
    I'm using reiserfs for my flash memory devices.
    Last edited by Herman; September 12th, 2008 at 10:29 PM.
    Ubuntu user since 2004 (Warty Warthog)

  4. #4
    Join Date
    Sep 2008
    Beans
    3

    Re: filesystem for SSD question

    thanks for the info herman, helped alot

  5. #5
    Join Date
    Oct 2006
    Location
    Flanders, Belgium
    Beans
    205

    Re: filesystem for SSD question

    The quoted information clearly refers to removable flash drives. There could be major differences with solid state *drives*.
    Here's how to install Vista in 2 minutes:
    http://www.youtube.com/watch?v=FVbf9tOGwno

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •