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

DAQ linux improvments with RIO frame provider

Fbf v6r1 and Fbm v6r0 have been recompiled with a new Cm version v8r3 The major modifications in Cm, CmCOnnect.c module, are : . in TCPSelect: as on LINUX platform the timeout content is modified by the select call: create a local timeout reference to avoid the modification of the input timeout and tobe compliant with the other platforms(RIO,OSF1,...) . In TCPSocket: for LINUX only, force the size of the send and receive socket buffer to 32768 bytes instead of 87080 for the receive buffer . in RequestPrint: printouts the send and receive socket buffer size . In PipeRecv, TCPRecv, PipeSend and TCPSend change the prototype of the return value as ssize_t(signed int) instead of size_t (unsigned int) to be compliant with the write API. . in TCPSend: as the status variable was a size_t(unsigned int) it never perfoms any retry. I‘ve simplified the logic due to the fact that when we are writing on a socket, the socket is set a no be NONBLOCK, and perfoms a retry with time measurement only is the write returns -1 and the errno is set to EAGAIN. A socket sets to NONBLOCK with -1 returns by write and errno set to EAGAIN means that the sending buffer and the remote receiving buffer are fulls. At 7:09 Stop and restart FbmDet, FbmMoni and FbmSusp At 7:12 Stop and restart FbfDet,FbfDetP, FbfNe,FbfWe At 7:15 Stop and restart FbfMoniCb,FbfMoniMc,FbfMoniNe,FbfMoniWe,FbfInj At 7:17 Stop and restart FbfSusp

1 comment

masserot · 5 May 2006 · 07:56 #12131
At 8:55 Stop and restart all FbsServer with Fbs v7r18p2 linked with Cm v8r3