Optimizing Device Communication and Analyzing UIS Performance

Slides:



Advertisements
Similar presentations
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Advertisements

Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
TCRS Concord Project Employer Training. Agenda 2 Topic Objectives Why Are You Here? Project Overview What’s New Your Resources Questions Demonstration.
Automating Student Course Profile & Student Record Report Uploads to GaDOE Chris A. McManigal Camden County Schools Kingsland, GA.
(a) Alice and Bob are back together. Today Alice wants to send Bob a message that is secret and also authenticated, so that Bob "knows" the message came.
Information System and Management
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
A State Perspective Mentoring Conference New Orleans, LA 2/28/2005 RCRAInfo Network Exchange.
IPS Infrastructure Technological Overview of Work Done.
Retele de senzori Curs 2 - 1st edition UNIVERSITATEA „ TRANSILVANIA ” DIN BRAŞOV FACULTATEA DE INGINERIE ELECTRICĂ ŞI ŞTIINŢA CALCULATOARELOR.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
Windows Server 2003 { First Steps and Administration} Benedikt Riedel MCSE + Messaging
CTS Change & Transport System. Introduction The Change and Transport System (CTS) is a tool that helps you to organize development projects in the ABAP.
.NET Application Development in the CygNet ® Ecosystem Mike Borland, Senior Software Development Manager Dan Snyder, Staff Software Engineer.
Doing More Cool Things in CygNet ® Blake Miller, Principal Software Engineer Walter Goodwater, Lead Software Engineer.
DFR Downloader Theo Laughner, PE Presented at GPA User Forum August 5, 2015.
The Ultimate SharePoint Admin Tool
Nortel Contact Center: An Overview
Configuring My Elected Representative and Election Results in Your Community Lindsay Thomas.
Monitoring Windows Server 2012
An introduction to the Rapport admin system
Strategic Planning – How it All Comes Together
Overview What’s a DTF file all about?
Now you don’t need to take any stress about the Cisco Exam
CygNet Database Service Diagnostics and Performance Tuning
iClickers: Technology and Pedagogy
BizTalk Throttling and Threshold
CygNet Operator Mobile App
Topics Covered What is Real Time Operating System (RTOS)
“A Day in the Life of SharePoint” Explaining SharePoint to End Users and Management Scott Shearer SharePoint Evangelist/Developer FlexPoint Technology.
Welcome to the Nevada Test Administration Training and Q&A Session
Chapter 2: System Structures
Technology Literacy Hardware.
22-INTEGRATION HUB
LCGAA nightlies infrastructure
MONITORING MICROSOFT WINDOWS SERVER 2003
Configuration for Network Security
SQL Server Integration Services
The Price IS Right: What can the billing module do for me?
Bomgar Remote support software
Real-time Software Design
Workflow Best Practices
Let’s Do Something Noteworthy:
Introduction of Week 3 Assignment Discussion
Auditing in SQL Server 2008 DBA-364-M
Information System and Management
Welcome and introductions of the NETC present
Welcome and introductions of the NETC present
Introducing the SQL Server 2016 Query Store
Chapter 12: Automated data collection methods
Cover page.
GEOMATIKA UNIVERSITY COLLEGE CHAPTER 2 OPERATING SYSTEM PRINCIPLES
Introducing the SQL Server 2016 Query Store
SSID ENROLLMENT Course Introduction
Quality & Performance for XAML Apps
“A Day in the Life of SharePoint” Explaining SharePoint to End Users and Management Scott Shearer SharePoint Evangelist/Developer FlexPoint Technology.
Indexing For Optimal Performance
Using Use Case Diagrams
XML Parsing I have to analyze over 300 XML files. The xml2csy.py can’t be used to call multiple files at time as per our previous communication. I am thinking.
Registry Information Session
nd Vice Chair’s Report - Nov 2010
Your Checklist for Managing Events and Schedules
Lecture 5: Writing Page
CloudCME® Attendance
OaSIS CTI Interop RSA February San Francisco, CA.
Chapter 13: I/O Systems.
Cloud Benefits: Changing Track
Chapter 13: I/O Systems “The two main jobs of a computer are I/O and [CPU] processing. In many cases, the main job is I/O, and the [CPU] processing is.
Presentation transcript:

