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 Sun 19 May 2013, 12:38
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Pup Save File?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Author Message
laserdood

Joined: 06 Jul 2012
Posts: 12
Location: Silicon Valley, CA

PostPosted: Sat 14 Jul 2012, 04:09    Post subject:  Pup Save File?
Subject description: how big should it be?
 

what really goes into pup_save.2fs files, is it just a few settings, or pointers to programs to load on boot, or is it really saving the whole applications kinda like OLE object type variables would do in VB?

In other words...does it need to be 3 Gb large, or small is fine like 512k?

Thanks,

Laserdood

Cool
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15109
Location: Paradox Realm

PostPosted: Sat 14 Jul 2012, 06:06    Post subject:  

If you intend to load no or very few extra pets or SFS then small is fine.

I always choose 4GB
I could probably get away with 2GB

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
sfeeley

Joined: 14 Feb 2010
Posts: 807

PostPosted: Sat 14 Jul 2012, 11:25    Post subject:  

I usually go with the recommended 512. I keep my documents/music files/etc in a different folder at mnt/home and have never had any problems.

BTW it is easy to make your save file bigger, but hard to make a big one smaller. So start small and go from there.
Back to top
View user's profile Send private message 
laserdood

Joined: 06 Jul 2012
Posts: 12
Location: Silicon Valley, CA

PostPosted: Sat 14 Jul 2012, 13:01    Post subject: thanks
Subject description: !!
 

Thanks - I was just curious because I started mine at 512k and then I started adding dozens of PETS and SFS files so I resized it to 1 GB, then 2Gb, now 2.5Gb - but now during sessions when it saves the pup_save.sfs from RAM in the background, whatever I'm working on sort of suspends until the whole process of saving is complete...and it takes a few minutes to save 2.5GB on my system anyway.

Thanks for your feedback

Best,

John Twisted Evil
Back to top
View user's profile Send private message 
Dewbie

Joined: 15 Apr 2010
Posts: 1412

PostPosted: Sat 14 Jul 2012, 15:01    Post subject:  

Lobster wrote:
Quote:
If you intend to load no or very few extra pets or SFS then small is fine.

Doesn't an .sfs file run outside of a save file but act as though it's inside of one?
Back to top
View user's profile Send private message 
laserdood

Joined: 06 Jul 2012
Posts: 12
Location: Silicon Valley, CA

PostPosted: Sat 14 Jul 2012, 21:47    Post subject: pup_save.sfs
Subject description: takes too long to save
 

I don't know, that was kind of what I was asking you guys. Does the OS encapsulate the .SFS and save it to the settings save file, or does it just save a pointer to the programs but they actually exist outside of the save file? I have no idea, I'm still reading to try and find out. I suspect based on my next paragraph you'll see that the sfs files are saved internally in the pup_save files...but that's a guess...

Nevertheless...I have my only Puppy OS bone to pick now...i'm sad to say this is not good. I timed the saving of pup_save.2fs during my session ("Saving RAM to pup_save.2fs...") in the background - where most things I'm doing become temporarily frozen or suspended except micro-memory tasks like editing this text file, but Firefox is frozen, I can't even open a console, and all tasks seem to be added to a queue and executed at next available interrupt in the pup_save process - so whenever this saving happens I can't really do anything else until it finishes.

IT TOOK 15 WHOLE MINUTES TO COMPLETE!! DUDE, that's not good. Don't get me wrong - I like Puppy, except for this. This means every hour I have to take a 15 minute break and just wait until the process is done...not very efficient.

Can someone tell me what parameters control the background pup_save.sfs process, like is there something I can modify to either disable this altogether, or at least chajnge the period from what seems to be once/hour to something longer? Is this part of the kernel, or is there some settings file that dictates this process?

Thanks,

Laserdood Cool
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 2419

PostPosted: Sat 14 Jul 2012, 22:00    Post subject:  

The sfs files load into loops. You're probably saving the sfs file itself. If it's in /mnt/home, it won't be included in the save file.
Back to top
View user's profile Send private message 
Dewbie

Joined: 15 Apr 2010
Posts: 1412

PostPosted: Sat 14 Jul 2012, 22:11    Post subject:  

laserdood wrote:
Quote:
so whenever this saving happens I can't really do anything else until it finishes.

Sounds like your save file is on USB flash drive. Smile

Quote:
is there something I can modify

Menu / System / Puppy Event Manager
Click on Save Session tab to adjust settings.
Back to top
View user's profile Send private message 
jpeps

Joined: 31 May 2008
Posts: 2419

PostPosted: Sun 15 Jul 2012, 00:18    Post subject:  

Dewbie wrote:

Sounds like your save file is on USB flash drive. Smile


Of course, but that wouldn't effect its size or what gets saved. When it's in periodic save mode, you want to keep it as small as possible.
Back to top
View user's profile Send private message 
Dewbie

Joined: 15 Apr 2010
Posts: 1412

PostPosted: Sun 15 Jul 2012, 03:00    Post subject:  

jpeps wrote:
Quote:
Of course, but that wouldn't effect its size or what gets saved. When it's in periodic save mode, you want to keep it as small as possible.

I wasn't referring to size.

If the save file is set up on a flash drive, it's periodically flushed from RAM to flash (assuming enough RAM is available), so that flash doesn't get worn out from constant writing.

This process causes the freezing, and it doesn't happen if the save file is on a hard drive.
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 807

PostPosted: Sun 15 Jul 2012, 11:45    Post subject:  

I'm posting from a phone and can't search now. But there is a way to disable the autosaving on USB sticks. There hVe been several threads
Back to top
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 789
Location: the Western Reserve

PostPosted: Sun 15 Jul 2012, 16:46    Post subject:
Subject description: a few links off the top
 

laserdood's savefile

Keep your savefile slim and healthy is one, another would be PupsaveConfig-2.2.4, shinobar's tool enables the save/nosave option at closing time (with default nosave at a time limit if things go wrong, iirc)

Lots of scattered info on save/nosave, basically for now just set the interval to 0 in pupevent (and maybe re-X) so it doesn't hang you up with thumb-twiddling during a session

hth
Back to top
View user's profile Send private message 
Sylvander

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

PostPosted: Sun 15 Jul 2012, 18:14    Post subject:  

See this.
Back to top
View user's profile Send private message 
laserdood

Joined: 06 Jul 2012
Posts: 12
Location: Silicon Valley, CA

PostPosted: Mon 16 Jul 2012, 02:56    Post subject: excellent info thank you  

thanks guys Exclamation
Back to top
View user's profile Send private message 
laserdood

Joined: 06 Jul 2012
Posts: 12
Location: Silicon Valley, CA

PostPosted: Mon 16 Jul 2012, 02:59    Post subject: eaxctly  

yeah everything I have related to my Puppy OS is on my flash drive. i wanted to be completely portable from machine to machine, and also for when I get to the moon and they have workstations there running gag me MS Windows which is satanic and evil Twisted Evil

Cool
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [17 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
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.0845s ][ Queries: 12 (0.0132s) ][ GZIP on ]