Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
I am running Debian 3.01 with KDE 3.1.2, and my computer seems unusually slow, especially when using Konqueror as a file browser. Sometimes it will take a good 45 seconds to read the contents of a directory, despite the fact that ls can do it instantly. It also seems to take a long time to start applications such as mozilla & open office.
I have a 2Ghz athlon, with 1GB of RAM, so I'd expect things to be much faster.
Does anyone know:
a) Why this is
b) If it's fixable
c) If so, how?
type "top" on ur console and check the program garnering highest memory in it's functioning...
then write killall "name of the program" and ur computer will be faster.
but that cannot be the only reason for your computer to be slow..
sometimes, even bad hardware configuration also leads to excessive CPU time usage and hence a slow system... so u have to try various options...
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
well if top shows that the program using up tons of resources is the browser itself simply killing it is not a good enough answer. Post the output and we'll look at it to see if shows up anything.
I suspect that the slowness of the computer is not due to the desktop environment. You should try checking the speed of the IDE bus with the program "hdparm" and make sure that your drive is running in UDMA mode (I assume your motherboard and drive both support since it is new).
Also you unfortunately picked two poor "benchmarking" programs (mozilla and openoffice) to measure the speed of your system. Mozilla has always been slow (Firebird is getting much faster), and OpenOffice is inherently slow to start up since it must run a virtual machine. The performance of other programs such as Abiword, the Gimp, or Xine may be a better test. I don't have any experience with Konqueror, but a quick Google shows a possible problem with the Qt version. Maybe that's the deal.
another thing to try if Konqueror is taking ages to start up is this:
start konqueror from an xterm, and see if it seems to hang on any particular thing.
I may have narrowed down the cause of things.
I don't have internet access at home, so I ran top this morning whilst looking in Konqueror. I tried looking in directories which had previously caused problems due to having many files (eg. /usr/bin) and they seemed to read fairly quickly. I ran top, and couldn't see konqueror on there - nothing was using more than 5% of CPU or memory.
Anyway, I copied the output, and created a text file. I then inserted a floppy disk, and went into Konqueror. It was only looking at my home directory, which currently doesn't have a link to the floppy drive, but it started going ridiculously slowly, and as time progressed, it listed additional copies of all of the files in my home directory, like so: At first it would list:
projects
music
top.txt
And then a little later:
projects
projects
music
music
top.txt
top.txt
and then:
projects
projects
projects
music
music
music
top.txt
top.txt
top.txt
and so on, up to about 5 copies, when it waited for about 20 secs and then went back to normal.
I only properly set up autofs a couple of days ago, and the worst problems have been occurring since then.
Having said that, it was still having some problems previous to this, but only on very large directories which would maybe take 10-15 seconds to read.
The CD drives seem to be working fine, but the floppy seems to be a cause of these problems (or at least a contributing one).
When I then tried using the console to copy the file top.txt to the floppy (cp top.txt /mnt/floppy) I first didn't have permission, and then when I tried as root, it didn't activate the drive at all, but still listed the file as residing in /mnt/floppy. I could manually umount it, to no effect.
SO...
The upshot is that I don't have the output of top, but instead I have a whole host of other problems. If mozilla and openoffice are slow anyway, that's fine, most things work at a reasonable speed, apart from Konqueror.
If anyone can help with this, I would be most grateful
Guy
When I first started with linux, everything took at least 10 seconds to open. However, recompiling the kernel made everything work instantaneously. If you haven't recompiled your kernel yet, maybe that's the cause.
On my system. When my internet connection is down, my system starts getting slower. If I do ifdown eth0. Everything is much faster. I need to fix my system one of these days.
Lite kernel version will help a lot on some systems. You may want to compile it for a 486 so that the kernel is not huge. You will still have support for your processor if you include the optimizations for the software.
The filesystem also has something to do with it. ext3 is limited to how many files you can have in a directory before it decreases your system's performance. reiserfs, xfs and jfs are good alternatives.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.