Hi Jan, primarily I want to execute my simulation models as fast as possible. This is, I want to optimize the average execution time. As there are a series of critical sections to be passed this should also have an impact on the worst execution time.
The critical region in the simulation are at locations when a lower prio thread and a higher prio thread access the same data. This happens at a couple of times within a simulation step (within that critical region there are typically some copy operations). However, once the higher prio thread has entered one critical region it is sure (at least if both threads run on the same CPU core) that it will be able to enter the next critical region without waiting. That means, that improving the average runtime should also help to improve the worst case runtime of the highest prio thread. Regards Mathias > > Your analysis is not wrong. But before going into any detail may I ask > you for on clarification: What do you want to optimise *primarily*, the > average execution time of your RT threads in order to gain more CPU time > for non-RT Linux jobs *or* the worst case execution time of your RT > threads? > -- Mathias Koehrer [EMAIL PROTECTED] Viel oder wenig? Schnell oder langsam? Unbegrenzt surfen + telefonieren ohne Zeit- und Volumenbegrenzung? DAS TOP ANGEBOT JETZT bei Arcor: günstig und schnell mit DSL - das All-Inclusive-Paket für clevere Doppel-Sparer, nur 39,85 inkl. DSL- und ISDN-Grundgebühr! http://www.arcor.de/rd/emf-dsl-2 _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
