it seems the newly installed Bs_SL_I1&2_DCHF signals are missing since yesterday. would be good to reactivate them as they monitor possible cause of IMC unlock.
To reduce some DAQ miss functionnings: high latency, missing datas or frames, we ‘ve performed the following actions:
. Tuning of the latency and shared frame number(see tables)
. Allow the FbsSt frame collection at the FbmAlp level instead of the FbmDM level.
. Replace the FbmDM Fbm server by a FdIOServer. The name has been changed too to DMIn and the Moni server configurations updated.
. updated the Fd servers with Fd v5r1p4 which should fix one bug in the case of a server reading a shared memory and waiting more than 16s to access the next frame
The ClDaqCollect, ClDaqData, ClDM, ClOP and ClNoise client should be restarted to take care about the modifications.
In order to improve the data path, the olserver8 host and the olserver2 host have been swapped.
The following User‘s interface:
* ClDaqCollect
* ClDaqData
* ClDM
* ClOP
* ClNoise
have been upgraded and should be restarted (only the Cl interface not the processes) on ctrl9 and ctrl11 worktations .
The migration was started at 10:25LT and finished at 11:30LT
During this operation, the full stream has been lost for few minutes
around 10:3LT
The latency increase due to the new FbfMoniLa server which stop sending its frames.
To reduce the latecncy at the FbmMoni level and to try to recover the situation I‘ve killed the FbfMoniLa CmConnect object on the FbmMoni server using the following command:
. cm kill FbfMoniLa FbmMoni
The Cm connection has been killed, but not restored.
The situation is the same as Vb30 but on FbfMoniLa, the kill command does‘nt succced to stop the process.
At the next unclock it will be necessary to stop Vb30, Lo30 and Mf30 and to reboot the rio30a by logging on and execute the reboot command.
In order to identify eventual processes that could be related to the frequent problems with olserver6, FmTrend and MdTrend have been moved to olserver4. WS olserver6 has been rebooted and all remaining processes (FmTmp, Fm50Hz, dataSender, FmRawBack) have been restarted succesfully.
This evening I found /virgoLog full due to the CaOptic logfile:
-rw-rw-r-- 1 virgorun virgo 2299624125 Mar 8 23:08 CaOptic_Mar08,07-15:09:39.log
It was needed to reboot the rio37a to stop the CaOptic server
virgoLog state before:
Filesystem 1K-blocks Used Available Use% Mounted on
virgodata:/virgoLog 7168000 4916616 130568 98% /virgoLog
after
Filesystem 1K-blocks Used Available Use% Mounted on
virgodata:/virgoLog 7168000 2812024 959720 75% /virgoLog
After that I was able to restart MdTrend
Mode Cleaner building - FbfMoniMc
. Remove the Em_MC_power50 channel and sensor
Laser Lab
. Two 16 channels ADCs (ADC01 and ADC02) are available from the rio30a and are used for Vb monitoring and 1Hz data acquisition. The Vb30 was taking care of these facilities.
Now the ADC02 is involved only for the Vb monitoring and the 1Hz data acquisition while the ADC02 is involved in the fast data acquistion(20KHz).
The ADC02 channels managed by Vb30 are now:
. Pr_B2_d1_Vb on channel 1
. Pr_B2_d2_Vb on channel 2
. Pr_B2_3f_Vb on channel 3
. Pr_RFC_Vb on channel 4
. Channel 5 to channel 8 are not used,
. Bs_SL_D2R_DC on channel 9
. Bs_ML_D_DC on channel 10
. Bs_SL_QN_{DCh,DCv,DC} on channel 11, 12 and 13
. Bs_SL_QF_{DCh,DCv,DC} on channel 14,15, and 16
I‘ve installed a power50 sensor to monitor the laser lab 50Hz.
The ADC01 channels managed by FbfMoniLa are:
. Bs_La_Empty{01,02,03,04} on channel 1,2,3 and 4 (not used)
. Pr_B2_3f_LoMoni on channel 5
. Em_La_power50 on channel 6
. Pr_B2_Alim_{p,m}15 on channel 7 and 8
. Pr_B2_Alim{p,m}5 on channel 9 and 10
. Bs_RFC_Q{N,F}_DC on channel 11 and 12
. Bs_IMC_Q{N,F}_DC on channel 13 and 14
. Bs_BMS_Q{N,F}_DC on channel 15 and 16
They are all sampled at 20KHz only the Bs_La_Empty channels are decimated to 100Hz
On the rio30, now you will find
. a new fast frame builder FbfMoniLa driven from the ClBenchesC client on the rio30a. The data are sent to FbmMoni frame builder.
. the Vb30 server, the Lo30 server and the Mf30 server.
As the timing board is shared between FbfMoniLa and Vb30 and driven by FbfMoniLa, this server should be started first.
NE and WE building.
To allow the marionetta coil currents acquisition for the NE and the WE tower, I‘ve added a shapping board, 2 input channels, on the crate C72 and on the crate C82.
As the ADC were full, I‘ve removed the Pr_B{7,8}_Alim_{m,p)5 -/+5V power supply channels.
On each building, the 2 available channels are now used to collect the marionetta coil current for the UP and DOWN coils. The new channels are:
. Ca_NE_MT_CoilU and Ca_NE_MT_CoilD on the first 2 channels of the ADC05
. Ca_WE_MT_CoilU and Ca_WE_MT_CoilD on the first 2 channels of the ADC13
The cables between the coil driver and the shapping boards remains to be installed, the cable between the shapping boards and the ADC is already done.
This morning the rio30 servers were found in red state, but on the laser lab I found the rio30 running(VME access leds) but not anymore reachable from the network.
I‘ve reboot the rio30a and restarted the servers. To restart the rio30 servers , the processes should be restarted in the following order from ClBenchesC Cl:
1 FbfMoniLa
2 Vb30
and Lo30 and Mf30
To improve the rio30 network path, I‘ve migrate it network connection from the hub CEB-PS-40 port 5 to the switch 193.205.72.24-port 23.
The switch 193.205.72.24-port 23 was previously used for the rio22a which does‘nt exist anymore
The work around NE & WE F7 left and right coils is completed.
Ca_NE_F7L is connected to ADC05 ch1 (rack C75)
Ca_NE_F7R is connected to ADC05 ch2 (rack C75)
Ca_WE_F7L is connected to ADC13 ch1 (rack C85)
Ca_WE_F7R is connected to ADC13 ch2 (rack C85)
On V.Dattilo request the NE & WE F7 left and right coil channels have been renamed:
. NE - C75 - ADC05 - CH1: Ca_NE_F7_CoilL
. NE - C75 - ADC05 - CH2: Ca_NE_F7_CoilR
. WE - C85 - ADC13 - CH1: Ca_WE_F7_CoilL
. WE - C85 - ADC13 - CH2: Ca_WE_F7_CoilR
I forgot to mention that yesterday night the calibration macro (MainSensCurve from AlpCa) didn‘t work properly.
The reason was the fact that the .exe files were still linked to Linux-i686-rh9.
Rana and Matt lunched the processes by hand on ctrl12 with the correct exe files, and we could get the curve.
I tried to change all the Linux-i686-rh9 with Linux-i686-SL4 in the AlpSensCurve.cfg file, stop and restart AlpCa and relunch the macro, which runs on olserver8, but it seems that this didn‘t fix the problem.
Please check.
Yesterday morning we spent some time to try to understand the elapsed time fluctuations of the locking process.
Here are some observations in Await mode looking to the Gc_Elapsed_Time channel:
doing loops of configurations (Await -> End/Idle -> Await), we have a possible small jitter of 700 ns
stop/restarting the locking process induce possible jitter of 5 - 7us
rebooting the rio did not help to have a small elapsed time
as already observed, if the mean value is more than 64 us, the probability to have a crash of the process during lock acquisition is quite high.
The problem could be related to the cache memory size of the rio (which cannot be upgraded).
For the future it is important to check the elapsed time before starting the lock acquisition, in Await mode a threshold of 64 us will be used.
We also have a look to the time increase during the transition between two algorithms. We try to hide some computation in the uncritical actions but we continue to see an increase of time with spikes during transitions. Going back to the running locking version, we also observed such spikes. The bug will be fixed in a next version.
According with this entry we added a flag on Detector Monitor (under the section Global Control) which it is green if the elapsed time is below 64us and the locking process is in AWAIT (ITF at step#0).
In the plots reported below we show the present behavior of B1p viewed from the SFP this night. In plot 1, the trend during the night shows an anomalous behavior of the carrier which power overpasses the side bands. A strong noise affects both carriers and side bands. The latter two remain symetric in average.
In plot 2, we show details of the carrier and side bands peaks and the (anomalous) high fluctuation of the peaks power and position. The position fluctuation can be explained by the presence of fluctuating multiple secondary peaks(see plot 3). Globally, carrier is more noisy than SB.
A bug in the FdIO library within the Fd package was at the origin of frames losses during WSR8 (and also those last days). I fixed it in /virgoDev/Fd/v5r1p4 and I had also to create a new patch /virgoDev/Fbm/v6r2p2. After having done successful tests, I have modified the configuration files /virgoData/DAQ/ClDaqCollect.cfg and /virgoData/DAQ/ClDaqData.cfg in order to use Fd v5r1p4 and Fbm v6r2p2. Please, as soon as commissioning allows it, restart the corresponding Cl graphical interface in control room, then restart at least the processes FbmSt, FbmStToCompress and FbmStDy.
Since last thursday the detection lab is on a small independent UPS. These plots compare the 100 Hz region before and after this modification: the 50Hz monitoring has a general much lower noise (some reduction is also seen in the monitoring of the OMC crate power supply C33). The 100 Hz noise is still present in B1 and, as expected in the magnetometers.
This confirms the fact that this noise is generated outside the detection system and also couples to the dark fringe outside the detection lab.
Since Feb20,07-09:54:40 LT the LDMoni server reports 1 delay error for each frame(1s). I suspects some overload for the Sc_MC DSP.
The plot shows the transfer function between these two signals
The DSP MC is not overloaded. With the new DSP firmware the DOL packet header sent by the DSP has been modified: 0xFF8FFFFF to 0x7FB00000 to improve the NAN number. But the Pr code was not upgraded to take in account this modification.
The Pr code is now ready, v9r8p2, and has been put in operation at 14:00 LT.
Beware the ClPhotodiodePr configuration is not updated.
In case, to launch the Pr28 server:
. log on rio28a
. and execute the following command:
/virgoDev/Pr/v9r8p2/RIO806X/Pr.exe /virgoData/Pr/Pr28.cfg DET/EB/Pr28
Some tunings were needed to enable the optimal compression with SL4. Now the optimal compression is not computed on the 2 bytes FrAdcCh channels.
The data written on the stol and backup streams are taken after the optimal compression stage.
The data flow is still reduced of 2 Mbytes/s.
The time to send the data from olserver10 to the backup writeris 2 or 3 time the one needed to send the data from olserver10 to the stol writer.
The channel Pr_B{1p,2}_SFP{,ramp} and the Pr_B5_PZT_{ACp,ACq,DC,x,y} are removed at the FbmSt level
Please restart the ClDaq client in order to take in account the last modifications.
To allow more flexibility and to be independant of the ITF state, the optimal compression has been splitted on 6 servers running on olserver9(2 servers) and olserver10(4 servers). The 6 compression servers were hosted on olserver10(4 CPU) which was close to its limits while the ITF was is state 8.
The restart of this new setup has been started at 15h LT and complete at 15:20. There is a hole for the data during this period.
Please restart the ClDaqCollect clien to take in account this new setup
Since Feb27,07-10:14 the frame transmission to the backup stream is slow for unknown reasons: the usual consequence is a lot of frame missing.
The frame transmission to the stol stream is still OK: no missing frames.
Usually the raw.ffl is based on the stol stream and some recovering are performed to recover the missing frame But now the raw.ffl stream is based only on the backup stream: so the worst case !!!!
Investigations in progress
The loss of frames on the "/data/rawadata/last" or "backup_rawdata" buffer is normal and was foreseen in the effects of the storage farm shutdown.
This is due to the increased load on the 1TB array on stol2 that is accessed by DAQ processes and more users that normally read data on the storage farm.
Data are anyway stored also on the safe stol2 buffer. This is the buffer that keeps the "reference" copy of the data and cannot be accessed otherwise the added load would cause the loss of frames also on this stream.
I suggest to stop for the moment any non urgent continous process that accesses the buffer "/data/rawdata/last" or "backup_rawdata" stol2 buffer so giving priority to interactive users.
There is an additional problem that involves the ffl only not showing all the data present on the buffer, that is being corrected.
The raw_bck ffl file should be use during the storage shutdown: the raw.ffl is not correctly updated and managed now.
Some holes of 44s of frames for the data of yesterday are present due to the abscence of the optimal compression.
Since 7:46 LT the optimal compression is available aand not 44 frames losses have been observed until now.
The full four month buffers are noit available during the Storage shutdown:
No data of the different WSR runs !!!
All the Alp servers have been restarted with this fix.
The WAIT_TIME has been used on Steps.cfg for the LOCK_INIT macro during the Alignment init phase. Several trials of LOCK_INIT have been performed successfully.
The problem was du to usleep call with an argument equal to zero.
It seems that Alp does not always wait for macro execution as requested. During AlpMain::LOCK_INIT, AlpMain communicates with AlpAli as follows:
#---- ALIGNMENT init (1)
CMD_CM AlpAli AlMaLoadSet -handler AlMaTerminated /* stop any running macro */
OP rtn = -1
#OP WI_NI_offsets_changed = 0 /* used at Step12 */
OP LCA_STATUS = 0 /* used during LCA and at Step2 */
CMD_CM AlpAli AlMaLoadSet -t "Alignment_LockInit" -handler AlMaTerminated -i rtn
WAIT 2
CMD_CM AlpAli AlMaLoadSet -t "Qoffsetcorrection"
The expected result is that: any running macro on AlpAli is terminated, Alignment_LockInit is loaded and AlpMain waits for it to finish, Qoffsetcorrection is loaded and AlpMain continues without waiting. For some reason, these commands are not executed as expected. Instead, Alignment_LockInit is loaded and immediately aborted, then Qoffsetcorrection is loaded.
AlpAli
Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Ali_Main aborted and unloaded - AlpMain
Feb22,07-11:39:50>INFO...-AlMaMgrUnLoad> Send to AlpMain - type AlMaTerminated rtn 0 macro Ali_Main
Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Load macro Ali_Main
Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Macro Alignment_LockInit asked to be loaded by AlpMain
Feb22,07-11:39:50>WARNING-> At GPS856175997-FR09279 - Macro Alignment_LockInit load aborted
Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Macro Qoffsetcorrection asked to be loaded by AlpMain
Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Ali_Main aborted and unloaded - No Master
Feb22,07-11:39:50>WARNING-GPS856175997-FR09279 - Elasped time 5.0263
Feb22,07-11:39:51>INFO...-> At GPS856175998-FR09280 - Load macro Qoffsetcorrection - Master is AlpMain
AlpMain
Feb22,07-11:39:45>INFO...-> At GPS856175996-FR09278 - Cm send -to AlpAli -type AlMaLoadSet (OK)
Feb22,07-11:39:46>INFO...-> At GPS856175997-FR09279 - Receives from AlpAli -handler AlMaTerminated(OK)
Feb22,07-11:39:46>INFO...-> At GPS856175997-FR09279 - Cm send -to AlpAli -type AlMaLoadSet -text "Alignment_LockInit" (OK)
Feb22,07-11:39:49>INFO...-> At GPS856176000-FR09282 - Receives from AlpAli -handler AlMaTerminated -int 0(OK)
Feb22,07-11:39:51>INFO...-> At GPS856176002-FR09284 - Cm send -to AlpAli -type AlMaLoadSet -text "Qoffsetcorrection" (OK)
The situation can be improved by using WAIT_TIME instead of WAIT. The problem appears during the period where 2 GCVSU were running and one consuming around 60% of the CPU time
This introduce a the same problem as Vb30: No interrupt received and unable to kill the process.
We restore the previous configuration for Qr72 and Qr82: running at kernel level
DAQ
------
Feb24,07-23:00:00
The Data collection has been restarted with SL4
Host usage:
. olserver5 : Detection Line
. olserver3: Monitoring and Suspension Lines
. olserver1: Main line, automation and User‘s datadisplay accesses level
. olsever7: 50Hz stream(merger and writer) and Tmp stream(merger and writer)
. olserver8: Raw stream merger and Trend stream builder
. olserver10: Compression level
All the FdIOServers have been restarted with Fd v5r1p3 and Fr v6r21
During the night some data have been lost at the compression level.
Feb25,06-09:00:00
To reduce the olserver1 load the User‘s datadisplay frame provider have been moved on olserver2 with the Detector Monitoring
According the current state of the ITF, the optimal compresssion does‘nt works on olserver10 with SL4: it takes too much time to perform the optimal compression. I‘ve performed a trial on olserver14 but it ‘s the same status.
To perform these tests the raw data writing has been stopped from 10:18 LT to 10:44 LT
Now the data are stored wthout the optimal compression.
The process Compress{1,2,3,4} are running but their outputs are not taken for writing the data for tuning purposes.
More investigations will be performed tomorrow.
Automation
---------------
Feb25,07-06:30
All the Alp server have been restated with the new alp version v1r12p3 linked with Fd v5r1p3 and Fr v6r21.They are running on olserver1.
The AlpMain step.cfg configuration has been upgraded to use the WAIT_TIME instead the WAIT while performing the Alignment initialisation on the LOCK_INIT macro: these should improve the misfunctionning reported by M.Evan last week
The NaServer has been restarted with a nice 3 using the following command /bin/nice -3 NaServerStart
The GCVSU script has been upgraded to launch the GCVSU with a nice 3 (script ~virgorun/bin/GCVSU_Start.csh). It has been restarted too.
Detector Monitoring
-------------------------
Feb25,07-07:40
All the Detector Monitoring servers have been restarted with SL4 on olserver2.
I‘ve reduced the EnvMoni priority from nice 2 to nice 3.
All the FdIO input and output have now a nice value equal to 0
The BRMSMoni and Spectromoni servers are now driven trought the ClNoise client.
Noise
-------
Feb25,07-08:11
All the Noise servers have been restarted with SL4 on
olserver11
Hrec
------
Hrec could not be restarted due to some link problems
Cl UI
------
Please restart the ClDaqCollect, ClDaqData, ClDM and ClNoise clients to take in account the modifications
Restart the Qr72 and the Qr82 to run at the user‘s level instead of the kernel level.
I expects to reduce the rate of netrwork losses which need a reboot of the rio
At 7:00 LT all the processes running on any olserver platform have been stopped
On olserver1, I‘ve kill the NaServer and 2 GCVSU servers.
Here the olserver1 ps -u virgorun -o pid,THREAD,cmd command report can nbe found at ~/virgorun/Gc-24Feb07.txt file
The 96 and 104 Hz bumps in B1_ACp are also well seen in the 50Hz monitoring signal (Pr_Power50, taken after UPS generator) with a quite good coherence (see first plot). These are not present in the 50Hz monitoring at the level of ENEL signal (Em_IPSCB_50Hz). It is also interesting to note that there is some coherence from 40 to 60 Hz (see second plot). These bumps are also well seen in the monitoring of the crate 33 power supply (Mc and Pi analog boards).
We checked that these bumps are still present if we move the Pr_power50 monitoring outside the detection lab (checked on the platform) so it seems a general feature in the central building. We also noticed that this noise is not present in the monitoring inside the MC building.
A suspect is the "active power corrector" machine which is present in the central building but not in the MC building.
To allow SL4 systemp upgrade the servers running on olserver4 were migrated to olserver3.
The Monitoring and Suspension Lines are now running on a single bi-processors machine (olserver3)