⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.smi

📁 rtai-3.1-test3的源代码(Real-Time Application Interface )
💻 SMI
字号:
From - Thu Apr 17 15:00:00 2003Delivered-To: mante@aero.polimi.itReturn-Path: <vitor@ead.eee.ufmg.br>Received: from kom.mpipf-muenchen.mpg.de (kom.mpisoc.mpg.de [::ffff:192.129.1.23])  by mailsrv.aero.polimi.it with esmtp; Tue, 08 Apr 2003 11:43:29 +0200Received: from 10.1.1.2 by kom.mpipf-muenchen.mpg.de (InterScan E-Mail VirusWall NT); Tue, 08 Apr 2003 12:01:34 +0100 (GMT Daylight Time)Received: from laboiss4.intra.mpipf-muenchen.mpg.de ([10.129.2.94] helo=vitor.smk.mpipf.de)	by duch1.intra.mpipf-muenchen.mpg.de with smtp (Exim 4.05)	id 192pwl-00046M-00; Tue, 08 Apr 2003 12:03:19 +0200Received: by vitor.smk.mpipf.de (sSMTP sendmail emulation); Tue, 8 Apr 2003 06:59:47 -0300Date: Tue, 8 Apr 2003 06:59:47 -0300From: Vitor Angelo <vitor@ead.eee.ufmg.br>To: Jason Perron <jaysnleep@hotmail.com>,      Paolo Mantegazza <mantegazza@aero.polimi.it>Subject: Re:  README.SMIMessage-ID: <20030408095947.GA24422@ead.eee.ufmg.br>Reply-To: Vitor Angelo <vitor@ead.eee.ufmg.br>References: <F35reImjVTML0SLFqE40000ebe8@hotmail.com> <3E918821.375F7268@aero.polimi.it>Mime-Version: 1.0Content-Type: multipart/mixed; boundary="=_mailsrv-11827-1049795016-0001-2"Content-Disposition: inlineIn-Reply-To: <3E918821.375F7268@aero.polimi.it>User-Agent: Mutt/1.3.28iOrganization: Max-Planck-InstitutX-Operating-System: Debian GNU/Linux 3.0r1 - Woody - Kernel 2.4.20X-Mozilla-Status: 8013X-Mozilla-Status2: 00000000X-UIDL: 1049795016.11837_0.mailsrv,S=6828This is a MIME-formatted message.  If you see this text it means that yourE-mail software does not support MIME-formatted messages.--=_mailsrv-11827-1049795016-0001-2Content-Type: text/plain; charset=us-asciiContent-Transfer-Encoding: 7bitContent-Disposition: inlineX-Mime-Autoconverted: from 8bit to 7bit by courier 0.39Hi Jason and Paolo,# # It is committed into the RTAI CVS as README.SMI.# Initially I'd send the attached file, but I have some comments first.I've resent the whole file (because of the ^M you mentioned Jason) butjust the two chipsets were added.I'd like to suggest a different approach, and to know your opinions. TheTCO1_CNT is just one of the sources of SMIs and I had to "leave theregister alone" since the watchdog driver is been used. The GBL_SMI_ENseems a really global configuration option, that will not avoid the SMIevents, just the interrupts. That's what bothers me...I think that trying to avoid all possible sources of SMIs (caused byLinux or BIOS), for all chipsets, would be a nightmare. Since I startedto use a ACPI enabled kernel (just the shutdown button feature) thejitter problems stopped, _without_ disabling the GBL_SMI_EN bit!My suggestion is (in a "if it doesn't work, go to the next" basis):1) Disable all APM features at the BIOS, and, if possible, select   configurations like "ventilation" to be fixed, and not handled by   BIOS or ACPI OS.2) Compile a kernel with ACPI enabled, keeping the PM settings at the   BIOS fixed (not automatic) or handled by a ACPI OS where possible.3) Disable the GBL_SMI_EN bit, and test if any device driver has stopped   working properly. Check a possible system overheating in case it's   not possible to keep the ventilation on all the time.Maybe I'm just too paranoid about damaging the computer, but it's goodthat the jitter problem seems to be gone without disabling the SMI. I'dalso like to add that both the watchdog driver and the ACPI kernel workwith the GBL_SMI_EN bit disabled "by hand".I hope my english is not too bad and the information is more or lessclear. I'm looking forward to know your opinions.Regards,Vitor.P.S. One last comment is that the specs for the 3 chipsets (ICH[234])     look the same for the important bits in the SMI_EN register, so we     could use the same code to disable the SMIs.--=_mailsrv-11827-1049795016-0001-2Content-Type: text/plain; charset=iso-8859-1Content-Transfer-Encoding: 8bitContent-Disposition: attachment; filename="README.SMI-new"RTAI and SMI============When using RTAI with certain Intel-based motherboards, some people have experienced seemingly unexplainable latencies (many 100's of microseconds) that are unacceptable for the real-time performance they need.  In the pastit was believed that this problem was being caused by "buslocking" and thatthe only way around it was to use different hardware.  While buslocking my indeed be a problem in multiprocessor systems, if youare using a single processor system the more likely culprit is System Management Interrupts (SMI) being generated by the power management hardware on the board.  In a real time environment, SMIs are evil.  First off, they can last for hundreds of microseconds, which for many RT applications causes unacceptable jitter.  Second, they are the highest priority interrupt in the system (even higher than the NMI).  Third, you can't intercept the SMI because it doesn't have a vector in the CPU.  Instead, when the CPU gets an SMI it goes into a special mode and jumps to a hard-wired location in a special SMM address space (which is probably in BIOS ROM).  This is why RTAI can't help -- SMI interrupts are essentially "invisible" to it.This problem has been most likely experienced by anybody trying to use RTAIon a fairly modern (probably Pentium or higher) Intel based platform.  Thisis unfortunate, because Intel motherboards and CPUs are cheap, fast and ingood supply, which makes them excellent candidates for low cost solutionsthat we (and our bosses) all love and want.The good news is that in many (maybe even all) cases, SMIs can be disabledby twiddling a few bits in the system controller on the motherboard.  Thepurpose of this document is to tell you how to do that based on what typeof controller you have.Intel 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -