LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 07-20-2016, 05:33 PM   #1
redfox2807
Member
 
Registered: Jul 2012
Distribution: Debian testing/stable, Gentoo, CentOS 7, Sailfish OS, Android
Posts: 167

Rep: Reputation: 31
Spice Remote Viewer poor performance over WLAN


Hi,
I've been using a VirtualBox's Windows guest on Debian testing desktop for a while. Now I'm trying kvm. It seems to run faster when connected from localhost. Though the performance over a WLAN connection is just awful. The screen refresh rate is so low so that the VM is barely usable. Even for the desktop screen. The connection is done via spice (Remote Viewer client) for both localhost and WLAN PCs. Is that a limitation of spice protocol/spice client itself or it can be tuned? I can connect to the VirtualBox's guest from the same WLAN PC over rdp without any problem.

p.s. I can setup a bridge and connect to the kvm guest over rdp, but using spice is a more straightforward way. Besides using another remote desktop protocol than the one provided by kvm itself sounds like a kludge to me.
 
Old 07-21-2016, 08:34 AM   #2
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
How does spice work locally for you? If you haven't configured the guest for spice, you'll see bad performance locally as well, and that would indicate you need to set up the QXL video adapter and the QXL drivers inside the guest. Without them, spice does not work very well, just like a real machine will have crappy video without the driver configured.
 
Old 07-21-2016, 12:23 PM   #3
redfox2807
Member
 
Registered: Jul 2012
Distribution: Debian testing/stable, Gentoo, CentOS 7, Sailfish OS, Android
Posts: 167

Original Poster
Rep: Reputation: 31
The local performance is Ok. I don't feel any difference to a native install. The guest is set up to use the QXL video adapter, VirtIO hard drive and ethernet card, both QXL and VirtIO drivers are installed.

Just tried to use a 1GBit LAN connection in place of the WLAN on my laptop and the lags are gone.
 
Old 07-28-2016, 03:28 PM   #4
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
well then this is definitely a problem of your wifi connection, not spice
 
Old 07-28-2016, 06:00 PM   #5
redfox2807
Member
 
Registered: Jul 2012
Distribution: Debian testing/stable, Gentoo, CentOS 7, Sailfish OS, Android
Posts: 167

Original Poster
Rep: Reputation: 31
After some searching and experimenting it looks like Spice's designed either for a localhost connection or for a LAN connection. Trying to use a VNC server in place of Spice has solved the issue for the WLAN machine. Hope some sort of a slow-connection spice version will be developed some day since from what I've read about spice it sounds to be far superior to both VNC and RDP.
 
Old 07-29-2016, 02:46 PM   #6
dyasny
Member
 
Registered: Dec 2007
Location: Canada
Distribution: RHEL,Fedora
Posts: 995

Rep: Reputation: 115Reputation: 115
It is superior to both, and it works great even over WAN. WLAN is a very special case
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] remote-viewer, spice, QEMU and Unix domain socket - how to connect? atelszewski Linux - Virtualization and Cloud 2 02-12-2016 10:28 AM
slackchlog - poor man's Slackware changelog viewer atelszewski Slackware 24 11-23-2015 11:59 AM
iSCSI write performance very poor while read performance is excellent dinominant Linux - Server 1 10-10-2012 10:51 AM
Software Raid 6 - poor read performance / fast write performance Kvothe Linux - Server 0 02-28-2011 03:11 PM
Poor performance Shyne Red Hat 1 10-17-2004 11:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 05:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration