← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1593526] [NEW] compute host reports wrong cpu topology

 

Public bug reported:

This is my host's cpu:
ubuntu@jfz1r04h06:~$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                72
On-line CPU(s) list:   0-71
Thread(s) per core:    2
Core(s) per socket:    18
Socket(s):             2
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 63
Model name:            Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
Stepping:              2
CPU MHz:               1209.386
CPU max MHz:           3600.0000
CPU min MHz:           1200.0000
BogoMIPS:              4590.93
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              46080K
NUMA node0 CPU(s):     0-71
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc dtherm ida arat pln pts

Seen from nova-scheduler.

Update host state from compute node:
ComputeNode(cpu_allocation_ratio=16.0,cpu_info='{"vendor": "Intel",
"model": "Haswell-noTSX", "arch": "x86_64", "features": ["pge", "avx",
"xsaveopt", "clflush", "sep", "syscall", "tsc_adjust", "vme", "dtes64",
"invpcid", "msr", "sse", "xsave", "vmx", "erms", "xtpr", "cmov", "smep",
"nx", "est", "pat", "monitor", "smx", "pbe", "lm", "tsc", "fpu", "fxsr",
"tm", "sse4.1", "pae", "sse4.2", "pclmuldq", "pcid", "fma", "tsc-
deadline", "mmx", "osxsave", "cx8", "mce", "de", "tm2", "ht", "dca",
"pni", "abm", "popcnt", "mca", "pdpe1gb", "apic", "fsgsbase", "f16c",
"pse", "ds", "invtsc", "lahf_lm", "aes", "avx2", "sse2", "ss", "ds_cpl",
"arat", "bmi1", "bmi2", "acpi", "ssse3", "rdtscp", "cx16", "pse36",
"mtrr", "movbe", "pdcm", "rdrand", "x2apic"], "topology": {"cores": 18,
"cells": 1, "threads": 2, "sockets": 1}}'

Expected result
===============

"topology": {"cores": 18, "cells": 1, "threads": 2, "sockets": 2}}'
<<--------------

Actual result
=============

"topology": {"cores": 18, "cells": 1, "threads": 2, "sockets": 1}}'

This is most likely libvirt bug, reported here :
https://bugzilla.redhat.com/show_bug.cgi?id=1347458

** Affects: nova
     Importance: High
     Assignee: Eli Qiao (taget-9)
         Status: New


** Tags: libvirt

** Tags added: libvirt

** Changed in: nova
     Assignee: (unassigned) => Eli Qiao (taget-9)

** Changed in: nova
   Importance: Undecided => High

** Description changed:

  This is my host's cpu:
  ubuntu@jfz1r04h06:~$ lscpu
  Architecture:          x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
  CPU(s):                72
  On-line CPU(s) list:   0-71
  Thread(s) per core:    2
  Core(s) per socket:    18
  Socket(s):             2
  NUMA node(s):          1
  Vendor ID:             GenuineIntel
  CPU family:            6
  Model:                 63
  Model name:            Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
  Stepping:              2
  CPU MHz:               1209.386
  CPU max MHz:           3600.0000
  CPU min MHz:           1200.0000
  BogoMIPS:              4590.93
  Virtualization:        VT-x
  L1d cache:             32K
  L1i cache:             32K
  L2 cache:              256K
  L3 cache:              46080K
  NUMA node0 CPU(s):     0-71
  Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc dtherm ida arat pln pts
  
