From owner-freebsd-questions@FreeBSD.ORG Wed Apr 28 08:22:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BCD84106566C for ; Wed, 28 Apr 2010 08:22:14 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 444538FC16 for ; Wed, 28 Apr 2010 08:22:13 +0000 (UTC) Received: by fxm15 with SMTP id 15so449249fxm.13 for ; Wed, 28 Apr 2010 01:22:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=9X4+dk7S80WMqh66k2KTsBnc40gcG8zq9tn4EKNYs2w=; b=orNGGgbd5QEdkc0Pmp+fudEqttEwYZQLA6+m+Rs4ptG4XYaPnE8x+cPwvAc4AlzBC2 zM79GiSMU6kcVt6ruvE1OVcO8avofQfwFTsmwJ4eAu1REaidhOoZgYxgcep5+8JMq5JD 9lXEsOgtRbMRyqshl3ZhIUOo9P/gCpz6xa8mU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sw9nYAcqxill/l7vw8DNQ2fXrBrRCPLXq5K19OG6DDRu2GdAS5GMCR8gVStKyNdEdV jC4au65p1S9awMWGs7gBabN0xA6LFaTwO/a+iU5LwX9F6BM1pjlWEfQAS8YepRQTKBsR iBA6DodC2eVxuFaNMkRlQNyCCyp3yLAf+2nUA= MIME-Version: 1.0 Received: by 10.239.193.82 with SMTP id h18mr659137hbi.23.1272442923970; Wed, 28 Apr 2010 01:22:03 -0700 (PDT) Received: by 10.239.165.129 with HTTP; Wed, 28 Apr 2010 01:22:03 -0700 (PDT) In-Reply-To: <20100428032228.GA96137@elwood.starfire.mn.org> References: <535299.10507.qm@web56507.mail.re3.yahoo.com> <20100428032228.GA96137@elwood.starfire.mn.org> Date: Wed, 28 Apr 2010 09:22:03 +0100 Message-ID: From: krad To: John Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Neil Short , freebsd-questions@freebsd.org Subject: Re: Improving SMP performance? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2010 08:22:14 -0000 On 28 April 2010 04:22, John wrote: > On Tue, Apr 27, 2010 at 05:32:58PM -0700, Neil Short wrote: > > I'm somewhat disappointed in the performance in my laptop which is > supposed to have a really fast processor. Is there some way to get more out > of the processor? > > > > > > [neshort/] uname -a > > FreeBSD carmen 8.0-STABLE FreeBSD 8.0-STABLE #1: Thu Apr 15 19:54:24 MST > 2010 neshort@carmen:/usr/obj/usr/src/sys/CARMEN i386 > > [neshort/] dmesg > > ... > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > CPU: Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz (2127.92-MHz > 686-class CPU) > > Origin = "GenuineIntel" Id = 0x20652 Family = 6 Model = 25 Stepping > = 2 > > > Features=0xbfebfbff > > > Features2=0x98e3bd > > AMD Features=0x28000000 > > AMD Features2=0x1 > > TSC: P-state invariant > > real memory = 4294967296 (4096 MB) > > avail memory = 3066707968 (2924 MB) > > ACPI APIC Table: > > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > > FreeBSD/SMP: 1 package(s) x 2 core(s) x 2 SMT threads > > cpu0 (BSP): APIC ID: 0 > > cpu1 (AP): APIC ID: 1 > > cpu2 (AP): APIC ID: 4 > > cpu3 (AP): APIC ID: 5 > > > > > > ====== > > > > "What did you do?" the man holding the flashlight asked. > > > > "I put down a spider," he said, wondering why the man didn't see; in the > beam of yellow light the spider bloated up larger than life. "So it could > get away." > > > > In what way are you disappointed? It may be SMP, but for any single > thread, it cannot go faster than one of the processors. If you are > measuring a single-threaded task, that's all you can get. Or could > it be that IO is limiting your performance? Without knowing what > it is you want to do, and what you are experiencing, it is very hard > to know how to help you. If you are just looking at the clock speed, > please understand that CPU manufacturers lately are working to LOWER > clocks speeds because it saves power, and to speed up the processors > by using wider microinstructions and more sophisticated pipelining > techniques to gain speed without just wiggling things at a higher > frequency. > -- > > John Lind > john@starfire.MN.ORG > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > put a 64bit os on for one, you would see all your 4g ram then