Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jun 2011 17:13:51 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        freebsd-performance@freebsd.org
Subject:   Re: tlb shootdown
Message-ID:  <BANLkTinzNUYyxxVnZN=NLNFHNsKswhBvgQ@mail.gmail.com>
In-Reply-To: <4DE79D2F.8050907@FreeBSD.org>
References:  <4DE61E6F.1010209@FreeBSD.org> <is7u3u$jhf$1@dough.gmane.org> <4DE79D2F.8050907@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 June 2011 16:24, Andriy Gapon <avg@freebsd.org> wrote:
> on 02/06/2011 15:02 Ivan Voras said the following:
>> On 01/06/2011 13:11, Andriy Gapon wrote:
>>>
>>> Anyone knows of a benchmark/test that can measure/demonstrate difference in tlb
>>> shootdown performance (or its lack)?
>>
>> The "tlb" utility from lmbench may help you.
>
> Just because it's named tlb and I asked for tlb something? :)

No, because it satisfies one thing you asked for:  measuring tlb
shootdown performance:

./tlb -c
tlb: 16 pages 0.75218 nanoseconds

If you look at the code, this is probably exactly what you need: the
difference between the case with tlb misses and without.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinzNUYyxxVnZN=NLNFHNsKswhBvgQ>