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

haosdent edited comment on MESOS-4663 at 2/13/16 3:57 PM:
----------------------------------------------------------

The time elapsed here is because
* launch 9 tasks
* allocation interval
* framework enable checkpoint and write to disk bring some overhead
* fork call
* process::reap interval

executor also have a sleep when exit, bring something like
{code}
Killing the following process trees:
[

]
Killing the following process trees:
[

]
{code}
after test.

Because this is a example test, I prefer to 
* Change num_shards and tasks_per_shard to 2
* add {{export MESOS_ALLOCATION_INTERVAL="500ms"}} in 
{{persistent_volume_framework_test.sh}}


was (Author: [email protected]):
The time elapsed here is because
* launch 9 tasks
* allocation interval
* framework enable checkpoint and write to disk bring some overhead
* fork call
* process::reap interval

executor also have a sleep when exit, bring something like
{code}
Killing the following process trees:
[

]
Killing the following process trees:
[

]
{code}
after test.

Because this is a example test, I prefer to 
* Change num_shards and tasks_per_shard to 2
* add {{export MESOS_ALLOCATION_INTERVAL="200ms"}} in 
{{persistent_volume_framework_test.sh}}

> Speed up ExamplesTest.PersistentVolumeFramework
> -----------------------------------------------
>
>                 Key: MESOS-4663
>                 URL: https://issues.apache.org/jira/browse/MESOS-4663
>             Project: Mesos
>          Issue Type: Improvement
>            Reporter: haosdent
>            Assignee: haosdent
>            Priority: Minor
>              Labels: test
>
> Currently {{ExamplesTest.PersistentVolumeFramework}} elapsed time: 
> {code}
> [       OK ] ExamplesTest.PersistentVolumeFramework (5860 ms)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to