Miks SSD-d tulevad ebatavalisi mõõtmeid?

Sisukord:

Miks SSD-d tulevad ebatavalisi mõõtmeid?
Miks SSD-d tulevad ebatavalisi mõõtmeid?

Video: Miks SSD-d tulevad ebatavalisi mõõtmeid?

Video: Miks SSD-d tulevad ebatavalisi mõõtmeid?
Video: Lesson 9 - Saints or Sinners - The Pioneer School - YouTube 2024, November
Anonim
Tundub, et SSD-d tulevad tänapäeval üsna erinevas "uues" suuruses, kuid miks see nii on? Tänane SuperUseri Q & A postitus on vastused ühele uudishimuliku lugeja küsimusele.
Tundub, et SSD-d tulevad tänapäeval üsna erinevas "uues" suuruses, kuid miks see nii on? Tänane SuperUseri Q & A postitus on vastused ühele uudishimuliku lugeja küsimusele.

Tänane küsimuste ja vastuste seanss jõuab meile viisakalt SuperUserini - Stack Exchange'i ja kogukonnapõhiste Q & A veebisaitide rühmitusse.

Kuumad fotod on Jung-Nam Nam (Flickr).

Küsimus

SuperUseri lugeja Dudemanword soovib teada, miks SSD-d tunduvad olevat imelikku GB-i suurustes:

Why do SSDs come in sizes like 240 GB or 120 GB rather than the normal 256 GB or 512 GB? Those numbers make much more sense than the 240 GB or 120 GB size.

Miks ettevõtted toodavad SSD-sid, mis tunduvad olevat "mittestandardsed" suurused?

Vastus

SuperUseri kaasautorid Patrick R. ja Adam Davis saavad meile vastuse. Esiteks, Patrick R.:

While a lot of modern SSDs like the 840 EVO series do provide the sizes you are used to, like the mentioned 256 GB, manufacturers used to preserve a bit of storage for mechanisms fighting performance drops and defects.

If you, for example, bought a 120 GB drive, you can be pretty sure that it is really 128 GB internally. The preserved space simply gives the controller/firmware room for stuff like TRIM, Garbage Collection, and Wear Leveling. It was common practice to leave a bit of space unpartitioned – on top of the space that had already been made invisible by the controller – when SSDs first hit the market, but the algorithms have gotten significantly better, so you should not need to do that anymore.

EDIT: There have been some comments regarding the fact that this phenomenon has to be explained with the discrepancy between advertised space, stated in Gigabytes (i.e. 128 x 10^9 Bytes) versus the Gibibyte value the operating system shows, which is – most of the time – a power of two, calculating to 119.2 Gibibyte in this example.

As for as I know, this is something that comes on top of the things already explained above. While I certainly can not state which exact algorithms need most of that extra space, the calculation stays the same. The manufacturer assembles an SSD that indeed uses a power of two number of flash cells (or a combination of such), though the controller does not make all that space visible to the operating system. The space that is left is advertised as Gigabytes, netting you 111 Gibibyte in this example.

Järgneb Adam Davise vastus:

Both mechanical and solid state hard drives have raw capacity greater than their rated capacity. The “extra” capacity is held aside to replace bad sectors, so the drives do not have to be perfect off the assembly line, and so that bad sectors can be re-mapped later during use with the spare sectors. During initial testing at the factory, any bad sectors are mapped to the spare sectors. As the drive is used, it monitors the sectors (using error correction routines) to detect bit level errors and when a sector starts going bad, it copies the sector to a spare, then re-maps it. Whenever that sector is requested, the drive goes to the new sector, rather than the original sector.

On mechanical drives, they can add arbitrary amounts of spare storage since they control the servo, head, and platter encoding, so they can have a rated storage of 1 terabyte with an additional 1 gigabyte of spare space for sector re-mapping.

However, SSDs use flash memory, which is always manufactured in powers of two. The silicon required to decode an address is the same for an 8 bit address accessing 200 bytes as an 8 bit address accessing 256 bytes. Since that part of the silicon does not change in size, then the most efficient use of the silicon real estate is to use powers of two in the actual flash capacity.

So the drive manufacturers are stuck with a total raw capacity in powers of 2, but they still need to set aside a portion of the raw capacity for sector re-mapping. This leads to 256GB of raw capacity providing only 240GB of usable capacity, for instance.

Kas teil on seletamiseks midagi lisada? Helistage kommentaarides. Kas soovite lugeda rohkem vastuseid teistelt tech-savvy Stack Exchange'i kasutajatelt? Tutvu täieliku arutelu teemaga siit.

Soovitan: