Memcached

From Wikitech
Revision as of 18:02, 27 September 2004 by Jamesday (Talk)

Jump to: navigation, search

Memcached configuration.

Contents

new allocations

New size 140 megabytes each. Something between 20 and 35 megabytes of swap each appears not to cause high page fault rates.

serverIPcopiestotalswp each
dalembert 207.142.131.194 1 140 8m
Bart 207.142.131.227 7 980 0
Bayle 207.142.131.228 7 980 4m
Isidore 207.142.131.231 2 280 0
Moreri 207.142.131.232 2 280 0
Yongle 207.142.131.237 13 1820 11m
Avicenna 207.142.131.249 1 140 14m
total 334620 


swap analysis

Done just after peak time after 8 days running (for most systems). New size 140M

serverIPcopiestotalpg fltCPU mincachedMC swapped
dalembert 207.142.131.194 1 180 43000 12 214756 48m
Tingxi 207.142.131.195 1 180 143000 25 252928k 112m
Alrazi 207.142.131.196 1 180 192000 39 13232k 127m
Friedrich 207.142.131.197 1 180 170000 61 234780 147m
Harris 207.142.131.199 1 180 142000 31 304076 136m
Bart 207.142.131.227 6 1080 1820 516 441232 87m/15e
Bayle 207.142.131.228 6 1080 3734 425 420096 127m/21e
Isidore 207.142.131.231 2 360 2486 224 341100 44m/22e
Moreri 207.142.131.232 2 360 52000 693 352312 71m/35e
Yongle 207.142.131.237 12 2160 16574 208 13640k 476m/40e
Avicenna 207.142.131.249 1 180 101000 14 212892k 54m
total 346120    


new

180MB each. 200MB looked too tight for two copies each on Isidore and Moreri. Vincent wasn't used because it showed cyclic high RAM use. Switched on 19 September 2004.

serverIPcopiestotalnotes
dalembert 207.142.131.194 1 180  
Tingxi 207.142.131.195 1 180  
Alrazi 207.142.131.196 1 180  
Friedrich 207.142.131.197 1 180  
Harris 207.142.131.199 1 180  
Bart 207.142.131.227 6 1080  
Bayle 207.142.131.228 6 1080  
Isidore 207.142.131.231 2 360  
Moreri 207.142.131.232 2 360  
Yongle 207.142.131.237 12 2160  
Avicenna 207.142.131.249 1 180  
total 346120 

CommonSettings.php entry looks like this:

$wgMemCachedServers = array(
        "207.142.131.194:11000", # dalembert
        "207.142.131.195:11000", # tingxi
        "207.142.131.196:11000", # alrazi
        "207.142.131.197:11000", # friedrich
        "207.142.131.199:11000", # harris
        "207.142.131.227:11000", # bart
        "207.142.131.227:11001",
        "207.142.131.227:11002",
        "207.142.131.227:11003",
        "207.142.131.227:11004",
        "207.142.131.227:11005",
        "207.142.131.228:11000", # bayle
        "207.142.131.228:11001",
        "207.142.131.228:11002",
        "207.142.131.228:11003",
        "207.142.131.228:11004",
        "207.142.131.228:11005",
        "207.142.131.231:11000", # isidore
        "207.142.131.231:11001",
        "207.142.131.232:11000", # moreri
        "207.142.131.232:11001",
        "207.142.131.237:11000", # yongle
        "207.142.131.237:11001",
        "207.142.131.237:11002",
        "207.142.131.237:11003",
        "207.142.131.237:11004",
        "207.142.131.237:11005",
        "207.142.131.237:11006",
        "207.142.131.237:11007",
        "207.142.131.237:11008",
        "207.142.131.237:11009",
        "207.142.131.237:11010",
        "207.142.131.237:11011",
        "207.142.131.249:11000", # avicenna
);

old

512MB each, used prior to 19 September 2004.

serverIPcopiestotalnotes
Rabanus 207.142.131.239 4 2048 moving to squid
Yongle 207.142.131.237 4 2048 keeping - runs stats job
Bart 207.142.131.227 2 1024  
Bayle 207.142.131.228 2 1024  
total 126144 

CommonSettings.php entry looked like this:

$wgMemCachedServers = array(
        "207.142.131.227:11000", # bart
        "207.142.131.227:11001",
        "207.142.131.228:11000", # bayle
        "207.142.131.228:11001",
        "207.142.131.237:11000", # yongle
        "207.142.131.237:11001",
        "207.142.131.237:11002",
        "207.142.131.237:11003",
        "207.142.131.239:11000", # rabanus
        "207.142.131.239:11001",
        "207.142.131.239:11002",
        "207.142.131.239:11003"
);
Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox