Re: [RFC PATCH v8 1/9] Restartable sequences system call

From: Josh Triplett
Date: Mon Aug 29 2016 - 12:10:43 EST


On Mon, Aug 29, 2016 at 03:16:52PM +0000, Mathieu Desnoyers wrote:
> ----- On Aug 27, 2016, at 12:22 AM, Josh Triplett josh@xxxxxxxxxxxxxxxx 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.