LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-26-2003, 07:44 AM   #1
paimpozhil
LQ Newbie
 
Registered: Dec 2003
Location: india
Distribution: Fedora
Posts: 9

Rep: Reputation: 0
Swap and Ram cofusing me lol


hi all, i am a linux newbie
i installed red hat 9 easily in my box
here is my configurations :=-

PIII 933 Mhz, 256 Mb ram,
i installed redhat with XP in dual boot

i have some 4 gb partition for the Linux
and 1 gb swap

the problem is the computer is very very slow in linux
and sometimes it is faster..
i checked in both the conditions threw the system monitor
i found that system in faster when swap is used and slow when only ram is utilized and no swap is used

how to recover from this
is ther any setting to make the usage of swap more?

or is this any other problem

please help me
i donno why sometimes swap is used and sometimes not lol:
 
Old 12-26-2003, 02:40 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"how to recover from this
is ther any setting to make the usage of swap more?"

The way that Linux handles swap is complicated and very good. I doubt that you can speed up your system by changing the way swap works.

"or is this any other problem"

I think that what you found out about your system works faster when swapping is probably either a coincidence or a clue to some other non-swap problem.

I suggest that you look at what software is running when the system is slow and what software is running when the system is fast.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-27-2003, 07:27 AM   #3
paimpozhil
LQ Newbie
 
Registered: Dec 2003
Location: india
Distribution: Fedora
Posts: 9

Original Poster
Rep: Reputation: 0
no other software in my system.. just my redhat Pc installation
 
Old 12-27-2003, 10:08 AM   #4
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
If your is like the others, there are processes running in the background. Go into a terminal and type in:

Code:
ps aux
That will list all the processes running. You will likely get a screen full. You can run that when it is fast and when it is slow and see what changes.

You may also want to use top to see what is taking up so much CPU time. Just type in "top" in a terminal. You can type in a capital "P" to sort by processor time.

Post back what you get. Somebody may can tell you what it is. You may be able to disable some of the stuff as well.

Later

 
Old 12-27-2003, 10:19 AM   #5
paimpozhil
LQ Newbie
 
Registered: Dec 2003
Location: india
Distribution: Fedora
Posts: 9

Original Poster
Rep: Reputation: 0
the problem now is that i cant even login into the system it takes 1/2 hour to boot .. i think i am going to re install the whole stuff again .. lol
 
Old 12-27-2003, 01:23 PM   #6
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"the problem now is that i cant even login into the system it takes 1/2 hour to boot .. i think i am going to re install the whole stuff again .. lol"

One thing that could cause the symptoms that you are having is a dying hard drive.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
Old 12-27-2003, 01:27 PM   #7
paimpozhil
LQ Newbie
 
Registered: Dec 2003
Location: india
Distribution: Fedora
Posts: 9

Original Poster
Rep: Reputation: 0
"One thing that could cause the symptoms that you are having is a dying hard drive."

no the hdd is new and just bought before a month 7200 rpm 40 gigs

the windows works ok on the same machine
 
Old 12-27-2003, 06:00 PM   #8
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
You posted that you use Redhat but it sounds like Mandrake with a lot of services running in the background. My old AMD 400MHz was really slow to with Mandrake. You may want to cut off services that you are not using. If it takes that long to boot, you have to much running somewhere.

My two cents worth, that ain't much.



edit: I put in but instead of boot. I need to reboot my brain. Uh oh, I have to have one before I can reboot it.

Last edited by dalek; 12-27-2003 at 06:02 PM.
 
Old 12-27-2003, 10:45 PM   #9
paimpozhil
LQ Newbie
 
Registered: Dec 2003
Location: india
Distribution: Fedora
Posts: 9

Original Poster
Rep: Reputation: 0
i have uninstalled it and i am going to install it again tomorrow
i need peoples ideas on this issue.
 
Old 12-28-2003, 11:22 AM   #10
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
"i need peoples ideas on this issue."

