LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-24-2004, 09:27 AM   #1
Superdude
Member
 
Registered: Oct 2003
Distribution: Slackware 9.0
Posts: 47

Rep: Reputation: 15
How can I make linux faster?


Hello I am running Slackware 9.0 and it's not as fast as I want it to be so I was wondering what are some things that I can do to make it run faster.

Obviously I can run lighter programs, eg Blackbox instead of KDE, or Abiword instead of KOffice, or Dillo instead of Mozilla, but I would rather not have to do that since I like my full-featured programs, even if they are heavy on the reasources. What else can I do to speed up linux?

The first thing that comes to mind is to recompile everything for i686 but that would take too long so I don't wanna do that.

I already recompiled the kernel and include what I need as modules instead of in the kernel, except for those things I need the most.

According to the website of the Yoper distribution, some of the things they did to make Yoper fast was:

-Stripping
-Prelinking
-Keep everything only dependent to what it really needs not what the ./configure happens to find.
-Hdparm on install

What do these things mean and can someone point me to a website which explains how to do this?
 
Old 07-24-2004, 10:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,392

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
stripping - running the strip command against programs removes nonessential data such as comments and other junk that would not be missed. without this the file is smaller and so loads faster. this is something generally done by default though, you should have no reason to manually strip files already installed on your system... but then you never do know...

prelinking - i didn't know, so i asked google: http://www.crast.us/james/articles/prelink.php

dependencies - a great example of this is MPlayer. When yo compile MPlayer from source it will check your system to see what it can use. thing is though, MPlayer can handle a VAST selection of inputs, outputs, filters etc... and so by the system knowing that it has all these wonderful libraries to use if needed, it neds to know each exists when the program loads. now if you hve no intention of play films encoded in XYZ format or watching the output video get printed to a type writer... (i wouldn't be suprised) the time it takes to find these modules is wasted.

-hdparm - DMA basically. read the hdparm manpage or details.
 
Old 07-24-2004, 10:56 AM   #3
Superdude
Member
 
Registered: Oct 2003
Distribution: Slackware 9.0
Posts: 47

Original Poster
Rep: Reputation: 15
Thanks that's exactly the info I was looking for.

If anyone has any more ideas on how to make linux faster please share.
 
Old 07-25-2004, 05:47 AM   #4
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
Look and see what services are running at startup and disable the ones you don't need.
 
Old 07-25-2004, 08:38 AM   #5
amosf
Senior Member
 
Registered: Jun 2004
Location: Australia
Distribution: Mandriva/Slack - KDE
Posts: 1,672

Rep: Reputation: 46
Get an athlon64

The beauty of linux is that you can strip it down as you want, remove services, change desktops, etc. But it is a big system now and if you need the services then it will cost in performance. I still find linux much better than win at running a whole bunch of apps at once tho...
 
Old 08-23-2004, 07:19 PM   #6
yoper
Yoper Architect
 
Registered: Aug 2004
Distribution: Yoper
Posts: 4

Rep: Reputation: 0
we also patch the kernel to make it faster Google for Con Kolivas
 
Old 08-23-2004, 08:32 PM   #7
Mephisto
Member
 
Registered: Oct 2002
Location: Washington D.C, USA
Distribution: Slack 12, Etch, Gutsy
Posts: 453

Rep: Reputation: 30
If you are under 256MB of RAM and using Gnome/KDE it would be a good investment to upgrade to 256MB or 512. It is not overly expensive and generally does make a significant difference.

I found 9.1 to be a little faster than 9.0 for Slackware in general. For KDE, and to a lesser extent Gnome, Slack 10 is faster still. The difference between 9.1 and 10 though is mostly the slimming down of the desktops, the actual release is a hair slower. Not a lot though. It would probably be worth your while to upgrade to 10.

Beyond that the only things I can think of to speed up your system would be to compile your key apps to the specifics of your box.
 
Old 08-23-2004, 08:34 PM   #8
yoper
Yoper Architect
 
Registered: Aug 2004
Distribution: Yoper
Posts: 4

Rep: Reputation: 0
That is exactly what Yoper does .. it is compiled for 686
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Anyway to make linux games go faster by tweaking opengl somehow? FocusedWolf Linux - Games 3 04-16-2005 06:20 AM
Too slow any way to make it faster? Mr. New Linux - Newbie 12 12-29-2004 03:22 PM
how to make MPlayer faster ? PunkPT Linux - Software 1 07-30-2004 03:16 PM
Things to make Linux work faster yelp666 Linux - General 4 04-19-2003 03:25 PM
Can I make Linux run faster?? justiceisblind Linux - Newbie 3 06-17-2002 01:25 AM


All times are GMT -5. The time now is 04:41 AM.

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 Google+: linuxquestions
Open Source Consulting | Domain Registration