Keep your savefile slim and healthy

How to do things, solutions, recipes, tutorials
Post Reply
Message
Author
Hasimir
Posts: 8
Joined: Thu 15 Sep 2011, 21:06

#16 Post by Hasimir »

Question:

how do I install a program so that the bulk of files are stored outside the savefile, and only the settings are kept into it?

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#17 Post by big_bass »

Hasimir wrote:Question:

how do I install a program so that the bulk of files are stored outside the savefile, and only the settings are kept into it?
there are many ways to do this if you search though the forum

but the simple way is just to have different save files for different needs

pup_save_devx

pup_save_freshboot

pup_save_office

pup_save_kids

you get the idea to keep the ram use down to a minimum

Joe

Hasimir
Posts: 8
Joined: Thu 15 Sep 2011, 21:06

#18 Post by Hasimir »

so I should reboot the system every time I need to fire-up a program like Office or Gimp?

or is there a way to install (and then access) applications into a different savefile from the current session?
there are many ways to do this if you search though the forum
searched the forum
failed to find what I was looking for

do you mean that there are "many ways to install apps outside the savefile" ... or do you mean that evey application has a different and specific way to be saved outside the savefile?

Could you (or someone else) offer some links?

Thank a lot ^_^

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#19 Post by nooby »

Haha if you teach me to do this ^_^ then I maybe just maybe give link.

Truth is that I am not sure how one does it and I have searched and searched too and even started threads and asked and asked.

But some has told me but to find these threads and posts. Hm takes much effort.

Anyway here is what you can test to do.

1. First things first. Kernel has to be same on Firefox pet and the puppy linux os you install it on.

2. Suppose you make a frugal install of lupu-528 and you go to quickpet or what the name is. There you chose FF 4 or 5 or what is there now.

You install it and let it get flash and then reboot?

3. Then you boot and use Rox and open up two Rox windows
and one is the root with all showing so you can see the .mozilla
that the install created.

4. Now you move that one from root to /mnt/home/ so it is there
instead of in the root and that move it out of pupsave.

oops forgot to tell you the most important part.
One makes an absolute symlink back to root from /mnt/home/

How does one do such? Not sure. One click and hold the click down and
drag and drop as absolute symlink. One have to test until one get it.

Then you learn what works and not work having it that way. You have to search and ask and test and be your own expert on when it works well and when not.

Another way to keep the pupsave lean is to use .sfs and sfs-load on fly or similar.

I use seaside's SFS-exec instead. That allow me to have Opera and Chromium and Iron and different FF and such on instant access as sfs files outside of pupsave.

one can also have LMMS and other big files that way.
I use Google Search on Puppy Forum
not an ideal solution though

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

Resize Puppy Savefile

#20 Post by zaivala »

OK, what about just resizing the pupsave file? The only problem is, I can't find how to do this in LuPu 528... it is done quite easily in MacPup 528... any hints?

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#21 Post by nooby »

zaivala MacPup most likely use E17 so that needs someone that use it to know :)
Runt who is a Dev of MacPup he would know so try to find the MacPup thread.
I use Google Search on Puppy Forum
not an ideal solution though

User avatar
sszindian
Posts: 807
Joined: Sun 25 Apr 2010, 02:14
Location: Pennsylvania U.S.

savefile?

#22 Post by sszindian »

Having a savefile problem in 528!

528 loads perfect, able to do downloads OK, program works great, etc., the problem is at shutdown.

Everything in shutdown is normal right up to and including 'Creatin Disk Space' on the savefile I have named... but... It never asks for the next option to include files from the CD to HDD for faster loading next time, the computer then just shuts down.

On reboot (or startup) it asks for the savefile I want to load (have several on HDD). I select the savefile I want, it starts loading then I get the 'KERNEL PANIC' and computer STOPS!

Appreciate any advice on how I can get by this problem somehow?

'Thanks'

>>>---Indian------>
Cloud Computing For Every Puppy (a .pet)
[url]http://murga-linux.com/puppy/viewtopic.php?t=69192[/url]

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

#23 Post by zaivala »

nooby wrote:zaivala MacPup most likely use E17 so that needs someone that use it to know :)
Runt who is a Dev of MacPup he would know so try to find the MacPup thread.
No, I'm asking about Puppy (LuPu) 528... as I said, I *know* how to do it in MacPup 528.

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

Re: Resize Puppy Savefile

#24 Post by seaside »

zaivala wrote:OK, what about just resizing the pupsave file? The only problem is, I can't find how to do this in LuPu 528... it is done quite easily in MacPup 528... any hints?
zaivala,

It usually is under the menu item "Utility" or "General utilities" > Resize personal storage file".

Cheers,
s

zaivala
Posts: 125
Joined: Mon 21 Mar 2011, 07:14

#25 Post by zaivala »

Yep, I found it in the FAQ on the Puppy main page about 3 hours ago. Thanks.

Shep
Posts: 878
Joined: Sat 08 Nov 2008, 07:55
Location: Australia

#26 Post by Shep »

Hasimir wrote:how do I install a program so that the bulk of files are stored outside the savefile, and only the settings are kept into it?
I think you have to do this manually, almost no install procedure that I've used offered me a choice of where I wanted a program installed. I think you'll have to click on the .pet package, wait till it's finished installing the new application, the you'll have to search the file system for that directory and move it and its contents to a directory you create under, e.g., /mnt/home
and finally create a symlink back to where it had been installed so that puppy can find its new hiding place.