Optimizing Device Communication and Analyzing UIS Performance Ryan Ackerman, Software Developer Notes…… Who am I! Ryan Ackerman, Software Developer. I may have talked to you during support phone calls. 7 Days ago, I wake up to one after another of people vomiting in my house, until everyone except for me is sick. Which gives me the opportunity to think with a semi clear mind. For the time of day. How would I felt over 300 years ago…. While I am not an expert performance analyzer, I do have a microscopic insight into the way that the cygnet polling engine works.

Overview: UIS Performance How does UIS processing work? How do I optimize device communications? How can I create an optimal polling strategy? How do I monitor UIS performance? Going to go into detail for each section, how to optimize, before moving onto the next section

Processing Device Data Remote Message Object One or more related objects that represent work to be done Creation MSS Editors Script Comm Processing Response Processing

UIS Processing Flow

Message Creation Sources will vary Fail on error Could be one or more messages created depending on task complexity

Comm Processing Destination after message creation One thread of execution per comm device Data validation only Update statistics

Comm Threads One thread of execution per comm device Cost of a bulk poll with hundreds of comms Using a multipoint TCP comm

Using a Multipoint TCP Comm Modify comm settings per remote device Single thread of execution

Device Performance Amount of Data # of Round Trips Latency Total Cost of Operation Round Trip Time * # of Trips Different requirements define performance differently

Amount of Data How is the data organized? Flexibility (Don’t point that gun at your foot) Data request structure. Comm infrastructure considerations?

No Optimization Allen Bradley SLC Data Transfered 434 Bytes 4 Round Trips <fileBlocks> <block1 fileNum="8" fileType="F" startElem="0" numElems="3"/> <block2 fileNum="8" fileType="F" startElem="9" numElems="2"/> <block3 fileNum="8" fileType="F" startElem="25" numElems="1"/> </fileBlocks>

Optimization Allen Bradley SLC Data Transfered 278 Bytes 2 Round Trips <fileBlocks> <block1 fileNum="8" fileType="F" startElem="0" numElems="26"/> </fileBlocks>

Applies to Other EIEs Modbus <modbusReadBlocks> <block1 regCnt="1" regNum="1000" regByteLen="4" funcCode="3"/> <block2 regCnt="1" regNum="1010" regByteLen="4" funcCode="3"/> <block3 regCnt="1" regNum="1020" regByteLen="4" funcCode="3"/> </modbusReadBlocks>

Wire Data In/Out (Analysis) Latency External Causes Connection Type Environmental

Identifying Latency (External) Comm Data Viewer

Wire Data In/Out (Analysis) Latency Internal Causes Message Delay Remote Comm The greater of the two values is used

Identifying Latency (Internal) Comm Data Viewer

Response Processing TX vs. PT Queue Three threads per queue Normalize data to XML Writes data to database Updates point records

Response Processing Several operations executed Parse response Decode bytes Do any conversions Normalize to XML Process points Generally fast Save data Avoid when necessary forceSave=“true|false”

TX/PT Queue Configuration Number of threads Positive effects of thread count Negative effects of thread count UIS.cfg TXTHREADS PNTTHREADS

PT/TX Thread Configuration Default 12 threads (optimized) 16 threads (degrading)

Evaluating DDS File Access Is there data that is not needed? Costs to write Costs to prune Moving DDS/database to fast disk (SSD)

DDS Excess Transactions How to identify

Polling Strategy Schedule Organization Throttling

Polling Schedule Frequency Evaluate relationship between poll schedule and data Break up polls into critical, high and low tasks

Organizing Polls By data By comm (fine tuned throttling) By frequency Real Time Historical By comm (fine tuned throttling) By frequency By priority

MSS Task Throttling Response processing queue size Global comm queue size Comm specific queue size

MSS Task Throttling Points UDCs Pending comm <SYCSPEND> Response processing <SYPROCQUE> Facilities UIS COMM Points on UIS Response processing queue Global comm queue Comm specific queue

UIS Performance Administration SvcMon Trend screen

UDC Trend Screen

Questions

For more information visit: www.cygnetblog.com

Event Survey and Prizes Online survey QR code or go to http://ep-weatherford.com/events/2015_WESC/WESC_Survey.html 2 laptops in registration area Hardcopies Registration desk Please stop by the registration desk to get your ticket for the drawing once you have completed the survey Survey prizes will be drawn at the end of Wednesday in the Session Close! You must be present to win Speaker to remind the audience their feedback is important and to complete and submit the surveys. Two options: either online, QR codes available on signage and at the registration desk. Or pick up a hard copy and complete, turn in to WFT staff at registration desk and pickup a ticket for the drawing. Prize drawn at EOD Wednesday during closing session, must be present to win.