Actions
Feature #8996
openMulti-CPU Binding (MCB) status
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2018-01-25
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
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.
Actions