Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 13:38
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
Multisession Slacko reduces RAM usage after first save?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
gcmartin

Joined: 14 Oct 2005
Posts: 4220
Location: Earth

PostPosted: Tue 21 Feb 2012, 19:13    Post subject:  Multisession Slacko reduces RAM usage after first save?  

This report a very interesting need for understanding that occurs with SLACKO usage.

Unexplained phenomenon

When the sytem is initially booted and tailored (before save-session shutdown) the system was using 92MB after SAMBA setup and use.
NOW, AFTER save-session to the LIve media and rebooting, all subsequent boots are ONLY using 65MB.

This is cause for great puzzlement.

Thus, I am asking the community to look over the 2 reports of SLACKO (one without any changes and the other with SAMBA and reboot).

Please, if you can, explain why the system behavior is using LESS RESOURCES after initial save-session to the CD than was used before the save session.

The system's speed is great. And its resource sharing with LAN users is fast, as well with SAMBA installed and running. BUT, the observation of RAM usage is not obvious, to me, why this has improved by simply adding the SAMBA subsystem.

Thanks in advance for any explanation anyone can provide.

Note: There are 2 text system reports in the attached compressed file.
1 report is SLACKO with SAMBA after reboot with save-session showing 64MB RAM use
2nd report is SLACKO where nothing was done except to run Hardinfo showing SLACKO pristine after desktop startup and FirstRUN.
Slacko_RAM_Reports_showing_RAM_drops_after_1st_use.tar.gz
Description  The GZ contains 2 reports. 1 for Pristine the other for rebooted SLACKO where the RAM drop is notice in within each report.
All information is generated by Linux tools - Video-report-GLX and Hardinfo and Free commands
gz

 Download 
Filename  Slacko_RAM_Reports_showing_RAM_drops_after_1st_use.tar.gz 
Filesize  8.73 KB 
Downloaded  542 Time(s) 

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 532
Location: UK

PostPosted: Thu 23 Feb 2012, 15:16    Post subject: Re: SLACKO improves RAM utilization  

gcmartin wrote:

Quote:
When the system is initially booted and tailored (before save-session shutdown) the system was using 92MB after SAMBA setup and use. 
NOW, AFTER save-session to the LIve media and rebooting, all subsequent boots are ONLY using 65MB. 


A couple of thoughts:

1. Patent it quickly before Apple/MS kick down your door!

2. After setup & save Samba is routinely clearing a shared cache that was previously only cleared on shutdown.

3. The Samba daemons are now preventing something else from loading - error logs may show what.

_________________
Regards ETP
Accessibility Pups: -- Magoo -- The Pup With No Name -- MouseCam -- Obedient
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5086
Location: Charleston S.C. USA

PostPosted: Thu 23 Feb 2012, 15:28    Post subject:  

What you may be seeing is how Puppy works.
With no save file, everything is done with memory and nothing is cleared, from memory, as programs work. A ram disk is used.
After save file is made. Memory can be flushed, periodically, and everything does not have to stay in memory.
Quote:
Pupmode 12
What has happened here is that at bootup Puppy found the pup_save.3fs file is on a fast hard drive partition, so decided to mount it directly on the top layer. Thus, there is no tmpfs ramdisk intermediary. File pup_save.3fs is directly read and written to.

This scenario is very good for RAM-challenged PCs. The initial ramdisk, that is, the file initrd.gz that gets loaded first when Puppy boots, is still there in ram, mounted at /initrd, however it only uses about 1.9M.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
disciple

Joined: 20 May 2006
Posts: 6427
Location: Auckland, New Zealand

PostPosted: Fri 24 Feb 2012, 01:14    Post subject:  

Quote:
After save file is made. Memory can be flushed, periodically, and everything does not have to stay in memory.

I think you might be confusing the issue.
Once you are running from a save file any files that are created in your Puppy system will be saved to disk, rather than kept in RAM. This includes any files that your browser caches, for example. But they are not kept in memory and then "flushed" to disk periodically - they are saved to the disk in the first place.
Where flushing is involved is if you boot from I think either a USB flash drive, or a multisession CD/DVD. In this case files are kept in RAM so that you can take the disk out if necessary, and to minimise writes.

_________________
DEATH TO SPREADSHEETS
- - -
Classic Puppy quotes
- - -
Beware the demented serfers!
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 3423
Location: West Lothian, Scotland, UK

PostPosted: Fri 24 Feb 2012, 03:42    Post subject:  

disciple wrote:
Once you are running from a save file any files that are created in your Puppy system will be saved to disk, rather than kept in RAM.

I'm no Puppy expert, so I'm probably wrong, but...
I had formed the idea that...

Puppy doesn't "save" back to the pupsave during a session...
It actually COPIES changes back to the pupsave...
And they are retained in RAM? NO?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11019
Location: Arizona USA

PostPosted: Fri 24 Feb 2012, 08:40    Post subject: Re: Slacko improves RAM utilization after first save?  

gcmartin wrote:
... AFTER save-session to the LIve media ...

What was the media? Is this a multisession Puppy CD or DVD, created after installing and configuring Samba?
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 5086
Location: Charleston S.C. USA

PostPosted: Fri 24 Feb 2012, 18:03    Post subject:  

disciple,

I agree, depends on what media is used, how save file use is handled.
I was showing Pupmode 12 and 13 together as example.
Guess it was a little confusing.
the main point is, the use of a save file is why the memory usage changed.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 4220
Location: Earth

PostPosted: Fri 24 Feb 2012, 20:14    Post subject:  

Live media operations means I am running a mult-session CDRW for saving the work I do on the PC. The save-session file is one that is written to the Live media (the CDRW) when I shutdown/reboot the PC.

I find this a very fascinating phenomenon. Thus, I am seeking some reasonable explanation on how this is occurring. I am really puzzled.

Last night, I had a similar thing surface with Exprimo. It went from 100+MB RAM at startup. I loaded SAMBA and JRE. And upon reboot, I fould that a startup RAM use is down to 85MB???

The Puppy systems in each case are "screaming fast", but, I have a phenomenon that I am wondering how this is occurring. Its not exactly what I expected by the additions fo 2 additional subsystem added to the running OS.

Any help or if I can provide info to better clarify, please help. Thanks in advance.
System_report_withSAMBA_after-Reboot.txt.bz2
Description  System report after the save-session and the first reboot.
bz2

 Download 
Filename  System_report_withSAMBA_after-Reboot.txt.bz2 
Filesize  7.6 KB 
Downloaded  550 Time(s) 
Setup2SAMBA.png
 Description   Initial system. Then SAMBA added to intial system. This picture is prior to first Reboot
 Filesize   222.82 KB
 Viewed   879 Time(s)

Setup2SAMBA.png

System_report_withSAMBA_after-Reboot.txt.bz2
Description  The system is rebooted from the CDRW. The System has SAMBA installed and running.
bz2

 Download 
Filename  System_report_withSAMBA_after-Reboot.txt.bz2 
Filesize  7.6 KB 
Downloaded  545 Time(s) 

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge » Multi-session live-CD/DVD
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0792s ][ Queries: 12 (0.0137s) ][ GZIP on ]