On 1/28/21 9:34 AM, Panu Matilainen wrote:
On 1/27/21 8:30 PM, Kevin Fenzi wrote:

SO, I don't really understand... Patrick says in the Change:

"The size of the rpmdb increases from 22952 to 28416 bytes, a 20%
increase. This is on an install size of 1.7GB in total, so this 5MB
increase is a 0.3% size increase on the final installed system."

Is that just because he used the server install with fewer files?

As directories are not signed, in a smaller installation the directory vs file 
ratio could be different, making the overhead smaller than in a larger install. 
Looking at the F33 server edition install, there are
59246 files total, 22837 of which are directories. That's a very different 
ratio to my laptop install where there are 402158 files total of which 70874 
are directories.

So it's a case of "it depends" and it depends quite a lot. By no means the 
overhead is always 45% but neither is it always 20% - depending on the exact package set 
it can be even be quite a bit more or less than either figure.


My data point: I have 1864399 files in rpm DB (rpm -qla|wc -l).
The rpm database is 770MB (du /var/lib/rpm).
An additional 162 bytes per file would raise it by 302MB (+39%).

Looks expensive to me, especially when considering that I get no feature for 
this overhead.

Regards.

--
   Roberto Ragusa    mail at robertoragusa.it
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to