LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-18-2015, 01:09 PM   #1
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Rep: Reputation: Disabled
system monitoring tools takes %100 resource


I am using i-5 8 core processor and when I am using Centos 6.4 System Montitoring tools, the CPU-1 goes to 100. This will slow down the other process such as the mouse movement.

Is this a normal behaviour? Is this going to effect any process running on the other cup cores?
I used top command to minitor the CPU resource. Problem I have is that any x-window menue uses lots of resource. For example if I take the firefox and move it around the monitor, the xorg cup usage goes to 100.

Last edited by hnasr2001; 08-18-2015 at 01:46 PM.
 
Old 08-18-2015, 01:15 PM   #2
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
What system monitor tools? What is using the CPU? Have you tried top?

Also - there are no 8 core i5 processors. Maybe you mean a quad core with hyperthreading?
 
Old 08-18-2015, 01:44 PM   #3
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
...

Last edited by hnasr2001; 08-18-2015 at 01:46 PM.
 
Old 08-18-2015, 01:47 PM   #4
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
What are you using for graphics? Do you have a dedicated card or some chip built into the mobo or CPU? Also have you tried a lighter weight DE?
 
Old 08-18-2015, 02:06 PM   #5
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
What system monitor tools? What is using the CPU? Have you tried top?

Also - there are no 8 core i5 processors. Maybe you mean a quad core with hyperthreading?

This is what I got from the following command. Does it mean that i have a 8 core processor?
[root@rpcxft ~]# cat /proc/cpuinfo | grep -i 'core id'
core id : 0
core id : 1
core id : 2
core id : 3
core id : 0
core id : 1
core id : 2
core id : 3
 
Old 08-18-2015, 02:16 PM   #6
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
No, that means you have a quad core processor. An 8-core processor would have core ids from 0-7, not two copies of 0-3. You could get that output from a dual processor machine running 2 quad core procs, but the i5 can't be used in a dual processor machine, so that's impossible if you really have an i5. If you check the physical id from cpuinfo you'll see they're all the same, which means it's a single proc quad core machine with hyperthreading. You could also just google the model number from cpuinfo and it would tell you the same thing - 4 cores with 8 threads.

Last edited by suicidaleggroll; 08-18-2015 at 02:23 PM.
 
Old 08-19-2015, 10:09 AM   #7
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by suicidaleggroll View Post
No, that means you have a quad core processor. An 8-core processor would have core ids from 0-7, not two copies of 0-3. You could get that output from a dual processor machine running 2 quad core procs, but the i5 can't be used in a dual processor machine, so that's impossible if you really have an i5. If you check the physical id from cpuinfo you'll see they're all the same, which means it's a single proc quad core machine with hyperthreading. You could also just google the model number from cpuinfo and it would tell you the same thing - 4 cores with 8 threads.
You were right. the processor is 4 core and 8 threads. Any idea why the Xorg cpu usage is high?

3214 root 20 0 87112 46m 8236 R 88.8 0.3 2:15.39 Xorg
2995 operator 20 0 82984 3124 2264 S 7.3 0.0 1:03.72 rcp8
128 root 39 19 0 0 0 S 1.0 0.0 0:36.71 kipmi0
3820 radarop 20 0 406m 82m 29m S 0.7 0.5 0:16.35 firefox
1818 root 20 0 0 0 0 S 0.3 0.0 0:00.08 kondemand/3
3470 radarop 20 0 99.1m 10m 8688 S 0.3 0.1 0:00.74 metacity
3472 radarop 20 0 103m 19m 13m S 0.3 0.1 0:00.96 nautilus
3497 radarop 20 0 57160 11m 9596 S 0.3 0.1 0:00.65 wnck-applet
1 root 20 0 2900 1428 1200 S 0.0 0.0 0:01.18 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
 
Old 08-19-2015, 10:25 AM   #8
suicidaleggroll
LQ Guru
 
Registered: Nov 2010
Location: Colorado
Distribution: OpenSUSE, CentOS
Posts: 5,573

Rep: Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142Reputation: 2142
Please see my earlier post on the subject:
Quote:
Originally Posted by suicidaleggroll View Post
What are you using for graphics? Do you have a dedicated card or some chip built into the mobo or CPU? Also have you tried a lighter weight DE?
 
Old 10-21-2015, 02:27 PM   #9
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
I had a built in graphic card and I after I used an external one, the Xorg usage dropped to 30%.

Thanks
 
Old 10-21-2015, 05:29 PM   #10
maples
Member
 
Registered: Oct 2013
Location: IN, USA
Distribution: Arch, Debian Jessie
Posts: 814

Rep: Reputation: 265Reputation: 265Reputation: 265
Quote:
Originally Posted by hnasr2001 View Post
I had a built in graphic card and I after I used an external one, the Xorg usage dropped to 30%.

Thanks
So Xorg was what was using the CPU so much? And using an external graphics card helped? It sounds like the issue was just a lack of hardware acceleration. Can you confirm or deny this?

Sorry if I sound like I'm badgering, I just want to make sure that future readers of this thread have some idea of what's going on. LQ is pretty high on Google's rankings, and I've come across several threads where the OP just said "Oh, I fixed it, bye" without posting any hints of what the solution was.
 
Old 10-22-2015, 07:51 AM   #11
hnasr2001
Member
 
Registered: Nov 2012
Posts: 98

Original Poster
Rep: Reputation: Disabled
the issue was just a lack of hardware acceleration and using an external graphic card reduced the Xorg usage from %100 (everytime I drag a menu and move it around)to %30 in the same test condition.
 
Old 10-22-2015, 08:41 AM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Save penguin power:
Code:
grep -i 'core id' /proc/cpuinfo
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
linux system monitoring tools needa Linux - Newbie 3 04-11-2011 12:08 PM
System activity monitoring tools i.you Linux - Software 4 02-10-2010 09:49 AM
Understanding System Performance Monitoring Tools Output SentiBlue Linux - Newbie 3 09-12-2008 04:35 PM
Tools for system monitoring Mleahy Linux - Software 1 03-11-2008 11:37 PM
System Monitoring Tools Better Than Top LinuxGeek Linux - Software 2 07-29-2005 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration