[DRBD-user] How to set big cpu-mask using Linstor?

Oleksandr N o.s.neuimin at gmail.com
Thu Nov 28 14:14:15 CET 2019


Hello,

I have a processor with 88 CPUs .
I want to aply  cpu-mask using linstor-controller.
And  I have not found examples how I can do it.
Can you help me and write solution?

The next steps do not work.
linstor  resource-definition  drbd-options {res} --cpu-mask=8,0,0
linstor  resource-definition  drbd-options {res} --cpu-mask="8,0,0"

After applying next command
linstor  resource-definition  drbd-options {res} --cpu-mask=800000000000
I got next log
kernel: drbd {res}: Overflow in bitmap_parse(800000000000), truncating to
88 bits
In such way I can set only 32 bits mask.
E.g.
'linstor  resource-definition  drbd-options {res} --cpu-mask=80'
works well.

Also it does not work if I change drbd resource config file to
options
{
cpu-mask 800000000000;
}
OR
options
{
cpu-mask 8,0,0;
}

But if the next command
drbdsetup resource-options {res} --cpu-mask=8,0,0
is used, I can set the needed mask.

So How to use   'linstor' cmd to set big cpu-mask?
Or How to change drbd resource config file in such case?

BR,
Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20191128/65572b3b/attachment.htm>


More information about the drbd-user mailing list