-
Notifications
You must be signed in to change notification settings - Fork 400
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
Cpu numbers #28
Comments
In 'batch_instance.csv', I found 8673603 records with 'real_cpu_max' larger than 1, which takes up ~54% of total records. To this end, I think it is a reasonable number. Maybe I misunderstand your question? |
Some tasks in the batch_task table has a plan cpu in decimal. |
It means that we estimate that each instance of the task would use 0.5 cpu. It is only a reference for us to decide where to put an instance of this batch task (and it is not accurate). As you know, the actual cpu used per instance is recorded in batch_instance and does not equal to the plan cpu. |
Does this mean that the scheduler doesn't allocate the entire cpu for a task? Do tasks share cpu? Do batch jobs run on cpu allocated for service jobs? Can you suggest an way to allocate resources to a task if we simulate the scheduler? |
For batch, no
Yes
Tasks (jobs) have several priorities. For the tasks that have low priority, they can run on cpus that are allocated for service jobs, at a risk of being preempted whenever service jobs need the resource. The mechanism behind cannot be described with a few words but many works are using similar idea.
Well, I am not sure if I could help on this one. In fact, you can make any assumption about the priority of tasks as long as it helps with your goal of the design. We could have further discussion on this if you have more specific need. Just send me email and we could also have a call about this. |
Closing the issue. |
in batch instance table 9th column is "real_cpu_max: maximum cpu numbers of actual instance running"
most of the values in this column are less than 1 it was also mention that cpu is not normalized. can anyone explain the reason for it?
The text was updated successfully, but these errors were encountered: