Slow disk in VM use Proxmox version 6.3-1

hoanbc

New Member
Dec 1, 2020
4
0
1
28
Hi community.

I did install success cluster Proxmox with 5 node use storage network 10Gb/s with MTU 9000. I did test speed copy file between server and see result very good ~400-500MB/s speed read/write. But when i test copy file file on VM has install on node speed show me ~20-30MB/s. Anybody has same problem. Please help me resolve problem.
 
can you post the output of

cat /etc/pve/qemu-server/XXX.conf
where XXX is VM-ID

also
cat /etc/pve/storage.cfg
cat /etc/network/interfaces
 
Hi. Please see my result.

root@hq-pve03:~# cat /etc/pve/qemu-server/103.conf
agent: 1
boot: order=ide0;ide2;net0
cores: 4
ide0: hq_citigo:vm-103-disk-0,size=80G
ide1: hq_citigo:vm-103-disk-1,size=300G
ide2: none,media=cdrom
memory: 102400
name: vm-dc1
net0: virtio=1E:74:E0:34:0D:40,bridge=vmbr203,firewall=1
numa: 0
onboot: 1
ostype: win10
scsihw: virtio-scsi-pci
smbios1: uuid=c9e008e8-db00-4b7a-9e7d-bfbd34b14942
sockets: 4
vmgenid: 1f5d83cd-11d0-4fea-9df3-35f9520f44b6
root@hq-pve03:~#

root@hq-pve03:~# cat /etc/pve/storage.cfg
dir: local
path /var/lib/vz
content vztmpl,iso,backup

lvmthin: local-lvm
thinpool data
vgname pve
content images,rootdir

cephfs: cephfs
path /mnt/pve/cephfs
content iso,backup,vztmpl

rbd: hq_citigo
content rootdir,images
krbd 0
pool hq_citigo

root@hq-pve03:~#


root@hq-pve03:~# cat /etc/network/interfaces
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!

auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

iface eno3 inet manual

iface eno4 inet manual

auto enp4s0f0
iface enp4s0f0 inet manual
mtu 9000

auto enp4s0f1
iface enp4s0f1 inet manual
mtu 9000

auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode active-backup
bond-primary eno1

auto bond0.201
iface bond0.201 inet manual
vlan-id 201

auto bond0.202
iface bond0.202 inet manual
vlan-id 202

auto bond0.203
iface bond0.203 inet manual
vlan-id 203

auto bond0.204
iface bond0.204 inet manual
vlan-id 204

auto bond1
iface bond1 inet manual
bond-slaves enp4s0f0 enp4s0f1
bond-miimon 100
bond-mode active-backup
bond-primary enp4s0f0
mtu 9000

auto vmbr0
iface vmbr0 inet static
address 192.168.200.13/24
gateway 192.168.200.1
bridge-ports bond0
bridge-stp off
bridge-fd 0

auto vmbr1
iface vmbr1 inet static
address 172.16.200.13/24
bridge-ports bond1
bridge-stp off
bridge-fd 0
mtu 9000

auto vmbr201
iface vmbr201 inet manual
bridge-ports bond0.201
bridge-stp off
bridge-fd 0

auto vmbr202
iface vmbr202 inet manual
bridge-ports bond0.202
bridge-stp off
bridge-fd 0

auto vmbr203
iface vmbr203 inet manual
bridge-ports bond0.203
bridge-stp off
bridge-fd 0

auto vmbr204
iface vmbr204 inet manual
bridge-ports bond0.204
bridge-stp off
bridge-fd 0
root@hq-pve03:~#
 
ide0: hq_citigo:vm-103-disk-0,size=80G
ide1: hq_citigo:vm-103-disk-1,size=300G
ide disk emulation is not the best option, try using virtio or scsi. You could also try using your local-lvm disk store for o/s disks
 
ide disk emulation is not the best option, try using virtio or scsi. You could also try using your local-lvm disk store for o/s disks

Hello. I did try use virtio disk but i don't know why speed is down as picture below. Sometime it has 20Mb/s.

testdisk.png
 

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!