EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Does EPICS Base support multi-thread on vxWorks 6.3?
From: [email protected]
To: [email protected]
Date: Fri, 15 Apr 2011 15:34:53 +0800

Hi All,

We developed a client based on libca (EPICS Base 3.14.9), which will create it's own worker thread on construction. But we found it working strangely on vxWorks (ppc-603). Whenever a second EPICS client is created (meaning there are now 2 EPICS worker threads on vxWorks), the CPU usage became 100%.

From the profile, we found the ca_pend_event is consuming lots of the CPU. Meanwhile, it seems epicsMutex is failing to do the lock for the second EPICS client??

Attached is the profile result.



Thanks in advance.

Lorna

Attachment: epicsclient1.profile
Description: Binary data


Replies:
Re: Does EPICS Base support multi-thread on vxWorks 6.3? Andrew Johnson
RE: Does EPICS Base support multi-thread on vxWorks 6.3? Jeff Hill

Navigate by Date:
Prev: Increase event number limit Euan.Troup
Next: Re: Increase event number limit Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Increase event number limit Dirk Zimoch
Next: Re: Does EPICS Base support multi-thread on vxWorks 6.3? Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024