Hi All - I use qemu on my centOS 7.7 box that has software raid of 2- SSD disks.
I installed an nVME drive in the computer also. I tried to insall CentOS8 on it (the physical /dev/nvme0n1 with the -hda /dev/nvme0n1 as the disk.
The process started installing but is really "slow" - I was expecting with the nvme device it would be much quicker.
Is there something I am missing how to get a faster disk access ?
Thanks,
Jerry
On 10/12/19 11:38 PM, Jerry Geis wrote:
Hi All - I use qemu on my centOS 7.7 box that has software raid of 2- SSD disks.
I installed an nVME drive in the computer also. I tried to insall CentOS8 on it (the physical /dev/nvme0n1 with the -hda /dev/nvme0n1 as the disk.
The process started installing but is really "slow" - I was expecting with the nvme device it would be much quicker.
Is there something I am missing how to get a faster disk access ?
You should try with some other OS to make sure it is not a hardware (BIOS/MB) problem. Maybe try with Windows or some other Linux and compare speeds?
Also check if there is a firmware/BIOS update for the nVME controler...
Thanks,
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
I have CentOS 8 install solely on one nvme drive and it works fine and relatively quickly.
/dev/nvme0n1p4 218G 50G 168G 23% / /dev/nvme0n1p2 2.0G 235M 1.6G 13% /boot /dev/nvme0n1p1 200M 6.8M 194M 4% /boot/efi
You might want to partition the device (p3 is swap)
Alan
On 13/10/2019 10:38, Jerry Geis wrote:
Hi All - I use qemu on my centOS 7.7 box that has software raid of 2- SSD disks.
I installed an nVME drive in the computer also. I tried to insall CentOS8 on it (the physical /dev/nvme0n1 with the -hda /dev/nvme0n1 as the disk.
The process started installing but is really "slow" - I was expecting with the nvme device it would be much quicker.
Is there something I am missing how to get a faster disk access ?
Thanks,
Jerry _______________________________________________ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Hi Alan,
Yes I have partitioned similar - with a swap. but as I mentioned slow! What command line do you use ?
Device Boot Start End Blocks Id System /dev/nvme0n1p1 2048 102402047 51200000 83 Linux /dev/nvme0n1p2 102402048 110594047 4096000 82 Linux swap / Solaris /dev/nvme0n1p3 110594048 112642047 1024000 6 FAT16 /dev/nvme0n1p4 112642048 3907028991 1897193472 83 Linux
Thanks,
Jerry
On Sat, 12 Oct 2019 at 17:38, Jerry Geis jerry.geis@gmail.com wrote:
Hi All - I use qemu on my centOS 7.7 box that has software raid of 2- SSD disks.
I installed an nVME drive in the computer also. I tried to insall CentOS8 on it (the physical /dev/nvme0n1 with the -hda /dev/nvme0n1 as the disk.
The process started installing but is really "slow" - I was expecting with the nvme device it would be much quicker.
Is there something I am missing how to get a faster disk access ?
Does anything get listed in the guest or the virtual-machine-host system for errors? The reasons I could see for very very slow nvme would be that something is trying to write too small a sector for the drive and flushing the drive. Depending on the nvme it might be set up to read mostly and write rarely, read/write even or write a lot/read in blocks. VM's usually are mixed use and get really weird behavior on the others. If the nvme is expecting large writes and it is getting small ones which don't "fit" it will 1) wear out the nvme because it is basically rewriting a full block every time even if it is only changing 5 k and 2) is slow because all those little writes are blocking.
I would look to see if the device is mostly in Device Wait and if io errors are showing up.