[dvsim] Add ability to set cpu, ram and disk usage for each job
@jdonjdon is already working on this.
Since May 23, 2022.
- Dominant language
- SystemVerilog
- Stars
- 3.6k
- Forks
- 1.1k
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 141
Description
This does not apply when running the job locally.
When running jobs on external machines, the load balancing systems (LSF, GCP, SunGrid etc.) provide the ability to set the resource constraints to be able to more effectively schedule jobs. The jobs requesting lower ram / disk typically get prioritized first. For our internal GCP method, we already need this capability to exist. Currently, these requirements are hard-coded (1 CPU, 4G RAM, 8G disk), which has been sufficient for DV simulations. However, for Verilator and synthesis, the RAM needs are higher.
We need to be able to set these resource requirements on a per job basis similar to how #6661 talks about setting the wall clock timeout. It will look something like this:
job_cpu: 4
job_ram: 8192
job_disk: 16384
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.