From owner-freebsd-questions Tue Feb 27 11: 6:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from sydney.worldwide.lemis.com (dhcp183.sitaranetworks.com [199.103.141.183]) by hub.freebsd.org (Postfix) with ESMTP id 40B9A37B719 for ; Tue, 27 Feb 2001 11:06:23 -0800 (PST) (envelope-from grog@sydney.worldwide.lemis.com) Received: (from grog@localhost) by sydney.worldwide.lemis.com (8.11.1/8.9.3) id f1QFWYM15226; Mon, 26 Feb 2001 09:32:34 -0600 (CST) (envelope-from grog) Date: Mon, 26 Feb 2001 09:32:34 -0600 From: Greg Lehey To: Vladimir Kushnir Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Linux binaries run faster under native ?! Message-ID: <20010226093234.B15164@sydney.worldwide.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: ; from vkushnir@Alfacom.net on Mon, Feb 26, 2001 at 12:19:35AM +0200 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Monday, 26 February 2001 at 0:19:35 +0200, Vladimir Kushnir wrote: > Hi all, > What could be a reason for such a strange behaviour? I've tried a program > (some calculations in FORTRAN) as a natove binary and as a Linux binary. > Compiled right here, with g77 from linux_devtools port. Result: it takes >> 410s as a FreeBSD binary and ~310s as a Linux one. Compiler/linker > flags were all the same, in both cases compiled as static. Any clues? You'd need profiling to find out the reason for that. But I'd guess it's probably a library issue. If you're really interested, compare the appearance of the object files, which should theoretically be identical. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message