[SOLVED] Seeking Help: How to Improve Slow Transfer Speeds in SATA3 Direct Hard Disk Pass-through on Virtual Machine?

csz.net

New Member
Jul 20, 2023
5
0
1
The hardware conditions are: hard disk SATA3, cable SATA3, and the motherboard supports SATA3.

In the PVE host machine, it shows:

[ 1.769471] ata3: SATA link up 6.0 Gbps (SStatus 133 SControl 300)

In the virtual machine with direct hard disk pass-through, it shows:

[ 2.006282] ata4: SATA link up 1.5 Gbps (SStatus 113 SControl 300)


The actual transfer speed also cannot exceed 30MB/s. Can you tell me what to do?
 
Try using VirtIO SCSI (Single) instead of SATA.Please share the VM configuration file (or qm config VM_NUMER) instead of screenshots.
here

boot: order=scsi0;ide2 cores: 2 ide2: local:iso/ubuntu-22.04.2-live-server-amd64.iso,media=cdrom,size=1929660K memory: 2048 meta: creation-qemu=7.2.0,ctime=1689519703 name: ubuntu-nas net0: virtio=DE:B9:24:1F:9C:75,bridge=vmbr0,firewall=1 numa: 0 onboot: 1 ostype: l26 sata1: /dev/disk/by-id/ata-ST4000VX015-3CU104_WW610899,size=3907018584K scsi0: local-lvm:vm-100-disk-0,iothread=1,size=32G scsihw: virtio-scsi-single smbios1: uuid=09a61e30-ffce-4c98-b61c-0fb423592d26 sockets: 1 vmgenid: a3dd75b9-8de6-4598-8779-c8719af2d1d8
 
Have you tried using VirtIO SCSI (Single) instead of SATA?
sata1: /dev/disk/by-id/ata-ST4000VX015-3CU104_WW610899,size=3907018584K
Try changing sata1 in that line to scsi1. You might want to enable IO Thread in the GUI afterwards.
Do you mean to change the hard disk from SATA1 to SCSI1?
Yes and enable IO Thread, like you did for scsi0.
 
  • Like
Reactions: csz.net
Have you tried using VirtIO SCSI (Single) instead of SATA?

Try changing sata1 in that line to scsi1. You might want to enable IO Thread in the GUI afterwards.

Yes and enable IO Thread, like you did for scsi0.
Thank you for your help, my problem has been solved.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!