Click to See Complete Forum and Search --> : Why LINUX is slow
Kirti S. Bajwa
11-11-2003, 07:31 PM
I just installed RH9 LINUX on a new PC with AMD 2400+ CPU, 1GB DDR400 Dual Channel Memoty, 40GB ATA133/7200, etc., PC.
Under LINUX, when I open a folder (example HOME folder), it seem to take for ever to open the folder. I have the same PC with Win XP PRO and it is screaming fast.
Why is LINUX slow in opening folder/files?
Kirti
juicelooser
11-11-2003, 07:36 PM
Are you using KDE, GNOME, or something else?
Kirti S. Bajwa
11-11-2003, 07:38 PM
Originally posted by juicelooser
Are you using KDE, GNOME, or something else?
KDE
Kirti
juicelooser
11-11-2003, 07:42 PM
Try GNOME. I noticed a big jump in speed when I started using it.
jailbreaker
11-11-2003, 07:44 PM
Don't forget to disable any unneeded services and enable DMA.
typing cd /home is fast for me. JK, KDE isn't the fastest, but it is very easy to use for someone converting from windows. I would recommend learing how to use the command line. It is deffinately the fastest way to move around and open programs. It is the key to the advantage of using Linux, more control.
aNoob
11-12-2003, 07:27 AM
Originally posted by jailbreaker
Don't forget to disable any unneeded services and enable DMA.
How do you know DMA is enabled , and if it isn't how do you enable it , I have the same probs in KDE ,no matter which distro , maybe this is the answer.Thx.
rocketpcguy
11-12-2003, 07:35 AM
search: hdparm (for dma)
xterm -bg black -fg white is useful for filemanagement
disable un wanted services, and if you want, can switch to icewm with idesk, or fluxbox, or windowmaker. kde is slower than gnome, but try nautilus in kde
also, disable file-previews
Originally posted by aNoob
How do you know DMA is enabled , and if it isn't how do you enable it , I have the same probs in KDE ,no matter which distro , maybe this is the answer.Thx.
to find out if DMA == on:
[ ddicks@linuxbox ~ ] $ su
Password:
[ root@linuxbox /home/ddicks ] # hdparm /dev/hda
/dev/hda:
multcount = 16 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 3736/255/63, sectors = 60030432, start = 0
to set DMA:
man hdparm
aNoob
11-12-2003, 08:34 AM
Thx for confirming this. I was google-ing and found these stuffs. Tried already on my laptop but one thing puzzles me. DMA was well enabled,I did some 32 bit I/O stuff and enabled DMA2 the first speed increased with about 20% but the last one(buffer disk I believe) decreased from 19.96M/s to 14.48 M/s. Is there a tradeoff?
Kirti S. Bajwa
11-12-2003, 10:20 AM
Originally posted by Shep
typing cd /home is fast for me. JK, KDE isn't the fastest, but it is very easy to use for someone converting from windows. I would recommend learing how to use the command line. It is deffinately the fastest way to move around and open programs. It is the key to the advantage of using Linux, more control.
I prefer using KDE because it is easy. One simple question:
On a production machine, if I use KDE for setup, the production response time should have no effect!! Is it correct?
Kirti
It all depends on what KDE is doing. If its not being used, then no, but it could be hogging up your machine while in use. some helpful commands are top and ps -aux to check whats running and what levels.
WayStar
11-12-2003, 12:25 PM
Definitely investigate using top and ps -aux. I've occasionally noticed some runaway processes after running KDE. After killing them, the whole system speeds up considerably.
-Waylena
Ath0s
11-12-2003, 12:35 PM
Kirti,
What's your video? If your motherboard has onboard video with shared memory, look at this ...
http://www.justlinux.com/forum/showthread.php?s=&threadid=116391
Kirti S. Bajwa
11-12-2003, 01:36 PM
Originally posted by Shep
It all depends on what KDE is doing. If its not being used, then no, but it could be hogging up your machine while in use. some helpful commands are top and ps -aux to check whats running and what levels.
If after doing the settings, I change the desktop to GNOME, will this problem go away?
Kirti
To me it looks like kde is faster (snappier) than gnome, at least on my box.
magomago
11-13-2003, 03:05 AM
i have fedora ATM and I use Gnome- no real differences to me
and yes KDE has always been slow 4 me too
2.2Ghz Athlon (3200+ :D ), 512 ram, a7n8xd, 80+200gig WD...
...and i'm amazed at the "speed of kde"
but hopefully when i get my system setup this x-mas I'll try fluxbox or something of the sort
dysharmonic
11-13-2003, 04:04 AM
I do not consider myself a power user of some sort, but if I were to be too occupied w/ the speed of my KDE or Gnome, I'd happily run less resource hungry WMs like fluxbox, or blackbox or XFce
;)
SunOfTux
11-13-2003, 05:02 AM
What filesystem are you using? ext3?....
I used to use ext3, but I now use Reiser File System. It seems to run much faster.
I've never benchmarked it, but I have a RedHat book on security and optimization, and it talks of using reiserfs as an alternative.
For my system, it is MUCH faster.
To install using Reiserfs, just type 'linux reiserfs' at the boot prompt of the install disk.
It is worth a try.... My system flies now!
Regards,
SunOfTux
Zubir
11-13-2003, 03:22 PM
ok, log out, then log back in as root. open a terminal, then type:
emacs /etc/rc.d/rc.local
a window will open. type this in the window, at the bottom:
hdparm -c3 -u1 -k1 /dev/hda
click on "file," then click "save current buffer."
reboot your machine, and speed should be noticably increased.