lowRISC / lowRISC/ibex

Parallelize UVM tests without LSF (in CI)

Open
#1,085 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Component:Tool-and-Build Type:Enhancement
Dominant language
SystemVerilog
Stars
2.1k
Forks
810
Avg merge
5d 23h
Merged PRs (30d)
9

Description

RISC-V DV gives us the option to specify a job submission command to parallelize simulation jobs. We do not have a full LSF setup, and I don't really want to build one for CI.

I see two options:

  • Find a small tool which we can use as job submission command, similar to bsub -Is (which is what the RISCV-DV documentation suggests).
  • Parallelize on the dv/uvm/core_ibex/Makefile level
  • Manually split up the tests and run them in parallel through Azure Pipelines jobs, i.e. run make TEST=test_1, make TEST=test_2, etc. in parallel.

I think I'd prefer Option 1. I did have a quick look at GNU parallel and I'm not sure it's up to the job, but I'm quite sure there must be something out there.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with dv/uvm/core_ibex/Makefile and the RISC-V DV documentation describing the bsub-style job submission command. Compare the three proposed approaches, then verify that the UVM tests run in parallel in CI without requiring LSF and that the chosen approach is reflected in the Azure Pipelines jobs.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure
Domain
ci-cd, testing-qa
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.