Bug 153058

Summary: gdm-binary process comsumes 70% CPU after changing tls->tls.disable
Product: [Fedora] Fedora Reporter: Fei Fei <fei.fei>
Component: xenAssignee: Rik van Riel <riel>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 4   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
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:
Attachments:
Description Flags
readprofile output none

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.