Weatherford International Plc · NASDAQ:WFRD
Weatherford International — Technical Presentation (2015)
33 slides from Weatherford International's technical presentation, 2015
Slide 1: Optimizing Device Communication and Analyzing UIS Performance
Optimizing Device Communication and Analyzing UIS Performance Ryan Ackerman, Software Developer
Slide 2: Overview: UIS Performance
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? © 2015 Weatherford. All rights reserved.
Slide 3: Processing Device Data
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 © 2015 Weatherford. All rights reserved.
Slide 4: UIS Processing Flow
UIS Processing Flow © 2015 Weatherford. All rights reserved.
Slide 5: Message Creation
Message Creation Sources will vary Fail on error CygNet Messagethat contains: Could be one or - UISCommand Name - Resolution Criteria more messages created depending Remote Device on task complexity UIS/ EIE generates Remote Message Objects (ReMO) – one for each command component © 2015 Weathe
Slide 6: Comm Processing
Comm Processing Destination after message creation CommDevice Comm Device Comm Device One thread of Pending Comm Pending Comm execution per Queue Queue comm device OneQueue / Thread Per commdevice Data validation only Update statistics © 2015 Weatherford. All rights reserved.
Slide 7: Comm Threads
Comm Threads One thread of execution per comm device Cost of a bulk poll with hundreds of comms Using a multipoint TCP comm © 2015 Weatherford. All rights reserved.
Slide 8: Using a Multipoint TCP Comm
Using a Multipoint TCP Comm Modify comm settings per remote device Single thread of execution © 2015 Weatherford. All rights reserved.
Slide 9: Device Performance
Device Performance Amount of Data # of Round Trips Latency Total Cost of Operation Round Trip Time * # of Trips Different requirements define performance differently © 2015 Weatherford. All rights reserved.
Slide 10: Amount of Data
Amount of Data How is the data organized? Flexibility (Don’t point that gun at your foot) – Data request structure. Comm infrastructure considerations? © 2015 Weatherford. All rights reserved.
Slide 11: No Optimization
No Optimization Allen Bradley SLC <fileBlocks> <block1 fileNum="8" fileType="F" startElem="0" numElem s="3"/> <block2 fileNum="8" fileType="F" startElem="9" numElem Data Transfered s="2"/> – <block3 434 Bytes fileNum="8" fileType="F" startElem="25" numEle – ms="1"/> 4 Round Trips </fileBlocks> ©
Slide 12: Optimization
Optimization Allen Bradley SLC <fileBlocks> <block1 fileNum="8" fileType="F" startElem="0" numElem s="26"/> Data Transfered </fileBlocks> – 278 Bytes – 2 Round Trips © 2015 Weatherford. All rights reserved.
Slide 13: Applies to Other EIEs
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> © 2015 Weatherford. All rights reserved.
Slide 14: Wire Data In/Out (Analysis)
Wire Data In/Out (Analysis) Latency – External Causes Connection Type Environmental © 2015 Weatherford. All rights reserved.
Slide 15: Identifying Latency (External)
Identifying Latency (External) Comm Data Viewer © 2015 Weatherford. All rights reserved.
Slide 16: Wire Data In/Out (Analysis)
Wire Data In/Out (Analysis) Latency – Internal Causes Message Delay – Remote – Comm The greater of the two values is used © 2015 Weatherford. All rights reserved.
Slide 17: Identifying Latency (Internal)
Identifying Latency (Internal) Comm Data Viewer © 2015 Weatherford. All rights reserved.
Slide 18: Response Processing
Response Processing TX vs. PT Queue Three threads per queue Queue selection Normalize data to XML TX Queue PT Queue Writes data to database Updates point records © 2015 Weatherford. All rights reserved.
Slide 19: Response Processing
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” © 2015 Weatherford. All rights reserved.
Slide 20: TX/PT Queue Configuration
TX/PT Queue Configuration Number of threads Positive effects of thread count Negative effects of thread count UIS.cfg – TXTHREADS – PNTTHREADS © 2015 Weatherford. All rights reserved.
Slide 21: PT/TX Thread Configuration
PT/TX Defaul Thread Configuration t 12 threads (optimized) 16 threads (degrading) © 2015 Weatherford. All rights reserved.
Slide 22: Evaluating DDS File Access
Evaluating DDS File Access Is there data that is not needed? Costs to write Costs to prune Moving DDS/database to fast disk (SSD) © 2015 Weatherford. All rights reserved.
Slide 23: DDS Excess Transactions
DDS Excess Transactions How to identify © 2015 Weatherford. All rights reserved.
Slide 24: Polling Strategy
Polling Strategy Schedule Organization Throttling © 2015 Weatherford. All rights reserved.
Slide 25: Polling Schedule
Polling Schedule Frequency Evaluate relationship between poll schedule and data Break up polls into critical, high and low tasks © 2015 Weatherford. All rights reserved.
Slide 26: Organizing Polls
Organizing Polls By data – Real Time – Historical By comm (fine tuned throttling) By frequency By priority © 2015 Weatherford. All rights reserved.
Slide 27: MSS Task Throttling
MSS Task Throttling Response processing queue size Global comm queue size Comm specific queue size © 2015 Weatherford. All rights reserved.
Slide 28: MSS Task Throttling Points
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 © 2015 Weatherford. All rights reserved.
Slide 29: UIS Performance Administration
UIS Performance Administration SvcMon Trend screen © 2015 Weatherford. All rights reserved.
Slide 30: UDC Trend Screen
UDC Trend Screen © 2015 Weatherford. All rights reserved.
Slide 31: Questions
Questions © 2015 Weatherford. All rights reserved.
Slide 32: www.cygnetblog.com
For more information visit: www.cygnetblog.com © 2015 Weatherford. All rights reserved.
Slide 33: Event Survey and Prizes
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 p
Weatherford International — Technical Presentation (2015) on 6ix