Skip to content

Conversation

@puranjaymohan
Copy link

The max-cpu parameter is currently unused by the script and therefore vmtest defaults to 2 CPU. There is not parameter available to specify the amount of memory to give to the vm, for this the vmtest defaults to 4G.

These low defaults(specifically the memory) sometimes cause the bpf seltests to sporadically fail. So, add the option to specify memory and also start using the max-cpu parameter with vmtest.

The max-cpu parameter is currently unused by the script and therefore
vmtest defaults to 2 CPU. There is not parameter available to specify
the amount of memory to give to the vm, for this the vmtest defaults to
4G.

These low defaults(specifically the memory) sometimes cause the bpf
seltests to sporadically fail. So, add the option to specify memory and
also start using the max-cpu parameter with vmtest.

Signed-off-by: Puranjay Mohan <[email protected]>
@theihor
Copy link
Contributor

theihor commented Dec 29, 2025

@puranjaymohan this PR is very similar to #203, I am going to merge in some bits from here and update #203. run-vmtest action will check the env variables for memory and cores to set for vmtest.

Thanks!

@theihor theihor closed this Dec 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants