public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Understanding schedular and slab allocation
@ 2004-12-15  3:48 krishna
  2004-12-15  4:17 ` Mike Waychison
  0 siblings, 1 reply; 6+ messages in thread
From: krishna @ 2004-12-15  3:48 UTC (permalink / raw)
  To: Linux Kernel

Hi all,

Can any one refer me any documentation to understand the schedular and 
slab allocation in the kernel.

Regards,
Krishna Chaitanya

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Understanding schedular and slab allocation
  2004-12-15  3:48 Understanding schedular and slab allocation krishna
@ 2004-12-15  4:17 ` Mike Waychison
  0 siblings, 0 replies; 6+ messages in thread
From: Mike Waychison @ 2004-12-15  4:17 UTC (permalink / raw)
  To: krishna; +Cc: Linux Kernel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

krishna wrote:
> Hi all,
> 
> Can any one refer me any documentation to understand the schedular and
> slab allocation in the kernel.
> 
> Regards,
> Krishna Chaitanya
> -
> 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/

The slab allocator was published by Jeff Bonwick for USENIX in 94:

http://citeseer.ist.psu.edu/compress/0/papers/cs/8756/http:zSzzSzluthien.nuclecu.unam.mxzSz~miguelzSzbonwick.ps.gz/bonwick94slab.ps

(original link appears to be down)

- --
Mike Waychison
Sun Microsystems, Inc.
1 (650) 352-5299 voice
1 (416) 202-8336 voice

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE:  The opinions expressed in this email are held by me,
and may not represent the views of Sun Microsystems, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBv7rXdQs4kOxk3/MRAgWLAJ4rX++mRGBMAWtX2Aic9fDm7APUYgCfeFsG
3hRr2+2E6RA6mJhTlc+4FAE=
=J1k4
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Understanding schedular and slab allocation
@ 2004-12-15 12:35 krishna
  0 siblings, 0 replies; 6+ messages in thread
From: krishna @ 2004-12-15 12:35 UTC (permalink / raw)
  To: Mike Waychison; +Cc: Linux Kernel


Thank you very much.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Understanding schedular and slab allocation
       [not found] <3byuD-2Z8-7@gated-at.bofh.it>
@ 2004-12-15 12:40 ` Sven Krohlas
  2004-12-15 12:53   ` Jens Axboe
  0 siblings, 1 reply; 6+ messages in thread
From: Sven Krohlas @ 2004-12-15 12:40 UTC (permalink / raw)
  To: linux-kernel

Hi,


> Can any one refer me any documentation to understand the schedular and
> slab allocation in the kernel.

I just had a talk about the slab allocator.
You can find my slides at http://krohlas.de/
They are in German, but the last slide contains all sources which
are mainly available online and are written in English.

I hope this will help you.

Btw: is anybody working on the slab allocator as described in Bonwicks
2001 paper?

cu
-- 
Gegen Softwarepatente, für eine freie Gesellschaft!
http://softwarepatente.com/
http://patinfo.ffii.org/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Understanding schedular and slab allocation
  2004-12-15 12:40 ` Sven Krohlas
@ 2004-12-15 12:53   ` Jens Axboe
  0 siblings, 0 replies; 6+ messages in thread
From: Jens Axboe @ 2004-12-15 12:53 UTC (permalink / raw)
  To: Sven Krohlas; +Cc: linux-kernel

On Wed, Dec 15 2004, Sven Krohlas wrote:
> Btw: is anybody working on the slab allocator as described in Bonwicks
> 2001 paper?

Linux already fronts the slab allocator with per-cpu pools.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Understanding schedular and slab allocation
       [not found]   ` <3bGVh-1jR-23@gated-at.bofh.it>
@ 2004-12-15 16:14     ` Sven Krohlas
  0 siblings, 0 replies; 6+ messages in thread
From: Sven Krohlas @ 2004-12-15 16:14 UTC (permalink / raw)
  To: linux-kernel

Hi,

>> Btw: is anybody working on the slab allocator as described in Bonwicks
>> 2001 paper?
> Linux already fronts the slab allocator with per-cpu pools.

Well, I haven't had such a deep look at the 2001 version (my topic was
the current implementation)...
I've seen the per-cpu pools. Bonwick talks in his paper of allocations in
guaranteed constant time (using vmem). Is this goal already achived in
Linux? There is a lock protecting the cache_chain, doesn't this hurt
scalability?

And what about the other improvements?

-vmem for allocating general resources
-A user-space implementation (well I know, that's a bit off topic here..)

Are they already implemented/is anybody working on this or are there
already known better solutions than Bonwicks suggestions?

Greetings,
Sven

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-12-15 16:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-15  3:48 Understanding schedular and slab allocation krishna
2004-12-15  4:17 ` Mike Waychison
  -- strict thread matches above, loose matches on Subject: below --
2004-12-15 12:35 krishna
     [not found] <3byuD-2Z8-7@gated-at.bofh.it>
2004-12-15 12:40 ` Sven Krohlas
2004-12-15 12:53   ` Jens Axboe
     [not found] <3bGLs-1dr-3@gated-at.bofh.it>
     [not found] ` <3bGLs-1dr-1@gated-at.bofh.it>
     [not found]   ` <3bGVh-1jR-23@gated-at.bofh.it>
2004-12-15 16:14     ` Sven Krohlas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox