From owner-freebsd-current@FreeBSD.ORG Thu Jul 29 09:22:35 2004 Return-Path: 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 D7CB316A4CF for ; Thu, 29 Jul 2004 09:22:35 +0000 (GMT) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F3B143D66 for ; Thu, 29 Jul 2004 09:22:35 +0000 (GMT) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Bq773-000GdA-NP for current@freebsd.org; Thu, 29 Jul 2004 12:22:09 +0300 X-Mailer: exmh version 2.7.0 06/18/2004 with nmh-1.0.4 To: freebsd current Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 29 Jul 2004 12:22:09 +0300 From: Danny Braniss Message-Id: <20040729092235.5F3B143D66@mx1.FreeBSD.org> Subject: malloc in the slow lane X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 29 Jul 2004 09:22:36 -0000 hi, just came across a 'anomality'. The kernel is -current, the same program, compiled under -stable, runs 'fast', while the compiled under -current, is slowwwwwwwwwwww. According to the UPDATING note, this is supposed to be expected, but can't find a fix. some data: i386-freebsd5.2/memsize: libm.so.2 => /lib/libm.so.2 (0x48077000) libc.so.5 => /lib/libc.so.5 (0x48090000) i386-freebsd4.9/memsize: libm.so.2 => /lib/libm.so.2 (0x48078000) libc.so.4 => /usr/lib/compat/libc.so.4 (0x48091000) time i386-freebsd5.2/memsize 32 0.548u 1.073s 0:01.62 99.3% 25+33211k 0+0io 0pf+0w time i386-freebsd4.9/memsize 32 0.009u 0.062s 0:00.07 85.7% 32+43957k 0+0io 0pf+0w any insights? danny