All of lore.kernel.org
 help / color / mirror / Atom feed
* Find Allocation Unit Size
@ 2018-12-14  6:39 Marc Smith
  2018-12-14 14:41 ` Keith Busch
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Smith @ 2018-12-14  6:39 UTC (permalink / raw)


Hi,

I'm testing some NVMe drives, and playing with creating multiple
namespaces (via the nvme CLI tool). I've noticed with some values,
there is rounding that is occurring (or so I assume). I'm using a 4096
block size, and with values like 200 GiB or 1000 GiB I do not see the
rounding occur (checking value in bytes against unvmcap after
creation).

But other values do seem to round... I suspect this is aligning to the
allocation unit size, but I'm not sure where to find that value for my
NVMe drives? Hoping someone could point me in the right direction!

Thanks in advance.


--Marc

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-14 15:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-14  6:39 Find Allocation Unit Size Marc Smith
2018-12-14 14:41 ` Keith Busch
2018-12-14 15:44   ` Marc Smith

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.