lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080403083231.GB20132@wotan.suse.de>
Date:	Thu, 3 Apr 2008 10:32:31 +0200
From:	Nick Piggin <npiggin@...e.de>
To:	Pekka Enberg <penberg@...helsinki.fi>
Cc:	Linux Memory Management List <linux-mm@...ck.org>,
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	Christoph Lameter <clameter@....com>
Subject: Re: [rfc] SLQB: YASA

On Thu, Apr 03, 2008 at 11:24:00AM +0300, Pekka Enberg wrote:
> Hi Nick,
> 
> On Thu, Apr 03, 2008 at 09:57:25AM +0200, Nick Piggin wrote:
> > > It's a completely different design of the core allocator algorithms
> > > really.
> > >
> > > It probably looks quite similar because I started with slub.c, but
> > > really is just the peripheral supporting code and structure. I'm never
> > > intending to try to go through the pain of incrementally changing SLUB
> > > into SLQB. If SLQB is found to be a good idea, then it could maybe get
> > > merged.
> 
> On Thu, Apr 3, 2008 at 11:13 AM, Nick Piggin <npiggin@...e.de> wrote:
> >  And also I guess I don't think Christoph would be very happy about
> >  it :) He loves higher order allocations :)
> >
> >  The high level choices are pretty clear and I simply think there might
> >  be a better way to do it. I'm not saying it *is* better because I simply
> >  don't know, and there are areas where the tradeoffs I've made means that
> >  in some situations SLQB cannot match SLUB.
> 
> So do you disagree with Christoph's statement that we should fix page
> allocator performance instead of adding queues to SLUB?

It's not just adding queues to SLUB, by any means (SLUB effectively
already has queues anyway, with it's MIN_PARTIAL thing).

I think some page allocator performance can be improved (see my patch
to remove the atomic refcounting for example). But in other cases
the page allocator just has to do a lot more work and fixing it would
just involve removing some of those things.

> I also don't
> think higher order allocations are the answer for regular boxes but I
> can see why they're useful for HPC people with huge machines.

I don't disagree with what you say. SLQB doesn't prevent them from being
used.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