Re: [Rpm-maint] Fingerprinting skipDir() brokenness ponderings

2007-06-14 Thread Panu Matilainen

On Wed, 13 Jun 2007, Bill Nottingham wrote:


Panu Matilainen ([EMAIL PROTECTED]) said:

1) Remove the "temporary" skipDir() hack dating back to 2002 completely.
+ Is really the responsible and right thing to do.
+ Fixes the shared files problems.
- Memory consumption goes sky-high and performance degrades badly. This
  might not be that much of a problem in most modern systems but for eg
  OLPC is likely to be a showstopper.


I'd argue that this is the simplest solution. Where the memory and CPU
usage skyrockets is with large number of kernel-devel packages,
and all the Red Hat/Fedora systems limit this already with things like
installonlyn. Then, in a later release, fix fingerprinting the right way.


It's certainly by far the simplest solution, and also the only 100% 
correct one. Whether the consequences are acceptable in real world usage 
is another question - maybe we should put it into Fedora rawhide for a 
test-drive and see if it explodes :)


- Panu -
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] Fingerprinting skipDir() brokenness ponderings

2007-06-13 Thread Bill Nottingham
Panu Matilainen ([EMAIL PROTECTED]) said: 
> 1) Remove the "temporary" skipDir() hack dating back to 2002 completely.
> + Is really the responsible and right thing to do.
> + Fixes the shared files problems. 
> - Memory consumption goes sky-high and performance degrades badly. This
>   might not be that much of a problem in most modern systems but for eg
>   OLPC is likely to be a showstopper.

I'd argue that this is the simplest solution. Where the memory and CPU
usage skyrockets is with large number of kernel-devel packages,
and all the Red Hat/Fedora systems limit this already with things like
installonlyn. Then, in a later release, fix fingerprinting the right way.

Bill, commenting from the peanut gallery
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] Fingerprinting skipDir() brokenness ponderings

2007-06-13 Thread Tom \"spot\" Callaway
On Wed, 2007-06-13 at 11:33 +0300, Panu Matilainen wrote:

> 1) Remove the "temporary" skipDir() hack dating back to 2002 completely.
> + Is really the responsible and right thing to do.
> + Fixes the shared files problems. 
> - Memory consumption goes sky-high and performance degrades badly. This
>might not be that much of a problem in most modern systems but for eg
>OLPC is likely to be a showstopper.

FWIW, OLPC doesn't use RPM.

~spot

___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint


Re: [Rpm-maint] Fingerprinting skipDir() brokenness ponderings

2007-06-13 Thread Michael Schroeder
On Wed, Jun 13, 2007 at 11:33:48AM +0300, Panu Matilainen wrote:
> And I wonder about jbj's concerns like the > 65K files in package in 
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=140055#c11 - what 
> exactly happens then with the tagged fileindexes?

This is no issue: if there are more that 64K files, fingerprinting
is turned off. Bit 31 says that there is a fingerprint; if it is
set, we have 15 bits of tag and 16 bits of index. If it is cleared,
we have 31 bits if index, which should be enough.

Cheers,
  Michael.

-- 
Michael Schroeder   [EMAIL PROTECTED]
SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg
main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}
___
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint