Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: support formatting nvme to optimal block size #2535

Open
rpigott opened this issue Jun 12, 2024 · 0 comments
Open

RFE: support formatting nvme to optimal block size #2535

rpigott opened this issue Jun 12, 2024 · 0 comments

Comments

@rpigott
Copy link

rpigott commented Jun 12, 2024

I'm not a current user, but looking at potentially using archinstall to speed up installation in the future.

I would like it if arch install supported formatting nvme drives with optimal logical block sizes.

Many nvme support multiple logical block sizes (LBA format), usually 512 and 4k, with 4k being faster. The current and supported LBA formats for a namespace can be queried with nvme-id-ns(1), .e.g nvme id-ns -H /dev/nvme0n1, the tool also supports json output.

Setting the lba format:

  1. Is quick and easy at installation time, but also easy to forget
  2. Has a significant performance impact for the lifetime of the install
  3. Is very obnoxious to do later because it necessarily requires formatting the entire namespace, wiping all your data.

The logical block size is technically relevant to more devices, and there is a wiki page about it: https://wiki.archlinux.org/title/Advanced_Format. I'm only interested in nvme support.

@rpigott rpigott changed the title RFE: support formatting nvme RFE: support formatting nvme to optimal block size Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant