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  2011  <20122013  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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: JCA problems and questions
From: Matej Sekoranja <[email protected]>
To: [email protected]
Date: Tue, 23 Oct 2012 22:33:26 +0200
Hi,

Rok Sabjan notified me about this thread. Thanks to Lewis for replies.

The old send buffer algorithm was to initialize the send buffer size to max_array_bytes and
automatically resize on demand (there is one send buffer per TCP connection). Not something
one would dare to use on a server, however very convenient on the client side.

However, if a client has a lot of connections there is a lot of memory required when max_array_bytes is large (e.g. 100 connection * 10MB = 1GB!).
Current algorithm starts with an initial size of 1k that can be automatically resized up to max_array_bytes.
This also mimics C++ CA algorithm (that has also evolved over the years).

Cheers,
Matej

Replies:
RE: JCA problems and questions Mark Rivers
RE: JCA problems and questions Hu, Yong

Navigate by Date:
Prev: Trying to get NSLSII's version of CSS James F Ross
Next: RE: JCA problems and questions Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: JCA problems and questions Jack Smith
Next: RE: JCA problems and questions Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  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 ·