WTRP user notes

Link to WTRP


First, a word of caution. WTRP has had almost no exposure to the intended users or even the trigger experts yet. It's very possible that there are still bugs or misleading/incomprehensible labels. Feedback is welcome.

WTRP is part of the TRP system: a web server which exports detailed information on the actual and recent state of the trigger to the web via the P1 web server. The actual state of the trigger is presented in several tables which give information on the breakdown of rates among streams, groups, chains, and L1 trigger elements as well as the breakdown of CPU usage among chains for both L2 and EF. The recent history (over the last 24 hours) is presented as graphs of parameters (such as trigger reduction, rate fraction) over time (sometimes called POTs below).

WTRP is a wmi plugin. It recieves information from IS servers in the ATLAS partition, at the moment just two: ISS_TRP and RunCtrlStatistics. The pages are updated roughly every minute.

The raw HLT information comes from histograms accumulated on the farm compute nodes and subsequently gathered. The gathering introduces a delay of a couple of minutes. The HLT rates are based on 10-second samples published by the TRP server while the WTRP update rate is 6 times slower. It averages all samples produced by TRP since the last update (usually 6).

The tables show the numbers from the latest updates. If a server is not updating for any reason, these can be quite old. If in doubt, check the time stamps given on each page.

A sortable, filterable copy of most tables can be obtained by clicking a button just above the table. (Unfortunately, this feature is not supported for all web browsers. The latest versions of Firefox and Safari and Opera are known to work. MS Explorer is known not to work.) The tables are sorted by clicking buttons in the header. Usually the order is: numbers first then alphabetic, in decreasing order. A subsequent click on the same button sorts in the opposite order. Filter boxes appear just below the header of all sortable rows. The boxes accept regular expressions and filter the corresponding column accordingly. If the regex is preceded by a "!", only rows which do not match are displayed. The sorting script is activated when a return, or tab is pressed or focus is moved out of the box.

Finally, some status information from the last 24 hours is summarized in one plot, including the status of servers used by WTRP, the run number, the super master key, the pre-scale keys and the luminosity block number. A history of changes in some of these numbers over the last 24 hours is also kept in the form of a table.

Page format

For the most part, the pages have a similar format, from top to bottom:

  • The top line (same for all pages) has links to other WTRP pages.

  • On some pages, (only the groups and CPU usage pages for now) some links to closely related pages appear on a second line.

  • A page title

  • The total rates from each level (from TRP and RctlStatistics servers)

  • The time stamps of the most recent L1, L2 and EF updates from the TRP server.

  • (Optionally) a table showing quantities from the most recent update. The tables usually include one or more bar charts to allow easy comparison of numbers in the table.

  • (Optionally) one or more time-graphs. The name of each of the displayed quantities is shown shown above each time-graph as well as in the legend. The names in html text are anchors which are referred to by other pages. They also allow users to quickly find a particular plot using the browser find command. The time-graphs are split into two parts. The right-hand plot shows the last half hour (roughly) at a resolution of 1 minute and the left-hand plot shows the last 24 hours (roughly) at a resolution of 3 minutes. The plots are never reset. Instead, when a plot of a particular parameter receives no updates for the maximum display period it is deleted. If the super master key changes, new graphs are added if needed. The time on the x-axis is the time of the WTRP update.

The Pages

Global rates page

At the top of the global rates page is a plot of various global rates. From TRP, the L1 output rate (L1A, TAV), L2 output rate (total, output) and E output rate (total, output) are shown, where (xx, yy) refer to the row and column labels of the raw tables.

From the RctlSatistics server: "L2SV:L2 in Rate" (L2SV-SUM, IntervalEventRate), "L2PU:L2 Int Ev Rate" (L2PU-SUM, LVL2IntervalRate), "SFI: Ev build rate"(SFI-SUM, ActualEoERate) and "SFO: Ev save rate" (SFO-SUM, CurrentEventSavedRate). (server name, variable name).

