• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Defrag SSD

Status
Not open for further replies.
So what's funny is needing to do a shrink operation with, say PerfectDisk 12.5. I actually use this quite a bit when migrating an OS to different SSDs, or taking an exact copy. Why migrate a huge volume when you can shrink it first. But to do that, Windows thinks it needs to know that the blocks have been all bunched up into one section of the drive, so you can shrink the volume. PD offers an extremely efficient shrink prep job to do this. Works great, but in reality, what is it actually doing? Where it thinks the blocks it knows about are, has no bearing on where they physically live on the NAND.
 
So what's funny is needing to do a shrink operation with, say PerfectDisk 12.5. I actually use this quite a bit when migrating an OS to different SSDs, or taking an exact copy. Why migrate a huge volume when you can shrink it first. But to do that, Windows thinks it needs to know that the blocks have been all bunched up into one section of the drive, so you can shrink the volume. PD offers an extremely efficient shrink prep job to do this. Works great, but in reality, what is it actually doing? Where it thinks the blocks it knows about are, has no bearing on where they physically live on the NAND.

Why is that funny? I guess this statement stems from a lack of understanding of how filesystems work.

NTFS (and most other common filesystems) map the files to ranges or extents of LBAs on the block devices. If you just shrink a partition or filesystem without first making sure that the LBAs at the end (which will no longer be part of the filesystem) are unused, then some of your files will be corrupted. So you first have to move all the data in the LBAs at the end to LBAs that will not be truncated by the shrink process. It does not matter where the data is in the flash memory, just as long as the LBAs the SSD has in its map get updated properly.
 
lol JoeComp, lol... You are good at arguing, but you're wrong. Because of write combining and interleaving large data is sent to several nand die's. This is how SSD's achieve their speed. Do yourself a favor and read the entire article.
Proof:
http://www.anandtech.com/show/2829/5
 
Why is that funny? I guess this statement stems from a lack of understanding of how filesystems work.


Ok genius, I know exactly how it works. I meant it was funny in how it pertains to this particular conversation of late. Think about it, and get off your high horse.
 
lol JoeComp, lol... You are good at arguing, but you're wrong. Because of write combining and interleaving large data is sent to several nand die's. This is how SSD's achieve their speed. Do yourself a favor and read the entire article.
Proof:
http://www.anandtech.com/show/2829/5

I have read everything Anand has written about SSDs. He gets most of it right, although he occasionally has some minor mistakes. But that is mostly irrelevant to this discussion.

Anyway, that article does not disprove anything I have said. You will notice that I did mention the possibility of interleaving already. If the data is split up for interleaving, it is done in order to speed up the writes and reads. It is equivalent to having the data be in sequential flash pages.

Nothing I am discussing is a difficult concept. You would do better to try to understand how SSDs and flash memory works rather than continuing to post nonsense.
 
Ok genius, I know exactly how it works. I meant it was funny in how it pertains to this particular conversation of late. Think about it, and get off your high horse.

You obviously did not understand before my explanation. You are welcome. And my advice is to stop calling people idiots when you clearly did not know what you were talking about.
 
Ok. Joe can run his SSD defrag utility and the rest of the computing world won't. And I think that wraps this thread up.
 
I'm not sure how I'm not making sense when mentioning "the OS" since myDefrag uses "the OS"'s defrag API to do it's magic.

Ok. Joe can run his SSD defrag utility and the rest of the computing world won't. And I think that wraps this thread up.

Yup.
 
I'm not sure how I'm not making sense when mentioning "the OS" since myDefrag uses "the OS"'s defrag API to do it's magic.

The OP was asking about a third-party defrag program which he said has an SSD-specific algorithm.

Whether it uses some OS-calls to write to disk or not makes little difference in the question of what program is responsible for the pattern of writes.
 
I know of no OS that has an SSD-specific defrag routine built in. What OS are you using that has one?

The OP was asking about a defrag program which he said has an SSD-specific algorithm.

It's the standard defrag API that's included as system library in Windows 2000, 2003, XP, Vista, 2008, and Win7. The defrag program that OP was asking about uses it.

MyDefrag is extremely solid because it is based on the standard defragmentation API by Microsoft, a system library that is included in Windows 2000, 2003, XP, Vista, 2008, and Win7. Most defragmenters are based on this API, including the free defragmenter that comes with Windows and many commercial defragmenters. Basically all MyDefrag does is send "move this file to that location" commands to the API. The API is part of the operating system and can safely move almost any file on the disk, without risk and while the computer is in full use.

The "SSD-specific algorithm" that OP is speaking of is only a script that consolidates files to the beginning of the drive as the OS sees it.

Flash memory disks

Defragment and consolidate free space on the selected disk(s). This script is specially designed for Flash and SSD disks. It will defragment all the fragmented files and make the free space as large as possible by moving all files to the beginning of the disk.

Dev center info regarding the API:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363911(v=vs.85).aspx
 
The "SSD-specific algorithm" that OP is speaking of is only a script that consolidates files to the beginning of the drive as the OS sees it.

If that is all the information that they tell you, then I certainly would not use that on an SSD. If the OP is going to even consider running a defrag on his SSD (as I have said, it is unlikely to help most consumer workloads), he should at least pick something that has a specific algorithm designed for SSDs.
 
You know Joe, it really takes a special person to argue the merits of SSD defrag, and then state that you personally never run an ssd defrag. Congratulations, you won the internet argument!
 
You know Joe, it really takes a special person to argue the merits of SSD defrag, and then state that you personally never run an ssd defrag. Congratulations, you won the internet argument!

Do you find the statement (below) difficult to understand? Or did you just not bother reading my previous posts in this thread before posting your nonsense?

My guess is that it is probably rare for a typical consumer to have an SSD get into a state where an SSD defrag run would produce a noticeable increase in performance. Most consumers should not even worry about it.
 
The "SSD-specific algorithm" that OP is speaking of is only a script that consolidates files to the beginning of the drive as the OS sees it.

That's interesting. Does Windows defrag still do that for HDDs? I remember in the Windows for Workgroups days they did it that way. But that seems extraordinarily non-ideal for an HDD filesystem.
 
Doesn't an SSDs power come from its randomness in nature? I would like to see someone write a Fragmenter program so that proper benchmarks could be done
 
That's interesting. Does Windows defrag still do that for HDDs? I remember in the Windows for Workgroups days they did it that way. But that seems extraordinarily non-ideal for an HDD filesystem.

The script is part of the Mydefrag program and is just one of the options supported by the API. It's not windows that does that it specifically.
 
Status
Not open for further replies.
Back
Top