Re: [ccache] Compression on or off by default?

2010-03-04 Thread Joel Rosdahl
On Wed, 3 Mar 2010 05:00:48 -0500
Mike Frysinger vapier@gmail.com wrote:

 make the default a ./configure option that defaults to off

I would prefer not to make a build-time option of this, because then the
documentation has say something in line with whether files are compressed by
default depends on how ccache was built, which I think would be unfortunate. I
chose to not include the --{en,dis}able-zlib option from the original patch for
the same reason. I think it's better to strive for good defaults and few
build-time options.

-- Joel
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


Re: [ccache] Compression on or off by default?

2010-03-04 Thread Mike Frysinger
On Thu, Mar 4, 2010 at 16:00, Joel Rosdahl wrote:
 On Wed, 3 Mar 2010 05:00:48 -0500 Mike Frysinger wrote:
 make the default a ./configure option that defaults to off

 I would prefer not to make a build-time option of this, because then the
 documentation has say something in line with whether files are compressed by
 default depends on how ccache was built, which I think would be unfortunate. 
 I
 chose to not include the --{en,dis}able-zlib option from the original patch 
 for
 the same reason. I think it's better to strive for good defaults and few
 build-time options.

i didnt mean the configure option was in place of the runtime knobs

regardless, unless the compression is very low overhead, the default
should be off
-mike
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


Re: [ccache] Compression on or off by default?

2010-03-04 Thread Joel Rosdahl
On Wed, 3 Mar 2010 10:39:47 +
Dalton, Tom tdal...@hp.com wrote:

 I would say for the first release of a new feature, default it to off. That
 gives people a chance to 'play' with it without potentially breaking existing
 installations that are simply upgrading. If there are no major problems with
 the feature in that first release then make it a default in the next release
 after that (e.g. ccache-3.1).

The compression feature is actually quite well-tested: it has been enabled by
default in Debian's ccache packages since 2007. But I'm leaning on disabling
compression by default for ccache anyway. Score so far: 4 votes (2 off-list)
for default to off and 0 votes for default to on.

My direct mode feature, on the other hand, is a much larger and less tested
change, which I'm very well aware of. My secret plan was to try to get people
to test my first announced release, and now the 3.0pre0 release, but neither
release has triggered much reaction. So, maybe 3.0 will have to have direct
mode disabled by default, unless I find a way to get more testers. :-)
(Opinions are welcome, as usual.)

-- Joel
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache


Re: [ccache] Compression on or off by default?

2010-03-04 Thread Anders Furuhed

4 mar 2010 kl. 22.30 skrev Joel Rosdahl:

 On Wed, 3 Mar 2010 10:39:47 +
 Dalton, Tom tdal...@hp.com wrote:
 
 I would say for the first release of a new feature, default it to off. That
 gives people a chance to 'play' with it without potentially breaking existing
 installations that are simply upgrading. If there are no major problems with
 the feature in that first release then make it a default in the next release
 after that (e.g. ccache-3.1).
 
 
 My direct mode feature, on the other hand, is a much larger and less tested
 change, which I'm very well aware of. My secret plan was to try to get people
 to test my first announced release, and now the 3.0pre0 release, but neither
 release has triggered much reaction. So, maybe 3.0 will have to have direct
 mode disabled by default, unless I find a way to get more testers. :-)
 (Opinions are welcome, as usual.)
 
 -- Joel

Joel, we've been using the 3.0pre0 release from day one, in a setup where a 
dirty dozen plus some droids share a cache.
All defaults, CCACHE_PREFIX=distcc.
I have nothing out of the ordinary to report. Thanks for your work!

Anders Furuhed
Pantor Engineering AB
___
ccache mailing list
ccache@lists.samba.org
https://lists.samba.org/mailman/listinfo/ccache