summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorBrad Fitzpatrick <brad@danga.com>2003-06-18 08:19:29 +0000
committerBrad Fitzpatrick <brad@danga.com>2003-06-18 08:19:29 +0000
commita5b8ef85e59579a692f49d182a0ff8efcd689983 (patch)
tree2b1addbddece4ea0c3c31c41d50cf90a6bde2d1a /BUILD
parentaa96811ee2d20cbf8fc188756e7cd0ee78e40333 (diff)
downloadmemcached-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--BUILD20
1 files changed, 20 insertions, 0 deletions
diff --git a/BUILD b/BUILD
new file mode 100644
index 0000000..d364d3f
--- /dev/null
+++ b/BUILD
@@ -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.
+
+
+