[Pkg-rust-maintainers] Bug#942898: Bug#942898: debcargo: reduce the impact of debcargo-built crates on the package index, and facilitate debian packaging of crates

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Oct 24 17:10:27 BST 2019


On Wed 2019-10-23 13:27:00 +0000, Ximin Luo wrote:
> [ dkg wrote: ]
>> I have not yet gotten measurements of what kinds of costs we're talking
>> about with respect to this shared resource.  If someone could provide
>> some numbers and a methodology for getting them, that would be useful in
>> figuring out whether any proposed change contributes a substantial
>> solution to the problem.  Kinds of measurements that might make the
>> risks a bit clearer for leaning on this shared resource too heavily:
>> 
>>  - size of Packages file
>>  - RAM needed by aptitude to ingest the Packages file
>>  - CPU time taken by aptitude to do dependency resolution
>
> As a user, I haven't noticed Debian slowing down because of rust packages.

I've certainly noticed that apt takes longer reading the index than it
used to take back when i started using debian.  And we have much more
powerful machines today.

Clearly, we can't attribute that to the rust ecosystem specifically, but
it's also evident that this is a shared resource and if everyone grabs
more of it just because we can, we'll all be worse off.

That said, it would be good to have someone take the time to measure
these costs specifically.

Over on #942893 i've done baseline measurements for the size of the
Packages file, and proposed a way to cut that down by 13%.  Perhaps
someone else who is better with profiling could do some comparable
baselines for RAM and CPU time if they want to demonstrate a concrete
problem?

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20191024/4572a9ad/attachment.sig>


More information about the Pkg-rust-maintainers mailing list