If you buy a new computer or upgrade an old computer, you may obtain an SSD (from Solid-State Drive) instead of the traditional hard drive (HDD). Switching from HDD to SSD is one of the best upgrades you can make on a PC, as it will greatly improve performance.
Why; What makes SSDs pioneering?
Below we will see what the SSDs are, how they work, because they are so useful but we will also talk about the SSD's most significant disadvantage. So if you want to change disk / s and think about SSD it would be good to read the article.
Computers and memory
To understand how SSDs work and why they are so useful, we first need to understand how the computer's memory works. The memory architecture of a computer is divided into three phases:
- The cache
- The memory
- The data storage disc
Each of these features serves important functions of your computer.
Η hidden memory is the internal memory module. Your computer uses cache as a kind of draft for calculations and data processes. The electrical paths to the cache are the shortest, making data access almost instantaneous. However, the cache is too small, so the data it contains should be replaced constantly.
Η RAM (random access memory from Random Access Memory) is the part your computer uses to store program-related data and processes that are running. Access to RAM is slower than cache access, but in a negligible amount. As with cache, the data it contains should be permanently deleted, usually with each restart of the computer.
Ο hard drive is the place where permanent storage occurs. There are all programs, settings files, documents, music files, movies and everything else on your PC. If you try to open a program, the computer will have to load it from your hard disk and after the RAM.
The most important thing to keep from all the above is the great difference in speed between the three features. Cache and RAM work at speeds measured in nanoseconds, while a traditional hard drive runs at speeds measured in milliseconds.
In essence, fast data traffic on a computer is relative and congestion-dependent: no matter how fast all its features are. A computer can load and store data as fast as your hard drive can handle.
Here's where the SSDs come in. Traditional hard drives are very slow compared to cache and RAM, while SSDs are faster. This significantly reduces the time it takes to load different programs and processes and makes your computer much faster.
How Do Solid-State Disks Work?
Solid-State Drives serve the same purpose as regular hard disks: they store data and files for long-term use. The difference is that SSDs use a type of memory called "flash memory." It is similar to RAM, but unlike RAM, it does not have to clean its data each time the computer starts. Data on a solid state drive still exists even when it's lost.
If we now open a normal hard drive, you will see that it contains magnetic plates with a reading needle. Before the needle reads or writes data, the plates should be in the correct position.
On the other hand, SSDs use an electric cell grid to quickly send and receive data. These grids are divided into sections called "pages" and the data is stored there. Many pages together form a "block."
SSD is called "solid state" because it has no moving parts.
SSDs can only write on blank pages that are in a block. On regular hard disks, the data can be recorded anywhere and at any time in the "dish." This means that the data can be easily replaced. SSDs can not directly replace data on individual pages. They can only write data on blank pages that are in a block.
So how do SSDs erase data? When some pages in a block are marked as unused, the SSD stores the entire block in memory, erases the entire block, and then resets the data from the memory to the block. You should be aware that deleting a block does not necessarily mean that the data is completely deleted.
SSDs are slowing down over time.
On a new SSD, the blocks filled with blank pages are loaded. So when you try to write new data on the SSD, you will notice amazing recording speeds. However, the more the stored data becomes, and the empty pages are exhausted you will have empty random pages that are not used and will be scattered across all blocks.
As we said above, since the SSD can not directly delete a single page, whenever you want to write new data when the disk is full and there are few empty and scattered pages on the blocks, the SSD should:
- Find a block with several pages labeled "unused"
- Record which pages in this block are necessary
- Delete each page of the block
- Replace the necessary pages in the new block
- and finally use the empty pages to write the new data
So, in fact, once you use many of the blank pages on your SSD, your disk should do all of the above every time new data is uploaded. This is the way the flash memory works.
However, SSDs are still much faster than normal hard drives.
The disadvantage of SSDs
Now that we have seen how Solid-State Drive works, we can also understand one of its biggest drawbacks: flash memory can perform a finite number of records before it "dies."
So, SSDs have a finite number of records. However, this does not mean that a Solid State Drive will not last long.
Reading the above and purchasing an SSD disk, ask your supplier for the average life of the Solid-State Drive you are interested in, or just look at the warranty.