LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 02-09-2005, 12:07 PM   #1
RySk8er30
Member
 
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274

Rep: Reputation: 30
Linux Speed Tips


Hi,

Does anyone have speed tips for Linux, specifally Mandrake?

Ryan
 
Old 02-09-2005, 12:23 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,762
Blog Entries: 4

Rep: Reputation: 78
Hello,

I've nothing to tell you specific to Mandrake...but rather a couple of generic tips.

The first thing to look at is hdparm. This is a tool for changing ide HDD settings. The man-page will probably not help much, so have a google for 'hdparm' as there is a couple of good tutorials out there floating in the ether, which should show you how to set/benchmark new settings to increase your disk throughput.

Second tip is roll your own kernel. If you are using default Mandrake kernel I can assure you that many things are compiled in or loaded as modules that drive hardware you don't have. You need to have a bit of experience getting your kernel config just right, and you may have to try a few times to get it, but once you get all extraneous cruft out of the kernel it should run (slightly) faster, but more important: more stable and taking less RAM.

A third suggestion is to make sure you are not running any unneeded services. IE: if ISP handles your mail, you don't need a mailserver running. If you don't have a website, you don't need apache running etc...

HTH

Last edited by bulliver; 02-09-2005 at 12:25 PM.
 
Old 02-09-2005, 12:29 PM   #3
opjose
Senior Member
 
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090

Rep: Reputation: 46
Actually instead of Hdparm try editing /etc/sysconfig/harddisks and uncomment the commented lines.

The settings there are a just bit more conservative than using hdparm straight out, but they guarantee that the data gets written correctly even with brain dead Western Digital drives.

Another thing that greatly affects boot speeds is to add the word "compact" (no quotes) towards the top of the /etc/lilo.conf line and re-run lilo.

This drops the kernel load times dramatically.
 
Old 02-10-2005, 12:58 PM   #4
mac57
Member
 
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253

Rep: Reputation: 30
Your suggestion about adding the word "compact" to reduce kernel load times sounds great. Is there a grub equivalent? I use Grub on my system. Can the same word be added as a Grub command line entry some how? Can you tell me what the correct "syntax" is for it?

I have also often heard that prelinking can make KDE load WAY faster. Has anyone tried this? Do you know how? A "recipe" would be much appreciated.
 
Old 02-10-2005, 01:21 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,762
Blog Entries: 4

Rep: Reputation: 78
Quote:
I have also often heard that prelinking can make KDE load WAY faster. Has anyone tried this? Do you know how? A "recipe" would be much appreciated.
Yes, prelinking will dramatically shorten load times of kde, but remember, that's just start time. It isn't going to run any faster....
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tell me tips about increasing system speed kornerr Linux - General 30 03-18-2005 11:14 PM
Linux Tips little_ball Slackware 4 06-27-2004 11:41 AM
RH9, Gateway Solo 2500 Notebook - Need Speed Tips dot hog Linux - Newbie 3 12-15-2003 01:21 PM
Any tips to speed up my Internet connection? sb73542 Linux - Software 6 10-17-2003 08:41 PM
need tips to speed up browsing Brain Drop Linux - Software 2 04-23-2003 02:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration