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  2013  2014  2015  2016  2017  2018  <20192020  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  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Data migration
From: "Pearson, Matthew R. via Tech-talk" <[email protected]>
To: Steve Kinder - UKRI STFC <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Wed, 13 Feb 2019 18:19:46 +0000
Hi Steve,

We use rsync to do a similar task, where we have a high speed Andor camera writing to a local disk, and then we copy it to central storage. Some problems we encountered were:

1) Running rsync every few minutes via a cronjob only works if there’s not much data to copy. If there’s too much data, then you’ll end up with multiple rsync processes copying the same data. So you need to ensure only one rsync can run at once.

2) Reading data off the disk at the same time as the IOC is writing data could impact IOC write performance. So we have to ensure that the rsync can’t run when we expect to write a lot of data. 

3) If you have written a lot of data, then you may need to wait for the data to be read off the disk again before resuming data collection. This means planning some dead time between data collection runs.

4) Consider using the rsync auto delete option. Otherwise people will need to manually delete data once the SSD fills up.

5) Make sure you don’t have a 100Mbit/s link between the SSD and the NAS. A 1Gbit/s link will still be slower than the local SSD write speed, so 10Gbit/s links may be required if you don’t want the network to be a limiting factor.

In our case, we haven’t solved all the issues I mentioned. One thing I’m considering is wrapping the rsync process in an IOC so I can control it via PVs and monitor the data transfer process. Then it could be better integrated into the data collection scans.

Cheers,
Matt


Data Acquisition and Controls Engineer
Spallation Neutron Source
Oak Ridge National Lab


> On Feb 13, 2019, at 12:36 PM, Steve Kinder - UKRI STFC via Tech-talk <[email protected]> wrote:
> 
> Apologies for being a bit of subject but thought people might have some useful experience or suggestions. I have an IOC with an SSD disk which I would like to use for short burst rapid saving of camera images; that's fine. I would then like to migrate the data from the SSD to a NAS server in the background somehow. Any suggestions on the latter bit would be appreciated.
> 
> 
> Thanks
> 
> 
> Steve
> 


References:
Data migration Steve Kinder - UKRI STFC via Tech-talk

Navigate by Date:
Prev: Data migration Steve Kinder - UKRI STFC via Tech-talk
Next: Fwd: ioc crash with ip module (synaps) TPG261 message too small=0 Heinz Junkes via Tech-talk
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  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Data migration Steve Kinder - UKRI STFC via Tech-talk
Next: How to detect AsynIPPort disconnect? Dirk Zimoch via Tech-talk
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  <20192020  2021  2022  2023  2024 
ANJ, 14 Feb 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·