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

Subject: Re: memory and vxWorks based IOCs
From: John Dobbins <[email protected]>
To: "'James F Ross'" <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Tue, 29 Jan 2013 14:49:06 -0500
James,

At one point I had a similar problem. I had an IOC running on a MVMVE162 CPU with 4 Megs. It ran fine but as clients connected it ran out of memory. In that case I was able to arrange to serve those PVs through a gateway running on a Linux machine. The load the VME CPU was small and constant.

John Dobbins




On 01/29/2013 02:39 PM, Mark Rivers wrote:
Depending on the model of your CPU card you may be able to buy a memory
upgrade on the used market. I recently upgraded all of our MVME2700 CPUs
from 32MB to 64MB. That will increase their useful lifetime
significantly, since we were coming close to running out of memory with
32GB on our beamline IOCs. It cost about $600 per card, which is a lot
of money for 64MB of memory today, but is a lot cheaper than a new CPU card.

Mark

*From:*[email protected]
[mailto:[email protected]] *On Behalf Of *James F Ross
*Sent:* Monday, January 28, 2013 10:19 AM
*To:* EPICS Tech Talk
*Subject:* memory and vxWorks based IOCs

Hello everyone,
I suppose this is more a vxWorks question than an epics question, but
here is the issue.
I've got a VME based IOC running here at STAR that is having memory
problems. Basically we noticed this issue as every 24-48 hours the IOC
would lose communication and all GUIs associated with it would go blank.
The solution is to re-start the IOC by rebooting the VME, but doing this
every day is not a good solution.

The epics is running on vxWorks, so I can use the memShow command to
show the memory usage at a given time. I can see that as I open more and
more GUIs, the memory fills up. At least part of the cause of the loss
of communication has to do with too many people opening GUIs relating to
this IOC at the same time. However, I am not certain that this is the
only problem.

What I would like is to track the memory usage over time to see if there
is a time component as well as just too many GUIs being opened. Does
anyone know how to do this in vxWorks? Get it to print its memory usage
every minute or so to a log file or something similar?
Thanks
James



Replies:
Re: memory and vxWorks based IOCs James F Ross
References:
memory and vxWorks based IOCs James F Ross
RE: memory and vxWorks based IOCs Mark Rivers

Navigate by Date:
Prev: RE: memory and vxWorks based IOCs Mark Rivers
Next: Re: memory and vxWorks based IOCs James F Ross
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: memory and vxWorks based IOCs Mark Rivers
Next: Re: memory and vxWorks based IOCs James F Ross
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·