Bug 1208335

Summary: desktop performance degradation with higher resolution
Product: Red Hat Enterprise Linux 6 Reporter: mazhang <mazhang>
Component: spice-serverAssignee: Default Assignee for SPICE Bugs <rh-spice-bugs>
Status: CLOSED DUPLICATE QA Contact: SPICE QE bug list <spice-qe-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.7CC: cfergeau, chayang, dblechte, fziglio, juzhang, mazhang, michen, mkenneth, qzhang, rbalakri, rpacheco, virt-maint
Target Milestone: rc   
Target Release: 6.8   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-09-30 11:23:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1260751    
Bug Blocks:    

Description mazhang 2015-04-02 02:56:01 UTC
Description of problem:
Desktop perfromance degradation with higther resolution

Version-Release number of selected component (if applicable):

Host:
qemu-kvm-0.12.1.2-2.462.el6.x86_64
2.6.32-548.el6.x86_64

Guest:
win7-64
qxl-win-0.1-21

How reproducible:
always

Steps to Reproduce:
1.Start guest with command line:
/usr/libexec/qemu-kvm \
-M pc \
-cpu SandyBridge \
-m 4G \
-smp 4,sockets=2,cores=2,threads=1 \
-enable-kvm \
-name rhel6.7 \
-uuid 990ea161-6b67-47b2-b803-19fb01d30d12 \
-smbios type=1,manufacturer='Red Hat',product='RHEV Hypervisor',version=el6,serial=koTUXQrb,uuid=feebc8fd-f8b0-4e75-abc3-e63fcdb67170 \
-k en-us \
-rtc base=localtime,driftfix=slew \
-nodefaults \
-monitor stdio \
-qmp tcp:0:6779,server,nowait \
-boot menu=on \
-bios /usr/share/seabios/bios.bin \
-serial unix:/tmp/console0,server,nowait \
-spice port=5900,disable-ticketing \
-vga qxl \
-global qxl-vga.ram_size=268435456 \
-global qxl-vga.vram_size=67108864 \
-global qxl-vga.vgamem_mb=64 \
-drive file=/home/win7-64.qcow2,if=none,id=drive-virtio-disk0,format=qcow2,cache=none,werror=stop,rerror=stop,aio=threads \
-device virtio-blk-pci,scsi=off,bus=pci.0,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1 \
-netdev tap,id=hostnet0,vhost=on \
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=54:52:00:B6:40:21 \

2.Change resolution to 4096x2160.

3.Open a window, try drag it up and down.

Actual results:
Hardly move the window.(easy to reproduce with big window)

Expected results:
Move the window smoothly.

Additional info:

Comment 2 Gerd Hoffmann 2015-04-27 12:41:58 UTC
Hmm.  Most likely not a qemu-kvm bug.

Could be something in spice-server.
Could be something in the guest driver.

Could be simply the fact that you max out your network connection.  Double width and height of the screen, and you'll need 4x the bandwidth.  You can use 'iftop' to easily check out how much bandwidth spice needs.  Please verify.

Could be just not enough video memory, so the image caching isn't effective any more.

Reassigning to spice-server for investigation.

Comment 3 David Blechter 2015-04-27 13:06:42 UTC
It can be a lot of things, and requires more info and significant investigation.
Not in the time frame of 6.7

Comment 4 mazhang 2015-05-12 03:29:52 UTC
(In reply to Gerd Hoffmann from comment #2)
> Hmm.  Most likely not a qemu-kvm bug.
> 
> Could be something in spice-server.
> Could be something in the guest driver.
> 
> Could be simply the fact that you max out your network connection.  Double
> width and height of the screen, and you'll need 4x the bandwidth.  You can
> use 'iftop' to easily check out how much bandwidth spice needs.  Please
> verify.
> 
> Could be just not enough video memory, so the image caching isn't effective
> any more.
> 
> Reassigning to spice-server for investigation.

I'm really sorry for reply so late, we can't find such monitor with double
 width and height, can we let spice guys help test this bug ?

Thanks,
Mazhang.

Comment 5 Frediano Ziglio 2015-07-13 13:03:23 UTC
If you use remote-viewer you can use zoom-out than resize the guest with a big resolution.

Comment 7 David Blechter 2015-09-30 11:23:37 UTC
This is RFE, as currently spice support max 2560x1600. Added the corresponding RFE for reference: https://bugzilla.redhat.com/show_bug.cgi?id=1260751.

closing as the duplication

*** This bug has been marked as a duplicate of bug 1260751 ***

Comment 8 David Blechter 2015-09-30 11:23:56 UTC
This is RFE, as currently spice support max 2560x1600. Added the corresponding RFE for reference: https://bugzilla.redhat.com/show_bug.cgi?id=1260751.

closing as the duplication