Bug 1849469
Summary: | [OSP16.1]The emulator thread processes are not placed on the cores from NovaComputeCpuSharedSet during real time deployment | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Pei Zhang <pezhang> |
Component: | openstack-nova | Assignee: | OSP DFG:Compute <osp-dfg-compute> |
Status: | CLOSED NOTABUG | QA Contact: | OSP DFG:Compute <osp-dfg-compute> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 16.1 (Train) | CC: | chayang, dasmith, eglynn, jhakimra, jinzhao, juzhang, kchamart, lcapitulino, sbauza, sgordon, stephenfin, vromanso |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-06-22 10:47:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pei Zhang
2020-06-22 01:37:55 UTC
(In reply to Pei Zhang from comment #0) .. > > Actual results: > emulatorpin thread is not located on an isolated core. ^^^ Sorry typo here: remove "not". > $ openstack flavor show rt_1vcpu.flavor
> +----------------------------+-----------------------------------------------
> -----------------------------------------------------------------------------
> -----------------------------------------------------+
> | Field | Value
> |
> +----------------------------+-----------------------------------------------
> -----------------------------------------------------------------------------
> -----------------------------------------------------+
> | OS-FLV-DISABLED:disabled | False
> |
> | OS-FLV-EXT-DATA:ephemeral | 0
> |
> | access_project_ids | None
> |
> | description | None
> |
> | disk | 42
> |
> | extra_specs | {'hw:cpu_policy': 'dedicated',
> 'hw:cpu_realtime': 'yes', 'hw:cpu_realtime_mask': '^0',
> 'hw:emulator_threads_policy': 'isolate', 'hw:mem_page_size': 'large',
> 'hw:pmu': 'False'} |
> | id | f208002f-79ca-40b8-af58-9a2d4b203424
> |
> | name | rt_1vcpu.flavor
> |
> | os-flavor-access:is_public | True
> |
> | properties | hw:cpu_policy='dedicated',
> hw:cpu_realtime='yes', hw:cpu_realtime_mask='^0',
> hw:emulator_threads_policy='isolate', hw:mem_page_size='large',
> hw:pmu='False' |
> | ram | 8192
> |
> | rxtx_factor | 1.0
> |
> | swap | 0
> |
> | vcpus | 2
> |
> +----------------------------+-----------------------------------------------
> -----------------------------------------------------------------------------
> -----------------------------------------------------+
This flavor is incorrect. You need to set 'hw:emulator_threads_policy' to 'share', not 'isolate'.
(In reply to Stephen Finucane from comment #2) > > $ openstack flavor show rt_1vcpu.flavor > > +----------------------------+----------------------------------------------- > > ----------------------------------------------------------------------------- > > -----------------------------------------------------+ > > | Field | Value > > | > > +----------------------------+----------------------------------------------- > > ----------------------------------------------------------------------------- > > -----------------------------------------------------+ > > | OS-FLV-DISABLED:disabled | False > > | > > | OS-FLV-EXT-DATA:ephemeral | 0 > > | > > | access_project_ids | None > > | > > | description | None > > | > > | disk | 42 > > | > > | extra_specs | {'hw:cpu_policy': 'dedicated', > > 'hw:cpu_realtime': 'yes', 'hw:cpu_realtime_mask': '^0', > > 'hw:emulator_threads_policy': 'isolate', 'hw:mem_page_size': 'large', > > 'hw:pmu': 'False'} | > > | id | f208002f-79ca-40b8-af58-9a2d4b203424 > > | > > | name | rt_1vcpu.flavor > > | > > | os-flavor-access:is_public | True > > | > > | properties | hw:cpu_policy='dedicated', > > hw:cpu_realtime='yes', hw:cpu_realtime_mask='^0', > > hw:emulator_threads_policy='isolate', hw:mem_page_size='large', > > hw:pmu='False' | > > | ram | 8192 > > | > > | rxtx_factor | 1.0 > > | > > | swap | 0 > > | > > | vcpus | 2 > > | > > +----------------------------+----------------------------------------------- > > ----------------------------------------------------------------------------- > > -----------------------------------------------------+ > > This flavor is incorrect. You need to set 'hw:emulator_threads_policy' to > 'share', not 'isolate'. It works as expected after setting with "share". Thanks Stephen. Best regards, Pei |