libdlog: reduce pipe size 1 MB → 64 kB 90/193790/2 accepted/tizen/unified/20181127.133459 submit/tizen/20181127.023050
authorMichal Bloch <m.bloch@samsung.com>
Mon, 26 Nov 2018 10:36:39 +0000 (11:36 +0100)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 27 Nov 2018 02:29:45 +0000 (02:29 +0000)
commitf842886e9039138325e25cf474e595c84b4708f9
tree47b16902f6ece6264f3e2d9cd4b76aed1cdeebd2
parent99ac8115037c20da2c40eacbc6fbe6f15cd9fea7
libdlog: reduce pipe size 1 MB → 64 kB

It seems that the amount of memory allocated specifically to pipes
can be limited and on most targets it seems to be set to 16k pages,
that is, 64 MB raw memory. Pipes are currently very aggressively
sized which burns through this limit easily. 64 kB is still quite
a lot and should not cause any problems to prolific loggers while
heavily culling memory wastage.

Change-Id: I5465de849a279e23ca0d6bae34bceddd6136db16
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
src/logger/logger.c