Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2013 16:28:12 +0100
From:      Attilio Rao <attilio@freebsd.org>
To:        Alexander Motin <mav@freebsd.org>
Cc:        svn-src-projects@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r247319 - in projects/calloutng/sys: kern sys
Message-ID:  <CAJ-FndDunwgsV4FVFNhDcmQm8L21YMrGANjh8caUqL-v4qvhDQ@mail.gmail.com>
In-Reply-To: <201302261525.r1QFPhLt058080@svn.freebsd.org>
References:  <201302261525.r1QFPhLt058080@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 26, 2013 at 4:25 PM, Alexander Motin <mav@freebsd.org> wrote:
> Author: mav
> Date: Tue Feb 26 15:25:43 2013
> New Revision: 247319
> URL: http://svnweb.freebsd.org/changeset/base/247319
>
> Log:
>   Optimize callout_process() to use less variables and less conditions to
>   implement the same logic.  Now it fits better into CPU registers, and
>   according to PMC significntly reduces number of resource stalls, reducing
>   consumed by it CPU time during usleep(1) benchmark by 30%.

Is that all improved i-cache capacity and improved dynamic branch
prediction (hwpmc has counters for both FWIW)?

Attilio


-- 
Peace can only be achieved by understanding - A. Einstein



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-FndDunwgsV4FVFNhDcmQm8L21YMrGANjh8caUqL-v4qvhDQ>