From owner-freebsd-performance@FreeBSD.ORG Thu Jun 2 15:28:13 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 4686F106564A; Thu, 2 Jun 2011 15:28:13 +0000 (UTC) (envelope-from ivoras@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id A523D8FC1A; Thu, 2 Jun 2011 15:28:12 +0000 (UTC) Received: by wyf23 with SMTP id 23so958360wyf.13 for ; Thu, 02 Jun 2011 08:28:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:references:user-agent:in-reply-to:mime-version :content-type:subject:from:date:to:cc:message-id; bh=Dx2TkV7hLK9i0pEUcOifdZ8zBZYQ3JTI3F2GsQsOWSc=; b=J5609mqMWx9b/hN/tHgxW+qqdr4NFw+0+3bKHCBxq/J7+W9JxmFv5xgqp8fZJSVket ouIcdaWyVDqfAeEy8cQFA5GXuLLZhcOzIvt+2aUZCOwakx2kP4Uujaz435Gj83kzpdo/ xuz2KwuEr4B2goF0c5Ogr5rD3lEY5QYYKUg/8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=references:user-agent:in-reply-to:mime-version:content-type:subject :from:date:to:cc:message-id; b=Wnc4nTuzG5hUaXYWtbaj7c0hBQW4t6TqtJiVK84064jgEmDlT+h3QqL0OSQahMF42t z6PUy9K1nhfJKT6uOSt0yu656r8ZZe41dJD3WI88+/4zsUqDLXZVmQ6B3bH9JiV/KL8k 5rDtwH8przgRCtK2MJoHI6Puz4x08UhprUy+g= Received: by 10.227.178.203 with SMTP id bn11mr879332wbb.51.1307028491579; Thu, 02 Jun 2011 08:28:11 -0700 (PDT) Received: from [212.15.173.107] ([212.15.173.107]) by mx.google.com with ESMTPS id ej7sm461706wbb.36.2011.06.02.08.28.08 (version=SSLv3 cipher=OTHER); Thu, 02 Jun 2011 08:28:10 -0700 (PDT) References: <4DE61E6F.1010209@FreeBSD.org> <4DE79D2F.8050907@FreeBSD.org> User-Agent: K-9 Mail for Android In-Reply-To: <4DE79D2F.8050907@FreeBSD.org> MIME-Version: 1.0 From: Ivan Voras Date: Thu, 02 Jun 2011 17:28:04 +0200 To: Andriy Gapon Message-ID: <72d97a0b-5ad9-4405-9b0a-832ba5a872ee@email.android.com> X-Mailman-Approved-At: Thu, 02 Jun 2011 15:36:39 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 15:28:13 -0000 On the second reading, if you are asking how fast a shootdown operation itself is, then yes, it will probably not help you :) -- Sent from my Android phone, please excuse my brevity. Andriy Gapon 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? :) 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