<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Trebuchet MS","sans-serif";
color:#17365D;
font-weight:normal;
font-style:normal;}
p.Default, li.Default, div.Default
{mso-style-name:Default;
margin:0in;
margin-bottom:.0001pt;
text-autospace:none;
font-size:12.0pt;
font-family:"Arial","sans-serif";
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#17365D">As per 1.2.1 spec,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#17365D"><o:p> </o:p></span></p>
<p class="Default"><b><i><span style="font-size:9.0pt">“NVM Capacity (NVMCAP): </span>
</i></b><i><span style="font-size:9.0pt">This field indicates the total size of the NVM allocated to this namespace. The value is in bytes. This field shall be supported if Namespace Management and Namespace Attachment commands are supported.
<o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:9.0pt">Note<u>: This field may not correspond to the logical block size multiplied by the Namespace Size field. Due to thin provisioning or other settings (e.g., endurance), this field may be larger or smaller
than the Namespace Size reported.</u> </span></i><i><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#17365D"><o:p></o:p></span></i></p>
<p class="MsoNormal"><i><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#17365D"><o:p> </o:p></span></i></p>
<p class="Default"><b><i><span style="font-size:9.0pt">Namespace Size (NSZE): </span>
</i></b><i><span style="font-size:9.0pt">This field indicates the total size of the namespace in logical blocks. A namespace of size n consists of LBA 0 through (n - 1). The number of logical blocks is based on the formatted LBA size. This field is undefined
prior to the namespace being formatted. <o:p></o:p></span></i></p>
<p class="Default"><i><span style="font-size:9.0pt"><o:p> </o:p></span></i></p>
<p class="Default"><i><span style="font-size:10.0pt">The size of a namespace is based on the number of logical blocks requested in a create operation, the format of the namespace, and any characteristics (e.g., endurance). The controller determines the NVM
capacity allocated for that namespace. Namespaces may be created with different usage characteristics (e.g., endurance) that utilize differing amounts of NVM capacity.
<u>Namespace characteristics and the mapping of these characteristics to NVM capacity usage are outside the scope of this specification.”<o:p></o:p></u></span></i></p>
<p class="Default"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="Default"><span style="font-size:9.0pt">I am interested in creating a single namespace that uses up the entire NVM capacity so that I am not left with any unallocated NVM capacity.<o:p></o:p></span></p>
<p class="Default"><span style="font-size:9.0pt">However, namespace creation command takes in the number of logical blocks and not the size in bytes. What is the exact relation between NVM capacity in bytes and Namespace Size in blocks. How to incorporate the
factors like endurance to get the number of blocks that such entire NVM capacity is used?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#17365D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#17365D">Thanks,</span><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#17365D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Trebuchet MS","sans-serif";color:#17365D">Ankit<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>