Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-09-2005, 12:07 PM
|
#1
|
Member
Registered: Jul 2004
Location: Buffalo, NY
Distribution: Mandriva 2005LE
Posts: 274
Rep:
|
Linux Speed Tips
Hi,
Does anyone have speed tips for Linux, specifally Mandrake?
Ryan
|
|
|
02-09-2005, 12:23 PM
|
#2
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,762
Rep:
|
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.
|
|
|
02-09-2005, 12:29 PM
|
#3
|
Senior Member
Registered: Sep 2004
Location: Outlying D.C.
Distribution: Mandriva
Posts: 2,090
Rep:
|
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.
|
|
|
02-10-2005, 12:58 PM
|
#4
|
Member
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253
Rep:
|
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.
|
|
|
02-10-2005, 01:21 PM
|
#5
|
Senior Member
Registered: Nov 2002
Location: British Columbia, Canada
Distribution: Gentoo x86_64; FreeBSD; OS X
Posts: 3,762
Rep:
|
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....
|
|
|
All times are GMT -5. The time now is 10:34 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|