LinuxQuestions.org
Review your favorite Linux distribution.
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 01-07-2002, 05:01 PM   #1
dtsfanatic
Member
 
Registered: Jul 2001
Location: Virginia
Distribution: SuSE 7.3
Posts: 34

Rep: Reputation: 15
Cool Linux seems slow


In the last week I loaded SuSE Linux 7.3 on my computer. After a little work, everything loaded fine and all works, all but the printer(still working on that). I also have Win 98 on a different hd. Windows is on a 40gb drive and linux is on a 6gb drive. Linux seems to run slower than windows as far as starting apps like kmail and star office. Is this normal or are there things I can change to boost the speed. Thanks for any help.
 
Old 01-07-2002, 06:23 PM   #2
TacKat
Member
 
Registered: Jan 2002
Distribution: LFS
Posts: 90

Rep: Reputation: 15
One reason Linux might seem slow to start apps is because KDE itself is slow. If you are looking for speed, you might want to check out using a different window manager with no desktop environment. Switching to things like WindowMaker, Blackbox and IceWM can significantly boost your speed at the slight hassle of having to install and configure another window manager.
 
Old 01-07-2002, 06:48 PM   #3
drjimstuckinwin
Member
 
Registered: Mar 2001
Location: Manchester UK
Distribution: Mainly Fedora
Posts: 496

Rep: Reputation: 30
Could also be the hdd speed, what sort is it? ata33?
try hdparm -tT /dev/hdx
where x is whichever disc you're on
a=primary master
b= primary slave
c= secondary master
d=secondary slave

and tell us how fast it goes. There are tweaks to improve the speed, but I can't remember them off the top of my head.
Jim
 
Old 01-07-2002, 07:09 PM   #4
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Here's the hard drive speed tweak info. Give it a try; it makes quite a difference.
 
Old 01-08-2002, 12:57 PM   #5
dtsfanatic
Member
 
Registered: Jul 2001
Location: Virginia
Distribution: SuSE 7.3
Posts: 34

Original Poster
Rep: Reputation: 15
The speed is 64 mb in 10.82 sec. or 5.91 mb per sec. This is after I changed the drive to 32 bit. Is there any other hints that can speed it up. That helped a little
 
Old 01-08-2002, 01:38 PM   #6
glock19
Member
 
Registered: Aug 2001
Distribution: Debian Etch
Posts: 510

Rep: Reputation: 32
Mine is quite a bit higher than yours. I get 130.61 MB/sec on Timing buffer-cached reads. Maybe linux seems slow because your hardware is slow. On the machine I'm on, I ran Windows for about a year. When I converted to Linux on this same exact machine, it seemed alot faster, especially browsing the internet (I use Konqueror on KDE).

Another thing, StarOffice 5.2 is known to be slow starting up. That's an issue with the program, not your system. I hear version 6.0 (to be released sometime mid-year 2002) is quit a bit faster.

Last edited by glock19; 01-08-2002 at 01:45 PM.
 
Old 01-09-2002, 03:26 PM   #7
kop
LQ Newbie
 
Registered: Jul 2001
Posts: 24

Rep: Reputation: 15
Swapping

It's remotely possible, though not too likely, that you're looking at a kernel bug, I'd heard of some machines that had problems with slow virtual memory somewhere around the 2.4.10 kernels. See if SUSE has a kernel update. (If you want to go it alone, get at least 2.4.17 from www.kernel.org.)

Hard drive manufacturers are famous for making large, slow, drives. Try shutting down unnecessary deamons (services) to conserve virtual memory. Another drasitic option is to use a small partition on your Windoze drive for swap. (See mkswap, swapon, /etc/fstab, cfdisk.) You could set the system to use the faster drive for swap first. But this could involve fips, and making another partition on an already full drive.

You can't get the star office 6.0 beta any more (I've heard) but you can get Open Office, from openoffice.org, which is the same thing or newer.
 
Old 01-10-2002, 02:13 AM   #8
X11
Member
 
Registered: Dec 2001
Location: Brisie, Australia
Distribution: Slackware 8.1
Posts: 324

Rep: Reputation: 30
Quote:
Originally posted by glock19
Mine is quite a bit higher than yours. I get 130.61 MB/sec on Timing buffer-cached reads. Maybe linux seems slow because your hardware is slow. On the machine I'm on, I ran Windows for about a year. When I converted to Linux on this same exact machine, it seemed alot faster, especially browsing the internet (I use Konqueror on KDE).

Another thing, StarOffice 5.2 is known to be slow starting up. That's an issue with the program, not your system. I hear version 6.0 (to be released sometime mid-year 2002) is quit a bit faster.
glock19, what are specs of that hard drive you tested and are you using an EIDE or a SCSI controller.
 
Old 01-10-2002, 09:18 PM   #9
Jase
Member
 
Registered: May 2001
Location: Panama City Beach, FL
Distribution: *.BSD
Posts: 113

Rep: Reputation: 15
Code:
[09:19:02] [root@stats:~]$ hdparm -tT /dev/hdc

