[oe] [meta-oe][PATCH v2 2/3] systemd: enable logging to disk instead of tmpfs

Andreas Müller schnitzeltony at googlemail.com
Thu Mar 8 17:15:45 UTC 2012


On Tue, Mar 6, 2012 at 1:21 PM, Andreas Müller
<schnitzeltony at googlemail.com> wrote:
> On Tue, Mar 6, 2012 at 12:59 PM, Otavio Salvador
> <otavio at ossystems.com.br> wrote:
>> On Tue, Mar 6, 2012 at 06:22, Koen Kooi <koen at dominion.thruhere.net> wrote:
>>> +       # create dir for journal
>>> +       install -d ${D}${localstatedir}/log/journal
>>
>> I am not against it creating the path for storing the logs but the
>> default configuration ought to use a memory buffer IMO.
>>
>> What people think?
>>
> To make up mind: Which amount of memory do we expect per boot
> approximately (uncompressed/compressed)?
>
I played around with this a bit: After boot & starting GUI there is a
single file of ~600kB. After working with the system for few days the
contents of the folder grew up to ~40MB.

After reading journal design document [1] it seems that 'rotating'
scales with maximum size available.

My personal opinion: since RAM is most expensive prefer flash/disk as
default ( as Koen already pointed out this default can be simply
overridden by deleting /var/log/journal [2][3] )

so

Acked-by: Andreas Müller <schnitzeltony at googlemail.com>

Andreas

[1] https://docs.google.com/document/pub?id=1IC9yOXj7j6cdLLxWEBAGRL6wl97tFxgjLUEHIX3MSTs
[2] http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-March/038427.html
[3] http://lwn.net/Articles/474968/




More information about the Openembedded-devel mailing list