From owner-freebsd-current@FreeBSD.ORG Thu Feb 20 21:48:07 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8991E49A; Thu, 20 Feb 2014 21:48:07 +0000 (UTC) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0F3371470; Thu, 20 Feb 2014 21:48:06 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id w7so2077813qcr.3 for ; Thu, 20 Feb 2014 13:48:06 -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:message-id:subject :from:to:cc:content-type; bh=4GJN0//Tf5Bsda8spC3fhecqJ4H69Oe1dPLf5ZdVP64=; b=Rhmhe5vI3V7pYkm16TajmVoJ9+8UPPBP4RR22ZT15MWKFkDEVPn5ZQxdxMn73aErjz TAfMrWt4MoaBo434h0+WpLgIq6e6TI44MpITOjaUCIIB7zmOp5ggIoFdk28tdBqk76JR w3LHPoFMkDDEq+f6hGVKn7E9xtsz/MqnINTAa7iJm99r9DVxLjiDhOBEUgs8C82SEsxR o7A+d4S2jFPyTSHfLRzQG5wBapJWVjsTE6hnfuyUMf4R/FWM9YYv9kvXc5osdHLDgvqi X5TI4OPo+hO1873TXWrqqfeuvsg5govqlPVy/qwx/P8yRDbaGYj/8XVJx8lwYxg0SfR7 K+Pw== MIME-Version: 1.0 X-Received: by 10.140.42.54 with SMTP id b51mr4580773qga.87.1392932886244; Thu, 20 Feb 2014 13:48:06 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.16.10 with HTTP; Thu, 20 Feb 2014 13:48:06 -0800 (PST) In-Reply-To: <201402201417.34148.jhb@freebsd.org> References: <530508B7.7060102@FreeBSD.org> <201402191602.54465.jhb@freebsd.org> <201402201417.34148.jhb@freebsd.org> Date: Thu, 20 Feb 2014 13:48:06 -0800 X-Google-Sender-Auth: vF-zuzXAj2DSvPJ2howbBaEpat4 Message-ID: Subject: Re: [rfc] bind per-cpu timeout threads to each CPU From: Adrian Chadd To: John Baldwin Content-Type: text/plain; charset=ISO-8859-1 Cc: Alexander Motin , freebsd-current , "freebsd-arch@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 21:48:07 -0000 On 20 February 2014 11:17, John Baldwin wrote: > (A further variant of this would be to divorce cpu0's swi from the > catch-all softclock and let the catch-all softclock float, but bind > all the per-cpu swis) I like this idea. If something (eg per-CPU TCP timers, if it's turned on) makes a very specific decision about the CPU then it should be fixed. Otherwise a lot of the underlying assumptions for things like RSS just aren't guaranteed to hold. It could also perhaps extend to some abstract pool of CPUs later, if we wanted to do things like one flowing swi per socket or whatnot when we start booting on 1024 core boxes... -a