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


[Bug 11541] New: "use slp" directive removed from slp.diff during migration to 3.1.0

2015-10-05 Thread samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=11541

Bug ID: 11541
   Summary: "use slp" directive removed from slp.diff during
migration to 3.1.0
   Product: rsync
   Version: 3.1.2
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P5
 Component: core
  Assignee: way...@samba.org
  Reporter: vci...@suse.com
QA Contact: rsync...@samba.org

Created attachment 11477
  --> https://bugzilla.samba.org/attachment.cgi?id=11477=edit
add an option to disable slp

There existed a "use slp" directive (brought by slp.diff) during 3.0.x times.
It was omitted (or perhaps intentionally removed?) during the 3.1.x porting.
Was there a specific reason for this?

At the moment, there's no way to disable slp, when it's compiled in.
rsync always tries to register the services over slp and that results in errors
and spams system log.

Eg see https://bugzilla.opensuse.org/show_bug.cgi?id=922710.

I'm attaching a modified slp.diff, which reintroduces the "use slp" global
parameter.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

-- 
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