Bugfix/cpu topology (#10)
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
Some checks failed
Java CI with Gradle / build (push) Has been cancelled
This commit is contained in:
parent
d42900afe7
commit
7be1c407fe
6 changed files with 12 additions and 12 deletions
|
|
@ -43,7 +43,7 @@ task tagLatestArchImage(type: Exec) {
|
|||
dependsOn buildArchImage
|
||||
|
||||
commandLine 'podman', 'tag', "${project.name}-arch:${project.version}",\
|
||||
"${project.name}:latest"
|
||||
"${project.name}-arch:latest"
|
||||
}
|
||||
|
||||
task buildLatestArchImage {
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ public class Configuration implements Dto {
|
|||
public int currentCpus = 1;
|
||||
|
||||
/** The cpu sockets. */
|
||||
public int cpuSockets;
|
||||
public int sockets;
|
||||
|
||||
/** The dies per socket. */
|
||||
public int diesPerSocket;
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@
|
|||
- [ "-cpu", "${ vm.cpuModel }" ]
|
||||
<#if vm.maximumCpus gt 1>
|
||||
- [ "-smp", "1,maxcpus=${ vm.maximumCpus }\
|
||||
<#if vm.cpuSockets gt 0>,sockets=${ vm.cpuSockets }</#if>\
|
||||
<#if vm.sockets gt 0>,sockets=${ vm.sockets }</#if>\
|
||||
<#if vm.diesPerSocket gt 0>,cores=${ vm.diesPerSocket }</#if>\
|
||||
<#if vm.coresPerDie gt 0>,cores=${ vm.coresPerDie }</#if>\
|
||||
<#if vm.threadsPerCore gt 0>,cores=${ vm.threadsPerCore }</#if>" ]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue