I noticed our web project (Drupal) runs slower when it's using memcached in the virtual box. The page load time is more the twice as fast without memcached. I haven't noticed any unnatural memcached behavior.
The virtual box is (using vagrant):
- Debian Squeeze 607
- 1 CPU core (ICH motherboard driver)
- 4G ram
- SSD drive (ICH driver)
The Drupal specific settings are:
$conf['cache_backends'][] = 'sites/all/modules/contrib/memcache/memcache.inc';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
$conf['cache_default_class'] = 'MemCacheDrupal';
$conf['memcache_key_prefix'] = 'oursite_';
Just to compare it to a native (non virtualized) environment - on the same project memcached improves 10-20% of performance.
Any idea? Is there anything where I could continue the investigation?