[vserver] xorg inside of vguest slower than on host

From: Stephan Mueller <d454d_at_web.de>
Date: Fri 07 Dec 2007 - 07:17:06 GMT
Message-ID: <20071207071706.GA7112@mail.web.de>

Hi,

I managed to setup xorg 7.2 inside of a vguest by adding the device
nodes tty7, mem and psaux as well as adding the SYS_RAWIO b-capability
(fllowing the howto in the wiki).

However, the xorg instance inside of the vguest seems to be much slower
(when moving windows etc.) than one that is running on the host (same
xorg release, both using debian lenny).

I took a look at both resulting Xorg.logs and the only significant
difference i can see is that the log from the host conatins lines as
shown below whereas the vguests log does not have this kind of entries:

(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:00:0: chip 1002,7910 card 1458,5000 rev 00 class 06,00,00 hdr 00
(II) PCI: 00:01:0: chip 1002,7912 card 0000,0000 rev 00 class 06,04,00 hdr 01
(II) PCI: 00:12:0: chip 1002,4380 card 1458,b002 rev 00 class 01,06,01 hdr 00
(II) PCI: 00:13:0: chip 1002,4387 card 1458,5004 rev 00 class 0c,03,10 hdr 80
(II) PCI: 00:13:1: chip 1002,4388 card 1458,5004 rev 00 class 0c,03,10 hdr 00
[...]

This seems to result in the line

(II) Setting vga for screen 0.

which I can not find in the vguest log.

For me this looks like the vguest does not have direct access to the
graphics card.

Any ideas if and how this could be improved? I would rather prefer
running the xorg stuff inside of a vguest instead of on the host which
is hosting several other vguests. A look at the lsof output for /dev did
not reveal any other devices used by xorg on the host that are missing
on the vguest.

Thanks and cheers,

Steph.
Received on Fri Dec 7 07:17:22 2007

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Fri 07 Dec 2007 - 07:17:27 GMT by hypermail 2.1.8