Bug 153058 - gdm-binary process comsumes 70% CPU after changing tls->tls.disable
gdm-binary process comsumes 70% CPU after changing tls->tls.disable
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: xen (Show other bugs)
4
All Linux
medium Severity medium
: ---
: ---
Assigned To: Rik van Riel
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-01 00:47 EST by Fei Fei
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-04 05:57:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
readprofile output (14.32 KB, text/plain)
2005-04-01 01:37 EST, Fei Fei
no flags Details

  None (edit)
Description Fei Fei 2005-04-01 00:47:00 EST
Description of problem:
The gdm-binary process comsumes 70% CPU after changing tls->tls.disable. When
TLS is enabled again, gdm-binary acts normally.

Version-Release number of selected component (if applicable):
kernel-xen0-devel-2.6.11-1.1177_FC4
kernel-xenU-devel-2.6.11-1.1177_FC4
kernel-xen0-2.6.11-1.1177_FC4
kernel-xenU-2.6.11-1.1177_FC4
xen-2-20050308


How reproducible:
everytime.


Steps to Reproduce:
1.choose grub ento xen VMM and Domain0
2.#mv /lib/tls /lib/tls.disable; reboot
3.#top
4.#mv /lib/tls.disable /lib/tls; reboot
5.#top
  
Actual results:
gdm-binary process consumes 70%+ CPU when tls is disabled.

Expected results:
gdm-binary will get < 10% CPU 

Additional info:
Comment 1 Rik van Riel 2005-04-01 00:53:10 EST
Firstly, there is no need to move /lib/tls out of the way - TLS emulation can be
slow at times, but it does work correctly now that Xen uses segment flipping.

Secondly, could you take a look where the CPU time is being spent?

Is it spent in user space, or in kernel space?  If the latter, could you boot
with 'profile=2' and use readprofile to figure out where the cpu time is being
spent ?
Comment 2 Fei Fei 2005-04-01 01:37:45 EST
Created attachment 112572 [details]
readprofile output

readprofile output
Comment 3 Fei Fei 2005-04-01 01:39:50 EST
The output of "top" shows 79% in sys and 20% in user.
The output of readprofile with "profile=2" is attached.
Comment 4 Fei Fei 2005-04-04 05:57:52 EDT
From statement of bug #151367, it seems it's a common bug but not a xen specific
one. I updated the latest gdm package it's ok now.

Note You need to log in before you can comment on or make changes to this bug.