Skip to contentSkip to conversation

Make it fast

DISCUSSION Bob Toxen 3 participants 3 messages Jun 9, 2002 – Jun 21, 2002

lore
Share & tools
lore

Bob Toxen

author
#0 lore raw
Quoted 7 lines

Hi

Are there any standard things that I can do to tune my linux on the laptop ? I have a vaio qr10.
Everything runs nice only the battery management (I will see in 2.5 ;)) and the speed. It has only 64 MB RAM and kde needs more.
What can I do from the kernel side to make linux faster ?

Consider a less costly desktop. My 25 BogoMips 486 24 MB laptop runs just fine with fvwm (Slackware). You also might turn off whatever icons, dancing girls, and other things that you don't need. Doing a "top" or "ps -axlww | more" will show what is using CPU and memory.

Also, some programs, most notably X and Netscrape leak memory over time. Thus, you will want to shut down Netscrape every day or two and probably shut down X weekly to free up the leaked memory.

Quoted 7 lines

I use always the current 2.4 kernel
Ext2
Xfree 4.1

thanks
have fun
Felix

Best regards,

Bob Toxen, President
Fly-By-Day Consulting, Inc. "Experts in Linux & Network Security"
Author,
"Real World Linux Security: Intrusion Detection, Prevention, and Recovery" 700 pages
Prentice Hall
November 2000
[email protected]
http://www.verysecurelinux.com [Linux/Unix & Network Security Consulting]
http://www.realworldlinuxsecurity.com [My 5* book: "Real World Linux Security"]
http://www.verysecurelinux.com/sunset.html [Sunset Computer]
Quality Linux, UNIX and network security and software consulting since 1990.

GPG Public key available at http://www.cavu.com/pubkey.txt ([email protected])
and at http://pgp5.ai.mit.edu/pks-commands.html#extract
and on the CD-ROM that comes sealed and attached to Real World Linux Security
pub 1024D/E3A1C540 2000-06-21 Bob Toxen <[email protected]>

     Key fingerprint = 30BA AA0A 31DD B68B 47C9  601E 96D3 533D E3A1 C540

sub 2048g/03FFCCB9 2000-06-21

#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The problem is: I want a modern desktop.

At the moment I'm compiling kde 3 drom cvs head to be sure that I have the newest version with lesser mem leaks.
I tried to remove all eye-candy things but it is slow.
Also I don't use netscape.

Now my desktop is tuned but I have to tune Linux.
I already remove daemons (e.g. webmin).
I can't tune more. There is only the Linux kernel which is a normal build so I thought there may be some things that I can set in the kernel config to make it a bit faster.

Maybe I should try 2.5 ?
This laptop has no critical mission.

have fun
Felix

Am Sonntag, 9. Juni 2002 08:37 schrieb Bob Toxen:

Quoted 41 lines
Quoted 7 lines

Hi

Are there any standard things that I can do to tune my linux on the laptop ? I have a vaio qr10.
Everything runs nice only the battery management (I will see in 2.5 ;)) and the speed. It has only 64 MB RAM and kde needs more. What can I do from the kernel side to make linux faster ?

Consider a less costly desktop. My 25 BogoMips 486 24 MB laptop runs just fine with fvwm (Slackware). You also might turn off whatever icons, dancing girls, and other things that you don't need. Doing a "top" or "ps -axlww | more" will show what is using CPU and memory.

Also, some programs, most notably X and Netscrape leak memory over time. Thus, you will want to shut down Netscrape every day or two and probably shut down X weekly to free up the leaked memory.

Quoted 7 lines

I use always the current 2.4 kernel
Ext2
Xfree 4.1

thanks
have fun
Felix

Best regards,

Bob Toxen, President
Fly-By-Day Consulting, Inc. "Experts in Linux & Network Security"
Author,
"Real World Linux Security: Intrusion Detection, Prevention, and Recovery" 700 pages
Prentice Hall
November 2000
[email protected]
http://www.verysecurelinux.com [Linux/Unix & Network Security
Consulting] http://www.realworldlinuxsecurity.com [My 5* book: "Real World Linux Security"] http://www.verysecurelinux.com/sunset.html
[Sunset Computer] Quality Linux, UNIX and network security and software
consulting since 1990.

Quoted 6 lines

GPG Public key available at http://www.cavu.com/pubkey.txt ([email protected])
and at http://pgp5.ai.mit.edu/pks-commands.html#extract
and on the CD-ROM that comes sealed and attached to Real World Linux
Security pub 1024D/E3A1C540 2000-06-21 Bob Toxen <[email protected]>

     Key fingerprint = 30BA AA0A 31DD B68B 47C9  601E 96D3 533D E3A1 C540

sub 2048g/03FFCCB9 2000-06-21

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9AvvbS0DOrvdnsewRAgWxAJ4rHdHK7gTbj+TUhJvkyI/eBiHO2wCeLw76 iQRtDA+JYPMeg6w1feePQBg=
=LxH3
-----END PGP SIGNATURE-----

#2 lore raw
Quoted 5 lines · Felix Seeger

The problem is: I want a modern desktop.

At the moment I'm compiling kde 3 drom cvs head to be sure that I have the newest version with lesser mem leaks.
I tried to remove all eye-candy things but it is slow.

I don't doubt that! You really seem to be out of memory, does `free' show a lot of swap used? I have 128 in one laptop and it's still marginal, while a 486-25 with 12MB is usable with a 2.0 kernel and fvwm95 (no, I'm not a Windows user, I like it better than plain fvwm).

Quoted 7 lines

Now my desktop is tuned but I have to tune Linux.
I already remove daemons (e.g. webmin).
I can't tune more. There is only the Linux kernel which is a normal build so I thought there may be some things that I can set in the kernel config to make it a bit faster.

Maybe I should try 2.5 ?

Try 2.4.19-pre10-ac2 + preempt, or the new 2.4.19-pre10aa4. Turn off everything you don't absolutely need and then make everything you don't need all the time a module. That means serial, parallel, ppp, sound if you have it, all network and netfilter, nfs, samba, modularize it all. If you do much with playing CDs, grab the "CD audio via DMA" patch floating around and drop that in, it will save you some CPU.

Quoted 1 line

This laptop has no critical mission.

I somehow suspected that.

-- rob bogus