Mark 6 Utility Programs and Commands

Similar documents
Mark6 Operations. Chester Chet Ruszczyk

Mark 6: design and status update

MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY WESTFORD, MASSACHUSETTS December 2009

MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY WESTFORD, MASSACHUSETTS October 10, 2014

MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY WESTFORD, MASSACHUSETTS November 2013

IVTW - Auckland

DiFX-Mark6 integration

MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY WESTFORD, MASSACHUSETTS May 2011

File Organization Sheet

MicroBlaze TFTP Server User Guide

Mark 6 Next-Generation VLBI Data System

Crate Shell. Release

Caching and reliability

HD Tune Pro manual version 4.50 HD Tune Pro manual

CSE 120. Overview. July 27, Day 8 Input/Output. Instructor: Neil Rhodes. Hardware. Hardware. Hardware

MW100 CAN Bus Module Configuration Tool (MX118-CAN-M30/S1) User s Manual

Q.uick Start Guide: How to Configure the Q.station Data Logger

ANIC Host CPU Offload Features Overview An Overview of Features and Functions Available with ANIC Adapters

VTL AGENT Release Notes

Stream Control Transmission Protocol (SCTP)

RSLogix500 Project Report

Solving the Data Transfer Bottleneck in Digitizers

Visual Profiler. User Guide

Lecture 3. Essential skills for bioinformatics: Unix/Linux

Programming Assignment 1

MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY WESTFORD, MASSACHUSETTS October 2013

Chapter-6. SUBJECT:- Operating System TOPICS:- I/O Management. Created by : - Sanjay Patel

Monitoring Agent for Unix OS Version Reference IBM

Lecture 5. Essential skills for bioinformatics: Unix/Linux

To obtain the current global trace mask, call meitraceget(...). To modify the global trace mask, call meitraceset(...).

Stager. A Web Based Application for Presenting Network Statistics. Arne Øslebø

Programming Assignment 1

I/O Systems. Amir H. Payberah. Amirkabir University of Technology (Tehran Polytechnic)

TimeServerVlbi - A VLBI data stream real-time monitor

New Communication Standard Takyon Proposal Overview

Version 2.1 User Guide 08/2003

File System Definition: file. File management: File attributes: Name: Type: Location: Size: Protection: Time, date and user identification:

With Fixed Point or Floating Point Processors!!

WL5041 Router User Manual

Network Test and Monitoring Tools

Seagate Tape Diagnostic Version 2.0 User Guide

MCUXpresso IDE Instruction Trace Guide. Rev May, 2018 User guide

COMMAND STATION PC SOFTWARE

StorageWorks RAID Array 200 Online Management Utility for OpenVMS AXP User's Guide

This presentation covers Gen Z Buffer operations. Buffer operations are used to move large quantities of data between components.

GL500A Application Manual

Using Time Division Multiplexing to support Real-time Networking on Ethernet

DATA VIEWER FOR PAPERLESS RECORDER

PatternFinder is a tool that finds non-overlapping or overlapping patterns in any input sequence.

Chapter 11 Running the Model

Configuring System Message Logging

Doc: WBT Programmers. TECH Note. WBT-Your All In One RF Test Solution. 9 February 2015 Rev: 004

Image rescue Quick Start Guide

2.1 CHANNEL ALLOCATION 2.2 MULTIPLE ACCESS PROTOCOLS Collision Free Protocols 2.3 FDDI 2.4 DATA LINK LAYER DESIGN ISSUES 2.5 FRAMING & STUFFING

NAME raidutil Manage, manipulate, and view RAID objects. SYNOPSIS raidutil [global options] verb direct-object arguments...

Contents: 1 Basic socket interfaces 3. 2 Servers 7. 3 Launching and Controlling Processes 9. 4 Daemonizing Command Line Programs 11

MASSACHUSETTS INSTITUTE OF TECHNOLOGY HAYSTACK OBSERVATORY WESTFORD, MASSACHUSETTS November 2002

