LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-06-2014, 07:21 AM   #1
BehdadKm
LQ Newbie
 
Registered: Sep 2014
Posts: 2

Rep: Reputation: Disabled
why cant I use 100% cpu usage in parallel programs


Im testing a program in Geant4(a toolkit on basis on c++)on a cluster,which is running linux CentOS 6.5,and it has 3 Intel(R)4770k processors,total 12 cores(24 CPU).
The issue is that when I run the program on the cluster, only the cpu usage of the master node is shown as 100%, and the other two nodes are almost unsed.
I also tested another program,all of 24 totally are used(100% cpu).

Thanks in advance!
 
Old 09-06-2014, 01:50 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Have you checked to make sure that the program is actually running on all 3 nodes on the cluster? If it is, perhaps it is highly dependent on communication bandwidth and latency, meaning that if your network is too slow, you won't be able to effectively take advantage of all the processors.
 
Old 09-07-2014, 03:50 AM   #3
BehdadKm
LQ Newbie
 
Registered: Sep 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by btmiller View Post
Have you checked to make sure that the program is actually running on all 3 nodes on the cluster? If it is, perhaps it is highly dependent on communication bandwidth and latency, meaning that if your network is too slow, you won't be able to effectively take advantage of all the processors.
Thank you for your attention and reply.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to use 100% cpu for running parallel codes nipun arora Linux - Newbie 1 05-10-2014 11:12 AM
Squid 3 near 100% cpu usage and high RAM usage piman Linux - Software 1 11-16-2013 03:20 AM
cpu usage over 100%. huangxin1985 Linux - Kernel 1 12-27-2011 01:14 AM
CPU usage over 100% elainelaw Linux - Newbie 11 08-22-2010 07:38 AM
cpu usage 100% ahhkyyda Linux - Enterprise 2 09-03-2009 08:26 AM


All times are GMT -5. The time now is 06:59 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration