From owner-svn-src-projects@FreeBSD.ORG Tue Feb 26 15:28:13 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 316407AC; Tue, 26 Feb 2013 15:28:13 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id EAB50A5B; Tue, 26 Feb 2013 15:28:12 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k14so4619675iea.27 for ; Tue, 26 Feb 2013 07:28:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=UANB+y31V1Xj0b8tiL4rPH3kR7cEjHWrmoDcoqb176c=; b=jpgKli+Mu31IU9UY3dy4V3xE/x0PxkNXwPvi0kn17IgXUtfENiuZfSbGmtfXmCHh+n 0/Ip9Qte3i++5ukEhHH5iu/1VVf5fqIBePXTxQiJUWJBa01hswtHXt+cAE/nA2kJMv/Q 5D0qHYEiw9BP0nVBnE4tF7AnVyMuM6MJOxvOhl5kBsIwEG1oqvJDG4oLVlG8eKcKOxZB 43PGfK/2jj3CYORh5MaoV7lkS7I5htVKyz/R8uQVnKFfc2d8ZNHVukaKdG9zXjktkJQI Y7i3sFTBbFCrRIU6FGFbNt80+mA0VvrF3aUGejIY50Z23XHqzRQnIPNOQ8k0m2jNoC6K PLhw== MIME-Version: 1.0 X-Received: by 10.50.184.132 with SMTP id eu4mr5535941igc.19.1361892492440; Tue, 26 Feb 2013 07:28:12 -0800 (PST) Sender: asmrookie@gmail.com Received: by 10.42.117.134 with HTTP; Tue, 26 Feb 2013 07:28:12 -0800 (PST) In-Reply-To: <201302261525.r1QFPhLt058080@svn.freebsd.org> References: <201302261525.r1QFPhLt058080@svn.freebsd.org> Date: Tue, 26 Feb 2013 16:28:12 +0100 X-Google-Sender-Auth: VCise4yuAiGX0Pxl8oMc6Rw3YZE Message-ID: Subject: Re: svn commit: r247319 - in projects/calloutng/sys: kern sys From: Attilio Rao To: Alexander Motin Content-Type: text/plain; charset=UTF-8 Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Feb 2013 15:28:13 -0000 On Tue, Feb 26, 2013 at 4:25 PM, Alexander Motin 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