lowRISC / ibex

Ibex is a small 32 bit RISC-V CPU core, previously known as zero-riscy.
https://www.lowrisc.org
Apache License 2.0
1.36k stars 533 forks source link

Parallelize UVM tests without LSF (in CI) #1085

Open imphil opened 4 years ago

imphil commented 4 years ago

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:

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.

rswarbrick commented 4 years ago

I suggest that we make a small change to the riscv-dv code to allow job-array-style submission. That will be much more efficient with LSF too.

Then we can use GNU parallel or even xargs -P (which avoids all the --will-cite nonsense) in non-enterprise environments :-)

bekbeis commented 2 months ago

Hi @imphil @rswarbrick,

I was wondering if you've found an option to parallelize UVM tests without using LSF.

I ran the tests locally on my machine, and it took 4313 minutes (almost 3 days) to complete. Is this normal behavior when running on a single machine? Is there any benefit to using LSF (as suggested in the documentation) on a single machine to speed up the execution of the testbench?

I would appreciate any recommendations on optimizing/speeding up the process.

Thank you in advance for any guidance you can provide.