[systemd-devel] Does systemd compression makes use of multi core

Lennart Poettering lennart at poettering.net
Tue Feb 21 18:16:53 UTC 2017


On Thu, 12.01.17 12:09, P.R.Dinesh (pr.dinesh at gmail.com) wrote:

> Hi,
> 
> We are using systemd version 229.  Our processor is x86 octa core.
> I have configured systemd coredump (coredump.conf) for storage:external and
> compression:yes.
> 
> One of our daemon consumes lots of ram memory (Around 10Gb).  When it got
> crashed, systemd-coredump utility took almost three hours( I have disabled
> the resource limitation) to save the compressed coredump.  It is
> compressing to xz format.
> 
> How could i improve this time taken for compression.  Does systemd coredump
> compression utility makes use of the octa core? or does it uses only a
> single core?  Is there any other way to handle this case better?

We are using liblzma and do not use any special settings with that. If
that library can do multicore compression we use it. If not, we don't.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list