View previous topic :: View next topic |
Author |
Message |
mat74 Tux's lil' helper
Joined: 04 Jun 2004 Posts: 88
|
Posted: Thu Oct 28, 2004 2:16 pm Post subject: tweak performance with kernelopts |
|
|
Hi!
I'm currently thinking about what I could do, to tweak my system's performance kernel-wise. I have 1 GB of ram, would disabling highmem make it faster? What about the stack size 4k/8k is there a difference? And what's with preempt? Good or bad for performance?Tell me what you do to tweak the last out of your systems! Uhm, here is a list of my harware:
cpu: PIV 2.4 B
ram: 1024MB DDR (266MHz)
hd: samsung ide 120GB |
|
Back to top |
|
|
Mac Cloud Apprentice
Joined: 27 Sep 2004 Posts: 214 Location: In a galaxy far far away...
|
Posted: Thu Oct 28, 2004 2:40 pm Post subject: |
|
|
you need preempt
smp if your proc is hyperthreading able
and a path called "low high memory" support because the limit of ram in no high memory support kenel is aroud 850 mo but high memory is too "big" for only 1go
look at "frame registers" too
And don't forget to edit /usr/src/linux/Makefile to enter your CFLAGS ! _________________ Vous prouver que j'ai raison serait admettre que je puisse avoir tort.
Beaumarchais |
|
Back to top |
|
|
blue.sca l33t
Joined: 28 Aug 2003 Posts: 680 Location: Mainz, Germany
|
Posted: Thu Oct 28, 2004 2:42 pm Post subject: |
|
|
at first, patch it with any of those fancy kernel patchsets you can find here ;)
on your system, watch out for the 1gb_lowmem patch so you can fully use your 1gb ram without having high memory support enabled.
you can use nitro-sources (search for it). it shall be very good as far as i heard it. dunno, for me, its to overloaded. i use cko patchset with is based on ck patches and have all improvments i need.
//e just read this...
Quote: |
And don't forget to edit /usr/src/linux/Makefile to enter your CFLAGS ! |
i would _never_ do this. if you want, than use a patch to set your useflags, but the improvment is about .5 to 1 percent and the possibility to crash up to 20 times higher... _________________ geek by nature, linux by choice
i want my avatar back... thank you
:wq |
|
Back to top |
|
|
Mac Cloud Apprentice
Joined: 27 Sep 2004 Posts: 214 Location: In a galaxy far far away...
|
Posted: Thu Oct 28, 2004 2:49 pm Post subject: |
|
|
Works perfectly for me sorry ... _________________ Vous prouver que j'ai raison serait admettre que je puisse avoir tort.
Beaumarchais |
|
Back to top |
|
|
bennettp Guru
Joined: 22 Feb 2004 Posts: 335 Location: on my back and tumbling
|
Posted: Thu Oct 28, 2004 3:51 pm Post subject: |
|
|
There's a fair amount of debate about preemption, and whether it's beneficial. I've been using it for about a year now, but I just disabled it in my latest kernel (2.6.9-gentoo-r1). Here's what I noticed:
* Solved a weird phenomenon when ripping dvds that prevented me from starting any other processes.
* Increased system stability, although I modified a few bios settings at the same time, which may be the cause of improved stability (set agp aperture and agp driving control to more conservative values).
* _Slight_ decrease in overall performance. This could be imagined. And, to be fair, my system has been under heavy load since I switched to the new kernel (current load avg: 4.30, 4.54, 4.79).
In short, the stock 2.6 kernel is good enough that you shouldn't need a preemptive kernel. But linux is all about choice! _________________ Registered Linux User #363420 |
|
Back to top |
|
|
blue.sca l33t
Joined: 28 Aug 2003 Posts: 680 Location: Mainz, Germany
|
Posted: Thu Oct 28, 2004 8:50 pm Post subject: |
|
|
Mac Cloud wrote: | Works perfectly for me sorry ... :oops: |
sorry, no offence, i just wanted to make clear that the perhaps gained speed advantage is not worth the high risk of instability. try it if you want, but dont blame about kernel oops ;) _________________ geek by nature, linux by choice
i want my avatar back... thank you
:wq |
|
Back to top |
|
|
|