Shep
Posts: 878
Joined: Sat 08 Nov 2008, 07:55
Location: Australia

#27 Post by Shep »

Hasimir wrote:so I should reboot the system every time I need to fire-up a program like Office or Gimp?
If you have these as .sfs files you can load them into your filesystem whenever you want using an on the fly sfs-loader. The unload when finished with them. RAM usage is economical that way.

Or you can install then store the binaries outside the save file, so they are accessible from any puppy.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Case of firefox

#28 Post by shinobar »

Update: case of firefox.
  1. Save files to /mnt/home/tmp.
  2. Limit cache.
  3. Tick off 2 'Block ...'.
See the top post.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

seamonkey2 settings

#29 Post by shinobar »

UPDATE case of seamonkey2:
Add OCSP setting with seamonkey2.
Tick off the OCSP at Advanced >> Privacy & Security >> Validation.
See the top post of this topic.

OCSP fats the file, ~/.mozilla/seamonkey/*.default/places.sqlite to several tens mega bytes.

EDIT: places.sqlite is still 10MB. It seems different issue apart from OCSP.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Gdmap and CUPS

#30 Post by shinobar »

Add on the Gdmap and CUPS:

You can find which file consumes the puppy space using the application Gdmap found under the menu >> File system. Run the gdmap and load /initrd/pup_rw.

CUPS:
The cups daemon makes cache under /var/spool/cups/tmp. You can delete the cache files by editing the script /etc/init.d/cups. Insert a line at line 186 or somewhere called when 'cups stop':

Code: Select all

rm -fr /var/spool/cups/tmp/*   # shinobar: clean up cache
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#31 Post by greengeek »

I am booting an Acer netbook from USB (trying puppies Saluki, RacyNOP 5.2.2, Racy 5.3, Slacko "Fat" 5.3.3.x) and it seems to take a very long time to update the savefile at shutdown. Even if I just boot up, do nothing else, then shut down, it takes about 3 minutes to save the savefile.

Even a totally fresh install takes a long time for shutting down - no extra programmes loaded.

Does the system have to save so much data EVERY time? Will the savefile saving take the same length of time regardless of how much work I do?

Also, I wonder if it is possible that some setting may have changed on my USB ports to make the data rate slow. Do they have something like a DMA setting that would make the data slow to create the savefile? (I have tried several new usb sticks and all take the same time to save the savefile so I don't think a slow stick is the problem).

I have 1Gb of RAM, and a 512Mb savefile. Is that ok? If I reinstall with a smaller savefile (say 256Mb?) will that work ok, and if the savefile is half the size, should it take half the time to save? Or does the save time involve some processing/compression of a certain amount of data, so that the delay is due to cpu processing time, rather than "USB_Writing" time?

User avatar
`f00
Posts: 807
Joined: Thu 06 Nov 2008, 19:13
Location: the Western Reserve

#32 Post by `f00 »

@greengeek disclaimer: I haven't done xfce4 recently, so 'wild guess'ing

xfce4, thunar, pcmanfm (among many processes) could possibly bottleneck/throttle events in a minimal test. They are meant to be loaded and used, so normally hardly noticed in a typical session (this is one of the reasons for the splash like in e17). I recall xfce4 logout to have some oddnesses as well in a normal setup but this may have been streamlined.

compare medium-weight wm startup with a light (miwm) or ultralight (mcwm), trim non-essentials like the rox pinboard (true, some wms use their own setup) and so on. All kinds of ways to shave seconds and still be comfy.

yah, check your transfer speed (there should be a tool for that, was anyhow) - 2 is quicker than 1 by a good bit and pretty sure it goes by the bus.

fresh installs are slower by nature - it takes a save or so to pick up the pace.

512 could be your sweet spot, I aim at a max of 128 (mileage varies for everyone) and start with 32 just to see how things bump up. For sure time is saved with a smaller savefile. Reading/checking may be involved if I recall correctly.

As a final note, some users go the full install route (and that's a different topic :lol: )

rmcellig
Posts: 965
Joined: Sat 19 Nov 2011, 15:18
Location: Ottawa Ontario Canada
Contact:

#33 Post by rmcellig »

I have a 3.4GB save file (maybe it should be smaller?) Advice please. :)

I am using Openbox. When I look at the icon for my pupsave, it's orange instead of green with 1GB of free space. What is eating up the rest of the space? I went through the guide above, which excellent by the way, and did everything mentioned but still the icon is orange. What should I do? Create a new smaller save file? Options?

Thanks!!!!

bill
Posts: 490
Joined: Wed 28 May 2008, 15:32

Keep your savefile slim and healthy

#34 Post by bill »

Here is one that maybe a new user would like to tinker with.
This also works well in Lucid Puppy 5.2 uname -r k2.6.33.2
Last edited by bill on Wed 12 Mar 2014, 21:29, edited 1 time in total.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: What is eating up

#35 Post by shinobar »

rmcellig wrote:What is eating up the rest of the space?
Use Gdmap or Large Files Finder. See the top post.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Post Reply