port memcached into linux kernel

2013-06-14 Thread Li Jianguo
Hello, everybody. We try to port memcachced server to linux kernel. This project is free and open source(https://github.com/jgli/kmemcache). At this time, it gets higher performance . Here is a test diagram, and it reaches about 30% quicker response. Test enviroment: server: Intel(R) Xeon(R) CP

memcached will always assign/allocate 1 page to a slab class w/o memory limit consideration

2013-06-14 Thread Tinou Bao
Hi, Saw something interesting today, hoping someone can confirm. If I run memcached with these settings: memcached -vv -m 1m -I 1m -p -t 12 -U 0 -D _ -f 1.05 There are 182 slab classes. I've set the max memory to 1 meg and my page size to 1 meg. So in theory memcached should only allocate

Re: memcached will always assign/allocate 1 page to a slab class w/o memory limit consideration

2013-06-14 Thread dormando
> Hi, > > Saw something interesting today, hoping someone can confirm. If I run > memcached with these settings: > > memcached -vv -m 1m -I 1m -p -t 12 -U 0 -D _ -f 1.05 > > There are 182 slab classes. I've set the max memory to 1 meg and my page size > to 1 meg. So in theory memcached shoul