mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "y123456yz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-7855) re-compile the mesos src-code is too slow,when I re-compile the src code, it took half hour.
Date Fri, 04 Aug 2017 06:23:00 GMT

    [ https://issues.apache.org/jira/browse/MESOS-7855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114013#comment-16114013
] 

y123456yz commented on MESOS-7855:
----------------------------------

[~kaysoky]

I only add a printf in function " Future<bool> MesosContainerizerProcess::_launch",
 add following:
LOG(INFO) << "containerizer end"; //yang add
  

then I enter src:
cd mesos-1.2.0
cd src
make -j 8
I wait half hour.




[root@bogon mesos-1.2.0/src]# top
top - 14:22:06 up 31 days, 18:38,  3 users,  load average: 6.88, 4.71, 2.29
Tasks: 270 total,   1 running, 269 sleeping,   0 stopped,   0 zombie
%Cpu0  :  0.7 us,  0.7 sy,  0.0 ni, 39.7 id, 58.8 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu1  :  0.7 us,  0.0 sy,  0.0 ni, 30.9 id, 68.4 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu2  :  0.4 us,  0.0 sy,  0.0 ni, 90.4 id,  9.2 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu3  :  0.4 us,  0.7 sy,  0.0 ni,  3.3 id, 95.6 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu4  : 12.8 us,  2.2 sy,  0.0 ni, 81.3 id,  3.7 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu5  : 18.4 us,  2.6 sy,  0.0 ni, 72.8 id,  6.2 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu6  :  2.2 us,  2.2 sy,  0.0 ni,  0.0 id, 95.5 wa,  0.0 hi,  0.0 si,  0.0 st
%Cpu7  :  0.4 us,  0.4 sy,  0.0 ni, 63.0 id, 36.3 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem :  7939116 total,  6464936 free,  1193584 used,   280596 buff/cache
KiB Swap:  8126460 total,  6384936 free,  1741524 used.  6416940 avail Mem 

> re-compile the mesos src-code is too slow,when I re-compile the src code, it took  half
hour. 
> ----------------------------------------------------------------------------------------------
>
>                 Key: MESOS-7855
>                 URL: https://issues.apache.org/jira/browse/MESOS-7855
>             Project: Mesos
>          Issue Type: Bug
>          Components: cmake
>    Affects Versions: 1.2.0
>            Reporter: y123456yz
>
> re-compile the mesos src-code is too slow
> I only add a line of printf. bug when I re-compile the src code, it took  half hour.

> my god.
> how to speed up the src-compile.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message