Using NetFlow Sampling to Select the Network Traffic to Track

Status of the Bonn Correlator MPIfR BKG correlator. Walter Alef Helge Rottmann

Performance Evaluation of Tcpdump

PLEASE READ CAREFULLY BEFORE YOU START

Parallelizing Windows Operating System Services Job Flows

COMPUTER NETWORK. Homework #2. Due Date: April 12, 2017 in class

KOFAX TO LASERFICHE RELEASE SCRIPTS

Operating Systems 2010/2011

OBSAI Protocol Tester

Using NetFlow Filtering or Sampling to Select the Network Traffic to Track

Networked Door Strike Relay Message Format Specification A

操作系统概念 13. I/O Systems

Utilities. Introduction. Working with SCE Platform Files. Working with Directories CHAPTER

Homework 2 COP The total number of paths required to reach the global state is 20 edges.

Essential Skills for Bioinformatics: Unix/Linux

RPR+ on Cisco 7500 Series Routers

Owner's Manual Memory Viewer function

5. System. Device Information

Raw Data Formatting: The RDR Formatter and NetFlow Exporting

1 Backup. Introduction

COMBINING DIGITAL FAULT RECORDS FROM VARIOUS TYPES OF DEVICES (VIRTUAL-DFR)

Accelerated Library Framework for Hybrid-x86

Week Date Teaching Attended 9 Mar 2013 Lab 9: Network Forensics

RESOURCE MANAGEMENT MICHAEL ROITZSCH

Lab: Basic Static Route Configuration

CA485 Ray Walshe Google File System

File Organization Sheet

1. Define Peripherals. Explain I/O Bus and Interface Modules. Peripherals: Input-output device attached to the computer are also called peripherals.

Configure Video and Audio Settings

The destination of the file(s) being transferred.

DeltaV Continuous Historian

Table of Contents 1 IGMP Configuration 1-1

Appendix A Pseudocode of the wlan_mac Process Model in OPNET

Exercises: Basics of Networking II Experiential Learning Workshop

CS3516 Computer Networks. Program 3 {October 27, 2014} 55 points

Indexing. Jan Chomicki University at Buffalo. Jan Chomicki () Indexing 1 / 25

Kea Messages Manual. Kea Messages Manual

Mark 5A Disk-Module Assembly, Test and Conditioning

ICC. EtherNet/IP Client Driver Manual INDUSTRIAL CONTROL COMMUNICATIONS, INC Industrial Control Communications, Inc.

HP 5820X & 5800 Switch Series IRF. Command Reference. Abstract

Buffer overflow prevention, and other attacks

File Operations. Lecture 16 COP 3014 Spring April 18, 2018

FDISK68 / FDISK80 ver. 1.0 of 05-Jun-2015 (1.0 release)

Transcription:

Mark 6 Utility Programs and Commands Roger Cappallo Last update: 2015-10- 09 Introduction There are a number of utility programs which facilitate use of the mk6, making it more straightforward and robust. Also, there are some Linux commands that have particular applicability for operating a mk6 system, both at a site and a correlator. Since some of the utilities may be employed on machines other than a mk6 (e.g. dqa), where possible there is no longer any dependency on the pf_ring library, or other special- purpose software. This document details the usage of the utilities. 1

Table of Contents INTRODUCTION 1 DA- CLIENT 3 DBOSS 3 DPSTAT 3 DQA 3 DSPEED 4 GATHER 5 GATHER416 5 GATHER464 6 GATOR 6 MODSPEED 7 SCATSPEED 7 M6- ERASE 8 2

