Notices

Tips and Tricks Share tips that can save others time and frustration here !

Reply
 
LinkBack Thread Tools
Old 02-11-06, 10:27 AM   #1 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,570
Thanked 1 Time in 1 Post
TUTORIAL: Defragment (reformat) your built-in File Store from time to time!

I haven't ever formatted/initialized my File Store ever since I've bought my Pocket Loox 720 (some 14-15 months ago) and, when I started making some explicit tests to see how fast it is, I was really frightened to see it was about 30 (thirty) times slower to write to than after a reformat. Indeed it's worth reformatting the File Store in order to gain back the lost speed!

Please see http://www.pocketpcmag.com/blogs/ind...3&p=521&more=1 for more info / the complete tutorial!
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Sponsor Ads
Old 02-11-06, 01:48 PM   #2 (permalink)
Aximsite Veteran
 
netsyd's Avatar
Uber Member
 
Join Date: Nov 2005
Location: In my cube.
Posts: 1,516
Device: Apple iPhone
Carrier: Cingular
Thanked 0 Times in 0 Posts

Awards Showcase
Aximsite Active Bronze Member 
Total Awards: 1

I'll check it out... thanks!
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


Apple iPhone
O2 XDA Trion - WM6
T-Mobile SDA - WM6
netsyd is offline   Reply With Quote
Old 02-11-06, 02:50 PM   #3 (permalink)
Aximsite Elite
 
Tankman's Avatar
Addicted Member
 
Join Date: Sep 2005
Location: Pennsylvania
Posts: 3,609
Thanked 1 Time in 1 Post

Awards Showcase
Aximsite Active Bronze Member 
Total Awards: 1

Interesting and logical.

I'm going to check this out today!

Thanks for the post! :approve:
__________________
Tankman

X50 High
X50v
WM 2003SE

"Minds are like parachutes.
They only work when they are open."

James Dewar Sr.
Tankman is offline   Reply With Quote
Old 02-11-06, 05:27 PM   #4 (permalink)
Aximsite Legend
 
Howard2k's Avatar
Addicted Member
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 13,721
Thanked 4 Times in 4 Posts

Awards Showcase
Aximsite Active Silver Member Moderator Medal Silver Poster 
Total Awards: 3

Thanks for the article.

One thing I didn't see was firm statistics to show the difference in performance between fragmented and non-fragmented file systems.

I browsed your article and made it to this page (http://pocketpcmag.com/forum/topic.asp?TOPIC_ID=17921) which it said had some benchmarks, but I only saw lots of information on formatting.

While nobody would dispute the fact that formatting makes a difference, I didn't see any hard firm numbers showing the differences in performance on a fragmented file system vs. an unfragmented file system.

Are they there somewhere?
__________________
Always read stuff that will make you look good if you die in the middle of it.
Howard2k is offline   Reply With Quote
Old 02-15-06, 09:04 AM   #5 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,570
Thanked 1 Time in 1 Post
Originally Posted by Howard2k
Thanks for the article.

One thing I didn't see was firm statistics to show the difference in performance between fragmented and non-fragmented file systems.

I browsed your article and made it to this page (http://pocketpcmag.com/forum/topic.asp?TOPIC_ID=17921) which it said had some benchmarks, but I only saw lots of information on formatting.

While nobody would dispute the fact that formatting makes a difference, I didn't see any hard firm numbers showing the differences in performance on a fragmented file system vs. an unfragmented file system.

Are they there somewhere?
Well, I have done quite a few benchmarks with both the above-mentioned Loox - the 30-times speed difference, for example. I've also made intentional fragmentation by copying hundreds of small files into my iPAQ 2210's FS, deleting half of it, recopying, redeleting some other half of it, and then, benchmarking the copy a big file to the above-way fragmented FS.

You can also try the same - just benchmark a long (at least 15-20 Mbytes in size) file transfer over ActiveSync to the File Store; then, defragment the filestore and do it again. Most probably, you'll see a performance (speed) increase, which can be pretty dramatic if your FS was heavily fragmented.

BTW, I've updated the article in the meantime - simply moving all the files to, say, your desktop computer and copying back will do the trick. You don't even need to format the File Store.

EDIT: sorry, my second word should have been 'have', not 'haven't' - I haven't read the answer before senfding it
__________________
MS MVP- Mobile Devices.

Last edited by Menneisyys; 02-15-06 at 09:17 AM.
Menneisyys is offline   Reply With Quote
Old 02-15-06, 09:11 AM   #6 (permalink)
Aximsite Legend
 
Howard2k's Avatar
Addicted Member
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 13,721
Thanked 4 Times in 4 Posts

Awards Showcase
Aximsite Active Silver Member Moderator Medal Silver Poster 
Total Awards: 3

Thanks.

I believe you do this for your love of technology, not for huge sums of money. So don't be offended but what I'd REALLY like to see on this subject is:

* A well fragmented file system documented by the Windows storage tools showing both statistically and graphically the fragmentation of the storage card.

* Copy a large file to the storage card - as you said, perhaps through AS is good enough.

* Further documentation on the storage card, paying special attention to the location of the new large file and the updated statistics. It should be graphically present on the storage tools windows.

* Then a comparison of the file being copied to a blank (and therefore unfragmented) storage card.

Lastly - some technical explanation why we're seeing a difference in performance. If there is no mechanical seek time, what IS causing such an obvious difference in speed?


I don't have a card reader, otherwise I'd be more than happy to do this myself. There seems to be so much confusion about this whole thing it'd be great to get some clear and firm answers, and I think you're ALMOST there. :)
__________________
Always read stuff that will make you look good if you die in the middle of it.
Howard2k is offline   Reply With Quote
Old 02-15-06, 09:20 AM   #7 (permalink)
Contributing Reviewer
 
Join Date: Jan 2005
Posts: 4,570
Thanked 1 Time in 1 Post
Originally Posted by Howard2k
Thanks.

I believe you do this for your love of technology, not for huge sums of money. So don't be offended but what I'd REALLY like to see on this subject is:

* A well fragmented file system documented by the Windows storage tools showing both statistically and graphically the fragmentation of the storage card.
That's a nice idea! I'll definitely do some tests like this as soon as I have some free time!

Quote:
Lastly - some technical explanation why we're seeing a difference in performance. If there is no mechanical seek time, what IS causing such an obvious difference in speed?
My theory is the following: "if you copy a new file in a fragmented place, the FAT table seems to be written to without any kind of caching, unlike with the case of sequential writing (when it suffices to flush the new FAT addresses only once).

It seems the FAT table is written to only once if there's no fragmentation (that is, the consequent clusters are written to in a row); if there is, however, fragmentation, the operating seems to write to the file system when it needs to skip some memory area allocated to some other file.

This is really a pain in the back, particularly if the cluster size is small (say, 512 bytes - the default with a lot of FAT32 systems).

Think of it: if you copy a 100 kbyte-long file to a heavily fragmented memory and the FAT-based memory controller needs to write to new address information after transferring, say, every 512 bytes (the memory is so fragmented), then, the file copy will really slow down – in my case, easily to the 1/30th of the original, defragmented/freshly formatted speed."

I may be completely wrong though about this. Still, the above theory seems to be prolly the best fit, as far as the technical reasons for this behaviour is concerned.
__________________
MS MVP- Mobile Devices.
Menneisyys is offline   Reply With Quote
Old 02-15-06, 09:23 AM   #8 (permalink)
Aximsite Legend
 
Howard2k's Avatar
Addicted Member
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 13,721
Thanked 4 Times in 4 Posts

Awards Showcase
Aximsite Active Silver Member Moderator Medal Silver Poster 
Total Awards: 3

You're correct about the FAT entries. Each fragment would have its own entry. That's certainly true. I don't know if it would cause THAT much delay though.

It'll be interesting to see if you have the time :)
__________________
Always read stuff that will make you look good if you die in the middle of it.
Howard2k is offline   Reply With Quote
Reply

Tags
builtin, defragment, file, reformat, store, time, tutorial

Sponsor Ads

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 02:53 PM.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2003-09 LeckMedia, LLC