Мы в Telegram
Добавить новость
103news.com
Game24.pro
Февраль
2022

Should I defrag my SSD?

0
 Should I defrag my SSD?

A quick primer on defragmentation and when you should and shouldn't do it.

SSDs are now the storage of choice for enthusiasts and gamers alike. Some would even say they are the most impactful upgrade for your PC. They are smaller, faster, and have gotten much more reliable over the years. But do you need to defrag them? The short answer is no. The long answer is absolutely no. 

Before we expand on this too much, it's worth explaining why defragging is beneficial for traditional hard drives. 

HDDs operate using a physical spinning platter, with drive 'heads' that have to be positioned over the correct data. (Think of it like a vinyl record player, only much faster.) Data is stored on different sections of the platter in sequentially ordered blocks. In order to access a block for reading or writing, the drive heads need to be positioned over the correct sector, and then the desired block must pass under the drive heads. Combined, these two steps give the access time for a drive. For a typical 7,200 rpm drive, the rotational latency is 4.17ms (half of one rotation) and the seek time is around 8-12ms.

With usage, data that was once sequentially ordered on a drive can become split across different blocks. This is called fragmentation, and as this happens the drive heads need to access the data from two (or more—sometimes many more) different sections of the platter, drastically decreasing performance. 

Defragmentation reorders the blocks of data sequentially and attempts to restore your hard drive's original performance. After the initial seek time to find the start of the data, everything after that is just sequentially pulling data from one block after another. 

The reason there's no point defragmenting an SSD is that there's no seek time or rotational latency. Instead, SSDs access flash memory (NAND) at much higher speeds, typically less than 50us—that's 50 microseconds, or compared to a typical hard drive with a 15ms average access time, about 300 times faster. But there's more to the story than just speed.

SSDs don't just eliminate moving parts and improve access times, they also have built-in wear-leveling algorithms. The reason is that the NAND gates wear out over time, and are rated in program/erase cycles. Each cell in a modern SSD can be written to about 3,000 times before the cell stops working properly. To avoid individual cells that contain frequently changed data from wearing out faster, SSDs track usage of each block, and the wear-leveling algorithms ensure that over time, the cells on an SSD are written a similar number of times. There are also extra blocks that aren't user-accessible that the algorithms can use to keep the drives from wearing out.

Because of the way SSDs work, not only does data not become fragmented but running a defragmentation utility will actually burn through the program/erase cycles and potentially cause premature 'death' of your SSDs. It's not something that would happen quickly—a 500GB Samsung 850 Evo as an example is rated for 150TB of total writes, or the equivalent of writing to every block of the drive at least 300 times. With typical users writing less than 20GB per day on average, it would require more than 20 years to burn through 150TB of writes. But defragmenting could easily write hundreds of GB of data, which would wear out an SSD much faster.

The good news is that any defragmentation program worth its salt should also detect the presence of an SSD and warn you not to defrag it. In the case of Windows Defrag, when it detects an SSD, it simply gives you the option of Optimizing the Trim, which frees up segments that have been marked as erased—something that it will do automatically once a week anyway. So no, there's no need to defrag an SSD. 





Губернаторы России
Москва

Собянин: Более пяти тысяч семей в СВАО получили новые квартиры по реновации






Губернаторы России

103news.net – это самые свежие новости из регионов и со всего мира в прямом эфире 24 часа в сутки 7 дней в неделю на всех языках мира без цензуры и предвзятости редактора. Не новости делают нас, а мы – делаем новости. Наши новости опубликованы живыми людьми в формате онлайн. Вы всегда можете добавить свои новости сиюминутно – здесь и прочитать их тут же и – сейчас в России, в Украине и в мире по темам в режиме 24/7 ежесекундно. А теперь ещё - регионы, Крым, Москва и Россия.

Moscow.media
Москва

Созданный нейросетью Собянин выманил у заслуженного врача РФ 4 млн рублей



103news.comмеждународная интерактивная информационная сеть (ежеминутные новости с ежедневным интелектуальным архивом). Только у нас — все главные новости дня без политической цензуры. "103 Новости" — абсолютно все точки зрения, трезвая аналитика, цивилизованные споры и обсуждения без взаимных обвинений и оскорблений. Помните, что не у всех точка зрения совпадает с Вашей. Уважайте мнение других, даже если Вы отстаиваете свой взгляд и свою позицию. 103news.com — облегчённая версия старейшего обозревателя новостей 123ru.net.

Мы не навязываем Вам своё видение, мы даём Вам объективный срез событий дня без цензуры и без купюр. Новости, какие они есть — онлайн (с поминутным архивом по всем городам и регионам России, Украины, Белоруссии и Абхазии).

103news.com — живые новости в прямом эфире!

В любую минуту Вы можете добавить свою новость мгновенно — здесь.

Музыкальные новости

Metallica

Группа Metallica даст виртуальный концерт в Fortnite 22 июня




Спорт в России и мире

Алексей Смирнов – актер, которого, надеюсь, еще не забыли

Массовыми патриотическими акциями отметили День России на заводах АО "Желдорреммаш"

Площадь пожара в здании у метро «Динамо» в Москве составляет 400 квадратов

В Москве тушат пожар в здании у метро «Динамо»


Уимблдон

Испанский теннисист Надаль не сыграет на Уимблдоне



Новости Крыма на Sevpoisk.ru


Арина Соболенко

Соболенко в купальнике зажигательно станцевала перед женатым бойфрендом. Видео



Частные объявления в Вашем городе, в Вашем регионе и в России