EPICS Home

Experimental Physics and Industrial Control System


 
2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: 3.14.8@Linux: OSS priorities problem?
From: Ralph Lange <[email protected]>
To: EPICS Core Talk <[email protected]>
Date: Wed, 09 Nov 2005 16:02:08 +0100
Same results:
5 messages on Linux, 10 messages on HP-UX for the middle test.

Ralph


Marty Kraimer wrote:
Ralph,

Can you turn on real time priorities and try again?

Look at configure/CONFIG_SITE


Marty


On Nov 8, 2005, at 6:55 AM, Eric Norum wrote:

On Nov 8, 2005, at 6:22 AM, Ralph Lange wrote:

On my linux box (Debian 3.1), epicsMessageQueueTestHost yields unexpected results:

aragon: .../base/3-14-X > bin/linux-x86/epicsMessageQueueTestHost
Simple single-thread tests.
[...]
Single receiver, single sender tests.
Systems with priority-based scheduler should send only
4 or 5 messages (sender priority > receiver priority).
Sent 5 messages.
Systems with priority-based scheduler should send 10
messages (sender priority < receiver priority).
Sent 5 messages.
All systems should send 10 messages (sender pauses
after sending each message).
Sent 10 messages.


Shouldn't the middle case (sender priority < receiver priority) show 10 messages being sent instead of 5?

You're seeing the fact that your linux box doesn't have a strict priority-based scheduler -- i.e. it's not a "real-time" operating system.


Replies:
Re: 3.14.8@Linux: OSS priorities problem? Ernest L. Williams Jr.
References:
3.14.8@Linux: OSS priorities problem? Ralph Lange
Re: 3.14.8@Linux: OSS priorities problem? Eric Norum
Re: 3.14.8@Linux: OSS priorities problem? Marty Kraimer

Navigate by Date:
Prev: Re: 3.14.8: blockingSockTest - assert() fails. Ralph Lange
Next: Re: 3.14.8@Linux: OSS priorities problem? Ernest L. Williams Jr.
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: 3.14.8@Linux: OSS priorities problem? Marty Kraimer
Next: Re: 3.14.8@Linux: OSS priorities problem? Ernest L. Williams Jr.
Index: 2002  2003  2004  <20052006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024