Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1254202

Re: [RFC PATCH 0/3] restartable sequences benchmarks

From Dave Watson <davejwatson@fb.com>
Newsgroups linux.kernel
Subject Re: [RFC PATCH 0/3] restartable sequences benchmarks
Date 2015-10-23 00:20 +0200
Message-ID <qmwng-7px-15@gated-at.bofh.it> (permalink)
References <qmstk-1LT-15@gated-at.bofh.it> <qmtz4-3kA-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Oct 22, 2015 at 12:11:42PM -0700, Andy Lutomirski wrote:
> On Thu, Oct 22, 2015 at 11:06 AM, Dave Watson <davejwatson@fb.com> wrote:
> >
> >                                    RSS CPUIDLE LATENCYMS
> > jemalloc 4.0.0                     31G   33%     390
> > jemalloc + this patch              25G   33%     390
> > jemalloc + this patch using lsl    25G   30%     420
> > jemalloc + PT's rseq patch         25G   32%     405
> > glibc malloc 2.20                  27G   30%     420
> > tcmalloc gperftools trunk (2.2)    21G   30%     480
> 
> Slightly confused.  This is showing a space efficiency improvement but
> not a performance improvement?  Is the idea that percpu free lists are
> more space efficient than per-thread free lists?
> 
> --Andy

Correct - the service was already tuned such that most requests hit
the (very large) thread free lists to avoided taking expensive locks
talking to the central arena.  There were more threads than cpus, so
the memory win is just needing fewer free lists. 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[RFC PATCH 0/3] restartable sequences benchmarks Dave Watson <davejwatson@fb.com> - 2015-10-22 20:10 +0200
  Re: [RFC PATCH 0/3] restartable sequences benchmarks Andy Lutomirski <luto@amacapital.net> - 2015-10-22 21:20 +0200
    Re: [RFC PATCH 0/3] restartable sequences benchmarks Dave Watson <davejwatson@fb.com> - 2015-10-23 00:20 +0200

csiph-web