[lkml]   [2021]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC PATCH] mm, slob: Rewrite SLOB using segregated free list
On Wed, Oct 20, 2021 at 01:55:35PM +0000, Hyeonggon Yoo wrote:
> Hello linux-mm, I rewrote SLOB using segregated free list,
> to understand SLOB and SLUB more. It uses more kilobytes
> of memory (48kB on 32bit tinyconfig) and became 9~10x faster.
> But after rewriting, I thought I need to discuss what SLOB is for.
> According to Matthew, SLOB is for small machines whose
> memory is 1~16 MB.
> I wonder adding 48kB on SLOB memory for speed/lower latency
> is worth or harmful.
> So.. questions in my head now:
> - Who is users of SLOB?
> - Is it harmful to add some kilobytes of memory into SLOB?
> - Is it really possible to run linux under 10MB of RAM?
> (I failed with tinyconfig.)
> - What is the boundary to make decision between SLOB and SLUB?

There certainly are people running Linux on such small machines.
Nicolas Pitre talked about what it takes to do it in a series of
four articles:

It's been a couple of decades since I was last paid to work on such a
system. Dave Taht (cc'd) may be able to help you find people who
care about these use cases. And maybe they can tell you whether 9-10x
faster for 48kB extra memory consumption is a good tradeoff for them.

 \ /
  Last update: 2021-10-20 16:11    [W:0.078 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site