From owner-freebsd-current@FreeBSD.ORG Sun Oct 8 23:39:48 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from localhost.my.domain (localhost [127.0.0.1]) by hub.freebsd.org (Postfix) with ESMTP id 1D14516A415; Sun, 8 Oct 2006 23:39:48 +0000 (UTC) (envelope-from davidxu@freebsd.org) From: David Xu To: freebsd-current@freebsd.org Date: Mon, 9 Oct 2006 07:39:45 +0800 User-Agent: KMail/1.8.2 References: <2fd864e0610080423q7ba6bdeal656a223e662a5d@mail.gmail.com> <4529667D.8070108@fer.hr> <20061008155350.L29803@demos.bsdclusters.com> In-Reply-To: <20061008155350.L29803@demos.bsdclusters.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610090739.45433.davidxu@freebsd.org> Cc: Kip Macy , Ivan Voras Subject: Re: [PATCH] MAXCPU alterable in kernel config - needs testers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 08 Oct 2006 23:39:48 -0000 On Monday 09 October 2006 06:55, Kip Macy wrote: > > Any word on how will they handle migration of threads across sockets (or > > will it be OS's job)? Judging from T1 architecture, I think such event > > would create a very large performance penalty, but I'm not an expert. > > It is the job of the OS to take locality into account in thread > scheduling. Moving between chips You'll just lose the L2 cache locality > just as you would on a normal SMP. > > > -Kip Current MD code does not provide useful CPU topology data structure, it is impossible to write a locality aware scheduler for sun4v and other NUMA architectures. David Xu