LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-04-2011, 05:04 PM   #1
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262
Blog Entries: 2

Rep: Reputation: 49
Are all of my CPU-cores working?


I'm (obviously) not very knowledgeable on the subject.
When I do some intensive GIMP manipulations, the CPU-usage according to conky only goes to about 33%, on my triple-core. I'm pretty sure GIMP can use multiple cores (but not sure all of the actions of GIMP can use multiple cores).
I've done some noobish overclocking via the BIOS. So that might be a problem...
(IIRC it never run higher than 33% before.)
I don't have to download a special SMP version of Linux, I assume. (PC runs Debian Squeeze.)
I have dual channel memory, so that means that theoretically I should get at least 66%, right? (But again noobishly clocked.)
Would anybody know a way/program to verify my bottleneck (memory?) and/or problem (damage? misconfiguration?)?
Reading this, makes me want to try to run normally clocked for testing... :-/
 
Old 08-04-2011, 05:08 PM   #2
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Check the 'top' command. Additionally, to monitor the utilisation of all the cores, you can issue:
Code:
mpstat -P ALL
or
Code:
mpstat -P ALL x
Where x is the x seconds interval the check should be performed.

If you want to check if you RAM isn't faulty, please run memtest86 (Last time I run it it was from an Arch installation CD.)


Edit: In GIMP's preferences you can set the number of cores that gimp should use. Check what is set there.

Last edited by sycamorex; 08-04-2011 at 05:16 PM.
 
Old 08-04-2011, 05:52 PM   #3
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Thanks for the post. GIMP is set to three cores. I will run memtest later. mpstat is not installed, nor is it a package available at the repositories I've selected.
 
Old 08-04-2011, 06:06 PM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by Weapon S View Post
I'm (obviously) not very knowledgeable on the subject.

...

I've done some noobish overclocking via the BIOS. So that might be a problem...

...

(But again noobishly clocked.)

...

Reading this, makes me want to try to run normally clocked for testing... :-/
If you are a noob to that, as you state more than once, you shouldn't overclock at all until you gathered the required knowledge. Otherwise you can get anything from simple malfunctioning to fried hardware.


Quote:
I don't have to download a special SMP version of Linux, I assume. (PC runs Debian Squeeze.)
No, Debian runs a SMP-enabled kernel by default.


Quote:
I have dual channel memory, so that means that theoretically I should get at least 66%, right?
No, how many channels you memory controller supports/uses is totally unrelated to this.

Quote:
mpstat is not installed, nor is it a package available at the repositories I've selected.
mpstat is part of the package sysstat, which is in the repositories.
 
Old 08-04-2011, 06:33 PM   #5
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
Quote:
Originally Posted by TobiSGD View Post
Otherwise you can get anything from simple malfunctioning to fried hardware.
...as I have recently experienced Fortunately it seems to have been the former.
 
Old 08-05-2011, 08:22 AM   #6
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
I'd doubt that an overclock is stopping you from using multipule cores. As an aside, I wouldnt be overclocking Athlon X3 CPUs these days, faster Phenom II X4-X6s and Athlon II X4s are very cheap now...

Have you set GIMP for multicore use?

http://www.graphics-muse.org/artistsguide/?p=267

That wont get GIMP using 100% of cores on 100% of operations, but it should give some improvement.
 
Old 02-04-2012, 09:32 AM   #7
Weapon S
Member
 
Registered: May 2011
Location: Netherlands
Distribution: Debian, Archlinux
Posts: 262

Original Poster
Blog Entries: 2

Rep: Reputation: 49
Lightbulb Found a program...

The simplest program I've found that uses multiple cores is "make -jN", where you replace N with the number of threads you want. All the cores work
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Allocation of CPU Cores on RHEV-H shivakumargone Linux - Virtualization and Cloud 4 10-12-2010 05:05 AM
hide cpu cores from an application thllgo Linux - Server 3 06-17-2010 04:08 AM
Disable CPU cores in RHEL3 ElectroLinux Linux - Server 1 03-31-2008 05:34 PM
Software and CPU Cores DIGITAL39 Linux - Software 8 10-10-2007 02:47 AM
how to find number of cores in CPU narensr Linux - Hardware 5 08-24-2006 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:19 AM.

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