From owner-freebsd-arch@freebsd.org Wed Jul 8 06:44:28 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 39B75996221 for ; Wed, 8 Jul 2015 06:44:28 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from mr11p00im-asmtp003.me.com (mr11p00im-asmtp003.me.com [17.110.69.254]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D9C91B1C; Wed, 8 Jul 2015 06:44:28 +0000 (UTC) (envelope-from rpaulo@me.com) Received: from me.com (c-73-162-13-215.hsd1.ca.comcast.net [73.162.13.215]) by mr11p00im-asmtp003.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTPSA id <0NR500BOSPDQGH20@mr11p00im-asmtp003.me.com>; Wed, 08 Jul 2015 06:44:20 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-07-08_04:2015-07-07,2015-07-08,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=2 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1507080118 From: Rui Paulo To: Alfred Perlstein Cc: freebsd-arch@freebsd.org, Konstantin Belousov , Adrian Chadd Subject: Re: CFT/CFR: NUMA policy branch Date: Tue, 07 Jul 2015 23:44:13 -0700 Message-id: <1443707.QHq1OS6BQP@akita> User-Agent: KMail/4.14.3 (FreeBSD/11.0-CURRENT; KDE/4.14.3; amd64; ; ) In-reply-to: <559CB61F.2070301@freebsd.org> References: <2926903.YAk7qUEGf9@akita> <559CB61F.2070301@freebsd.org> MIME-version: 1.0 Content-transfer-encoding: 7Bit Content-type: text/plain; charset=us-ascii X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jul 2015 06:44:28 -0000 On Tuesday 07 July 2015 22:33:19 Alfred Perlstein wrote: > On 7/7/15 7:43 PM, Rui Paulo wrote: > > On Tuesday 07 July 2015 15:53:18 Adrian Chadd wrote: > >>> I did not read further, the patch is half-done at best. > >> > >> That's lovely. Meanwhile, people are actively using this thing. > > > > It may not be perfect, but it's way more than half done. You might object > > to introducing the syscalls, but procctl is still annoyingly limited. > (not yelling at you Rui)... but really... Is that the problem?!!? Just > write a userland library to abstract the kernel interface! How can a library help? If you can't tell the kernel to apply a policy per- TID (procctl works by PID), it's useless for multi-threaded applications. -- Rui Paulo