Commit 5a4e6e06 authored by Andrea Petrucci's avatar Andrea Petrucci
Browse files

references #226: add gevb roce xml and scripts

parent 4bde8d6c
#!/usr/bin/tclsh
set tests {
128
256
512
1000
2000
4000
8000
12000
16000
20000
24000
32000
64000
128000
256000
}
set bootline {
{ "gevb2g::EVM" "http://d3vrubu-c2e33-06-01.cms:20000" 43 }
{ "gevb2g::RU" "http://d3vrubu-c2e33-08-01.cms:20000" 43 }
}
set inputline {
{ "gevb2g::InputEmulator" "http://d3vrubu-c2e33-08-01.cms:20000" 42 }
{ "gevb2g::InputEmulator" "http://d3vrubu-c2e33-08-01.cms:20000" 44 }
}
set buline {
{ "gevb2g::BU" "http://d3vrubu-c2e33-10-01.cms:20000" 43 }
}
puts "start test"
#set url "http://lab04.lbdaq.cern.ch:1972"
#set lid 42
foreach test $tests {
set size [lindex $test 0]
puts [format "testing size %d " $size]
foreach item $inputline {
# puts $item
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "configuring Input on %s " $url]
exec ./setinputsize-gevb2g.sh $url $lid $size
exec ./configure-gevb2g.sh $url $lid
}
foreach item $buline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "set/configure %s on %s " $name $url]
exec ./parameterset2g-gevb2g.sh $url $lid $size $name
exec ./configure-gevb2g.sh $url $lid
}
foreach item $bootline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "configure %s on %s " $name $url]
exec ./configure-gevb2g.sh $url $lid
}
foreach item $bootline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "enable %s on %s " $name $url]
exec ./enable-gevb2g.sh $url $lid
}
foreach item $buline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "enable %s on %s " $name $url]
exec ./enable-gevb2g.sh $url $lid
}
puts "before starting input"
after 5000
puts "go"
foreach item $inputline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "starting Input on %s " $url]
exec ./enable-gevb2g.sh $url $lid
}
#test is running here and data is being collected
after 60000
foreach item $inputline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting Input on %s " $url]
exec ./halt-gevb2g.sh $url $lid
}
foreach item $bootline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting %s on %s " $name $url]
exec ./halt-gevb2g.sh $url $lid
}
after 5000
foreach item $buline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting BU on %s " $url]
exec ./halt-gevb2g.sh $url $lid
}
after 5000
}
foreach item $inputline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting Input on %s " $url]
exec ./halt-gevb2g.sh $url $lid
}
puts "test finished"
#!/usr/bin/tclsh
set tests {
128
256
512
1000
2000
4000
8000
12000
16000
20000
24000
32000
64000
128000
256000
}
set bootline {
{ "gevb2g::EVM" "http://d3vrubu-c2e33-06-01.cms:20000" 43 }
{ "gevb2g::RU" "http://d3vrubu-c2e33-08-01.cms:20000" 43 }
}
set inputline {
{ "gevb2g::InputEmulator" "http://d3vrubu-c2e33-08-01.cms:20000" 42 }
}
set buline {
{ "gevb2g::BU" "http://d3vrubu-c2e33-08-01.cms:20000" 45 }
}
puts "start test"
#set url "http://lab04.lbdaq.cern.ch:1972"
#set lid 42
foreach test $tests {
set size [lindex $test 0]
puts [format "testing size %d " $size]
foreach item $inputline {
# puts $item
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "configuring Input on %s " $url]
exec ./setinputsize-gevb2g.sh $url $lid $size
exec ./configure-gevb2g.sh $url $lid
}
foreach item $buline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "set/configure %s on %s " $name $url]
exec ./parameterset2g-gevb2g.sh $url $lid $size $name
exec ./configure-gevb2g.sh $url $lid
}
foreach item $bootline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "configure %s on %s " $name $url]
exec ./configure-gevb2g.sh $url $lid
}
foreach item $bootline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "enable %s on %s " $name $url]
exec ./enable-gevb2g.sh $url $lid
}
foreach item $buline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "enable %s on %s " $name $url]
exec ./enable-gevb2g.sh $url $lid
}
puts "before starting input"
after 5000
puts "go"
foreach item $inputline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "starting Input on %s " $url]
exec ./enable-gevb2g.sh $url $lid
}
#test is running here and data is being collected
after 60000
foreach item $inputline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting Input on %s " $url]
exec ./halt-gevb2g.sh $url $lid
}
foreach item $bootline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting %s on %s " $name $url]
exec ./halt-gevb2g.sh $url $lid
}
after 5000
foreach item $buline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting BU on %s " $url]
exec ./halt-gevb2g.sh $url $lid
}
after 5000
}
foreach item $inputline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting Input on %s " $url]
exec ./halt-gevb2g.sh $url $lid
}
puts "test finished"
#!/usr/bin/tclsh
set tests {
128
256
512
1000
2000
4000
8000
12000
16000
20000
24000
32000
64000
128000
256000
}
set bootline {
{ "gevb2g::EVM" "http://d3vrubu-c2e33-06-01.cms:20000" 43 }
{ "gevb2g::RU" "http://d3vrubu-c2e33-08-01.cms:20000" 43 }
{ "gevb2g::RU" "http://d3vrubu-c2e33-10-01.cms:20000" 43 }
}
set inputline {
{ "gevb2g::InputEmulator" "http://d3vrubu-c2e33-08-01.cms:20000" 42 }
{ "gevb2g::InputEmulator" "http://d3vrubu-c2e33-10-01.cms:20000" 42 }
}
set buline {
{ "gevb2g::BU" "http://d3vrubu-c2e33-08-01.cms:20000" 45 }
{ "gevb2g::BU" "http://d3vrubu-c2e33-10-01.cms:20000" 45 }
}
puts "start test"
#set url "http://lab04.lbdaq.cern.ch:1972"
#set lid 42
foreach test $tests {
set size [lindex $test 0]
puts [format "testing size %d " $size]
foreach item $inputline {
# puts $item
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "configuring Input on %s " $url]
exec ./setinputsize-gevb2g.sh $url $lid $size
exec ./configure-gevb2g.sh $url $lid
}
foreach item $buline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "set/configure %s on %s " $name $url]
exec ./parameterset2g-gevb2g.sh $url $lid $size $name
exec ./configure-gevb2g.sh $url $lid
}
foreach item $bootline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "configure %s on %s " $name $url]
exec ./configure-gevb2g.sh $url $lid
}
foreach item $bootline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "enable %s on %s " $name $url]
exec ./enable-gevb2g.sh $url $lid
}
foreach item $buline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "enable %s on %s " $name $url]
exec ./enable-gevb2g.sh $url $lid
}
puts "before starting input"
after 5000
puts "go"
foreach item $inputline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "starting Input on %s " $url]
exec ./enable-gevb2g.sh $url $lid
}
#test is running here and data is being collected
after 60000
foreach item $inputline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting Input on %s " $url]
exec ./halt-gevb2g.sh $url $lid
}
foreach item $bootline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting %s on %s " $name $url]
exec ./halt-gevb2g.sh $url $lid
}
after 5000
foreach item $buline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting BU on %s " $url]
exec ./halt-gevb2g.sh $url $lid
}
after 5000
}
foreach item $inputline {
set name [lindex $item 0]
set url [lindex $item 1]
set lid [lindex $item 2]
puts [format "halting Input on %s " $url]
exec ./halt-gevb2g.sh $url $lid
}
puts "test finished"
<xc:Partition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xc="http://xdaq.web.cern.ch/xdaq/xsd/2004/XMLConfiguration-30">
<i2o:protocol xmlns:i2o="http://xdaq.web.cern.ch/xdaq/xsd/2004/I2OConfiguration-30">
<i2o:target class="gevb2g::RU" instance="0" tid="22"/>
<i2o:target class="gevb2g::BU" instance="0" tid="26"/>
<i2o:target class="gevb2g::EVM" instance="0" tid="39"/>
<i2o:target class="gevb2g::InputEmulator" instance="0" tid="31"/>
<i2o:target class="gevb2g::InputEmulator" instance="1" tid="32"/>
</i2o:protocol>
<xc:Context url="http://d3vrubu-c2e33-08-01.cms:20000">
<xc:Endpoint protocol="ibv" service="i2o" hostname="d3vrubu-c2e33-08-01.d3vrbs1v0.cms" port="50000" network="infini" />
<xc:Application class="pt::ibv::Application" id="11" instance="0" network="local">
<properties xmlns="urn:xdaq-application:pt::ibv::Application" xsi:type="soapenc:Struct">
<networkInterface xsi:type="xsd:string">ens4f0</networkInterface>
<GIDType xsi:type="xsd:string">v2</GIDType>
<portNumber xsi:type="xsd:unsignedInt">1</portNumber>
<receiverPoolSize xsi:type="xsd:unsignedLong">0x2000000</receiverPoolSize>
<senderPoolSize xsi:type="xsd:unsignedLong">0x4000000</senderPoolSize>
<completionQueueSize xsi:type="xsd:unsignedInt">8192</completionQueueSize>
<sendQueuePairSize xsi:type="xsd:unsignedInt">8192</sendQueuePairSize>
<recvQueuePairSize xsi:type="xsd:unsignedInt">64</recvQueuePairSize>
<maxMessageSize xsi:type="xsd:unsignedInt">257000</maxMessageSize>
<deviceMTU xsi:type="xsd:unsignedInt">4096</deviceMTU>
</properties>
</xc:Application>
<xc:Module>/opt/xdaq/lib/libibvla.so</xc:Module>
<xc:Module>/opt/xdaq/lib/libptibv.so</xc:Module>
<xc:Application class="xmem::probe::Application" id="21" instance="0" network="local">
</xc:Application>
<xc:Module>/opt/xdaq/lib/libxmemprobe.so</xc:Module>
<xc:Application class="gevb2g::InputEmulator" id="42" instance="0" network="infini">
<properties xmlns="urn:xdaq-application:gevb2g::InputEmulator" xsi:type="soapenc:Struct">
<StdDev xsi:type="xsd:unsignedLong">256</StdDev>
<Mean xsi:type="xsd:unsignedLong">12</Mean>
<MinFragmentSize xsi:type="xsd:unsignedLong">256</MinFragmentSize>
<MaxFragmentSize xsi:type="xsd:unsignedLong">32768</MaxFragmentSize>
<destinationClassName xsi:type="xsd:string">gevb2g::RU</destinationClassName>
<destinationClassInstance xsi:type="xsd:unsignedLong">0</destinationClassInstance>
<maxDataFrameSize xsi:type="xsd:unsignedLong">262144</maxDataFrameSize>
<frameSendCounter xsi:type="xsd:unsignedLong">0</frameSendCounter>
<fixedSize xsi:type="xsd:boolean">true</fixedSize>
<rate xsi:type="xsd:unsignedLong">1000000</rate>
<createPool xsi:type="xsd:boolean">false</createPool>
<poolName xsi:type="xsd:string">sibv</poolName>
</properties>
</xc:Application>
<xc:Application class="gevb2g::InputEmulator" id="44" instance="1" network="infini">
<properties xmlns="urn:xdaq-application:gevb2g::InputEmulator" xsi:type="soapenc:Struct">
<StdDev xsi:type="xsd:unsignedLong">256</StdDev>
<Mean xsi:type="xsd:unsignedLong">12</Mean>
<MinFragmentSize xsi:type="xsd:unsignedLong">256</MinFragmentSize>
<MaxFragmentSize xsi:type="xsd:unsignedLong">32768</MaxFragmentSize>
<destinationClassName xsi:type="xsd:string">gevb2g::RU</destinationClassName>
<destinationClassInstance xsi:type="xsd:unsignedLong">0</destinationClassInstance>
<maxDataFrameSize xsi:type="xsd:unsignedLong">262144</maxDataFrameSize>
<frameSendCounter xsi:type="xsd:unsignedLong">0</frameSendCounter>
<fixedSize xsi:type="xsd:boolean">true</fixedSize>
<rate xsi:type="xsd:unsignedLong">1000000</rate>
<createPool xsi:type="xsd:boolean">false</createPool>
<poolName xsi:type="xsd:string">sibv</poolName>
</properties>
</xc:Application>
<xc:Application class="gevb2g::RU" id="43" instance="0" network="infini">
<properties xmlns="urn:xdaq-application:gevb2g::RU" xsi:type="soapenc:Struct">
<maxRequestsQueue xsi:type="xsd:unsignedLong">16384</maxRequestsQueue>
<inputDataFifoSize xsi:type="xsd:unsignedLong">150000</inputDataFifoSize>
<maxDataFrameSize xsi:type="xsd:unsignedLong">262144</maxDataFrameSize>
<frameSendCounter xsi:type="xsd:unsignedLong">0</frameSendCounter>
<preAllocateDAPL xsi:type="xsd:unsignedLong">0</preAllocateDAPL>
<doPacking xsi:type="xsd:boolean">false</doPacking>
<packingSize xsi:type="xsd:unsignedInt">65536</packingSize>
<createPool xsi:type="xsd:boolean">false</createPool>
<poolName xsi:type="xsd:string">sibv</poolName>
</properties>
</xc:Application>
<xc:Module>/opt/xdaq/lib/libgevb2g.so</xc:Module>
</xc:Context>
<xc:Context url="http://d3vrubu-c2e33-06-01.cms:20000">
<xc:Endpoint protocol="ibv" service="i2o" hostname="d3vrubu-c2e33-06-01.d3vrbs1v0.cms" port="50000" network="infini" />
<xc:Application class="pt::ibv::Application" id="11" instance="0" network="local">
<properties xmlns="urn:xdaq-application:pt::ibv::Application" xsi:type="soapenc:Struct">
<networkInterface xsi:type="xsd:string">ens4f0</networkInterface>
<GIDType xsi:type="xsd:string">v2</GIDType>
<portNumber xsi:type="xsd:unsignedInt">1</portNumber>
<receiverPoolSize xsi:type="xsd:unsignedLong">0x2000000</receiverPoolSize>
<senderPoolSize xsi:type="xsd:unsignedLong">0x2000000</senderPoolSize>
<completionQueueSize xsi:type="xsd:unsignedInt">64</completionQueueSize>
<sendQueuePairSize xsi:type="xsd:unsignedInt">64</sendQueuePairSize>
<recvQueuePairSize xsi:type="xsd:unsignedInt">64</recvQueuePairSize>
<maxMessageSize xsi:type="xsd:unsignedInt">65536</maxMessageSize>
<deviceMTU xsi:type="xsd:unsignedInt">4096</deviceMTU>
</properties>