EPICS Controls Argonne National Laboratory

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: RE: cygwin and DOS caget, caput running slow at end due toca_context_destroy(), option to speed up execution?
From: "Mark Rivers" <[email protected]>
To: "Jay Steele" <[email protected]>, <[email protected]>
Date: Wed, 16 Feb 2011 14:48:30 -0600

Hi Jay,

 

I don’t see this problem.

 

Here is the output from the cygwin shell wrapping the caget inside “date” commands.  13IDC:m2 is a PV on a vxWorks IOC.

 

# date ; /cygdrive/c/epics/base-3.14.11/bin/win32-x86/caget 13IDC:m2 ; date

Wed Feb 16 14:43:42 CST 2011

13IDC:m2                       5000.1

Wed Feb 16 14:43:42 CST 2011

 

rivers@Rivers-Mobile ~

# date ; /cygdrive/c/epics/base-3.14.11/bin/cygwin-x86/caget 13IDC:m2 ; date

Wed Feb 16 14:44:02 CST 2011

13IDC:m2                       5000.1

Wed Feb 16 14:44:02 CST 2011

 

# date ; /cygdrive/c/Program\ Files/EPICS\ WIN32\ Extensions/caget 13IDC:m2 ; date

Wed Feb 16 14:46:22 CST 2011

13IDC:m2                       5000.1

Wed Feb 16 14:46:22 CST 2011

 

So it is taking less than 1 second to run caget from both the win32-x86 and cygwin-x86 architectures from base-3.14.11, and from the EPICS Win32 Extensions version.

 

Mark

 

 


From: [email protected] [mailto:[email protected]] On Behalf Of Jay Steele
Sent: Wednesday, February 16, 2011 2:00 PM
To: [email protected]
Subject: cygwin and DOS caget, caput running slow at end due toca_context_destroy(), option to speed up execution?

 

Hi EPICS folks,

      I’m running caget and caput utility functions from cygwin and DOS on a Windows XP system to get and put data to a VxWorks IOC on the same subnet. I would like to know if there is some option to help speed up the execution of these utility functions. For both sets of utility functions, the majority of the execution time (4-5 seconds) seems to be spent running the ca_context_destroy function at the end. I don’t see this delay when running caget and caput functions to get and put data to a Soft IOC running on the same Windows XP computer. I don’t understand why there is such a delay just to clean up at the end.

 

     I’m using epics base v3-14-11 for cygwin and EPICS WIN32 Extensions Version 1.40 (Build 40) for DOS.

 

Thanks,

Jay Steele

Xradia Corporation

 


The information in this email, including any attachments, is confidential and intended only for the recipient(s) listed. Any use of this email for any other purpose is prohibited. If you have received this email in error, please notify me immediately by reply email, delete this email, and do not disclose its contents to anyone.


References:
cygwin and DOS caget, caput running slow at end due to ca_context_destroy(), option to speed up execution? Jay Steele

Navigate by Date:
Prev: cygwin and DOS caget, caput running slow at end due to ca_context_destroy(), option to speed up execution? Jay Steele
Next: RE: cygwin and DOS caget, caput running slow at end due to ca_context_destroy(), option to speed up execution? Jeff Hill
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: cygwin and DOS caget, caput running slow at end due to ca_context_destroy(), option to speed up execution? Jay Steele
Next: RE: cygwin and DOS caget, caput running slow at end due to ca_context_destroy(), option to speed up execution? Jeff Hill
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 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·