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 Thu 18 Oct 2018, 06:18
All times are UTC - 4
 Forum index » Off-Topic Area » Programming
Speeding up the SnapMerge
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7
Author Message
InTheDogHouse

Joined: 13 Nov 2014
Posts: 1

PostPosted: Thu 13 Nov 2014, 15:32    Post subject: rsync options in SnapMerge
Subject description: Is it OK and beneficial to use the rsync option '--no-whole-file' ?
 

I have a 700MB save file in Puppy Precise 5.7.1, with the normal collection of small files, plus a 200 MB TrueCrypt container file (and yes, I am following replacement options for the now possibly insecure TrueCrypt).

Downloaded and installed snapmerge-19.pet, to see if it would speed up shutting down (and saving) Puppy.

Some improvement in save time, but not dramatic.

Googled rsync, discovered that when copying to/from a remote connection, rsync copies only the changed portions of files, dramatically speeding the copy process. BUT, when copying locally (as in saving Puppy session from ram to my save file) rsync defaults to copying everything, not just changed portions of files. So slightest change in my 200 MB TrueCrypt volume (file) causes a 200 MB copy!

So I modified snapmerge's rsync to have the additional parameter '--no-whole-file'. This tells rsync to only copy changed portions of files, always, on local system copies, as well as being the default on remote copies.

The result of '--no-whole-file' is amazing, cutting my save time in half, or even less if file changes during my session have been minimal!

My question: Is this '--no-whole-file' modification a great idea, or will there be unanticipated consequences that will make me wish I had never made this change???
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2641

PostPosted: Fri 14 Nov 2014, 06:50    Post subject:  

I'd be concerned about data corruption if this snap-thing crashes or gets interrupted in the middle of it's job.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 7 of 7 [92 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Off-Topic Area » Programming
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.0422s ][ Queries: 12 (0.0181s) ][ GZIP on ]