From owner-freebsd-net@FreeBSD.ORG Tue Jan 8 15:56:20 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 01DB450B for ; Tue, 8 Jan 2013 15:56:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f49.google.com (mail-wg0-f49.google.com [74.125.82.49]) by mx1.freebsd.org (Postfix) with ESMTP id 6F61C9D3 for ; Tue, 8 Jan 2013 15:56:18 +0000 (UTC) Received: by mail-wg0-f49.google.com with SMTP id 15so466307wgd.16 for ; Tue, 08 Jan 2013 07:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=5i/Ifsmh3EwGheQ/eqFrAeDK2rbTjyWUwLI9e3k3Rg4=; b=VGuWBxRfdUAdlPAy8MXW2uN55oWiRYmCNILtsuI/dSPmlHrJaQqzFcLv1RFK136jXQ GchEF1NmcDpWQvDKOedV9orL9nWHYkdXGOq04E++psa+UAUyE97uZA2cPrj+9EsTMB85 ieU2pkmrcN83jywiZ9Ebcw/u5tmpEMOLWYY93SZy0Rv1gxXV156sbVo4HCJy1efyiMvT xbjU7HKdd8MvRVGFlq/hwHDXa1UrY8/CT8TEvt/OOFdK5frUOMHBEHK6UrZD7IIn5pLD r0vWCRzRHygWk+HKIe7dZL+Xgnne7GNc8rKMlNOOF+e3NMDfPc0w7rOWEa/sZAC/0xNt SHxw== MIME-Version: 1.0 Received: by 10.194.109.10 with SMTP id ho10mr11833536wjb.16.1357660570541; Tue, 08 Jan 2013 07:56:10 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.217.57.9 with HTTP; Tue, 8 Jan 2013 07:56:10 -0800 (PST) In-Reply-To: <1357660252.29936.YahooMailClassic@web121603.mail.ne1.yahoo.com> References: <20130108105638.7ef9d6c2@X220.ovitrap.com> <1357660252.29936.YahooMailClassic@web121603.mail.ne1.yahoo.com> Date: Tue, 8 Jan 2013 07:56:10 -0800 X-Google-Sender-Auth: et2hhuv75J3n-ipwom22XB2815Y Message-ID: Subject: Re: To SMP or not to SMP From: Adrian Chadd To: Barney Cordoba Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-net@freebsd.org, Erich Dollansky 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: Tue, 08 Jan 2013 15:56:20 -0000 The only weird crap I've seen with SMP versus non-SMP these days is some assumptions that it's cheap to alternate between two tasks in a preemptive kernel. That behaviour sucks on MIPS. On SMP machines with enough CPUs/hardware threads, you don't see the context switch overhead because you have enough CPUs to run them concurrently. But on single core MIPS boards, things aren't quite as shiny. (Yes, I'm working towards making net80211 and some of the wifi drivers enforce better behaviour in this regard. The network stack doesn't really "help" me here.) Adrian