[
https://issues.apache.org/jira/browse/MESOS-9041?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16532713#comment-16532713
]
James Peach commented on MESOS-9041:
------------------------------------
I got a rough prototype working and it does improve build times a little. I
tested on a local VM (4CPU, 8G RAM), with a fully populated cache and {{make
-j4}}.
Unmodified build:
{noformat}
real 9m23.702s
user 8m13.996s
sys 3m32.028s
{noformat}
Agent dependencies broken into libmesos-agent.so:
{noformat}
real 8m4.517s
user 7m23.865s
sys 3m47.629s
{noformat}
So this looks like a nice improvement in at least one configuration.
> Break agent dependencies out of libmesos.
> -----------------------------------------
>
> Key: MESOS-9041
> URL: https://issues.apache.org/jira/browse/MESOS-9041
> Project: Mesos
> Issue Type: Task
> Components: agent, build
> Reporter: James Peach
> Priority: Major
>
> {{libmesos.so}} includes all the dependencies for both the master and the
> agent. This means that is has way more symbols than necessary (causing
> inflated built times), and drags in dependencies (e.g. libnl.so, libblkid.so)
> that are only necessary on the agent. We should attempt to separate the agent
> code out of {{libmesos.so}}, which would improve the build cleanliness and
> hopefully performance.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)