Sunday, 18 July 2010

Managing Portage's Disk Usage

Even if you mount /var/tmp/portage as a tmpfs type portage still uses your hard drive a lot. To ensure that portage doesn't interfere with other programs that have a higher level of io-demand you need to say a special option in /etc/make.conf

PORTAGE_IONICE_COMMAND="ionice -c 3 -p \${PID}"
"-c 3" indicates that portage should only use idle hdd time for it's operations.

No comments:

Post a Comment