Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What kernel sources/settings for best performance?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
timmy334
n00b
n00b


Joined: 24 Sep 2003
Posts: 69
Location: Montgomery, AL

PostPosted: Fri Dec 14, 2007 4:48 pm    Post subject: What kernel sources/settings for best performance? Reply with quote

What kernel sources patchset is the best to help squeeze the most performance out of my system? I am more than willing to use experimental patches so that is not a concern. I just want FAST! I want it to, as Love-Sources(or was it Nitro-sources) used to say, ROCK LIKE NINJA!

Also, what are some kernel settings that work on most systems that increase performance? I am putting this on my HP Pavilion zd8110us laptop. It has a 3.0 Ghz Pentium 4 w/ HyperThreading and 1GB RAM and an ATI Mobility Radeon X600 video chip. Should I be compiling my kernels for this with
march=pentium4 or
march=nocona or
march=native or
what would work best?
_________________
It is by caffeine alone I set my mind in motion,
It is by the beans of Java my thoughts acquire speed,
My hands acquire shaking, the shaking becomes a warning,
It is by caffeine alone I set my mind in motion
Back to top
View user's profile Send private message
Dr. Strangelove
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2006
Posts: 104
Location: Germania

PostPosted: Fri Dec 14, 2007 9:02 pm    Post subject: Reply with quote

timmey ?! :twisted:

you could check for hpet timer, try out the various schedulers...
_________________
Gentoo Linux ~amd64, Kernel 3.6-rc5, Enermax Pro82+ 425W, AMD Athlon 64 X2 BE-2400, Infineon PC800 8GB, ASUS M2NPV-VM, MSI 8600GTS DualHead, SSD OCZ Vertex2 60GB, HDD Samsung Spinpoint F1 320GB HD322HJ, ODD BENQ-DW1640, DVB-S TechniSat SkyStar2
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1227
Location: Massachusetts USA

PostPosted: Fri Dec 14, 2007 9:24 pm    Post subject: Reply with quote

For the march see http://gentoo-wiki.com/Safe_Cflags#Pentium_4. It depends on which model of the pentium 4 you have and if you are running x86 or amd64.
Back to top
View user's profile Send private message
timmy334
n00b
n00b


Joined: 24 Sep 2003
Posts: 69
Location: Montgomery, AL

PostPosted: Fri Dec 14, 2007 10:41 pm    Post subject: Reply with quote

What about kernel configuration itself and which custom-kernel sources give the best performance?
_________________
It is by caffeine alone I set my mind in motion,
It is by the beans of Java my thoughts acquire speed,
My hands acquire shaking, the shaking becomes a warning,
It is by caffeine alone I set my mind in motion
Back to top
View user's profile Send private message
MostAwesomeDude
Guru
Guru


Joined: 12 Aug 2007
Posts: 373

PostPosted: Sat Dec 15, 2007 10:13 am    Post subject: Reply with quote

Good question. For some of us, the road to speed is neverending. However, for the most part, there's not a lot you can do kernel-side to squeeze out performance. The biggest things, in my experience, are to enable SLUB, tickless timers, and to not build any modules which you don't need (on boot, the kernel will attempt to load all modules present in the system. If you have a lot, it takes a while to probe 'em all. Look at how long LiveCD kernels take to probe hardware...)

SLUB:
Code:
General Setup --->
        Choose SLAB Allocator --->
                (x) SLUB


Tickless timers for x86:
Code:
Processor type and features --->
        [x] Tickless System (Dynamic Ticks)
        [x] High Resolution Timer Support


For a Pentium 4 "Prescott" w/HT:
Code:
Processor type and features --->
        Processor family --->
                (x) Pentium-4/Celeron(P4-based)/Pentium-4 M/older Xeon


Use a recent kernel. gentoo-sources-2.6.23 will be just fine. If you're feeling daring, try kamikaze-sources-2.6.23 (will be renamed zen-sources at 2.6.24,) but be warned that a lot of the features in that kernel are not for speed, but for features. Nonetheless, if you're running kamikaze, try the Genetic library:
Code:
Library routines --->
        [x] Genetic Library


There's tons of other things in the kernel worth exploring, but these are the big things.
~ C.
Back to top
View user's profile Send private message
timmy334
n00b
n00b


Joined: 24 Sep 2003
Posts: 69
Location: Montgomery, AL

PostPosted: Sun Dec 16, 2007 6:13 pm    Post subject: Reply with quote

That's the kind of reply I was looking for! Thanks! I will definitely try out zen-sources. I am using gentoo-sources right now, but I'm a daring individual with my kernels, so I'll check out zen. Thanks!
_________________
It is by caffeine alone I set my mind in motion,
It is by the beans of Java my thoughts acquire speed,
My hands acquire shaking, the shaking becomes a warning,
It is by caffeine alone I set my mind in motion
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum