r56200 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r56199‎ | r56200 | r56201 >
Date:18:22, 11 September 2009
Author:midom
Status:ok
Tags:
Comment:
* Upstream 1.3.0
* Changed defaults in config template to match
8-core boxes with lots of memory
* -O3 build
* Removed stripping
Modified paths:
  • /debs/php5-xcache/debian/changelog (modified) (history)
  • /debs/php5-xcache/debian/rules (modified) (history)
  • /debs/php5-xcache/debian/xcache.ini.in (modified) (history)

Diff [purge]

Index: debs/php5-xcache/debian/changelog
@@ -1,3 +1,13 @@
 2+xcache (1.3.0-1wm1) unstable; urgency=low
 3+
 4+ * Upstream 1.3.0
 5+ * Changed defaults in config template to match
 6+ 8-core boxes with lots of memory
 7+ * -O3 build
 8+ * Removed stripping
 9+
 10+ -- Domas Mituzas <domas@wikimedia.org> Fri, 11 Sep 2009 20:40:00 +0300
 11+
212 xcache (1.2.2-3) unstable; urgency=low
313
414 * Implement clean target in debian/rules (Closes: #489739).
Index: debs/php5-xcache/debian/rules
@@ -4,7 +4,7 @@
55 DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
66 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
77
8 -CFLAGS = -O2 -Wall -fno-strict-aliasing
 8+CFLAGS = -O3 -Wall -fno-strict-aliasing
99
1010 # Enable IEEE-conformant floating point math on alphas (not the default)
1111 ifeq (alpha-linux-gnu,$(DEB_HOST_GNU_TYPE))
@@ -88,7 +88,7 @@
8989 dh_installdocs README AUTHORS THANKS
9090 dh_installexamples xcache.ini Decompiler.class.php
9191 dh_installchangelogs ChangeLog
92 - dh_strip
 92+ #dh_strip
9393 dh_link
9494 dh_compress
9595 dh_fixperms
Index: debs/php5-xcache/debian/xcache.ini.in
@@ -5,7 +5,7 @@
66 zend_extension = @EXTDIR@/xcache.so
77
88 [xcache.admin]
9 -xcache.admin.enable_auth = On
 9+xcache.admin.enable_auth = Off
1010 # Configure this to use admin pages
1111 ; xcache.admin.user = "mOo"
1212 ; xcache.admin.pass = md5($your_password)
@@ -18,20 +18,20 @@
1919 xcache.shm_scheme = "mmap"
2020 ; to disable: xcache.size=0
2121 ; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
22 -xcache.size = 16M
 22+xcache.size = 128M
2323 ; set to cpu count (cat /proc/cpuinfo |grep -c processor)
24 -xcache.count = 1
 24+xcache.count = 8
2525 ; just a hash hints, you can always store count(items) > slots
26 -xcache.slots = 8K
 26+xcache.slots = 2K
2727 ; ttl of the cache item, 0=forever
28 -xcache.ttl = 0
 28+xcache.ttl = 600
2929 ; interval of gc scanning expired items, 0=no scan, other values is in seconds
30 -xcache.gc_interval = 0
 30+xcache.gc_interval = 300
3131
3232 ; same as aboves but for variable cache
33 -xcache.var_size = 0M
34 -xcache.var_count = 1
35 -xcache.var_slots = 8K
 33+xcache.var_size = 16M
 34+xcache.var_count = 4
 35+xcache.var_slots = 2K
3636 ; default ttl
3737 xcache.var_ttl = 0
3838 xcache.var_maxttl = 0

Status & tagging log