Aiur – ZelluX 的技术博客

Security, Kernel, Virtualization, Programming Languages

The SLUB allocator

65 views | without comments

http://lwn.net/Articles/229984/

http://lwn.net/Articles/229096/

Christoph’s response is the SLUB allocator, a drop-in replacement for the slab code. SLUB promises better performance and scalability by dropping most of the queues and related overhead and simplifying the slab structure in general, while retaining the current slab allocator interface.

Wider use may be in the cards: the SLUB allocator is in the -mm tree now and could hit the mainline as soon as 2.6.22. The simplified code is attractive, as is the claimed 5-10% performance increase. If merged, SLUB is likely to coexist with the current slab allocator (and the SLOB allocator intended for small systems) for some time. In the longer term, the current slab code may be approaching the end of its life.

Related Posts

Written by zellux

September 24th, 2008 at 11:14 pm

Posted in Computer System

Tagged with ,

Leave a Reply

FireStats icon Powered by FireStatsBetter Tag Cloud