1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 <2008> 2009 2010 2011 2012 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 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: asyn file interface |
From: | Maren Purves <[email protected]> |
To: | Eric Norum <[email protected]> |
Cc: | epics <[email protected]> |
Date: | Wed, 16 Jan 2008 11:56:14 -1000 |
On Jan 16, 2008, at 2:19 PM, Maren Purves wrote:
Wondering why anyway. Can't you just NFS mount the disk and write to it? From e.g. a genSub?
The answer to your second question can be summed up in one word. Performance.
ASYN provides a worker thread to do the I/O without forcing the record processing thread to block.
Of course you could do all that yourself from the genSub, but why reproduce that which ASYN already provides?
genSub was just an idea if you don't want to write device support for files. We run cfitsio (an astronomical standard file writing library) on some of our IOCs, and have been doing this since long before asyn was invented (or at least before it became public) - without genSubs.