Ok, so maybe we have term mismatch here. I think of "defragmentation" as
taking pieces of files and putting them in physically sequential locations
on the media to allow the file system to access them in less number of
reads. On a device with heads this also reduces the need to reposition the
heads which is where the major performance gains comes from.
Now flash media typically has a controller, either in software or hardware,
that controls the physical location of data so it can provide wear leveling.
This is an attempt to equally use all parts of the media to prolong life.
So in order to "defrag" a flash media system, you would have to bypass the
wear-leveling piece in order to physically arrange your data. That's
typically not an option.
But as you said, with solid state media, you're not going to get much gain
even if you could because the slowness from fragemented media is probably
95% in the need to do multiple moves of the physical drive head and this
only occurs where there are moving parts (like a microdrive, which has no
load levelling and can be defragmented).
If I'm wrong I'm fine with that and I'd love to understand how flash media
could be defragmented.
And of course this all applied only to writes for flash media. Reads are
fast, so if the OP is seeing read problems it may be something altogether
different.
--
Chris Tacke
Co-founder
OpenNETCF.org
Are you using the SDF? Let's do a case study.
Email us at d c s @ o p e n n e t c f . c o m
http://www.opennetcf.org/donate
"Steve Maillet (eMVP)" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> "At any rate, there's no way to defrag the card."
> No that's not true. fragmentation has NOTHING to do with the card. It's a
> file system level thing and you can defrag a flash card if you really want
> to. It has a HUGE impact on a Microdrive over time. However. fragmentation
> has virtually no impact on solid state media.
>
>
> --
> Steve Maillet
> EmbeddedFusion
> www.EmbeddedFusion.com
> smaillet at EmbeddedFusion dot com
>
>