Influence of SMI on real-time performance

Source: Internet
Author: User

Influence of SMI on real-time performance

System Management Interrupt (SMI) is used to provide extended functions, such as simulating older hardware devices. You can also use them to manage some systems. Like NMI, SMI also uses hard connections to send signals directly to the CPU, and cannot be blocked.

After the CPU receives the SMI signal, it enters the system management mode (SMM: system management mode ). In this mode, a very high-level processing routine processes SMI. Generally, SMM is provided by the system management firmware, such as BIOS or EFI.

The most widely used SMI is traditional hardware simulation. The most common example is the simulation of a soft drive. If the system does not have a soft drive, you can replace it with a virtualized Network Management simulator. When the operating system tries to access a floppy disk, the SMI will be triggered, and a trusted processor will provide a simulated device to the operating system. The operating system can operate the simulation device like an old-fashioned device.

SMI significantly affects the real-time performance of the real-time system. Because the occurrence and processing of SMI are invisible to the operating system. If the SMI processing function is not well written, it will take many milliseconds to execute. During this period, the operating system cannot seize the processing functions of SMI even if needed. If you do not configure the system carefully, this will trigger a periodic high latency and prolong the system response time. Unfortunately, SMI processing functions are usually used by manufacturers to manage CPU temperature and fan control, which cannot be disabled. We hope hardware vendors will pay attention to this issue in the future.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.