Disappearing Memory with 2.17.1

Discuss anything specific to using Puppy on a multi-session disk
Post Reply
Message
Author
iang
Posts: 29
Joined: Tue 06 Jun 2006, 08:32
Location: Somerset, UK

Disappearing Memory with 2.17.1

#1 Post by iang »

Running as multi-session with no hard drive on a minimalist VIA EPIA5000. 768Mbyte RAM (512+256).

On first boot up, the free memory indicator in the task bar shows about 480Mbyte (Puppy's running completely in RAM).

But, saving settings back to the CD-R & rebooting now shows only 285Mbyte free - where did it go?!

With previous versions, I have normally had around 600MByte free.

Any thoughts?

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#2 Post by Flash »

I don't know the answer. The question of how Puppy uses RAM has come up frequently in the forum, but not the answer :lol: . Possibly what you see is due to the way Linux, and therefore Puppy, uses swap and RAM, and doesn't really mean what it looks like. I think Barry upgraded to the latest kernel for 2.17, so maybe Puppy is arranging available memory different from the way it used to. I'd say don't worry about it, just keep an eye on it for now.
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]

User avatar
SirDuncan
Posts: 829
Joined: Sat 09 Dec 2006, 20:35
Location: Ohio, USA
Contact:

#3 Post by SirDuncan »

Below is how I understand the RAM indicator to work and it may be wrong:


When you initially loaded Puppy there was no save file, and it was showing you the remaining RAM. When you shutdown and saved to the CD, it created a save file. When it loads again it is showing you the remaining free space in the save file, not RAM.

What Puppy does is show the remaining free space where it is being stored. Normally this is in RAM, but with a save file, it is the save file. On a full HD install it shows the remaining space on the partition.

Is this making any sense?
Be brave that God may help thee, speak the truth even if it leads to death, and safeguard the helpless. - A knight's oath

iang
Posts: 29
Joined: Tue 06 Jun 2006, 08:32
Location: Somerset, UK

#4 Post by iang »

Thanks for the replies. I'm not unduly concerned as it all seems to work normally. It's just different in 2.17.1 from all previous versions so something has changed. Maybe it is the kernal change that has done it.

I also notice that the red activity monitor now idles at about the half way point, whereas previously it always returned to zero if no programmes were running.

I wonder if it's connected to the memory display change?

User avatar
mikeb
Posts: 11297
Joined: Thu 23 Nov 2006, 13:56

#5 Post by mikeb »

Try typing 'free' in a console...this may clarify especially for a multisession with no hard drive...the taskbar figure can be misleading but saying that even with 'free' this can be confusing...eg a program can be allocated memory but can give it up if needed elsewhere...
the figures you get when first booted should give you the best picture..


As for processr usage run 'top' to see whats hogging the processor...shouldn't be sat at 50%.
Check in /tmp/xerrs.log ...something could be writing lots of error messages to here ... worth examining anyway if things don't seem right


regards

mike

Post Reply