Re: What is the default compression level for local synchronisation?

2015-10-05 Thread Paul Slootman
On Mon 05 Oct 2015, Charles wrote:
> 
> The question I want answering is "Does rsync need telling not to
> compress when SOURCE and DEST are both local or does it automatically
> choose a sane compression setting?"

If you don't ask rsync to compress, it won't compress...
That's different from telling rsync not to compress.


Paul

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


RE: What is the default compression level for local synchronisation?

2015-10-05 Thread Stier, Matthew
You need to explicitly enable it. (-z)

-Original Message-
From: rsync [mailto:rsync-boun...@lists.samba.org] On Behalf Of Charles
Sent: Monday, October 05, 2015 7:32 AM
To: rsync@lists.samba.org
Subject: Re: What is the default compression level for local synchronisation?

On 05/10/15 17:30, rsync-requ...@lists.samba.org wrote:
>> Should we use --compress-level=0 for local synchronisation?  We
>> are using rsync 3.0.9 and 3.1.1.

> You should not use compression at all on local copies.  It is nothing
> but wasted CPU cycles.
...
- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
- -*~
Kevin Korb  Phone:(407) 252-6853
Systems Administrator   Internet:
FutureQuest, Inc.   ke...@futurequest.net  (work)
Orlando, Floridak...@sanitarium.net (personal)
Web page:   http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
- -*~

Thanks Kevin :-)

You answered the question perfectly but it is not the question I want
answering!

The question I want answering is "Does rsync need telling not to
compress when SOURCE and DEST are both local or does it automatically
choose a sane compression setting?"

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: What is the default compression level for local synchronisation?

2015-10-05 Thread Charles
On 05/10/15 17:30, rsync-requ...@lists.samba.org wrote:
>> Should we use --compress-level=0 for local synchronisation?  We
>> are using rsync 3.0.9 and 3.1.1.

> You should not use compression at all on local copies.  It is nothing
> but wasted CPU cycles.
...
- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
- -*~
Kevin Korb  Phone:(407) 252-6853
Systems Administrator   Internet:
FutureQuest, Inc.   ke...@futurequest.net  (work)
Orlando, Floridak...@sanitarium.net (personal)
Web page:   http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
- -*~

Thanks Kevin :-)

You answered the question perfectly but it is not the question I want
answering!

The question I want answering is "Does rsync need telling not to
compress when SOURCE and DEST are both local or does it automatically
choose a sane compression setting?"

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html


Re: What is the default compression level for local synchronisation?

2015-10-04 Thread Kevin Korb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

You should not use compression at all on local copies.  It is nothing
but wasted CPU cycles.

On 10/04/2015 08:06 AM, Charles wrote:
> Searching the 'net showed that rsync asks zlib to use default 
> compression which is equivalent to --compress-level=6 
> (http://samba.2283325.n4.nabble.com/what-is-the-default-value-for-comp
ress-level-tp2538905.html)
>
> 
but that would not be a good choice for local synchronisation.
> 
> Should we use --compress-level=0 for local synchronisation?  We
> are using rsync 3.0.9 and 3.1.1.
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
- -*~
Kevin Korb  Phone:(407) 252-6853
Systems Administrator   Internet:
FutureQuest, Inc.   ke...@futurequest.net  (work)
Orlando, Floridak...@sanitarium.net (personal)
Web page:   http://www.sanitarium.net/
PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
- -*~
-BEGIN PGP SIGNATURE-
Version: GnuPG v2

iEYEARECAAYFAlYRH2kACgkQVKC1jlbQAQdVLACeNeneU2nIvhm1tgSA7Y3J5Y+u
9jQAnRvN3VLDRP0i5fGGuzwVrZhW9Gnu
=07tb
-END PGP SIGNATURE-

-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html