View previous topic :: View next topic |
Author |
Message |
cornmander n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 27 Apr 2005 Posts: 45
|
Posted: Wed Jul 12, 2006 2:11 am Post subject: Kernel size and performance questions |
|
|
-Does kernel size have an effect on performance in systems with over 1 GB of ram? My kernel is around 1.5 MB in bzImage form and I can't really see that making a difference.
-Is there any advantage to compiling modules vs. building them into the kernel?
-Is it worth it to compile the kernel with -Os instead of -O2? Are there any other CFLAGS that could be set to increase performance of the kernel while keeping stability? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
clintpatty Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1716272468449ff34391843.jpg)
Joined: 21 Jul 2005 Posts: 173 Location: Alabama
|
Posted: Wed Jul 12, 2006 2:34 am Post subject: |
|
|
If you have the typical processor that goes with 1GB RAM, you don't want -Os. I've been told that a smaller kernel with modules is better than a bigger one with compiled in support. I haven't noticed a difference. I do notice a difference in a stock bare.i or everything kernel on other distros and one that I select. I'm running a 2.8M kernel now and don't notice a difference from when it was smaller. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|