On 2024-01-16, Otto Moerbeek <[email protected]> wrote:
> On Tue, Jan 16, 2024 at 08:16:38AM +0100, Janne Johansson wrote:
>
>> Den tis 16 jan. 2024 kl 01:16 skrev Gustavo Rios <[email protected]>:
>> > Hi folks.
>> > I have a simple question :  How many cores does OBSD support ?
>> 
>> amd64 says
>> 
>> #define MAXCPUS 64 /* bitmask */
>> 
>> but different arches have different limits.
>
> But do note that OpenBSD is not great in using many cores, expect it
> to not scale in a linear way. It's best to make decisison on actual
> measurments.

It can vary a lot depending on what you're actually doing on the
machine; pure computation will scale better than file access, for
example. Keep an eye on "spin" in top(1) while testing. If you're seeing
significant numbers for this, adding cores is not all that likely to
help.


Reply via email to