On Thu, Aug 1, 2019 at 1:01 AM James Smart <jsmart2...@gmail.com> wrote:
>
> On 7/30/2019 7:31 PM, Ming Lei wrote:
> > Hi James,
> >
> > Could the default hw queue count be set as numa node number? This way
> > should work
> > fine most of times.
> >
> > Thanks,
> > Ming Lei
> >
>
> Well... I could. But I have 2 reservations:
> - I assume most systems will be 2 sockets thus 2 numa nodes - there's
> something appealing to have at least 2 per socket in this case.

I remembered 4 or more might be often seen on AMD platform,
and it won't be bigger than 8 usually. If there is more numa nodes,
the total memory should be bigger for more hw queues.

> - I do like having a fixed value as it means there is a fixed
> expectation for what the max is and doesn't vary by platform.

You can cap it to one max number, such as 8.

Thanks,
Ming Lei

Reply via email to