Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

SSD flash hard drives have started to support TRIM in order to avoid the slowdown that occurs after a while.

How do I do something similar on a SD card ?

Like reformating the SD card, but at a lower-level to avoid the automatic wear-leveling.

share|improve this question

My understanding is that the current SDCARD spec does not include a TRIM command. Although I am not on the committee, Windows 7's support for TRIM will bring it to the attention of many engineers, and it's reasonable to expect that the command will show up in the SD spec within the next few years.

The OS uses the TRIM command to tell the flash device that a sector will not be read again until it is written. This tells the flash device that the sectors do not need to be copied from one page to another before the first page is erased. This can result in significantly improved performance and improved data privacy.

It would be nice if SD cards could give performance similar to SSDs. I don't see any fundamental reason why the small form factor could not support high-speed access. At the moment, though, if you want high-speed performance, you should use an SSD, not a SD card.

share|improve this answer

Storage tools claims defragging you SD card increases performance, however they sell the product so they can claim whatever suits them.

Though there are other programs that claim it helps:

Fragmentation refers to the tendency of files, stored in the FAT file system, to become broken into pieces that can end up in very different places within a storage card volume. Fragmentation occurs naturally with time when a storage card is used frequently - creating, deleting, and modifying files. This process is entirely invisible to users.

But PPC Magazine thinks it's a good idea as well. Though not with software:

Werner Ruotsalainen at the PPC Magazine blog shares some good information on whether or not Pocket PC memory cards need to be defragmented, and how to do it.

Some tips:

  • Yes, it's worth defragmenting them every 2-3 months, if there are frequent writes to the card.
  • Never use a Pocket PC utility to do the defragmenting
  • Do consider getting a card reader

If you have a card reader, the process is simple: Copy the files to your hard drive, reformat the card (E.g. "format i: /q /u" but make sure you use the correct drive letter!), and then copy your files back to the card.

But here's some Storage Tools info anyway ;-)

alt text alt text

Storage Tools Description

The most comprehensive storage card management solution, StorageTools is the first product to offer defragmentation functionality for Pocket PC devices, providing dramatic speed improvements by resolving file fragmentations.

With StorageTools you can get detailed device and file system information about your storage cards, analysis of file allocations (slack space) and fragmentation level.

StorageTools works with all media types available on PocketPC/Windows CE devices, including industry standards: ATA compliant memory cards, Compact Flash cards, MicroDrives, Secure Digital (SD) cards, MultiMedia Cards (MMC) and PCMCIA memory cards. You can format storage media with different file system and cluster size.

Scan tool diagnoses and repairs a variety of media problems. It performs several tests, checking everything from the boot sector to its physical surface. If StorageTools finds a problem, it notifies you before making repairs. Optionally allows making all necessary repairs automatically.

With StorageTools defragmenter you achieve maximum performance under Pocket PC/Windows CE with minimum effort! It includes the most professional and user-friendly features ever found in defragmentation software. You must eliminate fragmentation to eliminate the most basic performance bottleneck on your PocketPC device as you can on your powerful desktop computer.

The StorageTools includes full support for all storage/media cards even transparently encrypted volumes by Sentry 2020 for PocketPC, and includes options to choose FAT type and cluster size when formatting, plus the ability to create a backup FAT to improve storage reliability.


  • Display detailed file system statistics
  • Format storage cards with any file system type and any cluster size
  • Verify file system integrity
  • Repair file system errors
  • Supports all Windows CE storage media: MMC/SD, compact flash, etc.
  • Concurrently works with multiple storage cards
  • Automatic card insertion and removal detection
  • Install and Uninstall options
  • Supports FAT and FAT32 file systems
  • Analyze file system fragmentation level
  • Defragment files and free space


  • Format recovers storage card space by using smaller cluster size
  • Defragment dramatically improves storage card performance
share|improve this answer
What does this have to do with TRIM? Defragging doesn't do anything on an SD card. Even if it did, the OS has no control over where the data on an SD card physically resides, so it wouldn't really be possible. I suppose garbage collection is similar to defragging in some ways, but it's purely up to the SD card's controller. You can't control it. TRIM is a command that notifies the controller when data has been erased. Its purpose is to help garbage collection happen more efficiently. The only say an OS has into what an SD card physically does with data is the TRIM command. – William T Froggard Oct 10 '15 at 22:47

First backup all your data on the SD card. Then you can use the SD Formatter tool and in options select FULL (Erase):

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .