Project

General

Profile

Feature #8996

Multi-CPU Binding (MCB) status

Added by Predrag Zečević almost 2 years ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2018-01-25
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Hi all,
tried to get MySQL 8.0.4 compiled on /hipster OI, and stuck into missing structures, mainly in sys/processor.h and sys/procset.h headers definition

Compilation has failed with:

mysql-8.0.4-rc/sql/resourcegroups/platform/thread_attrs_api_solaris.cc:80:19: error: 'PA_TYPE_CPU' was not declared in this scope
   uint32_t flags= PA_TYPE_CPU | PA_AFF_STRONG;
                   ^~~~~~~~~~~
mysql-8.0.4-rc/sql/resourcegroups/platform/thread_attrs_api_solaris.cc:80:33: error: 'PA_AFF_STRONG' was not declared in this scope
   uint32_t flags= PA_TYPE_CPU | PA_AFF_STRONG;
                                 ^~~~~~~~~~~~~
mysql-8.0.4-rc/sql/resourcegroups/platform/thread_attrs_api_solaris.cc:84:49: error: 'processor_affinity' was not declared in this scope
   if (processor_affinity(&ps, &nids, ids, &flags) != 0)

More on that:
https://blogs.oracle.com/observatory/multi-cpu-binding-mcb
https://docs.oracle.com/cd/E36784_01/html/E36872/processor-affinity-2.html

What are chances to get those features in illumos too?

Regards.

History

#1

Updated by Predrag Zečević 7 months ago

It is also about Percona Server 8...

I see it is handled in https://github.com/OpenIndiana/oi-userland/pull/4718/files#diff-5c0d5e07c18806bdf600f6bab19d081c

Oracle has update: https://blogs.oracle.com/solaris/multi-cpu-binding-mcb-v2

I guess, this (then) can be closed.
Regards.

Also available in: Atom PDF