Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is L in Figure 6? #3

Closed
JobQiu opened this issue Oct 7, 2019 · 3 comments
Closed

What is L in Figure 6? #3

JobQiu opened this issue Oct 7, 2019 · 3 comments

Comments

@JobQiu
Copy link

JobQiu commented Oct 7, 2019

What is L in Fig. 6 and how do you ensure the predicted degree parallelism is greater than the number of executors assigned to this job?

@JobQiu
Copy link
Author

JobQiu commented Oct 7, 2019

L is the number of executors.
Hongzi: We used a masking mechanism to ensure the executor assignment is always valid. These are the code snippets for computing the mask https://github.com/hongzimao/decima-sim/blob/master/actor_agent.py#L424-L451

@JobQiu JobQiu closed this as completed Oct 7, 2019
@karlhjm
Copy link

karlhjm commented Oct 26, 2019

I'm a little confused about the “source_job” variable of the above link code. Do you know what it stands for?

@hongzimao
Copy link
Owner

hongzimao commented Oct 28, 2019

source_job is where the executor comes from. If source_job == curr_job, it means allocating the executor won't pay a migration cost (simulating how Spark shuts down/launches a JVM, more details see section 3 and 4 for "moving cost" in the paper).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants