I grabbed 4 1TB Kingston KC3000 NVME disks, and as I plan on using them in a proxmox server. I’ve investigated their LBA (Logical block addressing) format support to gain better performance by using the larger native block size.
Bonus fact: Some NVME drives also have LBA formats that support on-disk metadata, and this can be bypassed for ZFS or similar filesystems that maintain metadata.
Prerequisite
Install nvme cli for debian/ubuntu (Optional)
apt install nvme-cli
nvme-cli (with human readable output)
nvme id-ns -H /dev/nvme0n1
![](https://bunny-wp-pullzone-z0oravgv4u.b-cdn.net/wp-content/uploads/sites/2/2023/04/image-2-859x1024.png)
The LBA part is the important part for now.
Notice: There are 2 LAB Formats (512 and 4096). 512 is the current in use format, but 4096 is marked as giving better relative performance.
smartctl (with all information)
smartctl -a /dev/nvme0
![](https://bunny-wp-pullzone-z0oravgv4u.b-cdn.net/wp-content/uploads/sites/2/2023/04/image-660x1024.png)
Again, the support LBA size is the important part.
Format the NVME disk to use a different LBA
nvme format --lbaf=1 /dev/nvme0n1
![](https://bunny-wp-pullzone-z0oravgv4u.b-cdn.net/wp-content/uploads/sites/2/2023/04/image-3.png)
After that. test the result from the previous
![](https://bunny-wp-pullzone-z0oravgv4u.b-cdn.net/wp-content/uploads/sites/2/2023/04/image-6.png)
Additional Resources
https://wiki.archlinux.org/title/Advanced_Format
Categories: TECHNICAL
Leave a Reply