LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-30-2003, 09:32 AM   #1
calble
LQ Newbie
 
Registered: Aug 2003
Location: Louisville, KY or Evansville, IN
Distribution: Fedora Core 3
Posts: 29

Rep: Reputation: 15
Question computer running slow


Hello,
I have a HP ze4435us model notebook and use Mandrake Linux 9.2. I my notebook has 512 MB, 2400+ AMD, 40 GB HD, DVD-CD-RW drive. I used the default partition settings during the installation. The problem is that my computer runs very slow. I can navigate the desktop ok, and once a program loads it runs decent. When loading a program, opening a window, booting the computer, and all that stuff it takes forever. I have a 1600+ AMD desktop, that is 2 years older, and it is running circles around this notebook. could someone tell me what I need to do to get this computer running at a decent speed? I have checked and the cpu is never running at 100%.

Thanks,
Noah
 
Old 12-30-2003, 09:48 AM   #2
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi.

Could be the hard drives. Laptop hard drives are generally only 5200 rpm units at most, whereas desktop units can get up to 7200 for IDE or 15000 for SCSI. Sounds like this is the case, as you say programs run fine once they're loaded.

Dave
 
Old 12-31-2003, 11:03 AM   #3
calble
LQ Newbie
 
Registered: Aug 2003
Location: Louisville, KY or Evansville, IN
Distribution: Fedora Core 3
Posts: 29

Original Poster
Rep: Reputation: 15
I am sure that the rpm difference is a factor, but this is more than just the hard drive spinning slower.
 
Old 01-01-2004, 05:49 AM   #4
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
Is this a new laptop? Have you any other os on it? Ever? If so, how did or does it perform with the other os? Do a "ps ax" to see what is running and do a "free" and/or "top" to check memory usage. Watch what goes on during the boot. Does the system stall a long time on any particular load of daemons?
 
Old 01-01-2004, 12:10 PM   #5
calble
LQ Newbie
 
Registered: Aug 2003
Location: Louisville, KY or Evansville, IN
Distribution: Fedora Core 3
Posts: 29

Original Poster
Rep: Reputation: 15
Exclamation

it was new as of this summer. It had windows xp pro on it, and ran like it should have. I ran the free command and said that the swap space was about 500 Mb in size, and that none of it was being used. Could that be a problem?
 
Old 01-01-2004, 07:15 PM   #6
SharpyWarpy
Member
 
Registered: Feb 2003
Location: Florida
Distribution: Fedora 18
Posts: 862

Rep: Reputation: 91
No, that only means it isn't using enough memory to require virtual memory, so that's good. Submit the results of "ps ax" and let's see what running processes you have.
It sounds like some conflict is going on with hardware. How did the Mandrake Linux install go? Did it stall at any point? You might want to have a look at /var/log/messages and see if there are any unusal things there.
 
Old 01-01-2004, 07:56 PM   #7
calble
LQ Newbie
 
Registered: Aug 2003
Location: Louisville, KY or Evansville, IN
Distribution: Fedora Core 3
Posts: 29

Original Poster
Rep: Reputation: 15
I found this in the /var/logs/messages:
<i>modprobe: Can't locate module snd-card-X</i>
with X being a number one to seven
it was in the log a number of times.

I am going to post the ps ax next
 
Old 01-01-2004, 07:57 PM   #8
calble
LQ Newbie
 
Registered: Aug 2003
Location: Louisville, KY or Evansville, IN
Distribution: Fedora Core 3
Posts: 29

Original Poster
Rep: Reputation: 15
Here is the ps ax:

