LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2002, 12:01 PM   #1
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Speed up Mandrake 8.2?


Just got Mandrake 8.2 running on my HP laptop. The laptop's specs are as follows: Athlon4 900mhz, 512 PC133 SDRAM, 20 gig HD, 8 MB video, and an 8x CDRW/DVD. Mandrake CRAWLS on this machine. What are the essential services I must have running and what can I turn off safely? I'd really prefer to turn them off in the command line so would that be in xinetd? The applications are slow to come up and the disk seems to be always running. I am using ReiserFS w/ partitions as follows: 3.1gig / partition, 512 mb swap partition, and a 3.2 gig partition. What is the optimal partitioning scheme? I have the following services running at boot: alsa, anacron, apmd, atd, crond, devfsd, gpm, harddrake, internet, keytable, kheader, medusa, netfs, network, partmon, pcmcia, portmap, random, rawdevices, sound, syslog, usb, xfs, and xinetd. Which ones do I need? I've already turned off quite few. Also, it seems that about 3 applications (shell, XMMS, Mozilla) ALWAYS come up on first boot. Driving me crazy. I have been careful to leave the box for "restore session when logging in next time" unchecked. So how do I get rid of that stuff appearing on login? I KNOW Linux is faster than this so teach this newbie.
 
Old 03-31-2002, 01:55 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
I think you can turn off harddrake and netfs (if you don't use network filesystem).
To find out which processes take memory/processor power use top. Then you can trace those taking too much.
 
Old 03-31-2002, 09:26 PM   #3
manaskb
Member
 
Registered: Jan 2002
Location: India
Distribution: Suse , Mandrake
Posts: 121

Rep: Reputation: 15
Arrow dma will also speed up things

you can check if dma is enabled for your hdd. Infact enabling dma on the hard drive can increase performance quite a bit.

you can bench mark your hdd access time using
/sbin/hdparm -tT -m16 /dev/hda

try this
/sbin/hdparm -d -c /deb/hda
This will tell you if dma is enabled or not.
If dma is not enabled then do this
/sbin/hdparm -d1 -c1 /dev/hda
Do the bencg mark again, you should see a difference.
BTW you have to be root to do this. You'll have to redo the dma settings after reboot. Please check the man page for hdparm before doing anything. Some options can be risky.

- manas
 
Old 04-01-2002, 12:21 AM   #4
Sixpax
Member
 
Registered: Mar 2002
Distribution: Mandrake 8.1
Posts: 386

Rep: Reputation: 31
There's also a slight chance that the machine is trying to use DNS to resolve it's own hostname when you run any X app.

Check your /etc/nsswitch.conf file to make sure "files" appears first on the line for "hosts:", like so:

hosts: files dns

Here's a run-down of what those services are and you can judge if you need them or not:

alsa - advanced linux sound architecture
anacron - a cron like command scheduler (don't need cron if you run this)
apmd - advanced power management daemon
atd - at daemon, for handling jobs run with the at command (I doubt you use this)
crond - cron daemon, for scheduling commands (don't need anacron if you run this)
devfsd - manages entries in the /dev filesystem. I wouldn't kill this.
gpm - general purpose mouse interface
harddrake - mandrake's hard drive utility. I think this only runs once at boot.
internet - establishes your connection to the internet... just runs once at boot.
keytable - loads the appropriate keymap in the system.. also only runs once at boot.
kheader - does some kernel header checking... just runs once.
medusa - utility to help speed up filesystem searches. I'd kill this one.
netfs - mounts and unmounts all network filesystems. Just runs once.
network - self explainatory. Keep this one
partmon - partition monitor... check to see if you are running low on space. Can probably kill this one.
pcmcia - keep this if you have any pcmcia devices
portmap - handles port mapping... keep this one.
random - provides higher quality random number generation. doubt you need this one.
rawdevices - support for raw devices. doubt you need this.
sound - starts the sound subsystem.
syslog - system logger. keep this one.
usb - handles usb devices.
xfs - x font server.. DONT KILL THIS!
xinetd - controls connections to your machine (local as well as remote). probably want to keep this.
 
Old 04-02-2002, 05:44 AM   #5
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
This howto is geared towards saving battery life on a laptop, which ofcourse can't be a bad thing. But it also explains how to disable a lot of processes which you might not use which could also speed up your system.

http://www.linuxdoc.org/HOWTO/mini/Battery-Powered.html
 
  


Reply



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
set touchpad speed? (Mandrake 10.1) ben_build#2.1.0 Linux - Laptop and Netbook 1 12-13-2004 12:08 PM
Loosing internet speed in Mandrake 10 GitchiManidoo Linux - Networking 9 03-24-2004 02:24 PM
How to speed up mandrake 9.2? ooagentbender Linux - General 2 12-16-2003 09:07 AM
mandrake 9.1 slow cpu speed simplico Linux - General 2 09-16-2003 07:43 PM
mouse speed in mandrake 9.1 sanjeevan Linux - Newbie 1 07-19-2003 06:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 AM.

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