hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julien Vaudour (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6460) Accelerated time in SLS
Date Wed, 12 Apr 2017 09:39:42 GMT

    [ https://issues.apache.org/jira/browse/YARN-6460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15965614#comment-15965614

Julien Vaudour commented on YARN-6460:

thank you [~leftnoteasy]

> Accelerated time in SLS
> -----------------------
>                 Key: YARN-6460
>                 URL: https://issues.apache.org/jira/browse/YARN-6460
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: scheduler-load-simulator
>            Reporter: Julien Vaudour
>            Assignee: Julien Vaudour
>            Priority: Minor
>         Attachments: YARN-6460.000.patch, YARN-6460.001.patch, YARN-6460-branch-2.000.patch,
> Be able to accelerate time in SLS.To do that, a {{timescalefactor}} parameter is introduced
(default value = 1)
> With if we use a time factor of X, time in simulation will be X times faster than real.
Time in generated CSV will be modified a well to have the same result as if we don't use {{timescalefactor}}.
> For example, it permits to run a simulation of one week of jobs in just one day if we
use {{timescalefactor=7}}
> To do that a ScaleClock object has been introduced, which implements {{org.apache.hadoop.yarn.util.Clock}}.
It also extends {{com.codahale.metrics.Clock}} for metrics reported in csv.
> All objects used for the simulation now use a shared reference to a {{org.apache.hadoop.yarn.util.Clock}}
instance to get current time instead of using {{System.currentTimeMillis()}}
> A new optionnal parameter {{--timescalefactor=<factor>}} has been introduced on
{{slsrun.sh}} script.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org

View raw message