LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-06-2003, 11:07 PM   #1
saiz66
Member
 
Registered: Apr 2003
Posts: 225

Rep: Reputation: 30
Slackware faster?


I have a comment about my slackware 9.0... i like the learning curve even though it is pretty steep for a newbie like me... but i find it kind of slower than windows... could that be just me? for example when i am in gnome and i open up directories it is quite slow... and also i use mplayer to view movie files... and some mpg files won't play past 5 seconds... and in the mplayer doc it says that it might be my "slow computer"... i tried it in the text command line also but it would not play and in windows ALL files play... i do not find a faster improvement in speed... are there any ways to speed up slackware?

i have a 1.5 ghz amd athlon with 128mb of ram... and a 80gb harddrive... (i dont think it is my computer)
 
Old 05-06-2003, 11:23 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
There's a few ways to fine-tune the box...

check
hdparm /dev/hdX (your drive letters)
hdparm -tT /dev/hdX

Use a lean WM that consumes less RAM
...

Remove stuff you don't need from your
rc.modules and rc.M files ...

Mplayer can be a bit nasty at times, and
complained to me about slow CPU on a
box that plays any DVD's without troubles
with Ogle...

I found that the mplayer that comes as a
ready-to-use slackware package from
linuxpackages doesn't work properly for
me, I d/led the source and all required(and
optional :}) packages and compiled them
myself .... a major improvement ;)


Cheers,
Tink
 
Old 05-07-2003, 12:51 AM   #3
rich442
Member
 
Registered: Apr 2003
Location: I-lan
Distribution: Oracle Server 7-1511/ Princeton IAS, 7.2
Posts: 83

Rep: Reputation: 18
I have found that FVWM2 and FVWM95 run much faster than windows. They are not very pretty so you might not like that, but I am really impressed with their speed. Also, as far as I can tell Windows 98 looks almost exactly like FVWM2, IceWM and WindowMaker. Keramik and Metacity are both highly graphically intense themes that just take longer to load based on their eye candy. It is more balanced to compare GNOME 2.x or KDE 3.x with Windows XP because they look about the same.

Last edited by rich442; 05-07-2003 at 12:52 AM.
 
Old 05-07-2003, 09:19 AM   #4
saiz66
Member
 
Registered: Apr 2003
Posts: 225

Original Poster
Rep: Reputation: 30
oic... but are there any "tweaks" i can do to linux that will boost the speed?... i dont understand how to do the rc.modules stuff and take out the stuff that arent important i am a noob!
 
Old 05-07-2003, 11:42 AM   #5
rich442
Member
 
Registered: Apr 2003
Location: I-lan
Distribution: Oracle Server 7-1511/ Princeton IAS, 7.2
Posts: 83

Rep: Reputation: 18
I agree with Tinkster. Unused device drivers (that's a driver for a piece of hardware that you don't have) can really slow down the boot process as well as the general speed of the system. Take a look inside /etc/rc.d/rc.modules and see if all the uncommented device driver lines are things that you actually use.
Here's one example:
If you are booting with the scsi.i kernel image when you actually have no scsi devices, the computer will search for a SCSI device even though one isn't there. This process may cause the boot sequence to slow to a crawl at times and also may make your system run a lot slower, too (even though you seem to have a super computer). The rc.modules files is extremely well commented and has a lot of pointers written right into it. You should get some good ideas from there. And maybe try FVWM just once Remember that FVWM95 was meant at first to be a "lookalike" to Windows 95.
I hope that will help a little bit.

Last edited by rich442; 05-07-2003 at 11:47 AM.
 
Old 05-07-2003, 01:55 PM   #6
encomium
LQ Newbie
 
Registered: Mar 2003
Posts: 14

Rep: Reputation: 0
dma for your hard drive isn't enabled by default. To check this issue the command:

hdparm -d /dev/hda

and if it says dma is 0 then it's disabled. To enable it (you must be root):

hdparm -d 1 /dev/hda

you can also issue the command that Tinkster stated above to see the speed difference:

hdparm -tT /dev/hda

Issue that command before enabling dma then after to see what a big difference dma makes.
 
Old 05-07-2003, 03:07 PM   #7
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
Linux generally is slower than windows. With a stock slack 9 install the only thing uncommented in rc.modules is ide-scsi. Only thing you can really do is use a slightly quicker window manager like fluxbox, enlightenment, etc. Either way, linux is slower. And definitely compile everything yourself, i dont mess with pre compiled stuff unless thats all that is available.

For gnome, if you feel adventurous, you can try out garnome. It downloads and compiles the latest gnome. You will for sure see a speed increase in that. Also, it doesnt interfere with your exising gnome install.

Last edited by wr3ck3d; 05-07-2003 at 03:10 PM.
 
Old 05-07-2003, 04:29 PM   #8
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I think saying "linux is usually slow then windows" is quite a rediculous statement.

I will agree that X and KDE sometimes are slower then windows. However, as far as things like serving web pages, delivering mail, database servers, scripting, and compiling linux isn't just sometimes faster, sometimes it is WAY faster.
 
Old 05-07-2003, 04:40 PM   #9
m0ng00se
LQ Newbie
 
Registered: May 2003
Distribution: Slackware 9
Posts: 2

Rep: Reputation: 0
In linux I find it way faster. Especially connecting to the Internet. I am able to download at 5.2KBps consintently in Linux but in Windows I am lucky to get 3.2. To me this is a huge difference considering I am living with dialup.
 
Old 05-07-2003, 11:54 PM   #10
saiz66
Member
 
Registered: Apr 2003
Posts: 225

Original Poster
Rep: Reputation: 30
how about viewing movies?... wat program do u guys use to view movies? do u find it faster or slower than windows?
 
Old 05-08-2003, 12:18 AM   #11
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I use mplayer to view most of my movies. I can watch DVD's no problem on my PIII 550 with 768 MB of RAM.

In general the movie playback isn't neccesarily as fast, but it can be if you get the commercial video products. For one, TIVO's and ReplayTV's both run Linux.
 
Old 05-08-2003, 05:56 AM   #12
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
I noticed, that GNOME (specially Dropline Gnome) is significantly slower then KDE. The same applications open up much faster in KDE than in Gnome. Why is this?
Is there any way to speed up Gnome?
 
Old 05-08-2003, 08:17 AM   #13
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Another note about video, Linux uses all open-source software algorithms for the most part to display video. There are cases where this ins't true, like I use a Hollywood+ and mplayer outputs to that, I assume in raw MPEG2 format where possible.

WIndows on the other hand relies on the very expensive commercial software algorithms that linux cannot use because they won't let the source be seen (TIVO's and the like use these algorithms because they don't have to distribute that portion of there source). Windows also uses some special graphics card features that linux often doesn't.

You could certainly get a commercial video player for linux that would increase speed but you would have to pay for it, and possibly pay a lot since the only way I have seen one packaged is in a form made for distributing with a product such as a Tivo or ZapStation. The possible reason there are no cheaper, one license players, is most software companies don't think it is viable to sell software for Linux.

So to answer you question, the video in WIndows vs. the open source movie players for linux is faster. However, there is a reason that virtually every commercial grade video product without a special propietary operating system on it runs Linux these days. And that reason is the base OS is more efficient at process and resource managment, the TOC is way cheaper on a machine in which the user doesn't interact with the OS except through a custom applciation, and linux can be way more light weight.

Last edited by jtshaw; 05-08-2003 at 08:20 AM.
 
Old 05-08-2003, 09:04 AM   #14
bughead1
Member
 
Registered: Jul 2002
Posts: 78

Rep: Reputation: 15
Windows, even Windows NT and 2000, are not multi-user operating systems in the same sense that Linux is. A 2 GHz machine, used only as a workstation, may indeed seem faster when running Windows than it does running Slackware (although it may also seem quicker to crash when running Windows as well).

Try this, however: configure a 233 MHz machine with about 256 MB RAM as an XDMCP application server running KDE 3.x and OpenOffice, and have about 5 people log in remotely over the network with an "X -query server-ip" command, and have them all run OpenOffice at the same time while you watch "top" from the server's local console. Then decide whether Windows is faster under extreme load than Slackware.

Windows is like a cheaply built car from the 1960's with a big engine and a three-speed transmission, and Linux is like a modern 50 passenger bus with a moderately large diesel engine and a ten speed transmission. A comparison of "speed" doesn't really address their relative capabilities, although it is perhaps ironic that the Linux "bus" costs little or nothing, while the Windows "tin can" is quite expensive.
 
Old 05-08-2003, 09:20 AM   #15
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
I really like that analogy. It is similar to one somebody told me once 3 years back when I was starting to consider linux. He said Windows is like a Honda that costs as much as a BMW and Linux is like a 3/4 ton diesel pickup that gets 100 miles to the gallon, can tow 10,000lbs and costs pennies to purchase.
 
  


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
DISCUSSION: Faster and Faster Compilation jeremy LinuxAnswers Discussion 5 12-06-2005 01:41 AM
Faster Pc ????? playstation freak Linux - Newbie 3 09-05-2005 09:26 PM
Would slackware make my machine faster? engnyr Slackware 8 09-02-2003 08:07 PM
How much faster... X11 Linux - General 0 07-19-2002 12:51 AM
who is faster ? futurist General 1 04-07-2002 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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