/dev/hdc:
 Timing buffer-cache reads:   128 MB in  0.75 seconds =170.67 MB/sec
 Timing buffered disk reads:  64 MB in  2.20 seconds = 29.09 MB/sec
Quantum 30 gig EIDE
Dual 1gig P3
1 gig ECC
 
Old 05-13-2002, 11:07 PM   #10
new_linux_goof
LQ Newbie
 
Registered: Apr 2002
Location: Houston, TX
Distribution: SuSE 7.3 pro
Posts: 22

Rep: Reputation: 15
Hey,

My apps also start slow and my video is choppy. Some games don't even play right, sort of like 1 frame per minute.

Mine goes:



linux:~ # hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 11.88 seconds = 10.77 MB/sec
Timing buffered disk reads: 64 MB in 7.55 seconds = 8.48 MB/sec
Hmm.. suspicious results: probably not enough free memory for a proper test.


Also says:

free -tom: my mem has 375 total, 352 used, and 22 free.


AMD K6/2 500MHz
8 Gig IDE
32M video

Help.

nlg

Last edited by new_linux_goof; 05-13-2002 at 11:22 PM.
 
Old 05-14-2002, 03:27 AM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
You know what now that you mention it, wayyyy back (like a year ago ) When I first started using Linux, I was playing TuxRacer and it was moving normal speed, and everything was great.

Pretty much same PC specs maybe a little less RAM then, but that shouldn't matter.

And now when I try to play it, it moves at ultra slow speed. I try to click "play" and my mouse can't even make it over there for like 30 seconds, really. Then once it gets there, The next screen sits there forever.

I can't really think of anything else that has this same problem, just TuxRacer.

Can anyone tell me what's up with that? Thanks.

SPECS:
Athlon 900mhz
ASUS DDR MOBO
640MB PC2100 DDR RAM
ATI Rage Fury Pro 32mb (video card)
SoundBlaster Live! MP3+5.1 (soundcard)
 
Old 05-14-2002, 03:28 AM   #12
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
huh huh, guess I have my specs in my signature line, huh huh.
 
Old 05-14-2002, 06:28 AM   #13
AutoBot
Member
 
Registered: Mar 2002
Location: I can see you from here.
Distribution: Gentoo 1.3b
Posts: 184

Rep: Reputation: 34
Your problem MasterC is your not getting hardware acceleration out of your ATI card.
 
Old 05-14-2002, 12:28 PM   #14
ronin24
Member
 
Registered: May 2002
Location: Sweden
Distribution: Suse 8.0
Posts: 35

Rep: Reputation: 15
You can use hdparm -i /dev/hda to get some info and see what dma mode your harddrive supports on my computer it looks like this:

Model=Maxtor 4D060H3, FwRev=DAH017K0, SerialNo=D3HCV6YE
Config={ Fixed }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=57
BuffType=DualPortCache, BuffSize=2048kB, MaxMultSect=16, MultSect=16
CurCHS=4047/16/255, CurSects=-217054981, LBA=yes, LBAsects=120069936
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: disabled (255)
Drive Supports : ATA/ATAPI-6 T13 1410D revision 0 : ATA-1 ATA-2 ATA-3 ATA-4 ATA-5 ATA-6
Kernel Drive Geometry LogicalCHS=7474/255/63 PhysicalCHS=29428/16/255

if it says that it supports anything higer than the one with the * then you can change it with:

hdparm -X16~18 for SDMA 0~2, 32~34 for MDMA 0~2, 64~70 for UDMA 0~6 /dev/hda

Also when you boot up look for a line looking something like this

VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1

to see what your motherboard supports.




hdparm -tT /dev/hda /dev/hdb

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.48 seconds =266.67 MB/sec
Timing buffered disk reads: 64 MB in 1.88 seconds = 34.04 MB/sec

/dev/hdb:
Timing buffer-cache reads: 128 MB in 0.47 seconds =272.34 MB/sec
Timing buffered disk reads: 64 MB in 2.34 seconds = 27.35 MB/sec
 
Old 05-14-2002, 07:28 PM   #15
new_linux_goof
LQ Newbie
 
Registered: Apr 2002
Location: Houston, TX
Distribution: SuSE 7.3 pro
Posts: 22

Rep: Reputation: 15
ronin24,

Okay, after trying your suggestion, I got this:


linux:~ # hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 128 MB in 3.08 seconds = 41.56 MB/sec
Timing buffered disk reads: 64 MB in 5.24 seconds = 12.21 MB/sec


Excellent improvement on the buffer-cache, but not so great on the buffered disk. Why is that? To be honest, I think this is all I am going to get out of it. But maybe...

Thanks, nlg.
 
  


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
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 SUSE / openSUSE 6 01-28-2007 12:17 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
Linux is really slow... How come? thinhla Linux - General 11 07-03-2005 11:46 AM
Why is my linux so slow the_imax Linux - General 11 05-20-2005 09:59 PM
RH8 vs. W2k - Slow, slow, slow zerojosh Linux - Software 2 06-30-2003 07:19 PM

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

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