[ovirt-users] Re: VM CPU Pinning

2021-03-11 Thread lavi.buchnik--- via Users
Hi Arik,

You are right. I tried this syntax and it worked:
olvm-vmcontrol -m  -u api_cpu_pin@internal -v  -c setvcpu -s 
0-19,40-59 -e

(Pinning to 40 Physical cpus).

Will see how to convert a long list of digits to the shorten syntax...

Thanks,
Lavi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QA3TX7FDH62DF4OYHTYURMSWDT75MVSL/


[ovirt-users] Re: VM CPU Pinning

2021-03-11 Thread Arik Hadas
On Thu, Mar 11, 2021 at 5:20 PM lavi.buchnik--- via Users 
wrote:

> Hi Arik,
>
> I'm using this tool to pin the VM cpu's:
> olvm-vmcontrol -m  -u api_cpu_pin@internal -v  -c setvcpu -s
> 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55
> -e
>

So there's probably a bug in that olvm-vmcontrol thingie, I don't know how
it generates the pinning string
You can write your own script to generate a shorter one :) or update to 4.4
and use the auto-pinning feature


>
> Thanks,
> Lavi
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/NLZX6QLZ4IWUPG4G6TWHYRYLYXVYQMSV/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LYL7NDWPGXI5HX2BYSQAKBOMI4NECDE5/


[ovirt-users] Re: VM CPU Pinning

2021-03-11 Thread lavi.buchnik--- via Users
Hi Arik,

I'm using this tool to pin the VM cpu's:
olvm-vmcontrol -m  -u api_cpu_pin@internal -v  -c setvcpu -s 
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55
 -e

Thanks,
Lavi
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NLZX6QLZ4IWUPG4G6TWHYRYLYXVYQMSV/


[ovirt-users] Re: VM CPU Pinning

2021-03-11 Thread Arik Hadas
On Thu, Mar 11, 2021 at 4:27 PM lavi.buchnik--- via Users 
wrote:

> Hi,
>
> When trying to pin a VM CPU's to Physical CPU's, I'm getting this error in
> case the number of physical CPU slots are > 35 (e.g. 40):
>
> Error attempting to pin CPUs.
> Full error: Fault reason is "Operation Failed". Fault detail is "[size
> must be between 0 and 4000, Attribute: vmStatic.cpuPinning]". HTTP response
> code is "400". HTTP response message is "Bad Request".
>
> It is working for me up to 35 physical CPU's. but above it, I get that
> error.
>
> Can you please tell what this error means and how to overcome it?
> Version we are using is: 4.3.6.6-1.0.9.el7
>

You've specified a pinning-string that is longer than 4K characters - the
pinning string shouldn't be that long..


>
> Thanks,
> Lavi
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
> Privacy Statement: https://www.ovirt.org/privacy-policy.html
> oVirt Code of Conduct:
> https://www.ovirt.org/community/about/community-guidelines/
> List Archives:
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/TBC5WUEKU7Y4KGKFG4JFU7IGSXJL6K7R/
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HTBQ4Y6QF2W6H3YSV4ITXREG25NAUKQM/