<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hello Kim,<br>
<br>
Please have a look at <span class="f"><cite><b>rt</b>.<b>wiki</b>.kernel.org</cite></span><br>
<br>
If you use a preempt-rt Kernel you shoud note following points:<br>
- for realtime processes use SCHED_FIFO or SCHED_RR<br>
- you can raise the priority up to 99 (only root)<br>
- if you want to have a nice realtime performance for your control
process, you should have a equal or higher priority than the
IRQ-Threads <br>
<br>
You need not raise the priority of the master kernel thread. It has no
functionality in the realtime context<br>
It will only scan or reconfigure the bus, if you change the bus
structure.<br>
<br>
Greatings<br>
<br>
Andreas<br>
<br>
<br>
Am 19.01.2011 15:52, schrieb Kim H. Madsen:
<blockquote
cite="mid:D38140424E93794EA5CF4B49F8C574E90AD42D19@EXCHSRV02.deif.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are using the user space interface with the
application running at a real time priority on a PREEMPT_RT system.
<o:p></o:p></p>
<p class="MsoNormal">Until now we have been running the EtherCAT
master on priority 0 (SCHED_OTHER).
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We are considering to raise the priority of the
ETherCAT to a real time priority (SCHED_FIFO). We consider setting the
priority to 50 so that it is locate just a bow the sirg kernel threads.
Is this sane? Or is it better place the master priority vice?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style=""><span
style="font-size: 10pt; color: black;">Best regards
</span><o:p></o:p></p>
<p class="MsoNormal" style=""><b><span
style="font-size: 10pt; color: black;">Kim Hedegaard Madsen</span></b>
<br>
<i><span style="font-size: 10pt; color: black;">DEIF Wind Power
Technology<o:p></o:p></span></i></p>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
etherlab-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:etherlab-users@etherlab.org">etherlab-users@etherlab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.etherlab.org/mailman/listinfo/etherlab-users">http://lists.etherlab.org/mailman/listinfo/etherlab-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
-----------------------------------------------------------------------
Dipl.-Ing. Andreas Stewering-Bone Amtsgericht Essen HRB 11500
Ingenieurgemeinschaft IgH USt-Id.-Nr.: DE 174 626 722
Gesellschaft für Ingenieurleistungen mbH Geschäftsführung:
Heinz-Bäcker-Str. 34 Dr.-Ing. S. Rotthäuser
D-45356 Essen Dr.-Ing. T. Finke
Tel.: +49 201 / 360-14-15 Dr.-Ing. W. Hagemeister
Fax.: +49 201 / 360-14-14 Tel.: +49 201 / 360-14-0
<a class="moz-txt-link-abbreviated" href="mailto:Andreas.Stewering-Bone@igh-essen.com">Andreas.Stewering-Bone@igh-essen.com</a> <a class="moz-txt-link-freetext" href="http://www.igh-essen.com">http://www.igh-essen.com</a>
-----------------------------------------------------------------------
</pre>
</body>
</html>