From owner-freebsd-hackers Mon Oct 21 6:14:28 2002 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 A286C37B401 for ; Mon, 21 Oct 2002 06:14:27 -0700 (PDT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 56B3E43E6A for ; Mon, 21 Oct 2002 06:14:26 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.6/8.12.6) with ESMTP id g9LDEJn4001822; Mon, 21 Oct 2002 15:14:20 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Danny Braniss Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: malloc In-Reply-To: Your message of "Mon, 21 Oct 2002 11:25:43 +0200." Date: Mon, 21 Oct 2002 15:14:19 +0200 Message-ID: <1821.1035206059@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message , Danny Braniss writes: >the attached program - which shows the 'efficiancy' of our scientific >programmers - tickled my curiosity. > >if compiled under Linux, it would run fine on FreeBSD 4.7-stable. >compiled on FreeBSD it would bomb. > >so i fixed some kernel values (options MAXDSIZ="(2*1024*1024*1024)") >and it run to complition, but: >fbsd compiled: complex-2 took 23.652872 seconds, mem used=800000000(762M) >linux : complex-2 took 11.969896 seconds, mem used=800000000(762M) > > >comments? What a lame program... If this program is indicative of your real-world work-load, you can optimize a lot by getting better programmers. If it is not indicative, then forget about it. -- 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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message