You are not logged in.

#1 2007-08-07 16:27:08

sacarde
Member
Registered: 2006-07-14
Posts: 365

SLAB allocatoro or SLUB unqueued allocator ?

Hi,
I read about this question about scheduler..... why last kernel 2.6..22 standard archlinux I find:

CONFIG_SLAB=y
# CONFIG_SLUB is not set
# CONFIG_SLOB is not set


I think to find slub acttive...

that is the meaning ?



thankyou

Offline

#2 2007-08-07 18:45:46

kishd
Member
Registered: 2006-06-14
Posts: 399

Re: SLAB allocatoro or SLUB unqueued allocator ?

SLUB has to be set through menuconfig, xconfig etc when recompiling the kernel. I found SLUB to be faster.


---for there is nothing either good or bad, but only thinking makes it so....
Hamlet, W Shakespeare

Offline

#3 2007-08-07 19:03:53

sacarde
Member
Registered: 2006-07-14
Posts: 365

Re: SLAB allocatoro or SLUB unqueued allocator ?

I dont know how arch developers choose slab !!

Offline

#4 2007-08-07 20:06:27

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: SLAB allocatoro or SLUB unqueued allocator ?

sacarde wrote:

I dont know how arch developers choose slab !!

It's the safer choice since slub is still experimental and could be buggy for many people.  Slab is still the default choice in kernel config, though eventually slub will replace it.  If you want slub you can always recompile the kernel - it's not particularly difficult and a useful thing to learn if you've never done it before.

Offline

#5 2007-08-07 22:51:48

Mefju
Member
From: Poland
Registered: 2006-07-12
Posts: 104

Re: SLAB allocatoro or SLUB unqueued allocator ?

sacarde wrote:

I dont know how arch developers choose slab !!

Same here. System with SLUB enabled is more responsive.

Offline

Board footer

Powered by FluxBB