From owner-freebsd-performance@FreeBSD.ORG Thu Jun 2 14:24:50 2011 Return-Path: Delivered-To: freebsd-performance@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B3CE106566B for ; Thu, 2 Jun 2011 14:24:50 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 6B68F8FC0A for ; Thu, 2 Jun 2011 14:24:49 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id RAA26623; Thu, 02 Jun 2011 17:24:47 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4DE79D2F.8050907@FreeBSD.org> Date: Thu, 02 Jun 2011 17:24:47 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110504 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Ivan Voras References: <4DE61E6F.1010209@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 02 Jun 2011 15:23:22 +0000 Cc: freebsd-performance@FreeBSD.org Subject: Re: tlb shootdown X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2011 14:24:50 -0000 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? :) tlb - TLB size and latency benchmark ... tlb tries to determine the size, in pages, of the TLB. The largest amount of memory it will examine is len bytes. ... Once the TLB boundary is located tlb reports the TLB miss latency as the TLB latency for twice as many pages as the TLB can hold. I am not this will tell anything about TLB _shootdown_ performance of SMP systems. Perhaps I wasn't specific enough in my original question. -- Andriy Gapon