ps ax
PID TTY STAT TIME COMMAND
1 ? S 0:04 init [5]
2 ? SW 0:00 [keventd]
3 ? SWN 0:00 [ksoftirqd_CPU0]
4 ? SW 0:00 [kswapd]
5 ? SW 0:00 [bdflush]
6 ? SW 0:00 [kupdated]
7 ? SW 0:00 [kinoded]
8 ? SW< 0:00 [mdrecoveryd]
9 ? SW 0:00 [kswsuspd]
13 ? SW 0:00 [kjournald]
98 ? S 0:00 devfsd /dev
223 ? SW 0:00 [khubd]
427 ? SW 0:00 [kjournald]
593 ? SW 0:00 [knodemgrd_0]
940 ? S 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.
996 ? S 0:00 portmap
1020 ? S 0:00 /usr/bin/Wnn4/jserver
1044 ? S 0:00 syslogd -m 0
1052 ? S 0:00 klogd -2
1117 ? S 0:00 rpc.statd
1455 ? S 0:00 xfs -port -1 -daemon -droppriv -user xfs
1580 ? S 0:00 /usr/bin/kdm -nodaemon
1586 ? S 0:00 /usr/sbin/atd
1613 ? S< 1:48 /etc/X11/X -deferglyphs 16 -auth /var/run/xauth/A:0-1
1614 ? S 0:00 saslauthd -a pam
1615 ? S 0:00 -:0
1616 ? S 0:00 saslauthd -a pam
1617 ? S 0:00 saslauthd -a pam
1618 ? S 0:00 saslauthd -a pam
1619 ? S 0:00 saslauthd -a pam
1646 ? S 0:00 tmdns
1695 ? S 0:00 xinetd -stayalive -reuse -pidfile /var/run/xinetd.pid
1758 ? S 0:00 cupsd
1956 ? S 0:00 /usr/sbin/automount --timeout 60 /misc file /etc/auto
1958 ? S 0:00 /usr/sbin/automount --timeout 60 /net program /etc/au
2134 ? S 0:00 /usr/lib/postfix/master
2161 ? S 0:00 nqmgr -l -n qmgr -t fifo -u -c
2165 ? S 0:00 crond
2194 ? S 0:00 smbd -D
2204 ? S 0:00 nmbd -D
2248 ? S 0:00 /usr/bin/lisa -c /etc/lisarc
2367 vc/1 S 0:00 /sbin/mingetty tty1
2368 vc/2 S 0:00 /sbin/mingetty tty2
2369 vc/3 S 0:00 /sbin/mingetty tty3
2370 vc/4 S 0:00 /sbin/mingetty tty4
2371 vc/5 S 0:00 /sbin/mingetty tty5
2372 vc/6 S 0:00 /sbin/mingetty tty6
2533 ? S 0:00 /bin/sh /usr/bin/startkde
2633 ? S 0:00 kdeinit: Running...
2636 ? S 0:00 kdeinit: dcopserver --nosid
2639 ? S 0:00 kdeinit: klauncher
2641 ? S 0:00 kdeinit: kded
2642 ? S 0:00 fam
2651 ? S 0:24 /usr/bin/artsd -F 10 -S 4096 -s 1 -m artsmessage -l 3
2653 ? S 0:00 kdeinit: knotify
2654 ? S 0:00 kwrapper ksmserver
2656 ? S 0:00 kdeinit: ksmserver
2657 ? S 0:01 kdeinit: kwin -session 117f00000100010690402260000002
2659 ? S 0:01 kdeinit: kdesktop
2662 ? S 0:03 kdeinit: kicker
2663 ? S 0:00 kdeinit: kio_file file /tmp/ksocket-noah/klauncherlC1
2669 ? S 0:00 kdeinit: klaptopdaemon -session 1074ea7fca00010690417
2670 ? S 0:00 korgac --miniicon korganizer
2672 ? S 0:00 kdeinit: kmix -session 103d22a41600010693595230000003
2674 ? S 0:00 kdeinit: kaccess -session 101b1c5e0b00010694330470000
2675 ? S 0:00 kteatime -session 103d775de10001069617346000000270000
2701 ? S 0:00 /usr/lib/evolution/1.4/evolution-alarm-notify --sm-co
2705 ? S 0:00 /usr/lib/gconfd-2 14
2707 ? S 0:00 gnome-name-service
2709 ? S 0:18 /usr/bin/gaim --session 10485ccd2a0001072748867000000
2712 ? S 0:00 /usr/lib/bonobo-activation-server --ac-activate --ior
2713 ? S 0:00 kalarmd --login
4969 ? S 0:00 /bin/sh /usr/bin/soundwrapper /usr/bin/mozilla
4971 ? S 0:08 /usr/lib/mozilla-1.4/mozilla-bin
5000 ? S 0:00 /usr/lib/mozilla-1.4/mozilla-bin
5001 ? S 0:00 /usr/lib/mozilla-1.4/mozilla-bin
5002 ? S 0:00 /usr/lib/mozilla-1.4/mozilla-bin
5005 ? S 0:00 /usr/lib/mozilla-1.4/mozilla-bin
5006 ? S 0:00 /usr/lib/mozilla-1.4/mozilla-bin
6381 ? S 0:00 pickup -l -t fifo -u -c
6935 ? S 0:00 kdeinit: konsole
6937 pts/0 S 0:00 /bin/bash
7008 pts/0 S 0:00 su
7011 pts/0 S 0:00 bash
7087 ? S 0:00 kdeinit: Running...
7090 ? S 0:00 kdeinit: dcopserver --nosid --suicide
7093 ? S 0:00 kdeinit: klauncher
7095 ? S 0:00 kdeinit: kded
7106 ? S 0:00 /usr/bin/esd -terminate -nobeeps -as 2 -spawnfd 29
7154 pts/0 R 0:00 ps ax
 
Old 01-01-2004, 08:15 PM   #9
kc8tbe
Member
 
Registered: Feb 2003
Location: Cleveland, Ohio (USA)
Distribution: Gentoo, Kubuntu 6.06
Posts: 179

Rep: Reputation: 30
I don't see anything unusual in your ps aux output, but I'm not an expert on that.

Do you notice that your machine gets progressively slower the longer it runs? That rebooting causes the machine to suddenly speed up? This could be caused by a memory leak.

Do you notice that your machine is accessing the HD all the time? This could be a faulty application logging too much. See how fast the size of /var/log is increasing. Also, see if the HD access is a result of swapping memory - low RAM could be the culprit.

Do you notice the computer is slowest when a certain program is running? Like, is there a big speed drop the moment you log into KDE? Could be a faulty app.

Make sure all your packages are up to date. This may resolve a bug that could be causing the slowness in one of the above three ways.
 
Old 01-01-2004, 08:39 PM   #10
afunke
LQ Newbie
 
Registered: Feb 2003
Location: Curitiba - Brazil
Distribution: Mandrake 9.2
Posts: 14

Rep: Reputation: 0
Somewhere in the past my Mandrake 9.x system behaved similarly to what you describe in your original message. There are probably many reasons for that behavior, but I noticed at that time that program startup speed was affected by the networking status (system would slow down after activating a network connection). The explanation was that KDE (or XFree86) needs to make a DNS lookup for localhost (127.0.0.1) whenever a new program or a new X window is opened. If for some reason the DNS configuration files don't list the local machine before any other DNS servers, KDE will, in a somewhat foolish way, ask first to the "foreign" DNS servers who or where is "localhost", and wait (perhaps 1 or more seconds over a Dial-up line) for the reply before it tries to find the very same info locally by asking the workstation (localhost) itself...

You may check the content of the file /etc/resolv.conf (should include the first line "nameserver 127.0.0.1" and also an additional line "searchhost local") and the file /etc/hosts which should list "127.0.0.1 localhost".

In konsole or xterm, try the commands "ping localhost" or "hostname" and see if they fail or are run slower than the expected fraction of a second.

Last edited by afunke; 01-01-2004 at 08:47 PM.
 
Old 01-02-2004, 10:11 AM   #11
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 97
Hi again.

Try running
# hdparm -t

and see what transfer rate you get.

Dave
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
My Computer is running so Slow, all these happened when... sitmex Linux - Newbie 2 05-20-2005 09:05 AM
computer is slow blackman890 Mandriva 6 12-04-2004 09:14 AM
Computer drastically SLOW since running Linux wardialer Linux - Newbie 1 09-05-2004 06:42 PM
"Unknown Device"s in lspci, computer running slow thrice Slackware 2 03-28-2004 08:14 AM
Slow old computer javax Linux - General 16 11-05-2002 12:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:42 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