[devel] [PATCH 0/3] optimize rpmsetcmp()

Dmitry V. Levin ldv на altlinux.org
Сб Дек 4 16:30:49 UTC 2010


On Sat, Dec 04, 2010 at 04:02:17PM +0300, Alexey Tourbin wrote:
> On Tue, Nov 30, 2010 at 03:35:42AM +0300, Dmitry V. Levin wrote:
> > On Intel Xeon E5520
> > without patches:
> > 2.02user 0.00system 0:02.02elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
> > 0inputs+0outputs (0major+9730minor)pagefaults 0swaps
> > with patches:
> > 1.77user 0.00system 0:01.77elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
> > 0inputs+0outputs (0major+9565minor)pagefaults 0swaps
> > speedup is around 12%
> > 
> > Not so amazing as on your test platform, but awesome anyway.
> > I'm going to apply these patches.
> > If anybody has objections, please speak up now.
> 
> I think I've made more amazing a change.
> http://git.altlinux.org/gears/r/rpm.git?a=commitdiff;h=fc5b5a5f

Have you tried to combine both optimizations?


-- 
ldv
----------- следующая часть -----------
Было удалено вложение не в текстовом формате...
Имя     : отсутствует
Тип     : application/pgp-signature
Размер  : 198 байтов
Описание: отсутствует
Url     : <http://lists.altlinux.org/pipermail/devel/attachments/20101204/45409747/attachment.bin>


Подробная информация о списке рассылки Devel