<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <style type="text/css">
      <!--
      html{color:#555555;}body{line-height:1.5;font-family:'Trebuchet MS','Helvetica Neue',Arial,Helvetica,sans-serif;font-size:87.5%;}h1{font-size:1.6em;}h2.field-label{display:inline-block;font-size:1em;padding-right:5px;min-width:10em;margin:0.3em;}.problem_report{line-height:1.5;max-width:60em;}fieldset.problem_report.resolved
legend{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAy0lEQVQ4jWP8//8/AyWAiZACd3f3/xYWFrht+f//P1a84t3e/0obff4rbfT5D1GGXR0LuoEr3+/7X3W4n2gvwA0gVSOKAcqbfPGGpImJCU45JgYGBoa7fpsZ22wLSbadgYGBgRE9GrF55Vf2BYbHjx8zYjWB0ljAcAGGExkZ/0MtwuoCggmJEBh4AzBS4pMnT/7fuXOH4dKlSwwnT56EiwcGBv43MDBgMDExYdDX12eQkZGBhAlyiC5YsOA/AwMDUXjLli3/iYoFQgAA+pSxZrXofD0AAAAASUVORK5CYII=);background-repeat:no-repeat;padding-left:18px;}fieldset.problem_report.needs_attention
legend{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAA9ElEQVR42sWTvUoDQRSFv9wMKWxSBVmzdhZJIwTWv9pyLWxTpbE1kBeJPoLxBazzBgGFKNqlHXAhsITUw1y7sMpmjER0YJrDPWcO556BPzhjYPJjlhfT82LUpxcK6Lo5U0JMgcu56tXy7BQajeBDpkAcAEdz1W6uyrLdYieK2DMmKCArcqczpH/ddc0msy+OkyQJC4h3N0ynx+Q5ALtUNs5q5U+8e+R+VPFi4kjk3NZqd++qUK+TZVnYwSfAOyvejeLXt/2qVG/dYoG1dqseBNco27bs/wXKWhIDB8AhcFLAH4Bn4Al4AUqT7RVC++6mv/JVPwDi3VGzomYvyAAAAABJRU5ErkJggg==);background-repeat:no-repeat;padding-left:18px;}.problem_report div.field-items{display:inline-block;}div.date-vitals p{font-size:87.5%;}a{text-decoration:none;}.Readme a:link,.Readme a:visited,.Readme
a:active{color:red;}
      -->
    </style>
      </head>
  <body id="mimemail-body" class="elog-logentry-notify">
    <div id="center">
      <div id="main">
        <style>
<!--/*--><![CDATA[/* ><!--*/

div.field-vitals{
    margin: 0.5em 0;
}
div.field-vitals .field-type-taxonomy-term-reference {
    margin: 0.1em 0;
}

article.comment {
  padding-left: 10px;
}
article.comment.odd {
    background-color: #EEEEEE;
}
article.comment.even {
    background-color: #DDDDDD;
}

div.node-content.logentry table{
  width: auto;
  border-collapse: collapse;
  border-spacing: 0;
  border-width: 1px;
}

div.node-content.logentry th{
 border: inherit;
}

div.node-content.logentry blockquote{
  background-color: #FFFFFF;
}

div.node-content.logentry caption{
  font-size: 1em;
  font-weight: normal;
}

table.field-vitals{
   margin-top: 1em;
   margin-bottom: 1em;
   font-size: 87.5%;
}

table.field-vitals th{
   vertical-align: middle;
   text-align: left;
   width: 15%;
   padding: 0.1em;
}

table.field-vitals td{
   vertical-align: middle;
   text-align: left;
   width: auto;
   padding: 0.1em;
}
table.field-vitals td li {
  margin-left: 0;
  list-style-type: none;
  list-style-image: none;
}

table.downtime {
  width: 30em;
  margin-bottom: 1em;
  border: 1px black dotted;
}
table.downtime th {
  text-align: center;
}
table.downtime td {
  text-align: center;
}
tr.caption th {
  border-bottom: none;
}
table.downtime tfoot{
  background-color:#EEEEEE;
}

div.field-name-body{
    margin: 1em 0;
    font-size: 110%;
}
div.date-vitals p{
    margin: .1em 0;
}
article div.ctools-collapsible-container{
    margin-left: -5px;
    clear: both;
}
#comment-form{
  margin-left: 5px;
  border: graytext outset medium;
  -moz-border-radius: 15px;
  border-radius: 15px;
  padding: 1em;
}

div.comments-form-box {
  margin-top: 2em;
  margin-bottom: 5em;
}
h3.comment-title {
    /* display: none; */
}
p.author-datetime{
    font-weight: bold;
}


