Flash media encoder on a guest Windows 7 KVM drops frames?

  • Thread starter Thread starter localhost
  • Start date Start date
L

localhost

Guest
Hi all,

My 1st post here.

I've just installed Proxmox V1.6 on a Dell R210 with 8GB of RAm memory.
On this setup I have created a guest KVM with Windows 7 32bit.
One of the things that I want to use the guest KVM or is to stream with the Flash Media Encoder a webcam feed to a Flash Media Server (located in a DC)

For some reason after 20 to 30 seconds the frames per second from the encoder drop from 25 fps to 2 or 3 fps.
The only way to get the fps back up again is to stop the encoder, and start it again.

I'm using exactly the same settings from a dedicated Flash Media Encoder server, and this has no problems doing the encoding, and keeping the correct fps.

The created guest KVM has (as test) 4GB RAM.

Anyone here who might know what is going on?

Thank you.
 
post your 'pveversion -v' and also the settings used in your windows 7 (post /etc/qemu-server/VMID.conf)
 
Hi tom,

Here you go.

Code:
proxmox:~# pveversion -v
pve-manager: 1.6-5 (pve-manager/1.6/5261)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.6-24
pve-kernel-2.6.32-4-pve: 2.6.32-24
qemu-server: 1.1-22
pve-firmware: 1.0-9
libpve-storage-perl: 1.0-14
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-8
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.5-2
ksm-control-daemon: 1.0-4
proxmox:~#

No VMID.conf in /etc/qemu-server/ , but I do have a 101.conf

Code:
name: Windows_7_NL_x86
ide2: cdrom,media=cdrom
vlan0: rtl8139=02:C1:D9:27:3F:29
bootdisk: ide0
ostype: w2k8
ide0: local:101/vm-101-disk-1.raw
memory: 4096
sockets: 2
onboot: 0
cores: 2
boot: c
freeze: 0
cpuunits: 2000
vga: cirrus
acpi: 1
kvm: 1

Please note that I dd take out 2GB RAM as I needed it in another system.

Thank you for helping.

Noel
 
Last edited by a moderator:
Hi tom,

Here you go.

Code:
proxmox:~# pveversion -v
pve-manager: 1.6-5 (pve-manager/1.6/5261)
running kernel: 2.6.32-4-pve
proxmox-ve-2.6.32: 1.6-24
pve-kernel-2.6.32-4-pve: 2.6.32-24
qemu-server: 1.1-22
pve-firmware: 1.0-9
libpve-storage-perl: 1.0-14
vncterm: 0.9-2
vzctl: 3.0.24-1pve4
vzdump: 1.2-8
vzprocps: 2.0.11-1dso2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.12.5-2
ksm-control-daemon: 1.0-4
proxmox:~#

Looks ok. If the recommendation below does not help, you should try the 2.6.35 kernel. (but take care, this one has no OpenVZ support).

No VMID.conf in /etc/qemu-server/ , but I do have a 101.conf

Code:
name: Windows_7_NL_x86
ide2: cdrom,media=cdrom
vlan0: rtl8139=02:C1:D9:27:3F:29
bootdisk: ide0
ostype: w2k8
ide0: local:101/vm-101-disk-1.raw
memory: 4096
sockets: 2
onboot: 0
cores: 2
boot: c
freeze: 0
cpuunits: 2000
vga: cirrus
acpi: 1
kvm: 1

Please note that I dd take out 2GB RAM as I needed it in another system.

Thank you for helping.

Noel

yes, with VMID I meant the virtual machine ID, you got it.

please use e1000 for the network emulation and also try with just one CPU. If this does not help, try 2.6.35 kernel.

also post your results of the following command (run on the host when there is no load):
Code:
pveperf
 
Will try as you suggest, and post the results here later today.
For now here is the output for pveperf
Code:
proxmox:/etc/qemu-server# pveperf
CPU BOGOMIPS:      19151.12
REGEX/SECOND:      878970
HD SIZE:           18.21 GB (/dev/mapper/pve-root)
BUFFERED READS:    61.49 MB/sec
AVERAGE SEEK TIME: 17.76 ms
FSYNCS/SECOND:     82.22
DNS EXT:           46.35 ms
DNS INT:           21.12 ms (removed.asia)
 
you got bad FSYNCS/SECOND: 82.22,
this shows clearly that you have no write cache enabled on your disks/raid controller. what controller do you have/config/disks?
 
Tom. You got me ......

Proxmox is intalled on a standard Dell R210. I have no clue what controller is on this system.
Anyway to see this?
 
Last edited by a moderator:
Okay.

I just did a kernel update to 2.6.35, but I'm still having the same problem.
 
did you follow the recommendations? e1000 and one cpu?
and fix the controller, you are running the system with the handbrake on!
 
Yes. I'm now using the e1000 nic, and 1 CPU.
Only problem is that I do not know how to fix the controller problem.
 
Yes. I'm now using the e1000 nic, and 1 CPU.
Only problem is that I do not know how to fix the controller problem.

who installed/sold the hardware? contact these guys to fix it.
 
It's Dell (R210), and I do not thing that they will help.

Anyway I still have a spare 3ware raid controller somewhere in the office (need to find it1st), and will do a reinstall of the system.
With a bit of luck all should be fine after this.

Once again thank you for helping.