Join Today
+ Reply to Thread
Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23
Like Tree2Likes

Thread: Defragmenting Memory card

  1. #21
    Join Date
    Jan 2007
    Location
    Brazil
    Posts
    387

    Default

    Quote Originally Posted by xetaman View Post
    In the case of a stream, it's always the next block. In the case of fragmented data, there is a pointer somewhere (either at the end of that block, or in a address table, fat, i guess), which needs to be referred and the destination calculated. This is what i think takes more time.
    This makes sense, but i dont think that it would make a big difference on performance unless you are using a very slow processor. Most time is spent waiting for I/O to finish, not on the logic to find the next block. There is also a FAT size impact to consider, more fragments leads to a bigger FAT, and consequently uses more RAM and spend more time on writing the FAT to the card (write access is very slow). But even considering these, its not worth to defrag flash disks, they have a limited amount of erase cycles, and every time you defrag it you will drastically shorten the card's life.

    Also, "next block" is relative. As i said before, flash drive do wear levelling, so, what you think is contiguous in fact isn't. There is an internal controller on the card, which will spread the data evenly across blocks. You can write to a given block and it will be stored on a memory cell, you write to the same block again, and it will be stored on different memory cell. What you see as contiguous on your OS is in fact spread "randomly" on the card.

    Werner Ruotsalainen dont know what he's talking about.

    Some better reference is:
    http://www.sandisk.com/Assets/File/O...rLevelv1.0.pdf
    (interesting so you can calculate how much card lifetime you would lose by defragging your card every month like Werner suggests or by using it as swap memory). Note that 2M erase cycles are valid for original I-grade sandisk SDs, for generic branch SDs this can be as low as 10k erase cycles. Also note that swap will write to the disk at very high rates (much more (>100X) than the worst case scenario by sandisk).
    sushjames likes this.
    If you use OpenEZX and want to support it, please click on "I USE THIS" on our ohloh project page: https://www.ohloh.net/projects/openezx

  2. #22
    Join Date
    Aug 2007
    Location
    Undisclosed
    Posts
    826

    Default

    @wyrm : Wow too technical for me, anyway thanks for the great information.. At last i'm learning something new
    " To be unique , to be innovate " so open up ur creative eyes
    ----------
    I know i'm wrong,
    I'm always wrong too,
    My words might lead you wrong,
    So never get me wrong if something happened wrong.

  3. #23
    Join Date
    Jul 2005
    Location
    Franconia
    Posts
    4,866

    Default

    there is always a fitting quote somwhere:

    <richard> To be fair to windows, there is one thing you can do on it that you can't do on Unix
    <teifion> Can you do it on my Mac?
    <richard> No, it is unique to Windows
    <teifion> What is it?
    <richard> You can defrag stuff

    QDB: Quote #707810


 
+ Reply to Thread
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 22
    Last Post: 07-20-2010, 05:46 PM
  2. how to transfer java app frm phone memory to memory card?
    By osmanrokr in forum E6 General Chat
    Replies: 0
    Last Post: 10-28-2008, 01:07 PM
  3. V9 memory card help
    By shoib in forum RAZR Series
    Replies: 0
    Last Post: 05-26-2008, 07:42 PM
  4. Help: Phone can not read SD card. Get "Memory card Unavailable"
    By julioszabo in forum A1200 General Chat
    Replies: 9
    Last Post: 02-28-2008, 12:49 AM
  5. Memory card Q
    By pyramis in forum E6 General Chat
    Replies: 2
    Last Post: 11-23-2007, 07:33 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Optimization by vBSEO 3.6.0 RC 1