LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-05-2006, 02:41 PM   #1
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
Memory Detection and Use


On my Toshiba laptop, the users manual says that the largest amount of RAM it can be upgraded to is 192MB (adding a 128MB chip), HOWEVER I have put in a 256MB chip and my BIOS detects it having 320MB total. When I boot up Slackware it only detects the 64MB that is "onboard" (NOT the 256 chip). In the past I have passed a command to the kernel in lilo and the full 320MB is "detected". My question is, how can I tell if the full 320MB is really being utilized? I feel like when I have the machine with only 192MB (no special kernel command) it is faster than when I have 320MB installed (With the kernel command). I have a feeling that that may be all in my head, BUT I would like to see proof.

I can execute
Code:
free -m
and receive output that says that the RAM is detected, but how can I test to see if it is truly being utilized? I appologize if this is a stupid question.
 
Old 06-05-2006, 02:48 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
You could open a terminal window and run top in it, run watch free -m in another terminal window and open up a bunch of other programs. The values should change and show what is happening.
 
Old 06-06-2006, 12:00 PM   #3
tubatodd
Member
 
Registered: Jun 2003
Location: Birmingham, Alabama (USA)
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
I took your advice and ran "top" in one window and "watch free -m" in another. Then I loaded a TON of programs. I was actually VERY surprised at how many programs I was able to load before my system had to use the swap file. It made me wonder if my swap file EVER gets used when I am working normally. If I remember correctly, these are the programs I ran...

2 Konsoles
Kedit
2 Konquers
Amarok
Xine
GIMP
Control Panel thing
Kword
KSpread
KPresenter
Kolf
and a few more that I don't remember.

It was really interesting watching the "watch free -m". BTW, the full 320MB IS being used.
 
Old 06-06-2006, 02:23 PM   #4
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
It can be surprising to see that happen - there's a good article on Linux memory management at http://gentoo-wiki.com/FAQ_Linux_Memory_Management
 
  


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
Inconsistent detection of USB Memory Wicked Wizard MEPIS 8 05-11-2006 10:27 PM
Memory detection strattonbrazil Linux - Hardware 1 01-12-2006 02:18 PM
wrong memory detection naanu Linux - Newbie 2 03-12-2004 09:34 AM
Memory detection?!?! BryanMC Linux - Newbie 6 04-06-2003 10:32 PM
memory detection probs a4anmol Linux - Software 11 07-13-2001 11:33 AM

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

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