da- client da- client h <machine> - where <machine> is the target Mark 6 system (defaults to localhost). It is a small, standalone program with a simple operator interface that allows commands to be sent and responses to be received from cplane. cplane must be running on <machine>. dboss dboss is a user interface client for dplane. It provides limited, but direct control of dplane for recording data, without the need for c- plane to be running. Executing dboss without any arguments will produce the following help menu: dboss dboss a <drain_buffers> -- abort dboss c <start_cntl> <dur> <time> -- capture data where <start_cntl> is 0 1 2 3 4 for immed. wall-clock vex vdif mk5 <dur> is duration in secs <time> is start time in appropropiate format dboss f <bit-mask> -- abandon files by bit # dboss i -- request module information (NYI) dboss n <vdif mk5b> <1..4 input devices> -- defines new stream(s) dboss o <sg raid> <filename> <sg-group> -- specifies output file(s) dboss s <interval secs> -- request status dboss t [0 1] -- terminate dplane where 0 1 is do_not do force termination without buffer drain dpstat dpstat monitors dplane UDP messages and displays status information (only). It is typically run in its own window, where it monitors the current activity of dplane. dqa dqa is a data quality analyzer program. It is quite simple, yet capable, and it can be run on any vdif or mk6 data file. dqa provides information about the file format and its contents. It can prove very useful in determining what thread_id s are present within a file, its time range, etc. As with many of the utility programs, just running dqa without any arguments will provide a usage list: dqa dqa <file_name> to get quality summary ~or~ dqa <file_name> <#packets> for detailed report ~or~ dqa -d <file_name> to also de-thread the file 3

Providing just the single argument of a file name to dqa will cause the whole file to be read and summarized: dqa gat1438_0.vdif opening gat1438_0.vdif vdif file packet payload size 8224 read 7710000000 bytes time span 12753503:0 --> 12753532:31249 legacy mode FALSE vdif epoch 29 #chans 16 vdif version 1 station ID adb #bits/sample 2 complex mode total data rate 2056.0 Mb/s channel data rate 128.5 Mb/s thread 0 number of packets (by thread): 937500 number of packets out of order: 0 number of second jumps: 0 number of invalid/fill-frame: 0 Most fields are self- explanatory. Note that the time range given is in the vdif system seconds after the 6- month epoch that is listed, followed by the frame # within the second. A quick look, without reading the whole file, can be had by restricting the number of frames read, as specified by a 2 nd argument. In this mode additional debug printout is offered, such as the block # s that are read if one is in scatter- gather mode. The printed information can help one to find errors in the format of data, if they exist. One other mode of running dqa is to specify the de- threading option via the d flag. This mode is used when a file contains data from multiple threads, and one wishes to separate it into separate files for each thread. The names of the de- threaded files are created automatically from the input file name, by appending _n for thread id n. In addition to the thread separation, the usual dqa summary is also created. dspeed dspeed is a rudimentary program to test disk performance by writing a number of 10 MB blocks from memory to a single file. It defaults to a total file size of 10 GB, which can be overwritten by the 2 nd parameter. It is a useful utility for checking the raw speed of a single disk. 4

~$ dspeed dspeed <filename> [<file size (GB)] ~$ gather gather reassembles scan data from a scatter- gather file system, which is a group of files originally written by the mk6. It uses threading and circular buffers for each thread in order to enhance performance. It is run by specifying file names for n input files, and one output file. The o flag before the output file name is required as a safety measure, to keep one from accidently over- writing an input file (if the output file name was omitted). gather gather <ifile1>... <ifilen> -o <ofile> For example: gather /mnt/disks/*/*/data/scan_xyz.vdif o /raid_array/scan_xyz.vdif gather416 gather416 is a variant of gather. In addition to the usual re- assembly of a single vdif file from the scatter- gather files it merges together multiple threads into a single thread having more channels. gather416 is a de- threading version of gather. It reassembles a single file from a group of files originally created by dplane. Additionally, it splices together on a sample- by- sample basis contemporaneous data taken on different threads. This program creates a single- thread x 64- channel vdif file from multiple 4- thread x 16- channel files. For performance reasons, a separate reader thread is created for each input (scattered) disk file. The real samples from the various threads are merged together into a single thread with more channels per sample. By way of the optional t flag, one can specify non- standard thread id s to be used. Normally, thread id s are 0, 1, 2, or 3. Thread 0 is put into the lowest 16 channels of the output sample word, thread 1 into the next lowest 16 channels, and so on. If, for example, the recording was made using thread id s 11, 12, 21, and 22, then the five arguments t 11 12 21 22 should be inserted in the command line. ~$ gather416 gather416 <ifile1>... <ifilen> -o <ofile> ~or~ 5

