Linux and Windows report different physical sector size for Intel Optane SSD DC P4801X Series
The Intel article How to Change the Logical Sector Size in NVMe Drives says very little:
Generic Intel® NVMe SSDs support only traditional 512B and 4096B sector sizes.
A method of finding out (and changing) the LBA Format is shown in the article How to change Intel Optane P4800X sector size. I assume that this disk is a close cousin to your model.
The article says:
The LBA Format for this drive is sub-optimal out of the factory. If you run:
nvme id-ns -H /dev/nvme1n1
It will show you:
LBA Format 0 : Metadata Size: 0 bytes - Data Size: 512 bytes - Relative Performance: 0x2 Good (in use) LBA Format 1 : Metadata Size: 8 bytes - Data Size: 512 bytes - Relative Performance: 0x2 Good LBA Format 2 : Metadata Size: 16 bytes - Data Size: 512 bytes - Relative Performance: 0x2 Good LBA Format 3 : Metadata Size: 0 bytes - Data Size: 4096 bytes - Relative Performance: 0 Best LBA Format 4 : Metadata Size: 8 bytes - Data Size: 4096 bytes - Relative Performance: 0 Best LBA Format 5 : Metadata Size: 64 bytes - Data Size: 4096 bytes - Relative Performance: 0 Best LBA Format 6 : Metadata Size: 128 bytes - Data Size: 4096 bytes - Relative Performance: 0 Best
The above first three formats are less efficient. Note that changing the format will most likely require re-formatting the disk.
The article deals with the Linux version of the tools. It's possible that they will work in WSL (although perhaps better in WSL1 than WSL2), but the Windows version could perhaps be found in Intel Solid State Drive Tools.
Running the nvme
tool, you might be able to find out the LBA Format
advertised by the disk, and change it, if it's not one of the formats
listed as "best".
As this is an SSD, I would assume that the real physical sector size is 4K, but that also both 512 and 4096 will work. However, if the operating system is unaware of the real physical sector size, it will work less efficiently with the disk.