If you still have the problem after you get Red Hat reinstalled then I suggest that you check things out the way that dalek suggested.

___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites

Last edited by jailbait; 12-28-2003 at 09:21 PM.
 
Old 12-28-2003, 12:27 PM   #11
paimpozhil
LQ Newbie
 
Registered: Dec 2003
Location: india
Distribution: Fedora
Posts: 9

Original Poster
Rep: Reputation: 0
well i reinstalled that stuff
but still seems to be slow

i did only the minimal installation of 400+ Mb

no gnome / kde . or any extra services

it boots very slowly
as some one stated before i think i have some problem in my HDD
but the hard disk works well and fine in windows without any problem.
there is no overheating,badsectors in that

is my PC not meeting any requirement?
PIII 933 / 256 sdram/ 1 gb swap do i need to give any more details?
 
Old 12-28-2003, 09:07 PM   #12
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Post the results of ps aux like mentioned above. That will help us. Something is really sucking power. It is likely something that you don't know about. It was installed without asking type of thing.

Mandrake does the same thing. It's not the user, it's the installing program that puts to much on it.

Later



hmmm, just write down what scrolls by that it is loading. If it takes that long, you should be able to write it down and post that here too.
 
Old 12-29-2003, 07:03 AM   #13
paimpozhil
LQ Newbie
 
Registered: Dec 2003
Location: india
Distribution: Fedora
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by dalek
Post the results of ps aux like mentioned above. That will help us. Something is really sucking power. It is likely something that you don't know about. It was installed without asking type of thing.

Mandrake does the same thing. It's not the user, it's the installing program that puts to much on it.

Later



hmmm, just write down what scrolls by that it is loading. If it takes that long, you should be able to write it down and post that here too.
ok ,, i donno how to do it .. i can see the results but i donno how to copy it and show it here..

i am a in linux

also when i am posting here i am on Mswindows

how to show you the results... some one help me

and i cant even tolerate the slowness of booting..
it takes a lot of time to show the shell
 
Old 12-29-2003, 09:44 AM   #14
dalek
Senior Member
 
Registered: Jul 2003
Location: Mississippi USA
Distribution: Gentoo
Posts: 2,058
Blog Entries: 2

Rep: Reputation: 79
Hmmmm, may have to get pencil and paper on that one. On ps aux it is the stuff off to the right that looks like this that we need.

/usr/sbin/cron
kdeinit: dcopserver --nosid
[kapmd]

The whole line would look like this:

Code:
root      2967  0.0  0.1  1612  604 ?        S    Dec28   0:00 /usr/sbin/cron
just the last bit is OK.

You will have to do this as root. I assume you are booting to command line which looks like old DOS. Just type in "root" at the login prompt and then type in your password. Then type in the commands. Double check what you type to make sure you don't type in the wrong thing. It won't usually ask if you are sure. Y/N?

post back if you have questions.

Later

 
Old 12-31-2003, 01:05 AM   #15
w0000422
Member
 
Registered: Dec 2003
Distribution: redhat linux 9.0
Posts: 60

Rep: Reputation: 15
I owned AMD k2-6 500 Mhz, 512 Mb ram,
i installed redhat with windows 2000 in dual boot

i have some 60 gb partition for the Linux
and 8 gb swap

I noticed the higher the swap file the better
I was thinking to put higher than that.
 
  


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
who else has 2 gig worth of ram lol 15yearoldkid General 18 11-16-2005 11:31 AM
Use RAM as swap??? oneandoneis2 Linux - General 3 08-19-2004 04:48 AM
Not using RAM and Swap much ? ruwach Linux - Hardware 2 06-11-2004 07:26 AM
No SWAP but all RAM!! hari_seldon99 Linux - General 3 01-13-2004 10:48 AM
Swap and RAM ? mikeshn Linux - General 1 09-18-2002 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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