LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2006, 02:37 AM   #16
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 14,848

Rep: Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823Reputation: 1823

As per above, you are looking for "using_dma = 1 (on)".
With small memory, you will be using swap, which is probably on the same disk with everything else.
You *really* need to ensure dma is on.
 
Old 04-23-2006, 02:53 AM   #17
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
HW = HardWare ...

Code:
man hdparm
HDPARM(8)

NAME
       hdparm - get/set hard disk parameters

SYNOPSIS
       hdparm [ flags ] [device] ..

DESCRIPTION
       hdparm  provides  a  command line interface to various hard disk ioctls
       supported by the stock Linux ATA/IDE  device  driver  subsystem.   Some
       options  may  work  correctly  only  with the latest kernels.  For best
       results, compile hdparm with the include files from the  latest  kernel
       source code.
[snip]
for eg /sbin/hdparm -d1 /dev/hda will set dma to "on" for the primary master hard disk (if the hdd supports dma). Direct Memory Access will speed up accessing for the hard drive.

Have you checked to see what processes are running?
Have you checked www.mjmwired.net for hints how to tweek RH9?

More advances OS's will probably be able to fit better with newer hardware - HW advances have been factored into the design.

I'd suggest you look at:
http://www.zegeniestudios.net/ldc/
... and make up your own mind. Otherwise you'll just end up getting the prejudices of whoever. Everyone has their favorite. There is a tendancy to get a tad fanatical about the particular distro one favours. Basically, linux is so varied that you are likely to find one totally suited to you. You tend to get the idea that it is "best" for everyone else too.

Here's a basic breakdown, sticking to free distros:

Fedora Core and OpenSuSE are the big-boys. These are "complete" binary distros. You will want to tweek them after install - for eg. install the i686 version of the kernel. (Probably one of the things you need for RH9 too.)

The main plusses is that they contain everything you could need, and are easy to install, and they are backed by strong commercial companies.

Debian (by Deb and Ian...)is a numero-uno distro but is notoriously unfreindly to install. There are many distros based on debian however. Ubuntu, for example, is probably the most popular desktop distro around, and is much easier to install and configure.

Debian is as complete as you want it to be. Ubuntu comes on just one CD ... which means you will be installing a lot of stuff after the initial install. (It still comes with more than windows does though.)

Slackware (mentioned) is pretty source oriented. It is a total uggerbay to set up - but it tends to be worth it because you end up with exactly the correct distro for you and your hardware and the skills are generic to all linuxes. You'll see the slackware folk around here are often the ones with the solutions. Slackware is also one of the oldest distros.

Gentoo is similar to slackware - only easier to install and configure. It takes longer... but is reputed to be the fastest as well as the easiest to install.

Yoper - dosn't make the standard lists. It is based on debian, but is optimised for i686 processors. Famouse for it's speed. I've included mostly because it is local (to me, NZ).

In the end - use the distro favored by the guru freind who lives closest to you (or the one showcased at the locak LUG install-fest.) Then you are garanteed good support.
 
Old 04-23-2006, 03:22 AM   #18
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
Originally Posted by syg00
As per above, you are looking for "using_dma = 1 (on)".
With small memory, you will be using swap, which is probably on the same disk with everything else.
You *really* need to ensure dma is on.
256Mb RAM is not small for RH9. I had this setup myself and it barely touched swap. (used 512Mb swap too!) Mind you, I has swap on a different drive... this speeds things up a bit.

This sort of thing is why I wanted to see the output of top or whatever. What's going on inside there.

Last edited by Simon Bridge; 04-23-2006 at 03:23 AM.
 
Old 04-23-2006, 03:23 AM   #19
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I assume HW is hardware
 
Old 04-28-2006, 04:24 AM   #20
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Linux for me is installed in hdb.Windows XP is in hda

Yes
using_hda=1 (on)
using_hdb=1 (on)
is shown on running /sbin/hdparm /dev/hda(or b)

Here is some more info:

/dev/hda:
Timing buffer-cache reads: 128 MB in 0.49 seconds =261.22 MB/sec
Timing buffered disk reads: 64 MB in 1.28 seconds = 50.00 MB/sec

/dev/hdb:
Timing buffer-cache reads: 128 MB in 0.41 seconds =312.20 MB/sec
Timing buffered disk reads: 64 MB in 1.17 seconds = 54.70 MB/sec
 
Old 04-28-2006, 04:31 AM   #21
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Here is the output of free:

total used free shared buffers cached
Mem: 253560 248660 4900 0 15520 94860
-/+ buffers/cache: 138280 115280
Swap: 522104 51480 470624
24


Also here are the contents of the boot.log file for services on startup:

Apr 28 05:07:50 localhost syslog: syslogd startup succeeded
Apr 28 05:07:50 localhost syslog: klogd startup succeeded
Apr 28 05:07:50 localhost irqbalance: irqbalance startup succeeded
Apr 28 05:07:50 localhost portmap: portmap startup succeeded
Apr 28 05:07:50 localhost nfslock: rpc.statd startup succeeded
Apr 28 05:07:50 localhost keytable: Loading keymap:
Apr 28 05:07:51 localhost keytable:
Apr 28 05:07:51 localhost keytable:
Apr 28 05:07:51 localhost rc: Starting keytable: succeeded
Apr 28 05:07:51 localhost random: Initializing random number generator: succeeded
Apr 28 05:07:51 localhost rc: Starting pcmcia: succeeded
Apr 28 05:07:51 localhost netfs: Mounting other filesystems: succeeded
Apr 28 05:07:51 localhost apmd: apmd startup succeeded
Apr 28 05:07:51 localhost autofs: automount startup succeeded
Apr 28 05:07:47 localhost network: Setting network parameters: succeeded
Apr 28 05:07:47 localhost network: Bringing up loopback interface: succeeded
Apr 28 05:07:47 localhost ifup:
Apr 28 05:07:47 localhost ifup: Determining IP information for eth0...
Apr 28 05:07:55 localhost xinetd: xinetd startup succeeded
Apr 28 05:07:56 localhost sendmail: sendmail startup succeeded
Apr 28 05:07:56 localhost sendmail: sm-client startup succeeded
Apr 28 05:07:56 localhost gpm: gpm startup succeeded
Apr 28 05:07:57 localhost canna: succeeded
Apr 28 05:07:58 localhost crond: crond startup succeeded
Apr 28 05:08:01 localhost cups: cupsd startup succeeded
Apr 28 05:08:03 localhost xfs: xfs startup succeeded
Apr 28 05:08:03 localhost anacron: anacron startup succeeded
Apr 28 05:08:03 localhost atd: atd startup succeeded
 
Old 04-28-2006, 08:46 AM   #22
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
might also want to use uname -a to look at the kernel you are ruunning. Most distros have 386, 586, & 686 kernels available.. you have a 686 class machine If you are running a a 386 class kernel is not going to be optimal for it as the lower end kernels do not support mmx, sse, sse3, processor extensions..
 
Old 04-28-2006, 11:24 AM   #23
gregorian
Member
 
Registered: Apr 2006
Posts: 509

Original Poster
Rep: Reputation: 34
Here is the output:

Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux

How am I supposed to know which of the above versions am I running.

Any suggestions to improve speed?
 
Old 04-28-2006, 11:34 AM   #24
The-Bison
LQ Newbie
 
Registered: Apr 2006
Posts: 9

Rep: Reputation: 0
Red Hat is generally considered a bloated distro. You can always do some cleaning up, but i think it would be more useful to install a lighter weight distro like arch, debian, gentoo, or slackware.
 
Old 04-28-2006, 12:03 PM   #25
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,232
Blog Entries: 5

Rep: Reputation: 190Reputation: 190
Quote:
Originally Posted by gregorian
Here is the output:

Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux

How am I supposed to know which of the above versions am I running.

Any suggestions to improve speed?

Ugh well that wasn't very nice of them..
Code:
itg-debian:~# uname -a
Linux itg-debian 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux
as you can see from the response I have the Kernel is a 386 Kernel and the machine architecture is i686, so I should follow my own advice and change the kernel on this bax..

I'm not sure how to tell on yours since they didn't supply the architecture as part of the kernel version.. hrmmm

you can check if rpm -q kernel gives you the architecture the kernel was compiled for.. there are definately different kernels avail for RH9 and yours looks out of date.. 20 -8 vs 20-46

kernel-2.4.20-46.9.legacy.i386.rpm
kernel-2.4.20-46.9.legacy.i586.rpm
kernel-2.4.20-46.9.legacy.i686.rpm
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Need a Fast Distro for 333MHz HP with 256MB RAM!! Christian3807 Linux - Distributions 11 05-31-2006 12:56 PM
How much swap for 128Mb or 256Mb RAM? eeried Linux - Newbie 10 06-29-2005 06:29 PM
Mixing 512MB Ram 2700 stick with a 256MB 3200 stick? Will it screw things up? Fear58 Linux - Hardware 2 07-15-2004 02:20 PM
Can I add 256MB to my 64MB RAM? Q*Bert Linux - Hardware 5 03-03-2003 02:21 PM
GUI crawls like doesn't have any RAM Travis86 Linux - Newbie 5 12-21-2002 07:48 PM


All times are GMT -5. The time now is 06:38 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration