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 - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-25-2004, 12:25 PM   #1
Mike-BB
LQ Newbie
 
Registered: Feb 2004
Posts: 29

Rep: Reputation: 15
Best Linux Distribution for CPU Usage


I have been able to test the following linux distributions with virtually the same hardware and software to compare CPU Usages and was wondering if someone knows if their is even better than what I've found for low cpu usage. Also added a scale of 10 so you can understand what little changes it is, it's not absolutely drastic, but still worth it when you're talking about dual processors. 10 being the best i've found so far:

Redhat 8 (latest smp kernel) (8.5)
Redhat 9 (latest smp kernel) (9.5)
Suse 9.1 (latest smp kernel) (10)

All machines running dual amd mp 2800+, excess of ram, all 1 GB DDR+
same hard drive(s), as well as 100 Mbps Connections

What I discovered is that Redhat 9 runs better (lower cpu usage) than Redhat 8. No surprise here really.
Recently I discovered that Suse 9.1 outperforms both of them (lower cpu usage). No surprise either.

Tests were done running dedicated game servers, of the same configuration and same game files. (Half-Life: Counter-Strike)
Top command is what I based it off, using averages , max/min etc. Top may not be absolutely accurate, but since I used the same for all I consider it a fair test.

All that matters in my tests are the CPU Usage because cpu usage is always what runs out first, compared to Ram, HardDrive and Bandwidth.

Does anyone have something similar that shows any linux distribution outperforming Suse 9.1 ?
 
Old 07-25-2004, 01:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I would reccomend installing Slack with a custom 2.6.x kernel.
 
Old 07-25-2004, 02:10 PM   #3
ProgramGeek
LQ Newbie
 
Registered: May 2004
Location: Bothell, Washington
Distribution: Debian Stable
Posts: 13

Rep: Reputation: 0
I would also recommend slack and maybe compiling your own kernel on it...

I wonder if gentoo would have a greater performance increease if you compiledit for a dual-processor? Would it make a difference?

Thanks
 
Old 07-25-2004, 02:18 PM   #4
wapcaplet
LQ Guru
 
Registered: Feb 2003
Location: Colorado Springs, CO
Distribution: Gentoo
Posts: 2,018

Rep: Reputation: 48
Absolutely, if you are hoping to improve CPU efficiency, you should compile your own custom kernel. Other stuff, like trimming down unneeded services/daemons, should go without saying; you can't really expect trying different distributions to solve the problem without looking at all of the factors that actually affect CPU usage.
 
Old 07-25-2004, 06:17 PM   #5
Mike-BB
LQ Newbie
 
Registered: Feb 2004
Posts: 29

Original Poster
Rep: Reputation: 15
I'm not too familiar with how to custom compile the kernel.
If it's beneficial to compile the kernel, could you please tell me how, or show me some guide on how to do it?

I'll try doing that to the Suse 9.1 kernel and see if it performs better.
As for unneeded service/daemons, I took care of that, even after the minimal install. Which was quite decent I might add. Only had to take away a few things, sendmail, other mail crap of coarse and umm, didnt notice much of anything else running that wasn't needed.
The minimal install was very minimal indeed.


I did find an unrelated thing during bootup that bothers me but I do not think it affects anything. During the boot sequence it scans for the hard drives to mount, and searched hda, hdb, etc.... I was wondering if I could somehow disable that since I know it wants hde?

Can I make it just scan right to hde, or somehow skip checking hda hdb? Perhaps something to do with the IRQ ports. I'm not too familiar with editing that stuff and dont want to screw up my hard drives..

The difference from Redhat 8 to Suse 9.1 is a full game server rental, which turns out to be alot if you factor the monthly price of that for many man years. So, that's why I search the Distro's first, before tweaking the individual one. I need a "favorite".

I have heard good things about Slackware, so I'll check that one out and see how it does
As for Gentoo, that thing is not that great for servers, although I really liked it on my personal computer, it handles PLAYING games very well, just not hosting them, as much.

Thx for ur input guys, please say more, Its very difficult to gain experience with all these distributions out there to choose from.
 
Old 07-25-2004, 06:34 PM   #6
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
I would like to recommend that you install Slackware and
build an LFS system!! and then add whatever you want from the BLFS book, and then see how goes the CPU usage..........
 
Old 07-25-2004, 06:54 PM   #7
Mike-BB
LQ Newbie
 
Registered: Feb 2004
Posts: 29

Original Poster
Rep: Reputation: 15
all I understood from that is "install slackware" lol
can you ellaborate some more, or do I need to install slackware first to understand your language?
 
  


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
CPU Usage measurement in Linux bassi Linux From Scratch 1 07-20-2005 04:11 AM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Linux CPU Usage distrowhore Linux - Software 11 05-24-2004 04:56 AM
Controlling CPU usage & memory usage Saravana babu Linux - Software 0 02-18-2004 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

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