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

Tavian Barnes tavianator at tavianator.com
Mon Feb 21 19:30:23 EST 2011


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.

-- 
Tavian Barnes


More information about the pacman-dev mailing list