From owner-freebsd-hackers@FreeBSD.ORG Mon Feb 16 11:34:06 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E37E316A4CE for ; Mon, 16 Feb 2004 11:34:06 -0800 (PST) Received: from hotmail.com (bay12-f35.bay12.hotmail.com [64.4.35.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF0B243D1D for ; Mon, 16 Feb 2004 11:34:06 -0800 (PST) (envelope-from jtumani55@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 16 Feb 2004 11:34:06 -0800 Received: from 161.44.73.245 by by12fd.bay12.hotmail.msn.com with HTTP; Mon, 16 Feb 2004 19:34:06 GMT X-Originating-IP: [161.44.73.245] X-Originating-Email: [jtumani55@hotmail.com] X-Sender: jtumani55@hotmail.com From: "Juan Tumani" To: des@des.no Date: Mon, 16 Feb 2004 14:34:06 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Feb 2004 19:34:06.0784 (UTC) FILETIME=[D780AC00:01C3F4C3] cc: freebsd-hackers@freebsd.org Subject: Re: FreeBSD 5.2 v/s FreeBSD 4.9 MFLOPS performance (gcc3.3.3 v/sgcc2.9.5) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2004 19:34:07 -0000 >"Juan Tumani" writes: > > I patched in the patch shown below and it didn't fix the problem, it > > only changed the frequency of the spikes to 32 on/off. > >try replacing 0x1F with 0x3F in the patch and see what happens. That seems to work in that it flattens the line out. Not sure why programs linked in 4.9 don't need the alignment fix in 5.2. Also, if you compare the 'floor' shown in the first 2 charts (as well as the last chart) at: http://www.employees.org/~rsargent/flops/ with the 3rd chart at: http://www.employees.org/~rsargent/flops/charts2.html you can see the program is more than twice as fast when linked in FreeBSD 4.9 than when linked in 5.2 as shown by the floor being 1.25 seconds/iteration for 4.9 linking v/s 2.96 seconds/iteration for 5.2 linking (on my ref machine). Any ideas, things to try, linker options in 5.2? Thanks- JT _________________________________________________________________ Choose now from 4 levels of MSN Hotmail Extra Storage - no more account overload! http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/