- 
- Seem from nova.
+ Seen from nova-scheduler.
  
  Update host state from compute node:
  ComputeNode(cpu_allocation_ratio=16.0,cpu_info='{"vendor": "Intel",
  "model": "Haswell-noTSX", "arch": "x86_64", "features": ["pge", "avx",
  "xsaveopt", "clflush", "sep", "syscall", "tsc_adjust", "vme", "dtes64",
  "invpcid", "msr", "sse", "xsave", "vmx", "erms", "xtpr", "cmov", "smep",
  "nx", "est", "pat", "monitor", "smx", "pbe", "lm", "tsc", "fpu", "fxsr",
  "tm", "sse4.1", "pae", "sse4.2", "pclmuldq", "pcid", "fma", "tsc-
  deadline", "mmx", "osxsave", "cx8", "mce", "de", "tm2", "ht", "dca",
  "pni", "abm", "popcnt", "mca", "pdpe1gb", "apic", "fsgsbase", "f16c",
  "pse", "ds", "invtsc", "lahf_lm", "aes", "avx2", "sse2", "ss", "ds_cpl",
  "arat", "bmi1", "bmi2", "acpi", "ssse3", "rdtscp", "cx16", "pse36",
  "mtrr", "movbe", "pdcm", "rdrand", "x2apic"], "topology": {"cores": 18,
  "cells": 1, "threads": 2, "sockets": 1}}'
  
  Expected result
  ===============
  
  "topology": {"cores": 18, "cells": 1, "threads": 2, "sockets": 2}}'
  <<--------------
  
  Actual result
  =============
  
  "topology": {"cores": 18, "cells": 1, "threads": 2, "sockets": 1}}'
  
- 
- This is most likely libvirt bug, reported here : https://bugzilla.redhat.com/show_bug.cgi?id=1347458
+ This is most likely libvirt bug, reported here :
+ https://bugzilla.redhat.com/show_bug.cgi?id=1347458

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1593526

Title:
  compute host reports wrong cpu topology

Status in OpenStack Compute (nova):
  New

Bug description:
  This is my host's cpu:
  ubuntu@jfz1r04h06:~$ lscpu
  Architecture:          x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Byte Order:            Little Endian
  CPU(s):                72
  On-line CPU(s) list:   0-71
  Thread(s) per core:    2
  Core(s) per socket:    18
  Socket(s):             2
  NUMA node(s):          1
  Vendor ID:             GenuineIntel
  CPU family:            6
  Model:                 63
  Model name:            Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz
  Stepping:              2
  CPU MHz:               1209.386
  CPU max MHz:           3600.0000
  CPU min MHz:           1200.0000
  BogoMIPS:              4590.93
  Virtualization:        VT-x
  L1d cache:             32K
  L1i cache:             32K
  L2 cache:              256K
  L3 cache:              46080K
  NUMA node0 CPU(s):     0-71
  Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc dtherm ida arat pln pts

  Seen from nova-scheduler.

  Update host state from compute node:
  ComputeNode(cpu_allocation_ratio=16.0,cpu_info='{"vendor": "Intel",
  "model": "Haswell-noTSX", "arch": "x86_64", "features": ["pge", "avx",
  "xsaveopt", "clflush", "sep", "syscall", "tsc_adjust", "vme",
  "dtes64", "invpcid", "msr", "sse", "xsave", "vmx", "erms", "xtpr",
  "cmov", "smep", "nx", "est", "pat", "monitor", "smx", "pbe", "lm",
  "tsc", "fpu", "fxsr", "tm", "sse4.1", "pae", "sse4.2", "pclmuldq",
  "pcid", "fma", "tsc-deadline", "mmx", "osxsave", "cx8", "mce", "de",
  "tm2", "ht", "dca", "pni", "abm", "popcnt", "mca", "pdpe1gb", "apic",
  "fsgsbase", "f16c", "pse", "ds", "invtsc", "lahf_lm", "aes", "avx2",
  "sse2", "ss", "ds_cpl", "arat", "bmi1", "bmi2", "acpi", "ssse3",
  "rdtscp", "cx16", "pse36", "mtrr", "movbe", "pdcm", "rdrand",
  "x2apic"], "topology": {"cores": 18, "cells": 1, "threads": 2,
  "sockets": 1}}'

  Expected result
  ===============

  "topology": {"cores": 18, "cells": 1, "threads": 2, "sockets": 2}}'
  <<--------------

  Actual result
  =============

  "topology": {"cores": 18, "cells": 1, "threads": 2, "sockets": 1}}'

  This is most likely libvirt bug, reported here :
  https://bugzilla.redhat.com/show_bug.cgi?id=1347458

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1593526/+subscriptions


Follow ups