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 09-16-2003, 08:35 AM   #16
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,187

Rep: Reputation: 53

" I had read were some motherboards with three slots did " " not work with RAM in the third slot.

i think that's the older rambus P4 motherboards, and
rambus has to work in pairs, so it can't be that.

something has to be really messed up for adding ram
to make the machine "feel" slower. having the ram
twice as fast or half as fast wouldn't make the machine
"feel" faster or slower, unless by "feel" you mean how
miserable you "feel" waiting for that divx movie to get
done rendering from mpeg2.

i would try each of the sticks of ram individually in each
slot, and then try each different combo. i don't think it's
going to work. i think something's wrong with your
motherboard.

i think windows uses memory from the top down, and
linux from the bottom up, so that could be the difference
you are seeing. some old p5 motherboards would
only cache the first 128 megs or ram, also. or
something like that.
you can pass a boot line to linux to only use a certain
amount of ram, if you want to play with that.
 
Old 09-16-2003, 09:15 AM   #17
sureshsaragadam
LQ Newbie
 
Registered: Sep 2003
Location: Visakhapatnam
Distribution: Red Hat Linux 9
Posts: 24

Original Poster
Rep: Reputation: 15
I Have two ram slots on my mother borad,
i have not tested them in alternative slots,
i will do that . i have to try with creating swap file, may be this should solve the problem.

still i am wondering why my system went dead slow after increasing ram,
and when i use free command the swap space usage is seen '0' exactly "ZERO" !!

Originally Postted By WHANSARD

-> i think windows uses memory from the top down, and
-> linux from the bottom up,

Can I know bit more on this statement

and How to pass boot line argument to linux to use 2 RAMS
or certain amount of RAM say 250MB . .
 
Old 09-17-2003, 04:43 AM   #18
sureshsaragadam
LQ Newbie
 
Registered: Sep 2003
Location: Visakhapatnam
Distribution: Red Hat Linux 9
Posts: 24

Original Poster
Rep: Reputation: 15
Hi here is the problem even after creating new swap successfully

There is some problem with earlier swap partition (origial swap)
mounted as /dev/hda8

ls /swap showing as 0 size (this should show 250 MB swap partion)

ls /newswap showing 250MB

fdisk -l
shows swap partion but
ls /swap is seen 0 "zero"

how to rectify my old swap partition to bring it in usage.
now swap partition is not in use , swap file i created is in use

but total 500MB is seen as swap space for 128MB ram !!
 
Old 09-17-2003, 04:45 AM   #19
sureshsaragadam
LQ Newbie
 
Registered: Sep 2003
Location: Visakhapatnam
Distribution: Red Hat Linux 9
Posts: 24

Original Poster
Rep: Reputation: 15
Hi here is the problem even after creating new swap successfully

There is some problem with earlier swap partition (origial swap)
mounted as /dev/hda8

ls /swap showing as 0 size (this should show 250 MB swap partion)

ls /newswap showing 250MB

fdisk -l
shows swap partion but
ls /swap is seen 0 "zero"

how to rectify my old swap partition to bring it in usage.
now swap partition is not in use , swap file i created is in use

but total 500MB is seen as swap space for 256MB ram !!
 
Old 09-17-2003, 04:55 AM   #20
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,341

Rep: Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907
Look at the numbers for swap using the free command. The total space should be the swap partition size plus the new swap file.
Post the results.

Post your /etc/fstab file. You should have two lines for swap one for /dev/hda8 and one for the new swap file.
 
Old 09-17-2003, 05:43 AM   #21
sureshsaragadam
LQ Newbie
 
Registered: Sep 2003
Location: Visakhapatnam
Distribution: Red Hat Linux 9
Posts: 24

Original Poster
Rep: Reputation: 15
i bought the report to post it here , i simply trusted floppy
 
Old 09-17-2003, 11:44 AM   #22
sureshsaragadam
LQ Newbie
 
Registered: Sep 2003
Location: Visakhapatnam
Distribution: Red Hat Linux 9
Posts: 24

Original Poster
Rep: Reputation: 15
free -->for 128MB for single ram

total used free shared buffers cached
Mem: 124984 122768 2216 0 12520 42968
-/+ buffers/cache: 67280 57704

Swap: 519136 11076 508060

Here is the problem: ls -l /*swap

-rw------- 1 root root 268435456 Sep 16 21:17 newswap
-rw------- 1 root root 0 Sep 15 14:46 swap
How do i delete empty partition which i created with half knowledge
--------------------

fdisk -l

omitting empty partition (9)

Disk /dev/hda: 20.4 GB, 20411080704 bytes
255 heads, 63 sectors/track, 2481 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 249 2000061 b Win95 FAT32
/dev/hda2 250 2481 17928540 f Win95 Ext'd (LBA)
/dev/hda5 250 747 4000153+ b Win95 FAT32
/dev/hda6 748 760 104391 83 Linux
/dev/hda7 761 2449 13566861 83 Linux
/dev/hda8 2450 2481 257008+ 82 Linux swap
 
Old 09-17-2003, 05:40 PM   #23
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,341

Rep: Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907Reputation: 1907
The swap you created is a file not a partition. Login as root:

rm /swap

Your swap partition /dev/hda8 is being used. Your total swap memory is the sum of /dev/hda8 + newswap

swap is not mounted like the other partitions.

So does the computer run faster or slower?
 
Old 10-01-2003, 10:24 AM   #24
sureshsaragadam
LQ Newbie
 
Registered: Sep 2003
Location: Visakhapatnam
Distribution: Red Hat Linux 9
Posts: 24

Original Poster
Rep: Reputation: 15
Orgianlly posted by : Michaelk

>If the computer runs slower then you might have the wrong ?>type RAM.

>Try swaping the new RAM for the original RAM stick. If the >computer runs slower then you might have the wrong type RAM. >If it runs just as fast then since the RAM sticks are not from the >manufacture then they might not play together or you might >have an issue with the second RAM slolt.

My problem is here , i had two RAM's of different make, even though linux detected the ram , they are not working in combination

i found my linux pc working better with the same kind of RAMS
( 2 128 MB RAMS of ibm make )

Thanking you all
 
  


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
deleting/resizing swap partition / increasing hd space saranga2000 Linux - Hardware 1 12-09-2004 11:03 AM
I want to increase my Linux partition.Should I take space from a Windows partition? PrinceBalak Linux - General 1 06-25-2004 06:44 PM
Looking to increase swap partition Patgod Linux - Newbie 8 03-29-2004 06:46 PM
Swap Partition Space fiending Linux - Distributions 2 11-04-2003 11:07 PM
Increase Swap Space? star geezer Linux - Software 9 03-10-2003 01:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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