[pacman-dev] [PATCH 2/2] Parallelize integrity checks.

Dan McGee dpmcgee at gmail.com
Fri Feb 25 11:14:53 EST 2011


On Mon, Feb 21, 2011 at 6:30 PM, Tavian Barnes
<tavianator at tavianator.com> wrote:
> On 21 February 2011 18:10, Jakob Gruber <jakob.gruber at gmail.com> wrote:
>> On 02/21/2011 11:38 PM, Tavian Barnes wrote:
>>>
>>> Use the new _alpm_for_each_cpu() API to perform integrity checks in
>>> parallel.  This speeds up integrity checks drastically on multi-core
>>> machines.
>>> ---
>>
>> Have you thought about / looked at doing integrity checks in the background
>> as individual packages finish downloading?
>>
>>
>
> No, but now that I think about it that's obviously a good idea.  But
> integrity checks may still need to happen where they do now, for
> example if the packages were previously downloaded and are now being
> installed.  Although there's no reason the integrity checks couldn't
> happen in the background while the we're waiting for the user to
> confirm the installation.

-1 from me. This just isn't worth the nightmare it will end up probably being.

-Dan


More information about the pacman-dev mailing list