[memcached] plindner, r513: Updated docs to reflect that memcached w...

commits at code.sixapart.com commits at code.sixapart.com
Tue Apr 17 00:24:55 UTC 2007


Updated docs to reflect that memcached works fine on macs with recent libevent

U   trunk/server/ChangeLog
U   trunk/server/README
D   trunk/server/doc/OSX.txt


Modified: trunk/server/ChangeLog
===================================================================
--- trunk/server/ChangeLog	2007-04-16 23:33:43 UTC (rev 512)
+++ trunk/server/ChangeLog	2007-04-17 00:24:53 UTC (rev 513)
@@ -1,7 +1,11 @@
+
 2007-04-16  Paul Lindner  <lindner at inuus.com>
 
+	* Add notes to README about MacOS, libevent and kqueue.
+
 	* Windows Patch integration -- part 1, warnings elimination.
 
+	
 2007-04-12  Paul Lindner  <lindner at mirth.inuus.com>
 
 	* Allow changes to the verbosity level of the server with a new

Modified: trunk/server/README
===================================================================
--- trunk/server/README	2007-04-16 23:33:43 UTC (rev 512)
+++ trunk/server/README	2007-04-17 00:24:53 UTC (rev 513)
@@ -11,6 +11,9 @@
      
 You want the epoll-lt patch (level-triggered).
 
+If you're using MacOS, you'll want libevent 1.1 or higher to deal with 
+a kqueue bug.
+
 Also, be warned that the -k (mlockall) option to memcached might be
 dangerous when using a large cache.  Just make sure the memcached machines
 don't swap.  memcached does non-blocking network I/O, but not disk.  (it

Deleted: trunk/server/doc/OSX.txt
===================================================================
--- trunk/server/doc/OSX.txt	2007-04-16 23:33:43 UTC (rev 512)
+++ trunk/server/doc/OSX.txt	2007-04-17 00:24:53 UTC (rev 513)
@@ -1,28 +0,0 @@
-memcached is slow on OSX because:
-
-   -- OSX's kqueue is broken
-   -- OSX's TCP_NOPUSH stuff is different/broken
-
-So there are reports that this works and make memcached fast on OS X:
-
-    Two simple changes:
-
-    First, in memcached.c (in the memcached source directory) add
-    (anywhere above line 105, which reads #ifdef TCP_NOPUSH) the line:
-
-    #undef TCP_NOPUSH
-
-    I just added it on the line above the #ifdef line.
-
-    Rebuild memcached (just do a make && sudo make install, don.t need
-    to re-run configure if you.ve already done it)
-
-    then, set the environment variable EVENT_NOKQUEUE to 1
-
-    in csh and derivatives: setenv EVENT_NOKQUEUE 1
-
-    in sh and derivatives (like bash): export EVENT_NOKQUEUE=1
-
-    then start memcached, and it should be fast (it certainly made a
-    difference here)
-




More information about the memcached-commits mailing list