linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Zijlstra <peterz@infradead.org>
To: Jean-Michel Hautbois <jhautbois@gmail.com>
Cc: Darren Hart <dvhart@linux.intel.com>, linux-rt-users@vger.kernel.org
Subject: Re: Slub support with PREEMPT_RT ?
Date: Thu, 18 Nov 2010 12:04:38 +0100	[thread overview]
Message-ID: <1290078278.2109.1327.camel@laptop> (raw)
In-Reply-To: <AANLkTikV5Jykyv4+SBcJQqMvzMSUsXOUdXTQU5rOhcs_@mail.gmail.com>

On Thu, 2010-11-18 at 09:59 +0100, Jean-Michel Hautbois wrote:
> 
> My real question is the impact of SLUB compared to SLAB on the
> determinism of kmalloc usage and all caches.
> I did some tests using SLUB instead of SLAB on a small (MPC5200 /
> 400Mhz / 16k i-cache and 16k d-cache), and slub seems to be better.
> But I don't know if there is a possibility to tune SLAB in order to
> get good results. 

That's a pretty pointless idea, non of them are deterministic allocators
-- nor can they be, page allocation involves the whole vm reclaim path.

If you want determinism don't allocate memory.

      reply	other threads:[~2010-11-18 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-17 16:18 Slub support with PREEMPT_RT ? Jean-Michel Hautbois
2010-11-18  1:23 ` Darren Hart
2010-11-18  8:40   ` Peter Zijlstra
2010-11-18  8:59     ` Jean-Michel Hautbois
2010-11-18 11:04       ` Peter Zijlstra [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1290078278.2109.1327.camel@laptop \
    --to=peterz@infradead.org \
    --cc=dvhart@linux.intel.com \
    --cc=jhautbois@gmail.com \
    --cc=linux-rt-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).