/*--><!]]>*/
</style><article id="node-362119" class="node node-logentry  article ia-n clearfix" role="article"><header class="node-header"><h1 class="node-title" rel="nofollow">
          <a href="https://logbooks.jlab.org/entry/3289375" rel="bookmark">DAQ Testing</a>
        </h1>
          </header><div class="date-vitals">
        <p class="author-datetime">
      Lognumber <a href="https://logbooks.jlab.org/entry/3289375" class="lognumber" data-lognumber="3289375">3289375</a>.        Submitted by <a href="https://logbooks.jlab.org/user/davidl">davidl</a> on <time datetime="2014-07-10T11:00:18-0400" pubdate="pubdate">Thu, 07/10/2014 - 11:00</time>.        </p>
            
    
    
      
         
   
    
      
    <table class="field-vitals"><tr><th>Logbooks: </th><td><a href="https://logbooks.jlab.org/book/hdlog">HDLOG</a></td></tr><tr><th>Tags: </th><td><a href="https://logbooks.jlab.org/tag/daq">DAQ</a></td></tr><tr><th>Entry Makers: </th><td><a href="mailto:furletov@jlab.org">furletov@jlab.org</a>, gurjyan, timmer, abbottd</td></tr></table></div>
  
    
  
    
  <div class="logentry node-content">
    <p>- Initial setup<br />
  - Used hdops account already logged into gluon02<br />
  - rcm.sh issues command:  daq_setups.sh -rcm 50 -s SoftROC<br />
    This fails to open any windows. Maybe it does not understand<br />
    the “-rcm gluon50” argument (it’s not listed in the usage statement)<br />
  - Run “daq_setups.sh -s SoftROC” manually<br />
  - Some windows open, but others fail due to “Maximum number of clients reached”<br />
    - Did quick web search. Found this page:<br /><a href="https://bugs.launchpad.net/ubuntu/%20source/fglrx-installer/%20bug/910539">https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/910539</a><br />
    - The file /etc/ati/atiapfuser.blb on gluon02 had 528 open file descriptors<br />
      I renamed it to /etc/ati/atiapfuser.blb.bak, but this didn’t help.<br />
    - Closed all windows that were left open and still ran into same error<br />
    - Logged out and back in to hdops account on gluon02<br />
    - Windows opened OK</p>
<p>  - Started SoftROC configuration using rcm.sh.<br />
  - Configure succeed<br />
  - Download failed due to undefined symbol for evio::evioException<br />
    in the /gluex/coda/3.01/Linux/lib/libcodaChannels.so file<br />
  - This was due to building mcROL.so with a new Makefile that did<br />
    not include the evioxx (or expat) libraries<br />
  - Fixed mcROL.so link problems</p>
<p>  - Started SoftROC run with internal trigger loop at 10000<br />
    - Event rate was 200-300Hz<br />
    - Starting hd_ana did not affect event rate as it did last time<br />
    - ET event rate was only about 2Hz<br />
    - hd_ana event rate also about 2Hz (should have been higher)</p>
<p> - Started SoftROC run with internal trigger loop at 1000<br />
    - Event rate was 2kHz<br />
    - Starting hd_ana did not affect event rate<br />
    - ET event rate was still only about 2Hz<br />
    - hd_ana event rate also about 2Hz (should have been higher)<br />
    - further debugging needed</p>
<p>- Moving to 50 crate test<br />
  - Goals:<br />
    * Run on hdops<br />
    * Use multi-cast instead of direct<br />
    * Run CODA components on different nodes</p>
<p>- Ran 50 ROC configuration with 1k events per chunk in softROCcontroller<br />
  - Still using direct mode<br />
  - All components running on gluon53<br />
  - Event rate ~2kHz<br />
  - No change in event rate when hd_ana connected.<br />
  - Problem with ET rates appears fixed</p>
<p>- Ran 50 ROC configuration with 5k events per chunk in softROCcontroller<br />
  - Event rate was more erratic and within a few seconds, event rate dropped to zero<br />
  - No error messages observed indicating exact source of problem</p>
<p>- Ran 50 ROC configuration with 2k events per chunk in softROCcontroller<br />
  - Event rate was rock solid at 2kHz. No deviation was observed whatsoever<br />
  - Ran for several minutes and ended run</p>
<p>- Switching to multi-cast configuration<br />
  - BCAL Data Concentrator dies prior to Configure<br />
  - Restarted again and this time it stays alive<br />
  - noticed multiple instances of coda_roc running on ROCs (Sergey will fix the bug later)<br />
  - Stop all processes and restart</p>
<p>  - Need to run on multiple machines when using multi-casting. Reconfigure<br />
    to start all EMUs on different hosts. Reconfigure hosts file</p>
<p>  - Started all components<br />
  - BCAL DC ended again with timeout</p>
<p>  - Started all components<br />
  - All components connected OK this time<br />
  - Configure succeeded<br />
  - Download succeeded<br />
  - Prestart failed  because SEB could not connect to ER’s ET system<br />
  - The ET system appears to be setup correctly and can be accessed via<br />
    tcp port using hd_ana and et_monitor. Unclear why SEB can’t connect<br />
    using multi-cast</p>
<p> - Try again. Shut down all processes and restart<br />
  - Configure failed when roctrig1 died<br />
  - Restarted shmem_serv on roctrig1<br />
  - Killed all components and restarted them<br />
  - Configure failed due to same issue with failure to connect to ET system via multi-cast</p>
<p>- Change configuration to use direct for the SEB to ER connection. All others left<br />
  as multi-cast<br />
  - BCAL DC dies again shortly after startup<br />
  - Restart everything once more. BCAL DC connects this time<br />
  - SEB to ER direct connection succeeds<br />
  - DC to SEB connections using multi-cast fail</p>
  </div>
  

  <div class="attachment-box">
        </div>

       
</article>      </div>
    </div>
  </body>
</html>