Best performance settings for vps video transcoding

openaspace

Active Member
Sep 16, 2019
483
10
38
Italy
Hello I need to take advantage of several machines for video transcoding using Windows VPS. I noticed that the number of frames per second processed are half of a non-virtual system, although there are no others virtual machines running on the mains hosts.

Wich settings I can use to obtain performances near the real hardware?
Setting the cpu to "host" and increase the cpu time setting? The vps are set to use all the available cores and with 12gb of RAM.

Thank you.
 
please post your vm config and the output of pveversion -v
 
Really thank you.

px_Proxmox_Virtual_Environment.png

proxmox-ve: 6.2-1 (running kernel: 5.4.41-1-pve)
pve-manager: 6.2-4 (running version: 6.2-4/9824574a)
pve-kernel-5.4: 6.2-2
pve-kernel-helper: 6.2-2
 
ok, looks ok, what hardware runs this on?
does the software transcode via software or gpu-accelerated hardware?
if it uses the gpu, this will not work with virtual gpus, but you could passthrough a real one
 
mhmm.. can you post the complete vm config? (qm config ID)
 
mhmm.. can you post the complete vm config? (qm config ID)
Code:
agent: 1,fstrim_cloned_disks=1

balloon: 0

bootdisk: ide0

cores: 8

cpu: host

cpuunits: 4000

description: virtio1%3A px.mydomain.com_2_TB%3A101/vm-101-disk-0.raw,backup=0,cache=writeback,iothread=1,size=50G

hotplug: disk,network,usb,memory,cpu

ide0: local-lvm:vm-100-disk-0,cache=writeback,replicate=0,size=80G

ide1: px.mydomain.com:100/vm-100-disk-0.raw,backup=0,cache=writeback,replicate=0,size=300G

memory: 12288

name: windows10

net0: e1000=DA:95:85:1A:3E:70,bridge=vmbr0,queues=8

net1: e1000=FE:FB:C2:AD:1C:94,bridge=vmbr1,queues=8

numa: 1

ostype: win10

scsihw: virtio-scsi-single

smbios1: uuid=714ad584-2f86-4190-a09b-956898953617

sockets: 1

vga: virtio,memory=256

vmgenid: 95b6fe8c-0809-40e1-ac5d-db61cb70bae6
 
Using instead a Ubuntu vps for the same transcoding , it reach real performance of the host with medium of 35fps/s, with windows 10 ..not.


Code:
qm config 105
agent: 1
balloon: 2000
bootdisk: virtio0
cores: 8
cpu: host
cpuunits: 5000
memory: 5024
name: Lubuntu
net0: virtio=E2:4A:D9:75:F4:3B,bridge=vmbr0,queues=8
numa: 1
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=4b1351cc-9b09-4058-95ea-b5be65647194
sockets: 1
vga: virtio
virtio0: px.mydomain.com:105/vm-105-disk-0.raw,size=25G
vmgenid: 7fbfea0c-95ff-453e-a4ac-72bbf70e10cfqm config 105
agent: 1
balloon: 2000
bootdisk: virtio0
cores: 8
cpu: host
cpuunits: 5000
memory: 5024
name: Lubuntu
net0: virtio=E2:4A:D9:75:F4:3B,bridge=vmbr0,queues=8
numa: 1
ostype: l26
scsihw: virtio-scsi-pci
smbios1: uuid=4b1351cc-9b09-4058-95ea-b5be65647194
sockets: 1
vga: virtio
virtio0: px.mydomain.com:105/vm-105-disk-0.raw,size=25G
vmgenid: 7fbfea0c-95ff-453e-a4ac-72bbf70e10cf
 

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!