SSD Defrag Optimize

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Cerb

Elite Member
Aug 26, 2000
17,484
33
86
In an ideal world, they shouldn't have to be re-written at all. SSD's don't care about the physical location of the data like HDD's do. The flash translation layer presents the flash cells as a spinning disk to the host, but it's just a table of pointers, not an actual spinning disk.
The translation layer could simply "lie" to the host during a defrag - A request to move data from location B to location A comes in - instead of erasing the data, rewriting it somewhere else on the flash cells and updating the translation table, it could simply say "OK, I moved that data from B to A for you" and just update the translation table to reflect this without rewriting the data.
And, there's no reason some given SSD couldn't do that. Sandforce SSDs might well do that, already. The SSD would have to know about the data being read and written, for that to work, or look all written data up against a dedup table. Most SSD makes probably don't want to add that kind of complexity, or risk poor performance over time, from doing so, given that write cycle life is not normally a problem.

Ultimately, it would be nice for OSes to have bare flash FSes, and bare flash interface options. But, today, that seems to be something reserved for specialized companies, and very large tech-dependent companies (FI, Google, and Facebook).
 

destrekor

Lifer
Nov 18, 2005
28,799
359
126
In an ideal world, they shouldn't have to be re-written at all. SSD's don't care about the physical location of the data like HDD's do. The flash translation layer presents the flash cells as a spinning disk to the host, but it's just a table of pointers, not an actual spinning disk.
The translation layer could simply "lie" to the host during a defrag - A request to move data from location B to location A comes in - instead of erasing the data, rewriting it somewhere else on the flash cells and updating the translation table, it could simply say "OK, I moved that data from B to A for you" and just update the translation table to reflect this without rewriting the data.

And, there's no reason some given SSD couldn't do that. Sandforce SSDs might well do that, already. The SSD would have to know about the data being read and written, for that to work, or look all written data up against a dedup table. Most SSD makes probably don't want to add that kind of complexity, or risk poor performance over time, from doing so, given that write cycle life is not normally a problem.

Ultimately, it would be nice for OSes to have bare flash FSes, and bare flash interface options. But, today, that seems to be something reserved for specialized companies, and very large tech-dependent companies (FI, Google, and Facebook).

Isn't NVMe a path to let flash shed the HDD baggage? Perhaps it's incomplete as far as a total HDD>Flash transition, but it sure seems to be on the right track if it isn't already addressing your concerns.
 

destrekor

Lifer
Nov 18, 2005
28,799
359
126
3dxpoint is coming anyways...

So far the design focus has been on incorporating that onto DIMMs in order to marry RAM with storage for different applications. Which through that method you get a vastly different approach to storage, but I don't think that method is intended for regular storage uses; rather, I think that's more intended for database and other datacenter use cases.

I'm curious if they can keep all of the aspects of the technology, and incorporate it into add-on components meant for dedicated storage through NVMe.
 

TheELF

Diamond Member
Dec 22, 2012
3,993
744
126
It will come out as ssd first and then as a ram/dimm version.
You won't have to read anything from disk anymore since your disk will be your memory,or at least part of it,like a ramdisk, since high end users(gamers) will still want their higher speed ram.
 

destrekor

Lifer
Nov 18, 2005
28,799
359
126
It will come out as ssd first and then as a ram/dimm version.
You won't have to read anything from disk anymore since your disk will be your memory,or at least part of it,like a ramdisk, since high end users(gamers) will still want their higher speed ram.

So an SSD version of the 3D XPoint memory will be addressed by the system as RAM, but otherwise be a logical storage volume? I'm assuming there must be something done at the controller level, and something at the OS level too, because how will an SSD version, using NVMe, be addressed by the OS as actual RAM? Something like that must have to happen because otherwise, any means of expansion outside of the DIMM slots can no longer be treated by the system as RAM, at least, that's not something of which I'm aware is possible.

Or will be the benefit be that, when used as a true storage volume, the performance is so fast that shuttling data in and out of system memory is no longer a performance penalty? As a ramdisk that makes sense, but that's assuming it's a logical volume carved out of the RAM itself, whatever it's memory type. But if it's using any other kind of system bus, be it SATA, SAS, or NVMe over PCIe, an OS won't treat it like RAM (though it could be treated as cache). Right?
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |