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 2025 | 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 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: Problem with subArray - unnecessary memory allocation |
From: | Thomas Birke <[email protected]> |
To: | Noboru Yamamoto <[email protected]> |
Cc: | [email protected] |
Date: | Wed, 04 Feb 2009 13:48:22 +0100 |
Noboru Yamamoto wrote:
Hi, We encountered same problem when we building KEKB control system. Our solution is to modify EPICS base and provide API to access a part ofsource waveform. And also we created a record named CompactSubArrayRecord, which uses API above and copy data just it needs.Unfortunately this mechanism works only for DB-link but not for CA-link.(We will need to extend CA protocol to access a part of waveform data,say channel name like "myWaveFormRecord[10:20]")And also you need to change source code of base. We have been using this version of modified base in KEKB and J-PARC and encounters no problem caused by this change.
I found your earlier posts on tech-talk also. Thank you very much.I just looked at the memory consumption of the softIoc running my subArrays and finally decided that using a few MB of a reasonable sized Linux-Machine is not enough reason to get deeper into this and even patch base for this single purpose. I can live with the higher memory footprint.
I just stumbled over an unnecessarily high (at first glance) memory usage.But if one runs into this problem on an IOC with just a few MB of memory, your solution seems just perfect to solve this issue.
Thanks again, Thomas -- Thomas Birke Operation Controls Elektronenspeicherring BESSY II Albert-Einstein-Str. 15, 12489 Berlin Fon +49 30 6392 4934 Fax +49 30 6392 4859Helmholtz-Zentrum Berlin für Materialien und Energie GmbH Glienicker Straße 100, 14109 Berlin Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph Stellvertretende Vorsitzende: Dr. Jutta Koch-Unterseher Geschäftsführer: Prof. Dr. Anke Rita Pyzalla, Prof. Dr. Dr. h.c. Wolfgang Eberhardt, Dr. Ulrich Breuer Sitz der Gesellschaft: Berlin Handelsregister: AG Charlottenburg, 89 HRB 5583 Information: Durch die Fusion mit dem ehemaligen Hahn-Meitner-Institut (HMI) ist BESSY nun Teil des neuen Helmholtz-Zentrum Berlin für Materialien und Energie (HZB). By the merger with the former Hahn-Meitner-Institut (HMI), BESSY became part of the new Helmholtz-Zentrum Berlin für Materialien und Energie (HZB). Disclaimer automatically attached by the E-Mail Security Appliance mail0.bessy.de 02/04/09 at Helmholtz-Zentrum Berlin GmbH.