From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 13:36:18 2008 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 F2C481065677 for ; Mon, 14 Jul 2008 13:36:18 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by mx1.freebsd.org (Postfix) with ESMTP id 8B0618FC08 for ; Mon, 14 Jul 2008 13:36:18 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so2890649fkk.11 for ; Mon, 14 Jul 2008 06:36:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=cm3vfcgDJ10MgFHXdOIt/tJTNEPvCQy+Dd/tTWegsEs=; b=Cxo05faMx3jEuCldHe3uzLk2sWOtkQQ6E1Awz4ofXeWPZZ9EwskU9uaKKJ4rxhlnPZ 6s15WUJX6K5DXiBQ8/GT/s114WUGHGl2JGXrsYkTtzwzAn4s2HHDgaVH81Obn97xxWpS 0FBo9sz+XoxqYHvgRg9xIGVzFsxYYogNxlfVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=OgUhNw4qYFGA/N87MZrrlD4brEfzn+kOLxQwZ0ofNjIIAYw2ez2c//a4VvC4r78yIx NW4U1Asep+nLNCX8SveVP3yarIYQ2RcWbaJeY/vYP1aAeRKnB6R3CtdLTABCLvZW/Rwn EhN+COQP2hQpwD6OBEC1Naw4kTGjaaSdR677k= Received: by 10.187.233.6 with SMTP id k6mr1701301far.64.1216042577111; Mon, 14 Jul 2008 06:36:17 -0700 (PDT) Received: from atlantis.dyndns.org ( [79.130.57.134]) by mx.google.com with ESMTPS id p9sm11381196fkb.5.2008.07.14.06.36.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Jul 2008 06:36:15 -0700 (PDT) Message-ID: <487B5648.6030108@gmail.com> Date: Mon, 14 Jul 2008 16:36:08 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.14 (X11/20080703) MIME-Version: 1.0 To: tethys ocean References: <235b80000807140357m351f801bw254aab35367682bb@mail.gmail.com> <235b80000807140547t9007b13of23a1db09085cb71@mail.gmail.com> In-Reply-To: <235b80000807140547t9007b13of23a1db09085cb71@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Core(TM)2 Quad and TOP output 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: Mon, 14 Jul 2008 13:36:19 -0000 tethys ocean wrote: > Hi all > > I have new server(webserver) quad core but performans is not well (according > our old webserver pent IV ). Maybe its performans depends on our web page > sourcecode. FreeBSD 6.3 stable is running on it. dmesg is in below. > > > 1-I wonder in my TOP output can I see all CPU or not? > > > last pid: 19887; load averages: 0.13, 0.04, 0.01 up 2+21:18:18 > 16:53:16 > 48 processes: 1 running, 47 sleeping > CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle > Mem: 119M Active, 352M Inact, 126M Wired, 48K Cache, 112M Buf, 1401M Free > Swap: 5120M Total, 5120M Free > You can. There is a "C" column in the output of top, indicating which process runs in which CPU. Your dmesg already shows all your CPUs are activated. > > and also another question is > > 2-FreeBSD 7.0 has got default multiprocessor generic kernel??? since during > installations only one generic kernel shown > > > > In 6.X versions, there were two different GENERIC kernels, one for SMP, the other for single CPU. Starting with 7.0, there is only one GENERIC kernel that supports both SMP and single processor systems. AFAIK, in 7.0 using an SMP-enabled kernel in a single CPU system does not introduce any real performance penalty, so no need to recompile just for this.