为什么固态硬盘有不寻常的尺寸?

如今固态硬盘似乎有很多种“新”的尺寸,但这是为什么呢?今天的超级用户问答帖子回答了一位好奇的读者的问题。...

为什么固态硬盘有不寻常的尺寸?

如今固态硬盘似乎有很多种“新”的尺寸,但这是为什么呢?今天的超级用户问答帖子回答了一位好奇的读者的问题。

今天的问答环节是由SuperUser提供的,SuperUser是Stack Exchange的一个分支,是一个由社区驱动的问答网站分组。

照片由郑南南(Flickr)提供。

问题

超级用户读者Dudemanword想知道为什么SSD看起来有奇怪的GB大小:

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.

为什么公司生产的固态硬盘看起来是“非标准”尺寸?

答案

超级用户贡献者Patrick R.和Adam Davis为我们提供了答案。首先,帕特里克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 mechani**s 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.

接着是亚当·戴维斯的回答:

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.


有什么要补充的解释吗?在评论中发出声音。想从其他精通技术的Stack Exchange用户那里了解更多答案吗?在这里查看完整的讨论主题。

  • 发表于 2021-04-11 09:59
  • 阅读 ( 135 )
  • 分类:互联网

你可能感兴趣的文章

混合动力驱动(hybrid drive)和固态硬盘(ssd)的区别

混合驱动器与ssd 我们应该从混合磁盘由机械磁盘和固态磁盘组成的角度来理解混合驱动器和固态硬盘的区别。传统上,硬盘是一种机械装置,利用旋转的机械头将数据存储在磁碟上。新的数据存储趋势是固态硬盘(SSD),它...

  • 发布于 2020-10-29 10:14
  • 阅读 ( 278 )

101固态驱动器指南

...便携性的需求。毕竟,如果你能在**上浏览完整的网页,为什么你不能有一台轻便、方便的笔记本电脑呢?但这些便携式机器使用的内存也有影响。如果你的**可以存储千兆字节的数据,而不需要繁重、嘈杂的机械驱动或不断上...

  • 发布于 2021-03-12 07:32
  • 阅读 ( 277 )

固态硬盘的成本即将飞涨:你应该在2017年升级吗?

... 为什么PCIe SSD如此昂贵?一切都是为了表现。PCIe连接类型更直接地链接到主板。像GPU这样的附加卡使用PCIe接口,因为它的延迟很低。因此,PCIe具有更高的理论传输速度,...

  • 发布于 2021-03-16 05:28
  • 阅读 ( 241 )

购买新硬盘:你必须知道的7件事

... 您的硬盘选择会显著影响游戏的性能,这就是为什么我们总是推荐ssd用于游戏的原因。这适用于PC、Xbox One、Xbox One X、PlayStation 3、PlayStation 4、PlayStation 4 Slim、PlayStation 4 Pro或任何更新的游戏机。 ...

  • 发布于 2021-03-18 11:13
  • 阅读 ( 320 )

ssd与hdd:您应该选择哪种存储设备?

... 较新的个人电脑和笔记本电脑现在倾向于选择固态硬盘,但价格低廉的机型可能仍然青睐hdd。两者都有优点和缺点;虽然它们的物理特性可能相似,但它们写入和存储数据的方式却截然不同。 ...

  • 发布于 2021-03-29 11:30
  • 阅读 ( 240 )

多层固态硬盘:什么是slc、mlc、tlc、qlc和plc?

固态驱动器提高了老化计算机的性能,并将较新的PC机转变为高速机器。但是,当你买一个的时候,你会被很多术语轰炸,比如SLC、sataiii、NVMe和M.2。这一切意味着什么?我们来看看! 都是关于细胞的 当前的SSD使用NAND闪存,...

  • 发布于 2021-04-03 00:46
  • 阅读 ( 342 )

emmc与ssd:并非所有固态存储都相等

...化驱动器,对数据进行洗牌以获得更好的性能。 相关:为什么固态硬盘在装满时会减速 SSD通常也使用SATA 3、mSATA或SATA Express接口连接到计算机,这些接口比普通闪存驱动器或SD卡可用的接口快得多。 emmc解释 多媒体卡(MMC)...

  • 发布于 2021-04-07 15:25
  • 阅读 ( 177 )

购买硬盘时,品牌真的重要吗?

...止-启动行为可能会导致驱动器更快地发生故障。这就是为什么**商可能会说,这些类型的驱动器在企业级RAID环境中是官方不支持的,而在企业级RAID环境中,建议使用企业级驱动器。 Backblaze发现这些驱动器几乎立刻就开始累积错...

  • 发布于 2021-04-08 15:17
  • 阅读 ( 180 )

什么是pcie ssd,您的pc中是否需要pcie ssd?

...度约为15.75GB/s。这是一个疯狂的数据量推动一次,这就是为什么各种进入PCIe SSD市场已张贴理论传输速率的结果,可以徘徊在任何地方从1.5GB/s到3.0GB/s以上不打破汗水。相比之下,SATA SSD可以读取550 MBps左右的数据,而在500 MBps到52...

  • 发布于 2021-04-10 00:49
  • 阅读 ( 153 )

如何使您的playstation 4或xbox one更快(通过添加ssd)

...00gb驱动器更多的存储空间。 游戏站4 相关:是时候了:为什么你现在需要升级到SSD PlayStation 4游戏机不支持外部硬盘驱动器,因此不能将外部SSD**游戏机。不过,PlayStation 4允许您访问驱动器托架,在那里您可以卸下内部驱动器...

  • 发布于 2021-04-10 02:35
  • 阅读 ( 185 )
t9d2z02y4
t9d2z02y4

0 篇文章

相关推荐