![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Performance and Maintainance of Windows Vista A forum for performance and maintenance tasks in Windows Vista. (microsoft.public.windows.vista.performance_maintainance) |
|
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
On Jun 9, 7:50 pm, "Dana Cline" wrote:
Given that flash drives aren't that large, wouldn't it make more sense to just create a directory on the hard drive, move the contents of the flash drive to that directory, then immediately move them all back? That _should_ write them all sequentially. You _may_ need to format the flash before moving the files back, but I don't think that would be necessary... Dana Cline - MCE MVP Sure that makes sense. So long as the disk in question isn't a system disk, which can be the case with the 32GB Solid State Disks shipping with some of the new planned lightweight/rugged notebooks. -Michael |
|
|||
|
Well, true, but I don't remember the original poster saying _that_. Yeah, it
would be interesting to have a flash drive for the laptop but 32Gb is _way_ too small. My laptop has a 160Gb and I'm sure it'll be filled up long before the end of its useful life. Dana Cline - MCE MVP "mmaterie" wrote in message ps.com... On Jun 9, 7:50 pm, "Dana Cline" wrote: Given that flash drives aren't that large, wouldn't it make more sense to just create a directory on the hard drive, move the contents of the flash drive to that directory, then immediately move them all back? That _should_ write them all sequentially. You _may_ need to format the flash before moving the files back, but I don't think that would be necessary... Dana Cline - MCE MVP Sure that makes sense. So long as the disk in question isn't a system disk, which can be the case with the 32GB Solid State Disks shipping with some of the new planned lightweight/rugged notebooks. -Michael |
|
|||
|
Again I will say, defragging a USB stick does nothing for you - or anyone.
1. There are zero moving parts in solid state memory (RAM). 2. All file selection is performed electrically 3. Electricity travels at the speed of light (186 thousand plus miles per second) 4. Any "perceived" increase is pure "imagination" on the part of the person who thinks he has made a difference in file access on his memory stick! -- Regards, Richard Urban Microsoft MVP Windows Shell/User (For email, remove the obvious from my address) "Victek" wrote in message ... As I said earlier in the thread, I'm not certain that it makes a difference - some people believe it does and it caught my attention because it was listed in the troubleshooting section of my mp3 player manual. I haven't been able to find a rigorous test with a definitive result. I'm not sure that a comparison with defragging system ram is valid because system ram erases itself when the system powers down - there is little opportunity for fragmentation to grow. OTOH, fragmentation on a flash drive does increase over time, just as it does on a hard drive. Whether it has any impact on data transfer speed or data integrity is the (unanswered) question. "Richard Urban" wrote in message ... To what benefit. Why don't you want to defrag the system RAM. If it needed defragging, which it doesn't, don't you think that would make more sense? Why worry about a drive that is used so very much less than the system RAM is accessed. -- Regards, Richard Urban Microsoft MVP Windows Shell/User (For email, remove the obvious from my address) |
|
|||
|
On Jun 8, 7:34 am, "Victek" wrote:
As I said earlier in the thread, I'm not certain that it makes a difference - some people believe it does and it caught my attention because it was listed in the troubleshooting section of my mp3 player manual. I haven't been able to find a rigorous test with a definitive result. I'm not sure that a comparison with defragging system ram is valid because system ram erases itself when the system powers down - there is little opportunity for fragmentation to grow. OTOH, fragmentation on a flash drive does increase over time, just as it does on a hard drive. Whether it has any impact on data transfer speed or data integrity is the (unanswered) question. "Richard Urban" wrote in message ... To what benefit. Why don't you want to defrag the system RAM. If it needed defragging, which it doesn't, don't you think that would make more sense? Why worry about a drive that is used so very much less than the system RAM is accessed. -- Regards, Richard Urban Microsoft MVP Windows Shell/User (For email, remove the obvious from my address)- Hide quoted text - - Show quoted text - Hi Victek, Here's a quick test you can do for yourself to show that free space fragmentation on Flash drives does affect performance. I did this myself. I took a brand new Kingston 1GB DataTraveler Hi-Speed USB drive with 24MB/sec read and 10MB/sec performance (per the manufacturer). First I did a format of the disk - FAT16. Then, using a development testing tool from Diskeeper Corp (where I work) I fragmented the free space. I used Diskeeper 2007 to confirm the fragmentation as well as DiskView (a more granular tool available from Microsoft - formerly Sysinternals). I created about 45MB of small files (16k to 48k in size) spread all across that Flash disk. I then grabbed the VM Player install file (145MB), and made five more copies of it and zipped (Winzip) them into single 846MB zip file. This file was kept on a separate spindle (SATA disk) from the OS and paging files (to minimize variables from my time tests). I used a simple stop-watch to time how long it took to copy this file from the SATA disk to the USB Flash drive with fragmented free space. It took 2:37 from start to finish. I reformatted the USB drive (which wipes all data from the disk as well), to the FAT16 file system again and rebooted the PC (just to make sure the cache was clear). I then copied that 846MB zip file from the same location over to that USB drive. This time the copy operation took 1:14, less than half the time required to copy than when the free space was fragmented. From a "scientific" perspective the test can be run a few more times to come to an average, but given the difference was so significant, I personally did not feel the need to redo it. Anyone else is certainly welcome to give this a go for themselves. I did test one more case where I fragmented the free space into 24 even chunks and found no difference in copy time. While severe free space fragmentation is an issue, mild free space fragmentation is not - same concept as on physical disk. And yes the 846MB was fragmented in 19 pieces. To create the free space fragmentation (without the tool I'm privileged to have access to), you can copy a large number of small files to the Flash drive and deleted every other one, or other random deletion pattern (vary between deleting every third, fourth, fifth ...n file). If you have some programming skill this can be scripted fairly simply. Just make sure there is enough room left on that USB drive after fragmenting the free space to copy the same test file. The more severe the free space fragmentation, the longer the copy operation will take. That said, the degree to how this translates into real world usage depends. The test case I made up may be so extreme that it is unreal. I don't know what's "real-world" as I don't personally use Flash drives that often, and even then my actual usage isn't likely to equal yours. Assumptions to the contrary would be asinine. How often you want to consider free space consolidation depends. My earlier statement of every 6 months is, or course, contingent. The limited extent to which I use USB drives and the fact my 2GB iPod Nano only ever gets minor and infrequent mp3 file changes, I doubt I'll personally ever need to worry about the free space fragmentation. My only point in the test was proof of concept. |
|
| Thread Tools | |
| Display Modes | |
|
|