From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Triplett Subject: Re: [RFC PATCH v8 1/9] Restartable sequences system call Date: Mon, 29 Aug 2016 09:10:24 -0700 Message-ID: <20160829161023.snsjfsudoxzwosvj@x> References: <1471637274-13583-1-git-send-email-mathieu.desnoyers@efficios.com> <1471637274-13583-2-git-send-email-mathieu.desnoyers@efficios.com> <545371402.19191.1472144912215.JavaMail.zimbra@efficios.com> <1BD94294-23AD-40CC-8227-43AE1AD8092F@fb.com> <20160827042226.akfaq4wku2gdpxsi@x> <91715400.22162.1472483812389.JavaMail.zimbra@efficios.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <91715400.22162.1472483812389.JavaMail.zimbra-vg+e7yoeK/dWk0Htik3J/w@public.gmane.org> Sender: linux-api-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Mathieu Desnoyers Cc: Ben Maurer , Linus Torvalds , Dave Watson , Peter Zijlstra , "Paul E. McKenney" , Boqun Feng , Andy Lutomirski , linux-kernel , linux-api , Paul Turner , Andrew Morton , Russell King , Thomas Gleixner , Ingo Molnar , "H. Peter Anvin" , Andrew Hunter , Andi Kleen , Chris Lameter , rostedt , Catalin Marinas , Will List-Id: linux-api@vger.kernel.org On Mon, Aug 29, 2016 at 03:16:52PM +0000, Mathieu Desnoyers wrote: > ----- On Aug 27, 2016, at 12:22 AM, Josh Triplett josh-iaAMLnmF4UmaiuxdJuQwMA@public.gmane.org wrote: > > Ben, Mathieu, Dave, do you have jemalloc benchmark numbers with and > > without rseq? (As well as memory usage numbers for the reduced memory > > usage of per-CPU pools rather than per-thread pools?) > > Before I started reimplementing rseq, the numbers presented by Facebook > at https://lkml.org/lkml/2015/10/22/588 were in my opinion a good proof > that rseq is useful. I'm not sure if their memoryidler API was used back > then. > > I could take Dave's jemalloc branch adapted to Paul Turner's rseq and > adapt it to mine. Then we could use this allocator to compare the > memory use and speed of heavily multi-threaded applications. > > Thoughts ? That seems like it would provide a good concrete benchmark of this work, and demonstrate the value of it.