Sub topic 6
CPU features: virtualization, SMT, and integrated graphics
This chapter assumes you know what a core, a thread, and cache are (covered in the CPU basics chapter), and that you know what a socket is. It also assumes you can enter BIOS/UEFI setup. Three CPU features come up often on the A+ Core 1 exam and in daily support work: hardware virtualization, simultaneous multithreading (SMT), and integrated graphics.
Hardware virtualization
Virtualization lets one physical computer run several virtual machines (VMs). Each VM behaves like a separate computer with its own operating system. Software called a hypervisor creates and manages the VMs.
Modern CPUs include instructions that help the hypervisor. Without them, the hypervisor must emulate privileged operations in software, which is slow. With them, the CPU runs guest code directly and switches between guest and host quickly.
| Vendor | CPU virtualization name | Second-level address translation |
|---|---|---|
| Intel | Intel VT-x (VMX) | EPT (Extended Page Tables) |
| AMD | AMD-V (SVM) | RVI / NPT (Nested Page Tables) |
Second-level address translation (SLAT) lets the CPU map guest memory to physical memory in hardware. Some hypervisors need it. Windows Hyper-V and the Windows Sandbox feature, for example, require SLAT.
Intel also offers VT-d and AMD offers AMD-Vi. These are IOMMU features. They let a VM use a physical device, such as a GPU, directly. This is called device passthrough.
Types of hypervisors
- A Type 1 (bare-metal) hypervisor runs directly on the hardware. Examples are VMware ESXi and Microsoft Hyper-V Server.
- A Type 2 (hosted) hypervisor runs as an application inside a normal operating system. Examples are VirtualBox and VMware Workstation.
Enabling virtualization
Most boards ship with virtualization turned off, or a previous owner may have disabled it. The setting lives in BIOS/UEFI, usually under Advanced, CPU Configuration. Look for names such as "Intel Virtualization Technology," "VT-x," "SVM Mode," or "AMD-V."
The usual symptom is a hypervisor that refuses to start a 64-bit guest, or an error that says hardware virtualization is not available. The fix is to enter setup, enable the option, save, and reboot.
You can check the current state from Windows. The systeminfo command prints a line that begins "Hyper-V Requirements." Note that the line changes once Hyper-V is running, because the hypervisor then reports itself.
Get-CimInstance Win32_Processor | Select-Object Name, VirtualizationFirmwareEnabled, SecondLevelAddressTranslationExtensionsVirtualizationFirmwareEnabled shows True when the firmware setting is on. On Linux, look for the CPU flags vmx (Intel) or svm (AMD).
grep -E -o 'vmx|svm' /proc/cpuinfo | sort | uniq -cIf the command prints nothing, the CPU lacks the feature or the firmware has hidden it.
<br>
Simultaneous multithreading (SMT)
SMT lets one physical core run two threads at once. The operating system sees two logical processors for each physical core. Intel calls its version Hyper-Threading Technology (HTT). AMD calls its version SMT.
A core has many execution units, and a single thread often leaves some idle while it waits for data from memory. A second thread can use those idle units. SMT does not double performance. A typical gain is 15 to 30 percent on workloads with many threads, and some workloads gain nothing.
| Item | 6 cores, SMT off | 6 cores, SMT on |
|---|---|---|
| Physical cores | 6 | 6 |
| Logical processors | 6 | 12 |
| Gain on threaded work | Baseline | Roughly 15 to 30 percent |
You can see both numbers in Windows with the command below. When NumberOfLogicalProcessors is twice NumberOfCores, SMT is active.
Get-CimInstance Win32_Processor | Select-Object Name, NumberOfCores, NumberOfLogicalProcessorsOn Linux, lscpu reports "Thread(s) per core." A value of 2 means SMT is on.
lscpu | grep -E 'Model name|Thread|Core|Socket'Reasons to turn SMT off
- Some security mitigations for side-channel attacks recommend it, because two threads on one core share resources.
- A few latency-sensitive or single-thread-bound programs run slightly better without it.
- Licensing for some software counts logical processors, so SMT can raise cost.
The switch is in the same BIOS/UEFI CPU menu, often named "Hyper-Threading" or "SMT Mode."
Integrated graphics
Integrated graphics means the CPU package contains a graphics processor (an iGPU). It uses system RAM instead of its own dedicated video memory. Intel calls its iGPU Intel UHD Graphics or Iris Xe. AMD's CPUs with graphics are called APUs (accelerated processing units) and use Radeon graphics.
Integrated graphics suit office work, web browsing, video playback, and light gaming. They cost less, use less power, and make less heat than a discrete (separate) graphics card. They are slower because they share memory bandwidth with the CPU.
Points that matter in practice
- Video outputs belong to the motherboard. The monitor plugs into the board's HDMI or DisplayPort, not into a card. If the board has no video ports, the iGPU cannot be used.
- Not every CPU has one. Intel CPUs with an "F" suffix, such as the Core i5-12400F, have the iGPU disabled. Many AMD desktop CPUs also lack graphics. These need a discrete card to display anything.
- Shared memory is configurable. BIOS/UEFI often has a setting such as "UMA Frame Buffer Size" or "iGPU Memory" that sets how much RAM the iGPU reserves. A system with 8 GB of RAM and 1 GB reserved leaves 7 GB for the operating system.
- Dual-channel RAM helps. The iGPU reads from system memory, so two matched modules give it more bandwidth. The bandwidth formula appears in the RAM features chapter.
- A discrete card usually takes over. When a graphics card is installed, many boards disable the iGPU or make it a secondary adapter, depending on the "Primary Display" or "Initial Display Output" setting.
Laptops often combine both, with the iGPU for light use and a discrete GPU switched on for demanding tasks, to save battery.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| Hypervisor says hardware virtualization is unavailable | VT-x or AMD-V off in firmware | Enable it in BIOS/UEFI, then power-cycle |
| Virtualization option missing from setup | CPU does not support it, or a vendor locked it | Check the CPU specification sheet |
| Logical processors equal physical cores | SMT disabled, or the CPU has no SMT | Enable SMT in firmware, or confirm the model supports it |
| No display from the motherboard port | CPU has no iGPU (F-series), or a card is installed and set as primary | Use the card's ports, or change the primary display setting |
| Less usable RAM than installed | iGPU reserves part of system memory | Lower the reserved size or add a discrete card |
Exercise
A technician installs VirtualBox on a new desktop with a Core i7 CPU and tries to start a 64-bit guest. It fails with a message that VT-x is not available. Task Manager shows 8 cores and 16 logical processors. What should the technician do first, and what does the 16 tell you?
Show answer
Enter BIOS/UEFI setup, enable Intel Virtualization Technology (VT-x) in the CPU configuration, save, and reboot. The 16 logical processors with 8 cores means SMT (Hyper-Threading) is already enabled, two threads per core. It has no bearing on virtualization, which is a separate setting.
Exercise
A user installs a Core i5-12400F in a board with HDMI and DisplayPort outputs. The monitor is plugged into the board and the screen stays black, though the fans spin. Why, and what are two ways to fix it?
Show answer
The F suffix means the CPU has no integrated graphics, so the board's video ports produce no signal. Fix it by installing a discrete graphics card and using its ports, or by replacing the CPU with a model that has an iGPU, such as the Core i5-12400.