gather416 -t <thr0> <thr1> <thr2> <thr3> <ifile1>... <ifilen> -o <ofile> ~$ gather464 gather464 is another de- threading version of gather, but in this case for complex samples, whereas gather416 dealt with real samples. It reassembles a single file from a group of files originally created by dplane. Additionally, it splices together on a sample- by- sample basis contemporaneous data taken on different threads. This program creates a single- thread x 64- channel vdif file from multiple 4- thread x 16- channel files, where each 16- channel file contains complex data and has 64 bit sample words. For performance reasons, a separate reader thread is created for each input (scattered) disk file. The complex samples from the various threads are merged together into a single thread with more channels per sample. By way of the optional t flag, one can specify non- standard thread id s to be used. Normally, thread id s are 0, 1, 2, or 3. Thread 0 is put into the lowest 16 channels of the output sample word, thread 1 into the next lowest 16 channels, and so on. If, for example, the recording was made using thread id s 11, 12, 21, and 22, then the five arguments t 11 12 21 22 should be inserted in the command line. gather464 gather464 [-v] <ifile1>... <ifilen> -o <ofile> ~or~ gather464 [-v] -t <thr0> <thr1> <thr2> <thr3> <ifile1>... <ifilen> -o <ofile> gator gator is a python script/program that accesses (potentially multiple) Mark 6 scatter- gather file sets, re- assembles data as necessary, and creates output file(s) on a destination fileserver (often RAID). It makes multiple calls to gather, when necessary, in order to accomplish the work. It handles automatic mounting of groups, if necessary, and returns the mk6 system to the state in which it found it. For example, if a group is mounted by gator, then it is unmounted when the program concludes. c- plane must be running to allow gator to mount groups. gator -h gator [options] <group> "<wild_carded_input_files>" <destination_path> 6

gathers multiple m6 filesets and writes them to raid note that double quotes are needed around the input file expression iff the expression contains *, [], or? symbols example: gator.py 12 "scan01[0-3].m5b" /data/2345/westford/ Options: -h, --help show this help message and exit -f, --force force overwrite of duplicate output files (false) -i HOST, --ip=host mk6 host ip (127.0.0.1) -p PORT, --port=port mk6/cplane port (14242) -q, --quit quit if an error is encountered (false) -v, --verbose verbose mode (false) modspeed modspeed is a Python program that sets up a module and runs scatspeed to measure disk performance, with a minimum of user typing. It requires c- plane to be running, in order to auto- mount the module when necessary. modspeed -h modspeed [options] measures the write speed of a mk6 module Options: -h, --help show this help message and exit -g GB, --gb=gb gigabytes to write (60) -i HOST, --ip=host mk6 host ip (127.0.0.1) -p PORT, --port=port mk6/cplane port (14242) -s SLOT, --slot=slot module slot (1) -v, --verbose verbose mode (false) scatspeed scatspeed is a C program to test multiple- disk scatter write performance on a mounted module. It uses the same file- writing routines as used in dplane, but with dummy data just read out from memory. By explicitly naming the files to be written, including their full path, one can measure true performance on mounted mk6 modules. scatspeed scatspeed <file size (GB)> <file1> <file2>... <file n> number of files is variable (1..32) 7

For example, the command: scatspeed 100 /mnt/disks/1/0/data/test.vdif /mnt/disks/1/1/data/test.vdif /mnt/disks/2/4/data/test.vdif /mnt/disks/2/5/data/test.vdif would write 4 files, 2 on the module in slot 1, and 2 on the module in slot 2. More typically (albeit tediously), one would specify all 8 disks per slot for 1, 2, or 4 slots. m6- erase m6- erase is a standalone disk- erase and disk- conditioning program 8