Below this plot is another plot showing "status history". The plot is divided as for the other plots, with matching time-axes. The boxes on the right hand margin indicate the value of the latest update. If there is an associated parameter value, it is shown in the box. The top rows show the status of the IS servers used by WTRP. Green indicates that the last request for information produced a fresh update. Black indicates either that the server responded but the information is not new or that the server is down. Below the server status information, a number of parameters useful for interpreting the other plots such as the trigger configuration DB keys and run number are given. The color toggles between two values whenever the value changes. If space allows, the value of the parameter is given just after the edge indicating the time of the update.

Below the status history plot is a table showing the history of "significant changes" in the last 24 hours.

Stream fractions page

The streams page shows a table with the total output rate fractions (numeric and bar) into each stream for both L2 and EF for each output stream. Following the table are POTs showing the history of the numbers given in the table.

Groups page

Groups are defined in the trigger configuration database and group together similar trigger chains. Chains can and usually do belong to more than one group. The table at the top of the groups page shows the L2 and EF input and output rates for each group. Four additional "local links" appear at the top of the page, just below the global links. These allow navigation to pages containing time-history plots of the fractional output rates and the reductions per chain. It is also possible to navigate to the plot corresponding to a particular output rate by clicking on the rate given in the table. The group names in the table are links to pages which contain rate information for each chain which is a member of that group.

L2 reduction by chain vs. time and EF reduction by chain vs. time pages

Time history plots of reductions by chains. These pages are linked to the Groups page. Individual plots can also be navigated to from links in the chains pages.

L2 Output fractions by group vs. time and EF Output fractions by group vs. time pages.

Time history plots of output fractions by group vs. time. These pages are linked to the Groups page.

L1 Rates page

The table on the L1 page shows the L1 rates as received from ISS_TRP (and produced by the CTP). The table is constructed from the trigger configuration information for the current super master key. L1 elements which do not seed an L2 chain do not appear (if you want to see these, look at L1 Raw). The three columns labeled "Before PS", "After PS", and "Output" are simple copies of the "TBP", "TAP" and "TAV" columns of the raw table. These are followed by a column with a bar chart showing the output rate fraction. The denominator is the "L1A/TAV" entry of the raw table. Finally, the column "Redux" gives the ratio of "TAV" to "TAP" columns. Below the table are plots which show the history of redux. Each entry in the Redux column is linked to the corresponding history plot.

Chains pages

Each group has a corresponding chains page which contains a table with rate details for the chains making up that group. A page listing all chains is also available. You can navigate to the pages via the group names in the group rates table. The tables show:

  • For L1, the current prescales, and output rates (numeric and bar format),

  • For L2, the current prescales followed by the L2 input rates (numeric and bar), the reduction (raw/algoIn) and L2 output rates (numeric and bar). The history of the rate reduction for a particular chain can be seen by clicking on the rate reduction number in the table.

  • For EF, same as for L2

CPU usage

Details of CPU usage are shown for each chain, both for L2 and EF. The original sources for the numbers on this pages are gathered histograms from the farm: EXPERT/TIMERS/TrigSteer_L2(or EF)_Chains and chain rates from ISS_TRP. The average time per invocation is calculated from the TrigSteer histogram and multiplied by the invocation rate from TRP to produce the numbers (the CPU time in millisec per second of real time) in the "Tot CPU" column. The corresponding time-history plot is linked to each number in the "Tot CPU" columns. The time-history plots appear on separate pages which are linked to the second line of the CPU usage page.

L2 CPU usage vs. time and EF CPU usage vs. time

Time-history plots of CPU usage. Linked only from the CPU usage page.

Raw pages

WTRP receives TimePoint_IS structures from L1, L2 and EF on each update. Raw dumps of the recieved structures are shown on L1raw, L2raw and EFraw pages. The rates are averages over all the TimePoint_IS structures produced since the last WTRP update (usually 6 for L2 & EF). Two more pages show the raw CPU usage tables. All TRP-related quantities in the plots and tables on the other pages are derived from these raw numbers.

WTRP status

This page is intended for status information pertaining to the functioning of WTRP itself. It's rather sparse at this point and not for general use.

Edit | Attach | Watch | Print version | History: r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r1 - 2013-07-11 - MichaelMedinnis
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback