[Little doubt] Defrag

Discussion in '3DS - Flashcards & Custom Firmwares' started by OnenZ, Jun 7, 2016.

  1. OnenZ
    OP

    OnenZ Advanced Member

    Newcomer
    77
    4
    Sep 4, 2015
    Chile
    Valparaíso
    Hi all. Salut. Hola.

    My little doubt is what files can i defrag (obviusly with osfmout if requires) for the best performance in my O3DS, MicroSD card write speed?

    I know w/ a Class 4 the write speed its sucks bad but in case improve the performance of my O3DS

    Edit: Forgot to say, my setup its an O3DS + A9LH with Luma run on sysnand (No emu)
     
    Last edited by OnenZ, Jun 7, 2016


  2. Duo8

    Duo8 I don't like video games

    Member
    3,438
    1,138
    Jul 16, 2013
    You don't need to do that.
     
  3. OnenZ
    OP

    OnenZ Advanced Member

    Newcomer
    77
    4
    Sep 4, 2015
    Chile
    Valparaíso
    But explain why i don't need it.
     
  4. gnmmarechal

    gnmmarechal Kirigiri > Naoto

    Member
    GBAtemp Patron
    gnmmarechal is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    4,477
    2,663
    Jul 13, 2014
    Portugal
    https://gs2012.xyz
    For the same reason why you should not defrag an SSD.
    You don't defrag flash memory. If you do, you'll just shorten its lifespan.

    http://www.pcworld.com/article/2047513/fragging-wonderful-the-truth-about-defragging-your-ssd.html


    Also:

    "Defragging an SD card/SSD is not very helpful. Defragging a hard disc is. The purpose of defrag is to minimize the disc head making large sweeps back and forth across the disc as it tries to gather the data for any given file by making that file contiguous. A flash drive has no moving parts. That being said. If you have multiple files downloaded from your computer to your flash drive and those files are heavily fragmented then perhaps the card will have to move more electrons greater distances across the card. But, you'd have to be an actor in Tron to notice the difference.:icon_ banana:"
     
    Minnow likes this.
  5. TheReturningVoid

    TheReturningVoid 0xAAAAAAAA

    Member
    332
    142
    Oct 2, 2014
    /dev/urandom
    It's not that you don't need to do that, it's that you shouldn't. Defragging an SD Card can lower the life of it, and you will gain literally no benefit from it whatsoever because of the nature of flash storage.

    EDIT: ninja'd
     
    gnmmarechal likes this.
  6. Duo8

    Duo8 I don't like video games

    Member
    3,438
    1,138
    Jul 16, 2013
    Flash memory in memory card has the properties of RAM, which means any address can be accessed randomly with no more delay than any other address, unlike mechanical/sequential media.

    Consumer memory cards have changed to meet market demands and cost. Access speed is not actually 100% the same for many cases, but there isn't much you can do about this.
    You could try SD card optimization, but I suggest not.
     
    codeluca likes this.
  7. OnenZ
    OP

    OnenZ Advanced Member

    Newcomer
    77
    4
    Sep 4, 2015
    Chile
    Valparaíso
    Decrease life of my SD? This SD have 3 years with me. And i do it a lot of defrags lol. What a stupid reason. I do defrags to all my hard, sd, and etc drives. And never (or at least) dead.
     
  8. solress

    solress Not a dev

    Member
    579
    306
    May 12, 2016
    Netherlands
    Between here and there
    Get a class 10 SD instead.
     
    TheReturningVoid likes this.
  9. OnenZ
    OP

    OnenZ Advanced Member

    Newcomer
    77
    4
    Sep 4, 2015
    Chile
    Valparaíso
    Nah, i bought 2 64gb Samsung and both are corrupted. It's stupid.
     
  10. TheReturningVoid

    TheReturningVoid 0xAAAAAAAA

    Member
    332
    142
    Oct 2, 2014
    /dev/urandom
    That... doesn't really make much sense. How does an SD Card get corrupted? Or maybe I'm just being stupid and it's a thing that happens sometimes.
     
  11. Timburpton

    Timburpton GBAtemp Advanced Fan

    Member
    557
    129
    Nov 18, 2014
    He bought cheap fakes. There are tons of fake cards floating around. Always H2Wtest your cards.
     
  12. OnenZ
    OP

    OnenZ Advanced Member

    Newcomer
    77
    4
    Sep 4, 2015
    Chile
    Valparaíso
    Dafck? I didnt bought cheapest. Th h2wtest was false (NoFake) and for some reason both, get corrupted. I cant do anything on them, (Install cias, do a new emunand etc.)
     
  13. solress

    solress Not a dev

    Member
    579
    306
    May 12, 2016
    Netherlands
    Between here and there
    did you format them to fat32
     
  14. OnenZ
    OP

    OnenZ Advanced Member

    Newcomer
    77
    4
    Sep 4, 2015
    Chile
    Valparaíso
    Don't ask stupid things. I know how to format, Fat32 with 32 or 64 size. I know like my hand.
     
  15. dimmidice

    dimmidice GBAtemp Advanced Maniac

    Member
    1,872
    1,261
    Sep 12, 2009
    Belgium
    what OS do you use? if its windows then that defragger knows to not defrag SSDs.

    read an article bout it ages ago, i think this was it. http://www.hanselman.com/blog/TheRealAndCompleteStoryDoesWindowsDefragmentYourSSD.aspx
     
  16. OnenZ
    OP

    OnenZ Advanced Member

    Newcomer
    77
    4
    Sep 4, 2015
    Chile
    Valparaíso
  17. dimmidice

    dimmidice GBAtemp Advanced Maniac

    Member
    1,872
    1,261
    Sep 12, 2009
    Belgium
    defraggler also does something similar for SSDs. but i'm assuming you didn't know this. it's not the same as a regular defragging though. you should never do a regular defrag on a SSD.
     
  18. OnenZ
    OP

    OnenZ Advanced Member

    Newcomer
    77
    4
    Sep 4, 2015
    Chile
    Valparaíso
    I do a defrag on my SSD every 4 months. Or when i get 50% or more.
     
  19. dimmidice

    dimmidice GBAtemp Advanced Maniac

    Member
    1,872
    1,261
    Sep 12, 2009
    Belgium
    with defraggler or built in windows defrag its fine. but a lot of defraggers don't check or aren't modified for SSDs. it will fuck them up.
     
  20. solress

    solress Not a dev

    Member
    579
    306
    May 12, 2016
    Netherlands
    Between here and there
    It's amazing how you haven't yet managed to break your SSD doing that.