100% memory usage on desktop environments

Hi, Probably not an oVirt issue, but maybe someone can help. I've deployed a pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage). Each time I install an additional desktop environment (Gnome, KDE, whatever...), CPU usage rises to 100% all time to the extreme that interacting with the machine becomes impossible (maybe a mouse movement is propagated 3 minutes later or so...). To debug this, I installed LXDE, which is a lightweight desktop environment based on Xorg. I could see there is an Xorg process consuming one of the CPUs and the machine stops responding as far as the desktop environment goes. I have not changed anything in the configuration file. I could also see this only happens when QXL is chosen as the display driver. When CIRRUS is chosen, everything works smoothly and CPU is ~100% idle. The downside is that we want to use SPICE and CIRRUS won't allow it. Why does this happen? Is this an OS-side driver issue? Any hint how can it be fixed? Thanks. Nicolás

On Wed, May 18, 2016 at 6:52 PM, Nicolás <nicolas@devels.es> wrote:
Hi,
Probably not an oVirt issue, but maybe someone can help. I've deployed a pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage). Each time I install an additional desktop environment (Gnome, KDE, whatever...), CPU usage rises to 100% all time to the extreme that interacting with the machine becomes impossible (maybe a mouse movement is propagated 3 minutes later or so...).
Is X properly configured with QXL? xorg-x11-drv-qxl RPM (in Fedora / EL - I assume something similar in Ubuntu) installed, and x.org CONF file properly set up - something like: Section "Device" Identifier "qxl" Driver "qxl" EndSection Section "Screen" Identifier "screen" Device "qxl" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection Y.
To debug this, I installed LXDE, which is a lightweight desktop environment based on Xorg. I could see there is an Xorg process consuming one of the CPUs and the machine stops responding as far as the desktop environment goes. I have not changed anything in the configuration file.
I could also see this only happens when QXL is chosen as the display driver. When CIRRUS is chosen, everything works smoothly and CPU is ~100% idle. The downside is that we want to use SPICE and CIRRUS won't allow it.
Why does this happen? Is this an OS-side driver issue? Any hint how can it be fixed?
Thanks.
Nicolás _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

El 2016-05-19 07:36, Yaniv Kaul escribió:
On Wed, May 18, 2016 at 6:52 PM, Nicolás <nicolas@devels.es> wrote:
Hi,
Probably not an oVirt issue, but maybe someone can help. I've deployed a pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage). Each time I install an additional desktop environment (Gnome, KDE, whatever...), CPU usage rises to 100% all time to the extreme that interacting with the machine becomes impossible (maybe a mouse movement is propagated 3 minutes later or so...).
Is X properly configured with QXL? xorg-x11-drv-qxl RPM (in Fedora / EL - I assume something similar in Ubuntu) installed, and x.org [2] CONF file properly set up - something like:
Section "Device" Identifier "qxl" Driver "qxl" EndSection
Section "Screen" Identifier "screen" Device "qxl" DefaultDepth 24 SubSection "Display" Depth 24 Modes "1024x768" EndSubSection EndSection
Y.
Indeed, the package was installed and everything configured as should. I tried removing the qxl driver package from the OS and now everything goes smooth as silk... Strange, as supposedly this driver should optimize the graphics part. Thanks all for the help! Regards.
To debug this, I installed LXDE, which is a lightweight desktop environment based on Xorg. I could see there is an Xorg process consuming one of the CPUs and the machine stops responding as far as the desktop environment goes. I have not changed anything in the configuration file.
I could also see this only happens when QXL is chosen as the display driver. When CIRRUS is chosen, everything works smoothly and CPU is ~100% idle. The downside is that we want to use SPICE and CIRRUS won't allow it.
Why does this happen? Is this an OS-side driver issue? Any hint how can it be fixed?
Thanks.
Nicolás _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users [1]
Links: ------ [1] http://lists.ovirt.org/mailman/listinfo/users [2] http://x.org

On St, 2016-05-18 at 16:52 +0100, Nicolás wrote:
Hi,
Probably not an oVirt issue, but maybe someone can help. I've deployed a pretty basic VM (ubuntu 14.04 server, 4GB RAM, 4 CPUs, 15GB storage). Each time I install an additional desktop environment (Gnome, KDE, whatever...), CPU usage rises to 100% all time to the extreme that interacting with the machine becomes impossible (maybe a mouse movement is propagated 3 minutes later or so...).
To debug this, I installed LXDE, which is a lightweight desktop environment based on Xorg. I could see there is an Xorg process consuming one of the CPUs and the machine stops responding as far as the desktop environment goes. I have not changed anything in the configuration file.
I could also see this only happens when QXL is chosen as the display driver. When CIRRUS is chosen, everything works smoothly and CPU is ~100% idle. The downside is that we want to use SPICE and CIRRUS won't allow it.
Why does this happen? Is this an OS-side driver issue? Any hint how can it be fixed?
Thanks.
Nicolás _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Try disabling KMS (by blacklisting qxl module). IIRC it was new by 14.04 release time while UMS was already mature. David
participants (4)
-
David Jaša
-
nicolas@devels.es
-
Nicolás
-
Yaniv Kaul