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


Groups > linux.kernel > #1403216

Re: [RFC v1 2/2] mm: SLUB Freelist randomization

From Thomas Garnier <thgarnie@google.com>
Newsgroups linux.kernel
Subject Re: [RFC v1 2/2] mm: SLUB Freelist randomization
Date 2016-05-18 20:40 +0200
Message-ID <rAexY-5ID-23@gated-at.bofh.it> (permalink)
References <rAdVf-5eB-7@gated-at.bofh.it> <rAdVf-5eB-5@gated-at.bofh.it> <rAeoi-5Fp-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Yes, I agree that it is not related to the changes.

On Wed, May 18, 2016 at 11:24 AM, Christoph Lameter <cl@linux.com> wrote:
> 0.On Wed, 18 May 2016, Thomas Garnier wrote:
>
>> slab_test, before:
>> 10000 times kmalloc(8) -> 67 cycles kfree -> 101 cycles
>> 10000 times kmalloc(16) -> 68 cycles kfree -> 109 cycles
>> 10000 times kmalloc(32) -> 76 cycles kfree -> 119 cycles
>> 10000 times kmalloc(64) -> 88 cycles kfree -> 114 cycles
>
>> After:
>> 10000 times kmalloc(8) -> 60 cycles kfree -> 74 cycles
>> 10000 times kmalloc(16) -> 63 cycles kfree -> 78 cycles
>> 10000 times kmalloc(32) -> 72 cycles kfree -> 85 cycles
>> 10000 times kmalloc(64) -> 91 cycles kfree -> 99 cycles
>
> Erm... The fastpath was not touched and the tests primarily exercise the
> fastpath. This is likely some artifact of code placement by the compiler?
>

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


Thread

[RFC v1 2/2] mm: SLUB Freelist randomization Thomas Garnier <thgarnie@google.com> - 2016-05-18 20:00 +0200
  Re: [RFC v1 2/2] mm: SLUB Freelist randomization Christoph Lameter <cl@linux.com> - 2016-05-18 20:30 +0200
    Re: [RFC v1 2/2] mm: SLUB Freelist randomization Thomas Garnier <thgarnie@google.com> - 2016-05-18 20:40 +0200
      Re: [RFC v1 2/2] mm: SLUB Freelist randomization Christoph Lameter <cl@linux.com> - 2016-05-18 21:10 +0200
        Re: [RFC v1 2/2] mm: SLUB Freelist randomization Thomas Garnier <thgarnie@google.com> - 2016-05-18 21:20 +0200
          Re: [RFC v1 2/2] mm: SLUB Freelist randomization Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-05-19 04:10 +0200
            Re: [RFC v1 2/2] mm: SLUB Freelist randomization Thomas Garnier <thgarnie@google.com> - 2016-05-19 22:30 +0200
              Re: [RFC v1 2/2] mm: SLUB Freelist randomization Joonsoo Kim <js1304@gmail.com> - 2016-05-20 04:20 +0200
                Re: [RFC v1 2/2] mm: SLUB Freelist randomization Thomas Garnier <thgarnie@google.com> - 2016-05-20 18:30 +0200
                Re: [RFC v1 2/2] mm: SLUB Freelist randomization Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2016-05-24 07:20 +0200

csiph-web