Results 1 to 8 of 8

Thread: Optimizing Flash Drives - The Linux Way

  1. #1
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    102

    Talking Optimizing Flash Drives - The Linux Way

    I know not where else to ask this, so here it goes:

    I just bought a Transcend JetFlash V30 2GB Pen Drive. I want to optimize it for performance. I also want to run a distro through it. Please give me some good advice for this.

    1. I plan to use the YAFFS2 file system for maximum performance on flash memory. HOW do I do it on linux ? I run Arch now, and I am planning to move to slackware when I have free time.

    2. I want to run a distro in this, but the distro should NOT make any changes to data on the drive, and must behave like a live CD unless I explictly state it to apply changes to the drive. This I want to do to increase life span since flash has limited write cycles. So no system logging for me please. WHICH distro do I use ?

    3. I need some space for exchanging data with windows PCs too, and I want to know which FS is better - NTFS or FAT32. And if I end up ending the life of this partition due to frequent usage, would I still be able to use the remaining space in the pen drive ?

    4. Are there any good enryption mechanisms for data ?

  2. #2
    Join Date
    Jan 2008
    Posts
    772

    Default

    For the distro, you might want to look into Puppy Linux; ISTR that it has a setup where filesystem writes initially go into a RAM disk and the state can be committed to disk/flash in a configurable way (e.g. never, only at shutdown, maximum one update every 10 minutes, etc.).

  3. #3
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    102

    Default

    I wanted to try NimbleX. Is it good ?

  4. #4
    Join Date
    Jun 2007
    Location
    Albuquerque NM USA
    Posts
    351

    Default

    I thought we had determined that in normal usage the expected lifespan of a flash device was somewhere around a 1,000 years, unless you run them through the washing machine like I do.

  5. #5
    Join Date
    Feb 2008
    Location
    Linuxland
    Posts
    5,199

    Default

    Using a flash filesystem is meant for direct-access flash devices that don't do translation and wear levelling. Using one on flash that does those, such as usb sticks or mem cards, would add overhead.

    Encryption - from what I've heard, loop-aes is the way.

  6. #6
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    102

    Default

    Quote Originally Posted by rbmorse View Post
    I thought we had determined that in normal usage the expected lifespan of a flash device was somewhere around a 1,000 years, unless you run them through the washing machine like I do.
    right as well as wrong.
    a flash drive has virtually unlimited super fast read cycles but only 100,000 or so write-eraze cycles.

  7. #7
    Join Date
    Aug 2007
    Posts
    6,641

    Default

    It is highly unlikely that your flash drive will die of too many writes. I guess even when you run a test script one month permanently it will still work.

  8. #8
    Join Date
    Jul 2008
    Location
    Bangalore, India
    Posts
    102

    Default

    You sure about that ? JetFlash V30 has never been famous for being highly reliable...

    offtopic: I have lifetime warranty on this thing. Would it include death due to lots of writes ?

Posting Permissions

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