71.1k views
4 votes
An ssd has 8 dies, each die has 16 planes, each plane has 4096 blocks, each block has 256 pages, and each page is 32 kb size. if 5% is saved for bad block mapping, what will be usable size of the ssd.

1 Answer

7 votes

Final answer:

To calculate the usable size of the SSD, multiply the number of dies, planes, and blocks together. Take into account the size of each page and subtract the percentage reserved for bad block mapping.

Step-by-step explanation:

To calculate the usable size of the SSD, we need to take into account the number of dies, planes, blocks, pages, and the size of each page. We can start by determining the total number of blocks in the SSD by multiplying the number of dies, planes, and blocks together. So, 8 dies x 16 planes x 4096 blocks = 524,288 blocks. Next, we need to consider the size of each block, which is 256 pages x 32 KB = 8,192 KB. To find the usable size, we need to subtract the percentage reserved for bad block mapping. If 5% is reserved, we multiply the total size by 0.95 (1 - 0.05) to get the usable size. So, the usable size of the SSD would be 524,288 blocks x 8,192 KB x 0.95 = 4,545,259,520 KB, or approximately 4.54 TB.

To calculate the usable size of the SSD, multiply the number of components and subtract 5% for bad block mapping, resulting in a usable size of 3.8 TB.

The student's question involves calculating the usable size of an SSD with a given structure and accounting for bad block mapping. To estimate the size, we will multiply the number of dies, planes, blocks, and pages and then multiply by the size of each page, considering that 5% of the space is not usable due to bad block mapping.

Number of dies: 8

Number of planes per die: 16

Number of blocks per plane: 4096

Number of pages per block: 256

Page size: 32 KB (Kilobytes)

First, calculate the total number of pages in the SSD:

8 dies * 16 planes/die * 4096 blocks/plane * 256 pages/block = 134,217,728 pages

Next, calculate the total capacity in KB:

134,217,728 pages * 32 KB/page = 4,294,967,296 KB

Convert the total capacity to terabytes, considering that 1 TB = 1024 GB, 1 GB = 1024 MB, and 1 MB = 1024 KB:

4,294,967,296 KB / 1024 KB/MB / 1024 MB/GB / 1024 GB/TB = 4 TB

Now, we subtract the 5% reserved for bad block mapping:

Usable capacity = 4 TB * (1 - 0.05) = 3.8 TB

The usable size of the SSD is 3.8 TB.

User Ali Torki
by
9.2k points