Re: Compressed Pristines (Summary)
From: Ashod Nakashian <ashodnakashian_at_yahoo.com>
Date: Wed, 4 Apr 2012 02:39:05 -0700 (PDT)
Combined response inline...
> From: Markus Schaber <m.schaber_at_3s-software.com>
The pleasure is mine.
> From: Markus Schaber <m.schaber_at_3s-software.com>
No, not to my knowledge. Mine was on standard installations of Ubuntu 11.10. And I was trying to calculate the waste on a system that *didn't* have them enabled.
> From: Markus Schaber <m.schaber_at_3s-software.com>
Did you have NTFS compression enabled?
> From: Markus Schaber <m.schaber_at_3s-software.com>
[snip]
> From: Mark Therieau <mtherieau_at_gmail.com>
> From: Julian Foad <julianfoad_at_btopenworld.com>
No :-)
There are two ways to answer this interesting proposition of compressed file-systems. The obvious one is that it isn't something SVN can or should control. The file-system and certainly system drivers are up to the user and any requirement or suggestion of tempering with them is decidedly unwarranted and unexpected from a VCS.
The second is more relevant, however. The user may *still* enable/use these schemes with or without compressed pristine support. After all, we are only concerned with the pristine store and *not* the working copy. So there is still room for these technologies, if/when the user feels so inclined to utilize them.
So I'd say there is nothing preventing the user from using them, at their responsibility, and get further gains in disk savings while at the same time they are markedly out of scope for compressed pristines feature, if not SVN as a system.
> From: Markus Schaber <m.schaber_at_3s-software.com>
Yes. That's what the proposal I drafted is claiming.
> From: Markus Schaber <m.schaber_at_3s-software.com>
That would be great. Please share your finds.
> From: Mark Therieau <mtherieau_at_gmail.com>
That's assuming there are many duplicates. This is certainly possible, especially with many branches/tags checked out from the same source. But I suspect it's a more common scenario to have a single branch checked out from different repositories. In other words, unless we have solid numbers that there is more savings by de-duplication, the working assumption is that improving a single branch by compression will be more useful to more users. Plus, your suggestion is probably part of the unified pristine store (aka ~/.svn) which is out of scope for compressed pristines.
> From: Julian Foad <julianfoad_at_btopenworld.com>
This is certainly a -minor- complication we'll have to deal with. It's just a technicality, not a show stopper or a problem per-se. The pristine/tmp folder could be cleaned up via svn cleanup, for example, or at different check-points. The worse case scenarios are to either to clutter the disk by too many temp uncompressed pristines or to delete them prematurely and force the user to re-run their last command. These aren't fatal and it's easy to find a middle-ground to handle them.
-Ash
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.