Virgo Logbook
UTC--:--:--
GPS-
Reports
DAQ›DAQ #44679

Latency increase on rawfull writing on stol03

Since 18:12 LT of friday, February 1, the latency on the FdRawFull process on stol03 has kept increasing causing rawfull data loss and the process crashing and restarting.

To recover a steady writing I stopped the processes FmStol03 and FmRawFull.

The overall I/O load on the server and storage after the recent substitution of the array needs to be checked.

2 comments

masserot · 2 Feb 2019 · 08:53 #44683

I restarted the FmRawFull otherwise the RAW_FULL FFL file is not build., The FmRawFull is running on olserver114.

I found these 2 processes  running as virgorun

 20555  19496 virgorun ?         24  0.0   0  19 TS  poll_s 137136 34284  1-21:42:54 /usr/bin/rsync --daemon --no-detach
 20556  20555 virgorun ?         46 76.5   0  19 TS  ?      137460 34365  1-21:42:54 /usr/bin/rsync --daemon --no-detach
 

Stopping them allow to recover the standard network I/O throughput

cortese, salconi · 4 Feb 2019 · 10:31 #44700
The latency drift causing FdWRawFull to loose frames and crash continuosly last friday happened when the configuration of the FmStol03 process has been changed around 17:10 UTC on friday.
At that time there was ongoing also the writing of previous rawfull files from the old array to stol03 as requested by DAQ (the rsync process cited, starded on friday noon).
As can be seen from the attached graph the rsync process caused a 5ms (1 week average) overhead on the system I/O queue but the FmStol03 process imposed another 6-7ms delay that evidently caused the latency to become unacceptable (at the same time the load in processes on the cpu queue stepped from the normal 10 to about 30).
Note that no sensible r/w latency increase has been observed on the array itself.

We note the following:

  • occasional read/write jobs for copying/moving files should be sustainable as long they don't pile up
  • the FmStol03 job performs a FrCheck of every rawfull file by reading it from the disk, and usually should find the file in the server page cache, but, since its operation could become asynchronous with the FdWRawFull process, it is possible that the I/O takes longer because the file is not anymore in the cache.
    To be on the safe side it must be evaluated to let the full FrCheck verification be disabled for this flux of data (as it has been in the past) considering that rawfull data are needed for debugging and not as a reference data stream
  • we restarted the rsync copy of the old rawfull buffer files without any noticeable delay, but it turns out that the copied files are erased by some process a few minutes after, so the DAQ configuration must be changed to let these files be copied