LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 05-08-2008, 02:15 AM   #1
protonic
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Rep: Reputation: 0
What distro for a quad-core?


Hello there!

I want to know what distro is best for a dual quad core Intel server, as for now I have centos 5.1 and I have only one CPU showing 98-99% all the time and the others 7 at 0%. Sometimes, there is another one core that shows some 5-6% for a brief period of time, then everything comes back to normal...

I would really like to use this fine machine at full capacity.

If this is not the right forum, please point me to the right direction.

Thanks in advance,
Tony
 
Old 05-08-2008, 02:31 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Any distro with an smp kernel... which is any recent distro.
Check /proc/cpu to see if smp is enabled. Which is your CPU? Do you see any comments about it in dmesg.
 
Old 05-08-2008, 02:48 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
Try the cmd
uname -a
if the string 'smp' appears in the result (and it prob will), then your kernel is smp (multi-thr/multi-core) enabled.
You just need to give it more work to do. Note that you are talking about the cpu here, it (throughput of work) won't
necessarily speed up as much as you expect if its waiting on I/O.
 
Old 05-08-2008, 03:53 AM   #4
protonic
LQ Newbie
 
Registered: Jan 2007
Posts: 9

Original Poster
Rep: Reputation: 0
2.6.18-8.1.10.el5PAE #1 SMP Thu Sep 13 12:47:24 EDT 2007 i686 i686 i386 GNU/Linux

I do expect some more effort from these CPUs because network traffic is always very little. This server runs an MySQL server and a PHP interface. Serving about 150 clients, the database holds a potential for 1 bilion records (10.000.000 actually), most of the users fetch 1 record at the time as they operate in the database and not generating reports or statistics based on this database.
At a moment we had to split the database in years to speedup queries.

Usually, users place a query in a webpage, the database is interrogated and then some 10-30 kb result is displayed as a web page (the whole page weights 10-30 kb).

There is no timewait on the network (other than the users see there is a pretty long time to display the results). Notwork does never reach its limit.

Previously we had an dual xeon which was fastest than this server - as users report. This server is an HP 370 two quad xeon 5130 cpu with 8 gigs of ram.

There is also a mail server with squirrel mail, with little traffic.


Thanks again
Tony
 
Old 05-08-2008, 05:57 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,847

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823
If you can see all the CPUs (in top or cpuinfo, wherever), they are available for dispatch.
If I wanted to (quickly) test something like this, I'd just arc up a kernel compile with an appropriate -j value; 9 in your case. Simple bash loop will do too - fire up 10 or 12 in the background.

Last edited by syg00; 05-08-2008 at 05:59 AM.
 
Old 05-08-2008, 08:07 AM   #6
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by protonic View Post
I want to know what distro is best for a dual quad core Intel server, as for now I have centos 5.1 and I have only one CPU showing 98-99% all the time and the others 7 at 0%.
The distribution of Linux is likely to make no difference. Changing to a different 32-bit SMP kernel of Linux would make no difference, and changing to 64 bit would make no difference to the main issue you are asking about (but might help in other ways).

The problem is in the application you are running, not in the Linux distribution.

Quote:
Originally Posted by protonic View Post
If this is not the right forum, please point me to the right direction.
Maybe this is the wrong forum, but more importantly, you asked the wrong question, so those who might know the answer, might skip the whole thread.

Quote:
Originally Posted by protonic View Post
This server runs an MySQL server and a PHP interface.
You want to know how to get your MySQL server to make good use of eight cores. That is a very different question from the one you asked. I don't know enough about MySQL to answer your question.

You need an answer to a MySQL question, so maybe you should be asking in a MySQL forum, but definitely "MySQL" belongs in the subject line (along with "quad-core" or "multi-threading" or some such) and "What distro" doesn't belong there.

Maybe "How do I make a MySQL server use all eight cores?"

If you start over in a MySQL forum, be sure include the important info from your two posts in this thread, rather than make people ask again.

Quote:
Originally Posted by protonic View Post
I have only one CPU showing 98-99% all the time and the others 7 at 0%.
Quote:
Originally Posted by protonic View Post
2.6.18-8.1.10.el5PAE #1 SMP Thu Sep 13 12:47:24 EDT 2007 i686 i686 i386 GNU/Linux
Quote:
This server runs an MySQL server and a PHP interface. Serving about 150 clients, the database holds a potential for 1 bilion records (10.000.000 actually)

Last edited by johnsfine; 05-08-2008 at 08:42 AM.
 
  


Reply

Tags
quad


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
best linux distro for quad core amd LinuxGuru707 Linux - Software 14 03-20-2008 04:58 PM
Fedora Core 6 on Xeon Quad Core baddah Fedora 3 11-18-2007 10:09 AM
LXer: Intel Core 2 Extreme Quad-Core QX9650 LXer Syndicated Linux News 0 10-29-2007 08:50 PM
Fedora Core 6 - Support for Quad Core Xeon baddah Linux - Hardware 1 09-20-2007 06:20 PM


All times are GMT -5. The time now is 05:47 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