LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 04-26-2006, 03:44 PM   #1
SuSE_Lamer
Member
 
Registered: Nov 2004
Location: Hamburg/Germany
Distribution: Ubuntu 11.10
Posts: 81

Rep: Reputation: 15
Performance optimisation on the notebooks


Hello everybody!

At the present I run Debian Sarge (with kernel 2.6.8-3-686, updated via Synaptic) on the ThinkPad 600X with 450 MB of RAM. A couple of days ago I decided to optimize my system in order to avoid unneccessary memory consumption (I run Gnome, so a bit more free memory would be quite usefull :-) ).

After certain research in the Internet I started to explore my kernel. I must say, that I initially installed 2.4 (default in the Sarge), but in the meantime I upgraded it to 2.6 - to enable HAL (Hardware Abstraction Layer). I had no problems with starting my machine with new kernel, GRUB was updated nearly automatically. But after carefull study of the /var/log/kern.log I found following message:
Code:
Apr 26 21:54:36 localhost kernel: klogd 1.4.1#17, log source = /proc/kmsg started.
Apr 26 21:54:36 localhost kernel: Inspecting /boot/System.map-2.6.8-3-686
Apr 26 21:54:36 localhost kernel: Loaded 27395 symbols from /boot/System.map-2.6.8-3-686.
Apr 26 21:54:36 localhost kernel: Symbols match kernel version 2.6.8.
Apr 26 21:54:36 localhost kernel: No module symbols loaded - kernel modules not enabled. 
Apr 26 21:54:36 localhost kernel: Linux version 2.6.8-3-686 (root@lart) (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 Thu Feb 9 07:39:48 UTC 2006
As far as I understand, it means that corresponding modules will not be loaded. Nevertheless, the system is booting and I work without any problems.

I have read a lot about initrd and kernel images. I read also the sticky post in this forum about kernel update. Unfortunatelly, I could not find (more or less) clear answer(s) on the following questions:

1) how does the above shown message influence the boot process? Can I resolve the problem without having a lot of troubles with my machine (which I use daily for my work)?
2) which modules can be excluded from boot process (and, respectively, from RAM) to improve the system's performance?

If it will be neccessary, I'm ready to post here the list of the modules loaded on my machine as well as my hardware configuration. I would like to build with a help of all community members a kind of tutorial/guide for other users of older notebooks, who wish optimise the system's performance withh minimum troubles.

I will appreciate any reply and will be very happy if this post will be usefull for others.

Regards,
Andrey
 
Old 04-27-2006, 08:15 AM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Quote:
Originally Posted by SuSE_Lamer
Hello everybody!
1) how does the above shown message influence the boot process? Can I resolve the problem without having a lot of troubles with my machine (which I use daily for my work)?
This shouldn't affect the boot process at all. As you can see you are booting, without erros, and only warnings.

Quote:
Originally Posted by SuSE_Lamer
2) which modules can be excluded from boot process (and, respectively, from RAM) to improve the system's performance?
Well according to the error message you don't have any modules to exclude. Ok, actually you do have modules, but your kernel can't load them, so you might as well not have any. This isn't always a bad thing though. On my gentoo box I don't have any modules loaded. But thats not a big deal for me right now, because I'm compiling my own kernel first chance I get. Odds are SUSE has compiled the kernel with as many options as possiable to include all your hardware built in. That means you don't need any modules to boot.

What you can do is compile your own kernel. Get a list of all your hardware, compile a kernel with only that hardware needed. That will make slimmer and supposedly quicker. Just make sure and keep a working kernel in the boot menu just in case.
 
Old 04-29-2006, 03:41 PM   #3
SuSE_Lamer
Member
 
Registered: Nov 2004
Location: Hamburg/Germany
Distribution: Ubuntu 11.10
Posts: 81

Original Poster
Rep: Reputation: 15
Kernel modules

Hello.

Quote:
Originally Posted by Penguin of Wonder
This shouldn't affect the boot process at all. As you can see you are booting, without erros, and only warnings.


Well according to the error message you don't have any modules to exclude. Ok, actually you do have modules, but your kernel can't load them, so you might as well not have any. This isn't always a bad thing though. On my gentoo box I don't have any modules loaded. But thats not a big deal for me right now, because I'm compiling my own kernel first chance I get. Odds are SUSE has compiled the kernel with as many options as possiable to include all your hardware built in. That means you don't need any modules to boot.
I see your point conserning the modules, but the issue is that lsmod gives me quite a long list of loaded modules. My suspictions are that at boot time the kernel fails to load modules for 2.6 and "fails back" to modules of 2.4. I'm going to find it out soon...

Quote:
What you can do is compile your own kernel. Get a list of all your hardware, compile a kernel with only that hardware needed. That will make slimmer and supposedly quicker. Just make sure and keep a working kernel in the boot menu just in case.
Hmm, to be honest, kernel recompilation is the last thing I want to do. From the very beginning I was using standard kernels - of Suse and Debian - and would like to proceed so. That's why I initiated this thread - to find out, how one could optimise the system WITH standard kernel.

Regards,
Andrey.
 
Old 04-29-2006, 08:30 PM   #4
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
Well if you don't want to recompile your kernel, hdparm is another way to help improve the speed of your computer.
 
Old 05-02-2006, 12:57 PM   #5
SuSE_Lamer
Member
 
Registered: Nov 2004
Location: Hamburg/Germany
Distribution: Ubuntu 11.10
Posts: 81

Original Poster
Rep: Reputation: 15
HDPARM only?

Quote:
Originally Posted by Penguin of Wonder
Well if you don't want to recompile your kernel, hdparm is another way to help improve the speed of your computer.

Hello!

I will try to improve the settings of the harddrive too. But first I would like to clean memory...

Regards,
A.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what -march= optimisation flag for AMD64 ? qwijibow Linux - General 4 04-28-2006 05:31 AM
My own server - bandwidth use optimisation eomerek Linux - Networking 3 02-12-2006 04:20 PM
-march optimisation for kernel BenPope Linux - General 2 09-03-2003 11:36 AM
Compiling (GCC) - Optimisation anonE9 Programming 5 03-15-2003 08:20 PM
debian source package optimisation rlpt Linux - General 1 03-17-2002 04:23 PM


All times are GMT -5. The time now is 05:09 PM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration