diff options
author | Brad Fitzpatrick <brad@danga.com> | 2003-06-18 08:19:29 +0000 |
---|---|---|
committer | Brad Fitzpatrick <brad@danga.com> | 2003-06-18 08:19:29 +0000 |
commit | a5b8ef85e59579a692f49d182a0ff8efcd689983 (patch) | |
tree | 2b1addbddece4ea0c3c31c41d50cf90a6bde2d1a /BUILD | |
parent | aa96811ee2d20cbf8fc188756e7cd0ee78e40333 (diff) | |
download | memcached-a5b8ef85e59579a692f49d182a0ff8efcd689983.tar.gz |
change maxsize to an unsigned int
git-svn-id: http://code.sixapart.com/svn/memcached/trunk@29 b0b603af-a30f-0410-a34e-baf09ae79d0b
Diffstat (limited to 'BUILD')
-rw-r--r-- | BUILD | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -0,0 +1,20 @@ +Ideally, you want to make a static binary, otherwise the dynamic +linker pollutes your address space with shared libs right in the +middle. + +Make sure your libevent has epoll (Linux) or kqueue (BSD) support. +Using poll or select only is slow, and works for testing, but +shouldn't be used for high-traffice memcache installations. + +To build libevent with epoll on Linux, you need: + +#define __NR_epoll_create 254 +#define __NR_epoll_ctl 255 +#define __NR_epoll_wait 256 + +One okay (but not ideal) place to shove them is /usr/include/asm/unistd.h + +BSD users are luckier, and will get kqueue support by default. + + + |