Posted by barwonhack on May 5, 2010 at 8:23am
I think this discussion about server configuration may benefit many. I know it will benefit me.
The facts:
- Ubuntu 9.x on Linode VPS, 540MB RAM
- Aegir
- 50 small sites that get a couple of visits every hour
- a few busy sites that should be able to handle a spikes of, say, 30 concurrent users
- a moderate dose of "module-itis"
- mostly anon users - say 90%
- content and login is not shared between many sites, but a few may use Domain module (or similar)
- using Pressflow
I'm really interested in hearing about how to get the best possible performance from such a setup.
The ambiguities:
- php.ini - need a suggested sample
- my.cnf - need a suggested sample
- apache2.cnf - need a suggested sample
Speculation:
- boost, varnish, mercury?
- use parallel module to serve css, images, etc more quickly?
- inclined to switch all databases to innodb ...?
- Use ssl for /admin - necessary? problematic?

Comments
Parallel
There is a trade off when you parallelize your page assets. When you add multiple hostnames, you force additional dns requests on the user which can take extra time. If your site has a lot of individual images, css and javascript on each page it can offset the additional dns requests required by using Parallel. That being said, we are planning on using that module with a new site soon.
Other tools for testing page load time on the browser end is Firebug + Yslow (http://developer.yahoo.com/yslow/) or Google Page Speed (http://code.google.com/speed/page-speed/).
-Tim
Parallel
Thanks Tim,
I have set up parallel but am using just one subdomain (of a possible 3) as the issue of additional DNS lookups and also suspected the possibly overloading apache.
1) Re DNS lookups - what the the best way manage this? I had read that virtual hosts can be a bit more resource-intensive. Could not find conclusive info here, but some have alluded to removing the wildcard (*:80) from the vhost config as a performance booster.
2) Re Parallel - Does my idea to use one of 3 possible subdomains make sense? I imagine that this minimises the risk of overloading Apache "sessions".
Not sure
Two disclaimers:
Varnish
Thanks ghankstef.
So the use of Boost or Varnish for Aegir managed multisites is not problematic then?
I have been using boost for a while and find it to be a great quick win. I'll probably have a look into varnish in a month or so.
I'll try Boost in some time,
I'll try Boost in some time, but Cacherouter with APC as user-cache works with Aegir 0.4-alpha7
drupal+me: jeweler portfolio