From owner-freebsd-net@FreeBSD.ORG Thu Jan 10 00:42:49 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2551B9B0 for ; Thu, 10 Jan 2013 00:42:49 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id E891EA31 for ; Thu, 10 Jan 2013 00:42:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=6HwhlJZM4HS3q2EdXsEk9uKWzPdUJqw3AxOYjXciKQI=; b=Nvp0HKCEikOoBK5H2HBSBtuNpVXBjWHiuCROxaOhg9Cm8EPeJRHeXcdf6BWr3m/yxd14C9TFkSsuC1LY0BMEQCGuOT1BUIRLZLIxNWB0LmR6V3A3LJ8Bqail84uP03EX; Received: from [122.129.203.50] (port=27797 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1Tt6EJ-000zcX-4Q; Wed, 09 Jan 2013 17:42:47 -0700 Date: Thu, 10 Jan 2013 07:42:44 +0700 From: Erich Dollansky To: Michael Sierchio Subject: Re: To SMP or not to SMP Message-ID: <20130110074244.6c105264@X220.ovitrap.com> In-Reply-To: References: <20130109211439.5b590bf5@X220.ovitrap.com> <1357742133.9692.YahooMailClassic@web121601.mail.ne1.yahoo.com> <20130110071850.191a257c@X220.ovitrap.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-net@freebsd.org X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2013 00:42:49 -0000 Hi, On Wed, 9 Jan 2013 16:25:41 -0800 Michael Sierchio wrote: > On Wed, Jan 9, 2013 at 4:18 PM, Erich Dollansky > wrote: > > > SMP goes into the applications. A single-CPU kernel must still run > > these kind of applications. > > Applications may be multithreaded - and on a host with more than one > (real or virtual) CPU, those threads may run concurrently. De quoi > s'agit-il? What's your point? they call those OS functions to handle mutexes etc. Some of these things can be simpler when only a single CPU is present. I do not know if there is a difference in FreeBSD. With other words, it is a bit more complex than just an if instruction in the kernel to decide what should be done. This is the reason why the decision is made at compile time and not at run time. Erich > > - M > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"