Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for detecting server CPU hyper-threading technology

A detection method, hyper-threading technology, applied in error detection/correction, instrumentation, generation of response errors, etc., can solve the problem of not reflecting the original number of CPU threads, and achieve the effect of reducing costs

Inactive Publication Date: 2017-01-04
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] At present, in the server factory section, it is necessary to check whether the CPU installed on the server meets the requirements, and because the BIOS can decide whether to use hyperthreading, and hyperthreading plays a certain role in determining the number of original CPU threads, but the current CPU instructions only It can capture the actual total number of threads when hyper-threading is enabled or disabled, but it cannot reflect the real number of original threads of the CPU, so that the CPU with hyper-threading of the same model will be mistaken for none when the BIOS turns off hyper-threading. Hyperthreaded CPU

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The content of the present invention is described in more detail below:

[0018] a) Use the CPUID instruction to read each register of x2APIC, and save it in EDX.

[0019] b) Detect if this count is even or odd.

[0020] c) Make a judgment based on the result of the previous step.

[0021] It is implemented by writing a C++ program, and the factory only needs to execute it after getting the program.

[0022] This method can be used in Intel CPU after Nehalem architecture.

[0023] This method prevents wrong CPUs from being shipped to customers. It can reduce the cost of engineering and factory material control.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method for detecting the server CPU hyper-threading technology, and belongs to the field of computer software development. The method includes the steps that the maximum-number interrupt number is counted through x2APIC to determine whether a corresponding CPU supports the hyper-threading technology or not, no matter whether the CPU is started or stopped through BIOS or not; if the counted number of x2APIC ID is an odd number (in other words, the last binary number of EDX is 1), it is shown that the CPU supports the hyper-threading technology; if the counted number of x2APIC ID is an even number, it is shown that the CPU does not support the hyper-threading technology. By means of the method, it can be prevented that a hyper-threading CPU and a non-hyper-threading CPU which are of the same type are mistakenly installed, and the cost of CPU material control is reduced.

Description

technical field [0001] The invention relates to the field of computer software development, in particular to a detection method for server CPU hyperthreading technology. Background technique [0002] Although increasing the clock frequency of the CPU and increasing the cache capacity can indeed improve the performance, such a CPU performance improvement is technically more difficult. In fact, due to many reasons in the application, the execution unit of the CPU is not fully used. If the CPU cannot read data normally (bus / memory bottleneck), the utilization rate of its execution unit will drop significantly. In addition, most execution threads currently lack ILP (Instruction-Level Parallelism, multiple instructions are executed at the same time) support. All of these have caused the performance of the current CPU to not be fully utilized. Therefore, Intel uses another idea to improve the performance of the CPU, so that the CPU can execute multiple threads at the same time,...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07
CPCG06F11/0721
Inventor 田周鹏
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products