From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3326 Path: news.gmane.org!not-for-mail From: =?ISO-8859-2?Q?Daniel_Cegie=B3ka?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: cpuset/affinity interfaces and TSX lock elision in musl Date: Fri, 17 May 2013 09:41:18 +0200 Message-ID: References: <20130516203658.GW20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1368776511 4595 80.91.229.3 (17 May 2013 07:41:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 17 May 2013 07:41:51 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3330-gllmg-musl=m.gmane.org@lists.openwall.com Fri May 17 09:41:52 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UdFIV-0001Ox-Fm for gllmg-musl@plane.gmane.org; Fri, 17 May 2013 09:41:51 +0200 Original-Received: (qmail 22135 invoked by uid 550); 17 May 2013 07:41:50 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 22124 invoked from network); 17 May 2013 07:41:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=PKav5O/3E4SKHG7kqU+sa30VPn3mNG5xHRS9uKfoNHg=; b=HTUgVGtjl06o0ZZkSDA4EqxZR+F82GzqLHybcko/rNl9DL6Ndi7nbvydXlVXEJx2B2 74tEwALXz20UEt4fgcndyqZcMuOCXGEFQTB1eGf53iXgUDQAXEnkVm1YX+2/yYnSxzWZ xNEnRiMN9v3yRXMPDGAD5vvjnGPBmdrZgNDdpxLK0HgYcH3/rWcjUvJ/Y8tufGLW8xxO sV4bYcgjGrqb/e8y/4UfU4YmS+Wp6TIORH2GdwVIU893D/Q7hAb58KS/FZBTjTfcCLIF zGaFLoT+wc351JpvRshjy28LDX8dl6N2Jx6o44ljm/bvNChcWyKD4JugmkP6f+L4SQPR C+mA== X-Received: by 10.112.198.99 with SMTP id jb3mr499695lbc.45.1368776498941; Fri, 17 May 2013 00:41:38 -0700 (PDT) In-Reply-To: <20130516203658.GW20323@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:3326 Archived-At: Rich, Rob - thanks for the information. This is functionality that sooner or later, but it is worth to add to the musl. >> 2) The upcoming glibc will have support for TSX lock elision. >> >> http://en.wikipedia.org/wiki/Transactional_Synchronization_Extensions >> >> http://lwn.net/Articles/534761/ >> >> Are there any outlook that we can support TSX lock elision in musl? > > I was involved in the discussions about lock elision on the glibc > mailing list, and from what I could gather, it's a pain to implement > and whether it brings you any benefit is questionable. There is currently no hardware support, so the tests were done in the emulator. It's too early to say there's is no performance gain. > Before making > any decision, I think we should wait to see some performance figures. musl is described as libc for embedded systems (raspberry pi, small routers, mobile etc.). Summing up: low-end hardware. I think musl is the ideal solution for high-end HPC servers etc., so that's why we should support innovative solutions (like TSX lock elision). We may also ask manufacturers (such as Intel) for help with optimization (they really help with glibc and gcc). Best regards, Daniel