LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2003, 01:19 AM   #1
talha
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Rep: Reputation: 0
Fastest Linux kernel avavible today


Dear All


Which one is fastest linux kernel aviable today

or

any third part patches to get most out of my box

any one try with benchmarking tools which is the fastest


Thanks and Regards


Talha
 
Old 12-17-2003, 04:07 AM   #2
nial
LQ Newbie
 
Registered: Apr 2002
Location: Chicago, IL, USA
Distribution: Mandrake, Gentoo, mklinux ;)
Posts: 3

Rep: Reputation: 0
It's difficult to give a simply answer to this question. I know little about Linux benchmarking programs, though I recommend a Google search. Personally, I just go by feel, but often it is nice to actually have hard numbers. Anyway, as far as the best performance goes, the answer is it depends. If you have top of the line hardware, the 2.6 kernel should theoretically be the fastest. Considering this kernel is not quite ready for primetime (though I find it quite stable), it may not be the best in all cases, especially if it has a problem with your hardware in any way. As long as you have decent/recent hardware, you should have excellent performance with a 2.4 kernel. Regardless of which kernel you choose, configuring it by hand and compiling it yourself is the best way to get optimal performance. Unfortunately, most users are not really experienced enough to properly configure a kernel for their machine, and an improperly configured custom kernel can be much worse than a standard pre-compiled kernel from a "normal" distro. I am of the contention that Gentoo provides the best way to create an optimized Linux system, complete with fairly simple kernel customization that allows more options than simply secure or standard, or whatever the choices may be. It also stands to reason that the more extra features you have on, such as security, the larger of a performance hit you will take. I don't guarantee that everything I said here is 100% accurate, though it is intended more as a common sense thought process. Good luck achieving the best performance possible!
 
Old 12-17-2003, 05:09 AM   #3
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
In addition to what nial posted you could always use some performance-enhancing patches. The preemptible kernel patch, which improves responsiveness of the system, is integrated in the 2.6 kernel but you need to download and apply the patch to the kernel source tree if you're using the 2.4 series. The lowlatency patch also provides better performance (especially in audio applications).

I always apply these two patches before I configure and build the kernel. I find they both add that little extra bit of responsiveness to the degree where I can actually notice it when just "using" my laptop (browsing, reading mail, using the Gimp, etc).


Håkan
 
Old 12-17-2003, 07:25 AM   #4
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
As a general rule, a small kernel is a fast kernel. If you compile a custom kernel, only include what you actually need. You don't need SCSI support if you only use IDE. You don't need fancy networking support unless you're running a dedicated firewall or something. If you aren't sure about something, compile it as a module.
 
Old 12-17-2003, 09:06 AM   #5
talha
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Original Poster
Rep: Reputation: 0
i have tired kernel 2.4.20 with low-lentency-kernel is my improved my filesysetem throughput

test benchmarking results with Dbench

145 MB/sec Average ( Stock kernel 2.4.20 )
157 MB/sec Average ( kernel 2.4.20 -low lenteny-patch)


but when i test tcp throghput low-lentency kernel it decreased


130 MB/sec Average (Stock kernel 2.4.20 )
108 MB/sec Average ( kernel 2.4.20 -low lenteny-patch)

any suggestions how to improve this and what i am missing ??


i am making cache server so tcp throughput is very imporatant


Regards

Talha
 
Old 12-17-2003, 09:37 AM   #6
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
If you are talking vanilla sources then 2.6 will be the fastest as it has the O(1) scheduler. I have noticed better desktop performance in general. Gentoo has different patched kernel sources depending on what you want. The gaming-source is supposed to work well for desktop acceleration, naturally.

I run vanilla sources and gentoo-stable sources and I think the 2.6 has better performance then both. My Slackware 9.0 is running 2.6.0-test1 and has over 105 days uptime with 1.0+ load consistently. It is a PIII 800 and benches along 1.8 GHz machines. Take in mind this is not running X. It is specifically designed to perform one purpose, but the kernel is running fast and fierce.

Justin
 
Old 12-17-2003, 04:44 PM   #7
Santas
Member
 
Registered: Jun 2003
Location: Over the rainbow
Distribution: Mandrake 10 / Guadalinex
Posts: 290

Rep: Reputation: 30
try this link: http://developer.osdl.org/craiger/hackbench/index.html
 
Old 12-17-2003, 06:20 PM   #8
jcookeman
Member
 
Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep: Reputation: 33
That is certainly a good link! Thanks.
 
Old 12-18-2003, 01:02 AM   #9
antihuman
LQ Newbie
 
Registered: Dec 2003
Distribution: Suse Linux 9.0 Professional
Posts: 6

Rep: Reputation: 0
I've seen the benchmarks for the new 2.6 kernel and they blow the 2.4 kernel out of the water in speed. I like the new kernel myself and see a big inprovement in my programs and other things. If your willing to take the time to install the new kernel 2.6 (stable released now), then do it. It is worth it.
 
Old 12-18-2003, 06:44 AM   #10
talha
LQ Newbie
 
Registered: Dec 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Thanks for all your replys

i am also on kernel 2.6 compilation
 
Old 12-18-2003, 09:11 AM   #11
Santas
Member
 
Registered: Jun 2003
Location: Over the rainbow
Distribution: Mandrake 10 / Guadalinex
Posts: 290

Rep: Reputation: 30
a new stable version of the kernel is out . Go to www.kernel.org and see
 
  


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
The need for speed: Fastest apps for Linux dhave Linux - Software 5 09-26-2005 12:24 PM
Fastest way to boot linux. unholy Linux - Distributions 5 05-30-2004 10:33 AM
fastest Redhat Linux 8 mirror piggysmile Linux - Newbie 3 05-02-2004 02:21 PM
Fastest way to 'zero' a drive using Linux vivekd Linux - Software 2 02-12-2004 04:25 PM
Fastest Linux belial Slackware 2 05-07-2003 04:58 PM


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