From owner-freebsd-performance@FreeBSD.ORG Sat Feb 2 10:42:38 2008 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AAF316A417 for ; Sat, 2 Feb 2008 10:42:38 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.159]) by mx1.freebsd.org (Postfix) with ESMTP id 11E3B13C457 for ; Sat, 2 Feb 2008 10:42:37 +0000 (UTC) (envelope-from joseph.koshy@gmail.com) Received: by fg-out-1718.google.com with SMTP id 16so1399145fgg.35 for ; Sat, 02 Feb 2008 02:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=+4Defw5yHpWxnUeO7bRWk9zwhV3zzswBBKeZEf2YmjY=; b=lO8E76UxFsckP7VUxKocXGiIDFzaLp2QQImtruZKnhl9e4R0MKaFQ5dFTyOCWo3o/S905q/tYyixWV9QAkrDg35mrz4PRkRJTvlLrI9LOtBMDYoVP+Tiuxq/BgSqyuB4X+uXsM2/f3BUeV4O5f1p+K+LTZa+JZm/VpwB5wfECR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=JY3Q9EdTkJt2w5D8i7+F5zxu+mVR9KIHggjrvDBww8Caj3RFq9UNpwwRoALqdr30ZPhTzmZAZ3nKnMsHhZs8Q6SOtWR1OrN0/SSi1c7D3T/sFW5SqIb5fV9oCSIwgI/NzSByyEGe11BQuEsejK7c+4TPmIBPDjpmZ4XNgbHurHU= Received: by 10.86.89.4 with SMTP id m4mr4239128fgb.14.1201948956492; Sat, 02 Feb 2008 02:42:36 -0800 (PST) Received: by 10.86.90.11 with HTTP; Sat, 2 Feb 2008 02:42:36 -0800 (PST) Message-ID: <84dead720802020242u4a996a86oa2d045969a4bbdcd@mail.gmail.com> Date: Sat, 2 Feb 2008 16:12:36 +0530 From: "Joseph Koshy" To: "Alexander Motin" In-Reply-To: <47A44652.70409@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <47A25412.3010301@FreeBSD.org> <47A25A0D.2080508@elischer.org> <47A2C2A2.5040109@FreeBSD.org> <20080201185435.X88034@fledge.watson.org> <47A37E14.7050801@FreeBSD.org> <84dead720802020209n49c09664p3962fa08f2f9a57c@mail.gmail.com> <47A44652.70409@FreeBSD.org> X-Mailman-Approved-At: Sat, 02 Feb 2008 12:27:11 +0000 Cc: freebsd-hackers@freebsd.org, freebsd-performance@freebsd.org Subject: Re: Memory allocation performance X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Feb 2008 10:42:38 -0000 > Thanks, I have already found this. There was only problem, that by > default it counts cycles only when both logical cores are active while > one of my cores was halted. Did you try the 'active' event modifier: "p4-global-power-events,active=any"? > Sampling on this, profiler shown results close to usual profiling, but > looking more random: Adding '-fno-omit-frame-pointer' to CFLAGS may help hwpmc to capture callchains better. Regards, Koshy