| 1. |
Solve : Fact or False? Windows vs Linux OS interrupts? |
|
Answer» So I was on the phone with a engineer from a international automation company that I cant specify here, because I dont want to bash the company name for what I feel is a engineer who might not know what he is talking about. While I myself do not know everything, the conversation I had about a problem with software with statistical reporting from sensors throughout the entire automation machine seemed wrong. To me it seems like they have some coding issues and they are just trying to sell us on the Linux version vs fixing flaws in their statistics portion of the software.Bingo.I used to work in automation software. But I do not have a quick answer to the question. An Intel CPU can handle a number of hardware interrupts. An IBM compatible Desktop PC is NOT well suited to get time-sensitive data over a network. Unless the data itself is "smart" and has time stamps embedded in the data. In any case, for a critical application, no standard off-the-shelf system software should be used except a package that has been made for machine automation. The people who do this use tools available from Intel or IBM. An often a custom motherboard has to be used. Here is a general reference about the hardware interrupts for an Intel system. http://retired.beyondlogic.org/interrupts/interupt.htm#2 System software may disable interrupts for unspecified reasons. This can cause loose of information is some cases. If custom software is out of the budget, then remote controllers should be used to gaiter data cache it for a PC. At best. expect to have an error of 55 ms on any stock PC. Worse if the OS disables interrupts at random times. Linux kernel can be customized for a specific application. It is not the same as a typical Linux distribution. What the OP describes is often called "machine automation" in the industry. Meaning a software and hardware package that controls a factory of PLANT that requires constant frequent samples and adjustments. Here is a relevant link: http://www.automation.com/library/articles-white-papers/opc-articles-and-white-papers/3-reasons-linux-is-preferred-for-control-systems The point here is that Windows was never intended to be a universal tool kit for everything. Still, you can design a complex system using Microsoft software, but some more hardware is needed Intel suggests using a system with custom hardware and software. http://download.intel.com/design/network/papers/30405401.pdf Read the links. End of my two cents. Quote from: Geek-9pm on August 23, 2014, 08:55:22 PM An IBM compatible Desktop PC is NOT well suited to get time-sensitive data over a network. Unless the data itself is "smart" and has time stamps embedded in the data.If only there was a Transfer Control Protocol That operated over The Internet Protocol that requires Time information to be stored in the data packets. Oh well. In any case, for a critical application, no standard off-the-shelf system software should be used except a package that has been made for machine automation. The people who do this use tools available from Intel or IBM. An often a custom motherboard has to be used. Quote Here is a general reference about the hardware interrupts for an Intel system.That is the information on hardware interrupts on an 8086 CPU. More recent CPUs are compatible in real Mode but they are NOT compatible at that level in either Protected or Long Mode. Not to mention ACPI and the PCI bus making those hardware interrupts less relevant. Additionally, when it comes to automation software, they will typically use an add-on board. such an add-on board will fire non-maskable interrupts that cannot be ignored regardless of the OS. Quote System software may disable interrupts for unspecified reasons.No, it can only mask certain interrupts. Non-maskable interrupts cannot be ignored or masked, as you ought to know. Quote Linux kernel can be customized for a specific application. It is not the same as a typical Linux distribution.based on the Original Post, the choice is between Linux Software and WIndows Software. The company does not provide a specially tuned Linux distribution, it is simply Linux software. Given the scenario it is almost a certainty, I would expect, that there is a hardware dongle (PCI/PCI-E Card) involved. So really the issues have nothing to do with either OS in particular and everything to do with the software (Either drivers or control software) offered by the vendor. And that is fine. But when Engineers start lying through their teeth making up garbage, that is when you need to reevaluate your relationship with that vendor. If everybody in the company is as trustworthy as a salesman, who do you go to when you want to understand how things work in reality? Obviously the limitation is not one of Windows itself but a limitation of their Windows software. Quote from: Geek-9pm on August 23, 2014, 08:55:22 PM End of my two cents. More like twenty dollars. Well posted Geek! Thanks for the detailed and well thought out information everyone. |
|