Cpu not set limit

I have two services, the server CPU is 36 core, now I hope that the two services use the CPU is competitive relationship,How to set resources?

 resources {
        cpu    = 36

Hi @kaolula

cpu is in MHz, there is a cores setting: resources Stanza - Job Specification | Nomad by HashiCorp