Answer the question
In order to leave comments, you need to log in
Should I increase the sector size of sata SSD and NVMe M2 to 4K (or even 64K)?
SATA SSD:
hdparm -I /dev/sda | grep -i "sector size"
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
nvme1n1 0 512B (DISC-GRAN) 2T 0
└─nvme1n1p1 0 512B (DISC-GRAN) 2T 0
Answer the question
In order to leave comments, you need to log in
Is it worth increasing the sector size of sata SSD and NVMe M2 to 4KDepends on the situation.
Will this increase the performance of qcow2 VMs on those disks (fs - ext4)?Not enough information to say. It depends on many factors.
Performance will not increase because
1) you will not change the size of the physical sector. Hard drives with the possibility of home low-level formatting were last seen 20 years ago on the IDE and before it.
2) the size of the logical sector can make it a little easier to work with the file system if you have huge files by reducing the number of sectors. But in general, the linear speed will apparently not change, and the random acceleration will slow down. Well, in any case, 512b will remain at the physical level.
3) Physical Sector size: 512 bytes
don't trust this info. Inside there can be 4k, emulating 512b. It is quite difficult to find hard drives with 512b production sector of 2011+. True, this is the exact infa for the HDD. Maybe in SSD 512byte sectors are still quite the norm.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question