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 Fri 19 Sep 2014, 12:00
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Keep your savefile slim and healthy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 3 of 8 [107 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Author Message
greengeek

Joined: 20 Jul 2010
Posts: 2542
Location: New Zealand

PostPosted: Tue 01 May 2012, 15:33    Post subject:  

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?
Back to top
View user's profile Send private message 
`f00


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

PostPosted: Sun 02 Sep 2012, 00:19    Post subject:
Subject description: wild guess
 

@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 Laughing )
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Sat 04 May 2013, 14:42    Post subject:  

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

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!!!!
Back to top
View user's profile Send private message Visit poster's website 
bill

Joined: 28 May 2008
Posts: 495

PostPosted: Sun 05 May 2013, 21:21    Post subject: Keep your savefile slim and healthy  

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
NoSaveTutorial.jpg
 Description   
 Filesize   209.78 KB
 Viewed   1176 Time(s)

NoSaveTutorial.jpg


Last edited by bill on Wed 12 Mar 2014, 17:29; edited 1 time in total
Back to top
View user's profile Send private message 
shinobar


Joined: 28 May 2009
Posts: 2630
Location: Japan

PostPosted: Mon 06 May 2013, 00:22    Post subject: Re: What is eating up  

rmcellig wrote:
What is eating up the rest of the space?

Use Gdmap or Large Files Finder. See the top post.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send private message Visit poster's website 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 06 May 2013, 04:51    Post subject:  

I tried those and could not see any large files that were eating up space. For the time being, I rebooted puppy using a 10GB save file that I have. This one works fine. I know it's a large save file but I just want to make sure I am not always having to continuously check what is the status of my save file.
Back to top
View user's profile Send private message Visit poster's website 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 06 May 2013, 05:01    Post subject:  

What is the difference between using gdmap to search:

/initrd/pup_rw

As opposed to just searching my root directory?
Back to top
View user's profile Send private message Visit poster's website 
bill

Joined: 28 May 2008
Posts: 495

PostPosted: Mon 06 May 2013, 09:35    Post subject: Keep your savefile slim and healthy  

Hi rmcellig,I would believe that whatever program you are using to view videos
or music is the reason your "savefile" keeps getting bigger.Yes this program (Gnome-Mplayer comes to mind ?) as it will not only allow you to view them,but
puts them in ram,then "saves" them in "Savefile" on shutdown.Just one of my
SWAG observations aka Scientific Wild Arse Guess Smile . cheers
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Mon 06 May 2013, 10:28    Post subject:  

Thanks Bill!! Appreciate it!
Back to top
View user's profile Send private message Visit poster's website 
Fingers


Joined: 25 May 2013
Posts: 14
Location: London, UK

PostPosted: Wed 29 May 2013, 08:04    Post subject:  

rmcellig, once you've navigated to

/initrd/pup_rw

in gdmap, then you must click 'Open' - then you will see the difference. It's a great tool for the job. In the two lines below the map, the first is a subdirectory of the one you opened and the second is a subdirectory of that one.

If you want to see what will go in your save file in relation to FireFox, close FF first. This will get rid of the "Offline cache" which is temporary anyway, it seems.

(This worked for Firefox 12.0):
If you want MOVE THE FIREFOX CACHE DIRECTORY then first create a directory where you want it to be ( eg. /tmp/FF.cache ). Make a note of the current cache directory, found with gdmap. Then type

about:config

in the address bar of Firefox and hit enter. Right click in the main section where the big list of preferences are, and select New > String

Type

browser.cache.parent_directory

hit OK and a new dialog box opens. Type your path to the target directory which you created. hit OK. Restart Firefox.

I think you have to manually remove the old cache directory. Mine was at /root/.cache/ .... etc

Phew! I thought it would be in Edit > Preferences

_________________
ZX81 > ZX Spectrum > Atari ST > Win 98 > Win 2K > Red Hat > SuSE > Ubuntu > Fatdog + Puppy Precise
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3111
Location: Mer méditerrannée (1 kms°)

PostPosted: Sat 10 Aug 2013, 23:58    Post subject: Pupsaveconfig is very usefull  

Pupsaveconfig is very usefull. I use Puppy on USB sticks and my personal save files are kept on the stick. The choice at shutdown to save or not the session is a great plus.
Sometimes i wonder why pupsave has become so big, Gdmap explains a lot.
Browsers sometimes fullfill OPT directory, and are nore erased at shutdown.

When my pupsave is too big after several resizings, I create a new one, and i transfer from the old what's is pertinant.
Back to top
View user's profile Send private message Yahoo Messenger 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Sun 11 Aug 2013, 05:41    Post subject:  

Pelo

You open up your current save file and just drag wHat you need to your new save file? I didn't know you can do this. Pretty cool. What pup do you use? I am torn between 528 and the new precise 5.7.
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 3111
Location: Mer méditerrannée (1 kms°)

PostPosted: Fri 16 Aug 2013, 16:02    Post subject: All savefiles can be opened, whatever the distro is.  

All puppies save files can be opened. Even if there are from different distros. Lucid can open a slackosave and you can transfer pets, pictures, docs and bookmarks.
I open the distro with the new save file running, and i open the old one, not the contrary. But I think the contrary would work too.You transfer what you like.
Back to top
View user's profile Send private message Yahoo Messenger 
rmcellig

Joined: 19 Nov 2011
Posts: 922
Location: Ottawa Ontario Canada

PostPosted: Fri 16 Aug 2013, 16:32    Post subject:  

So you can actually transfer files from savefiles? That's cool.
Back to top
View user's profile Send private message Visit poster's website 
Pelo


Joined: 10 Sep 2011
Posts: 3111
Location: Mer méditerrannée (1 kms°)

PostPosted: Sat 17 Aug 2013, 04:04    Post subject: Video : pupsaveconfig how-to
Subject description: saving on the USB stick
 

Video : pupsaveconfig how-to
saving on the USB stick : pay attention, you need to modify default status. Dont forget to click 'back' to modify it. In my case pupsaveconfig was saving on hard disk ext 3 (sda3). I wanted to correct it because my wish is to have my save file on my usb stick (sdb1). Look at that !

Pupsavconfig save everything or nothing ! Up to you to select what to trash among the works you have done during the session.
Remember that you save periods of time, computer does not know your wills.
pupsaveconfig
Back to top
View user's profile Send private message Yahoo Messenger 
Display posts from previous:   Sort by:   
Page 3 of 8 [107 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
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.0837s ][ Queries: 13 (0.0057s) ][ GZIP on ]