Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


View Poll Results: How much faster is your optimised kernel
Less than 10% 2 33.33%
10-20% 2 33.33%
20-30% 2 33.33%
30-40% 0 0%
50-60% 0 0%
Over 60% 0 0%
Voters: 6. You may not vote on this poll

  Search this Thread
Old 07-19-2002, 01:19 AM   #1
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
Question How much faster...

To anyone has successfully recompiled a kernel for their machine or machines

How much faster would you guestimate the system works overall when you the boot from the optimised kernel of course.

BTW: If you choose over 60% from the options above please tells us what it is.
Old 07-19-2002, 01:34 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
I'm actually still using the 2.2.19 kernel with my Slackware 8.0 boxes with no kernel recompile. My 400mhz Celeron boots in 27 seconds and my 500mhz around the same. My 800mhz Duron in about 35 seconds, but that's because probably of the services I have loading up most likely. Add another couple of seconds to login and startx when I do..
I just limit the services at bootup that I use. Maybe one day I'll recompile when needed.
Old 07-19-2002, 01:39 AM   #3
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
Herm, how can I optimize my kernel for AMD?
Old 07-19-2002, 03:26 AM   #4
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Half Elf:
When you recompile, in the first option after prompt for development options is architecture. In there, (if in menuconfig) highlight i386/i486/i586... and press enter, then arrow down to Athlon/Duron

X11: I am afraid I will be comparing apples to oranges sort of, but when I recompiled my kernel, I optimized for architecture, but also took out module support, and built everything I needed into the kernel. This was on my mobile box, so all I needed was filesystem support, keyboard, and sound. I also disabled startup otptions, and went from around 1 min 20 sec boot to around 25 sec. I can't really calc performance other than time it takes to recompile the kernel. And since there was much less to compile, it obviously went faster.

The only other time I have recompiled my desktop's kernel, I saw a minimal gain in performance. Not quite what I expected, but there was some. Switching to a lighter X, and doing more in Console was what really proved performace gains.
Old 07-19-2002, 06:02 AM   #5
Senior Member
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
How can people vote higher then 10%. Most kernels that come with a distribution have as many modules as possible. So if you just don't load the modules you don't need you'll have a pretty fast kernel. And since a lot of distribution already come with optimized kernels for at least i586. I doubt a recompile for your architecture will make it more then 10% faster.

Ofcourse if you've got a machine which only does a specific task then you could probably strip the kernel of a great deal of extra stuff.
But I'd say if you get more then 10% after optimizing for most default computers with an average set of hardware, then you are very lucky indeed.
Old 07-19-2002, 06:42 AM   #6
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
What about switching kernels, would that severely impact performance? Going from a 2.2.x vanilla to 2.4.18 optimized? Or is that like comparing grapes to watermelons?


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
DISCUSSION: Faster and Faster Compilation jeremy LinuxAnswers Discussion 5 12-06-2005 01:41 AM
Faster Pc ????? playstation freak Linux - Newbie 3 09-05-2005 09:26 PM
Which is faster? Hexadecimal General 11 05-27-2005 06:42 PM
How much faster... X11 Linux - General 0 07-19-2002 12:51 AM
who is faster ? futurist General 1 04-07-2002 11:26 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:03 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration