Ticket #2482 (assigned enhancement)
Use pbzip2 instead of bzip2 by default
|Reported by:||petzsch||Owned by:||benedikt|
|Priority:||normal||Milestone:||ispCP ω 1.2.0|
|Component:||Backend (Engine)||Version:||ispCP ω 1.0.7|
|Severity:||Don't know||Keywords:||debian squeeze|
Description (last modified by benedikt) (diff)
At present Dual-Core and Quad-Core server systems are running compression jobs (logs and backups) only on one cpu core as bzip2 is not able to do multithreading.
The recomeded replacement pbzip2 scales to all availbile cores on the system and so for compression scales almost linear better decrasing log rotating/backup times.
I would recomend to run pbzip2 with low priority so the rest of the server doesn't get to slow. for example:
REPLACE: CMD_BZIP = /bin/bzip2 BY: CMD_BZIP = /usr/bin/nice -n19 /usr/bin/pbzip2
pbzip2 is included in Debian Lenny 5.0. Btw: The parallell implementation for gzip is called pigz and will be included in Debian Squeeze.
- Owner set to benedikt
- Status changed from new to assigned