Git Product home page Git Product logo

Comments (6)

HaiyangDING avatar HaiyangDING commented on May 21, 2024

@Pia-Narmadha

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?

from clusterdata.

Pia-Narmadha avatar Pia-Narmadha commented on May 21, 2024

Some tasks in the batch_task table has a plan cpu in decimal.
can you explain what does the plan cpu of 0.5 mean in the batch_task table?

from clusterdata.

HaiyangDING avatar HaiyangDING commented on May 21, 2024

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.

from clusterdata.

Pia-Narmadha avatar Pia-Narmadha commented on May 21, 2024

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?

from clusterdata.

HaiyangDING avatar HaiyangDING commented on May 21, 2024

Does this mean that the scheduler doesn't allocate the entire cpu for a task?

For batch, no

Do tasks share cpu?

Yes

Do batch jobs run on cpu allocated for service jobs?

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.

Can you suggest an way to allocate resources to a task if we simulate the scheduler?

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.

from clusterdata.

HaiyangDING avatar HaiyangDING commented on May 21, 2024

Closing the issue.

from clusterdata.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.