Categories
linux sysadmin

adventures with cgroups for resource control

What? Control Groups aka cgroups – see the docs . Resource control and monitoring. Some examples follow for throttling i/o speed(s) for a process control group (cgroup).

Categories
php

PHP 5.4 + xcache -> PHP 5.6 + Zend OpCache memory usage

In relatively unscientific tests, it seems moving from PHP5.4 with xcache to PHP 5.6 with Zend’s OpCache can lead to approximately 50% memory reduction. (xcache was set to have a 64mb size, Zend OpCache is also using 64mb of memory).