From owner-freebsd-current@FreeBSD.ORG Mon Aug 22 08:38:47 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 00E2616A41F; Mon, 22 Aug 2005 08:38:47 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from haven.freebsd.dk (haven.freebsd.dk [130.225.244.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id 975A043D48; Mon, 22 Aug 2005 08:38:46 +0000 (GMT) (envelope-from phk@phk.freebsd.dk) Received: from phk.freebsd.dk (unknown [192.168.48.2]) by haven.freebsd.dk (Postfix) with ESMTP id E40C0BC66; Mon, 22 Aug 2005 08:38:44 +0000 (UTC) To: Divacky Roman From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 22 Aug 2005 10:33:20 +0200." <20050822083320.GA32668@stud.fit.vutbr.cz> Date: Mon, 22 Aug 2005 10:38:41 +0200 Message-ID: <62870.1124699921@phk.freebsd.dk> Sender: phk@phk.freebsd.dk Cc: freebsd-current@freebsd.org, Giorgos Keramidas , Kris Kennaway Subject: Re: [PATCH]: fdalloc optimization X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Aug 2005 08:38:47 -0000 In message <20050822083320.GA32668@stud.fit.vutbr.cz>, Divacky Roman writes: > N Min Max Median Avg Stddev >x 100 39957 959570 41444 87169.69 201011.84 >+ 100 37786 962107 38766 66353.09 158258.74 >No difference proven at 95.0% confidence > >anyway - commenting out duplicate code MUST speed it up, maybe insignificantly >but still ;) It used to be that life was that simple, but with three levels of caches and deep pipelines it isn't anymore. But taken from the other side: you can also read this as your patch does no damage to performance, so if code clarity is improved (havn't looked at your patch myself) then that would be another good reason. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.