JP2023173353A - Delay analysis system, delay analysis method, and delay analysis program - Google Patents

Delay analysis system, delay analysis method, and delay analysis program Download PDF

Info

Publication number
JP2023173353A
JP2023173353A JP2022085543A JP2022085543A JP2023173353A JP 2023173353 A JP2023173353 A JP 2023173353A JP 2022085543 A JP2022085543 A JP 2022085543A JP 2022085543 A JP2022085543 A JP 2022085543A JP 2023173353 A JP2023173353 A JP 2023173353A
Authority
JP
Japan
Prior art keywords
delay
packet
processing
investigation
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022085543A
Other languages
Japanese (ja)
Inventor
大樹 川嶋
Hiroki Kawashima
聡 舟橋
Satoshi Funabashi
実 中出
Minoru Nakade
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Heavy Industries Ltd
Original Assignee
Mitsubishi Heavy Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Heavy Industries Ltd filed Critical Mitsubishi Heavy Industries Ltd
Priority to JP2022085543A priority Critical patent/JP2023173353A/en
Publication of JP2023173353A publication Critical patent/JP2023173353A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

To analyze a delay of a host machine with higher accuracy.SOLUTION: A delay analysis system includes: a host machine that executes both a virtualized controller and a host communication unit which manages communication between the controller and another apparatus; and a delay analysis device that inputs a delay investigation packet for measuring a delay of processing of the host machine, into the host machine, analyzes the delay investigation packet processed by the host machine, and measures the delay of processing of the host machine. The controller processes the delay investigation packet, writes a time stamp on the delay investigation packet, and outputs the packet to the host communication unit. The host communication unit processes the delay investigation packet, writes a time stamp on the delay investigation packet, and outputs the packet to the delay analysis device. The delay analysis device calculates processing time for each unit, based on the time stamp of the controller and the time stamp of the host communication unit which are written on the delay investigation packet.SELECTED DRAWING: Figure 3

Description

本開示は、遅延分析システム、遅延分析方法及び遅延分析プログラムに関する。 The present disclosure relates to a delay analysis system, a delay analysis method, and a delay analysis program.

制御対象の動作を制御する装置として、1つの演算部で複数の制御機能を仮想化した仮想化コントローラを用いるホストマシン(制御装置)がある。制御装置は、複数の仮想化コントローラの複数の制御ソフトで複数の制御機能を実行し、かつ、複数の仮想化コントローラのデータをオペレーティングシステムソフト(OS(Operating System)ソフト)の仮想化制御部またはOS上もしくはOSと独立した仮想化ソフトウェア(ハイパーバイザー等)で処理して、制御対象の機器に制御信号を出力する(特許文献1参照)。また、特許文献1では、複数の仮想化した制御の負荷を予測し、負荷の分散処理を行うことが記載されている。 As a device that controls the operation of a controlled object, there is a host machine (control device) that uses a virtualization controller that virtualizes a plurality of control functions in one calculation unit. The control device executes multiple control functions using multiple control software of multiple virtualization controllers, and transfers data of multiple virtualization controllers to a virtualization control unit of operating system software (OS (Operating System) software) or It is processed on the OS or by virtualization software (hypervisor, etc.) independent of the OS, and outputs a control signal to the device to be controlled (see Patent Document 1). Furthermore, Patent Document 1 describes predicting the load of a plurality of virtualized controls and performing load distribution processing.

特開2020-201953号公報JP 2020-201953 Publication

ここで、負荷を分散した処理を行っても、仮想化コントローラを効率化できない場合がある。ここで、インターネット通信網の通信遅延を評価する処理として、各部での処理を別の監視装置で監視する方法がある。仮想化コントローラで監視装置を設ける場合、ホストマシンでの一定の処理負荷が生じ、実際の処理の状態と異なる状態での評価となる。 Here, even if processing is performed to distribute the load, the efficiency of the virtualization controller may not be improved. Here, as a process for evaluating the communication delay of the Internet communication network, there is a method of monitoring the processing in each part using a separate monitoring device. When a monitoring device is provided with a virtualization controller, a certain processing load is generated on the host machine, and the evaluation is performed in a state different from the actual processing state.

本開示は、上記の課題に鑑みてなされたものであって、ホストマシンの遅延をより高い精度で分析できる遅延分析システム、遅延分析方法及び遅延分析プログラムを提供することを目的とする。 The present disclosure has been made in view of the above problems, and aims to provide a delay analysis system, a delay analysis method, and a delay analysis program that can analyze the delay of a host machine with higher accuracy.

本開示は、仮想化されたコントローラと、前記コントローラと他の機器との通信を管理するホスト通信部と、を実行するホストマシンと、前記ホストマシンの処理の遅延を計測する遅延調査用パケットを前記ホストマシンに入力し、前記ホストマシンで処理された遅延調査用パケットを分析して、前記ホストマシンの処理の遅延を計測する遅延分析装置と、を有し、前記コントローラは、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記ホスト通信部に出力し、前記ホスト通信部は、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記遅延分析装置に出力し、前記遅延分析装置は、前記遅延調査用パケットに書き込まれた、前記コントローラのタイムスタンプと、前記ホスト通信部のタイムスタンプに基づいて、各部の処理時間を算出する遅延分析システムを提供する。 The present disclosure provides a host machine that executes a virtualized controller, a host communication unit that manages communication between the controller and other devices, and a delay investigation packet that measures processing delays of the host machine. a delay analysis device that measures a processing delay of the host machine by analyzing a delay investigation packet input to the host machine and processed by the host machine; The host communication unit processes the packet and writes a timestamp into the delay checking packet and outputs it to the host communication unit, and the host communication unit processes the delay checking packet and writes the timestamp into the delay checking packet. The delay analyzer calculates the processing time of each unit based on the time stamp of the controller and the time stamp of the host communication unit written in the delay investigation packet. We provide a delay analysis system that calculates

本開示は、仮想化されたコントローラと、前記コントローラと他の機器との通信を管理するホスト通信部と、を実行するホストマシンの制御の遅延を遅延計測装置で分析する遅延分析方法であって、前記ホストマシンの処理の遅延を計測する遅延調査用パケットを前記ホストマシンに入力するステップと、前記コントローラが、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記ホスト通信部に出力するステップと、前記ホスト通信部が、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記遅延分析装置に出力するステップと、前記遅延調査用パケットに書き込まれた、前記コントローラのタイムスタンプと、前記ホスト通信部のタイムスタンプに基づいて、各部の処理時間を算出するステップと、を含む遅延分析方法を提供する。 The present disclosure is a delay analysis method that uses a delay measurement device to analyze a delay in control of a host machine that executes a virtualized controller and a host communication unit that manages communication between the controller and other devices. , inputting a delay checking packet to the host machine to measure the processing delay of the host machine; and the controller processing the delay checking packet and writing a timestamp to the delay checking packet. , a step of outputting the delay check packet to the host communication unit; a step of the host communication unit processing the delay check packet, writing a timestamp to the delay check packet, and outputting the same to the delay analysis device; A delay analysis method is provided, which includes the step of calculating the processing time of each unit based on the time stamp of the controller and the time stamp of the host communication unit written in a delay investigation packet.

本開示は、仮想化されたコントローラと、前記コントローラと他の機器との通信を管理するホスト通信部と、を実行するホストマシンの制御の遅延を遅延計測装置で分析する遅延分析システムに、前記ホストマシンの処理の遅延を計測する遅延調査用パケットを前記ホストマシンに入力するステップと、前記コントローラが、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記ホスト通信部に出力するステップと、前記ホスト通信部が、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記遅延分析装置に出力するステップと、前記遅延調査用パケットに書き込まれた、前記コントローラのタイムスタンプと、前記ホスト通信部のタイムスタンプに基づいて、各部の処理時間を算出するステップと、を実行させる遅延分析プログラムを提供する。 The present disclosure provides a delay analysis system that uses a delay measurement device to analyze a delay in control of a host machine that executes a virtualized controller and a host communication unit that manages communication between the controller and other devices. inputting a delay checking packet for measuring a processing delay of the host machine into the host machine; the controller processing the delay checking packet and writing a timestamp to the delay checking packet; outputting to a host communication unit; the host communication unit processing the delay investigation packet, writing a timestamp to the delay investigation packet, and outputting it to the delay analyzer; and the delay investigation A delay analysis program is provided that executes the step of calculating the processing time of each unit based on the time stamp of the controller and the time stamp of the host communication unit written in the packet.

上記構成とすることで、ホストマシンの遅延をより高い精度で分析できるという効果を奏する。 With the above configuration, it is possible to analyze the delay of the host machine with higher accuracy.

図1は、遅延分析システムの構成の一例を示すブロック図である。FIG. 1 is a block diagram showing an example of the configuration of a delay analysis system. 図2は、遅延分析システムの機能構成の一例を示すブロック図である。FIG. 2 is a block diagram showing an example of the functional configuration of the delay analysis system. 図3は、遅延分析システムの処理の一例を示す説明図である。FIG. 3 is an explanatory diagram showing an example of processing of the delay analysis system. 図4は、遅延調査用パケットのデータ構成の一例を示す説明図である。FIG. 4 is an explanatory diagram showing an example of the data structure of a delay investigation packet. 図5は、遅延時間の評価の一例を概念的に示す説明図である。FIG. 5 is an explanatory diagram conceptually showing an example of delay time evaluation. 図6は、遅延時間の評価の一例を概念的に示す説明図である。FIG. 6 is an explanatory diagram conceptually showing an example of delay time evaluation. 図7は、遅延時間の評価の一例を概念的に示す説明図である。FIG. 7 is an explanatory diagram conceptually showing an example of evaluation of delay time. 図8は、遅延時間の評価の一例を概念的に示す説明図である。FIG. 8 is an explanatory diagram conceptually showing an example of delay time evaluation. 図9は、遅延分析システムの処理の一例を示す説明図である。FIG. 9 is an explanatory diagram showing an example of processing of the delay analysis system. 図10は、遅延分析システムの処理の一例を示す説明図である。FIG. 10 is an explanatory diagram showing an example of processing of the delay analysis system.

以下に、本開示に係る実施形態を図面に基づいて詳細に説明する。なお、この実施形態によりこの発明が限定されるものではない。また、下記実施形態における構成要素には、当業者が置換可能かつ容易なもの、あるいは実質的に同一のものが含まれる。さらに、以下に記載した構成要素は適宜組み合わせることが可能であり、また、実施形態が複数ある場合には、各実施形態を組み合わせることも可能である。 Embodiments according to the present disclosure will be described in detail below based on the drawings. Note that the present invention is not limited to this embodiment. Furthermore, the constituent elements in the embodiments described below include those that can be easily replaced by those skilled in the art, or those that are substantially the same. Furthermore, the constituent elements described below can be combined as appropriate, and if there are multiple embodiments, it is also possible to combine each embodiment.

図1は、遅延分析システムの構成の一例を示すブロック図である。遅延分析システム10は、ホストマシン12と、遅延分析装置14と、同期装置16と、を有する。遅延分析システム10は、ホストマシン12の各部での処理時間を遅延分析装置14で分析する。 FIG. 1 is a block diagram showing an example of the configuration of a delay analysis system. The delay analysis system 10 includes a host machine 12, a delay analysis device 14, and a synchronization device 16. The delay analysis system 10 analyzes the processing time of each part of the host machine 12 using a delay analysis device 14.

ホストマシン12は、複数の制御を実行する仮想化コントローラの機能を実行する。ホストマシン12は、制御対象の機器と通信を行い、仮想化コントローラで生成した制御信号を制御対象の機器に出力する。ホストマシン12は、演算部20と、記憶部22と、通信部24と、を有する。 The host machine 12 executes the function of a virtualization controller that executes multiple controls. The host machine 12 communicates with the device to be controlled, and outputs a control signal generated by the virtualization controller to the device to be controlled. The host machine 12 includes a calculation section 20, a storage section 22, and a communication section 24.

演算部20は、CPU(Central Processing Unit)やGPU(Graphics Processing Unit)等の集積回路(プロセッサ)と、作業領域となるメモリとを含み、これらのハードウェア資源を用いて各種プログラムを実行することによって各種処理を実行する。具体的に、演算部20は、記憶部22に記憶されているプログラムを読み出してメモリに展開し、メモリに展開されたプログラムに含まれる命令をプロセッサに実行させることで、各種処理を実行する。 The calculation unit 20 includes an integrated circuit (processor) such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit), and a memory serving as a work area, and can execute various programs using these hardware resources. Execute various processing by. Specifically, the arithmetic unit 20 reads a program stored in the storage unit 22, loads it into the memory, and causes the processor to execute instructions included in the program loaded in the memory, thereby executing various processes.

記憶部22は、磁気記憶装置や半導体記憶装置等の不揮発性を有する記憶装置からなり、各種のプログラムおよびデータを記憶する。通信部24は、通信インターフェースを用いて、データの送信を行う。通信部24は、外部機器と通信を行い取得した各種データ、プログラムを記憶部22に送り、保存する。通信部24は、有線の通信回線で外部機器と接続しても、無線の通信回線で外部機器と接続してもよい。 The storage unit 22 is made of a nonvolatile storage device such as a magnetic storage device or a semiconductor storage device, and stores various programs and data. The communication unit 24 uses a communication interface to transmit data. The communication unit 24 transmits various data and programs acquired through communication with external devices to the storage unit 22 and stores them therein. The communication unit 24 may be connected to an external device via a wired communication line or may be connected to an external device via a wireless communication line.

遅延分析装置14は、ホストマシン12の内部で実行される各部の処理時間の情報を取得し、処理の遅延の発生を分析する装置である。遅延分析装置14は、入力部30と、出力部32と、演算部34と、記憶部36と、通信部38と、を含む。 The delay analysis device 14 is a device that acquires information on the processing time of each section executed inside the host machine 12 and analyzes the occurrence of processing delays. The delay analysis device 14 includes an input section 30, an output section 32, a calculation section 34, a storage section 36, and a communication section 38.

入力部30は、キーボード及びマウス、タッチパネル、またはオペレータからの発話を集音するマイク等の入力装置を含み、オペレータが入力装置に対して行う操作に対応する信号を演算部34へ出力する。出力部32は、ディスプレイ等の表示装置を含み、演算部34から出力される表示信号に基づいて、処理結果や処理対象の画像等、各種情報を含む画面を表示する。また、出力部32は、データを記録媒体で出力する記録装置を含んでもよい。通信部38は、通信インターフェースを用いて、データの送受信を行う。 The input unit 30 includes an input device such as a keyboard and mouse, a touch panel, or a microphone that collects speech from an operator, and outputs a signal corresponding to an operation performed by the operator on the input device to the calculation unit 34. The output unit 32 includes a display device such as a display, and displays a screen containing various information such as processing results and images to be processed based on the display signal output from the calculation unit 34. Furthermore, the output unit 32 may include a recording device that outputs data on a recording medium. The communication unit 38 transmits and receives data using a communication interface.

演算部34は、CPU(Central Processing Unit)やGPU(Graphics Processing Unit)等の集積回路(プロセッサ)と、作業領域となるメモリとを含み、これらのハードウェア資源を用いて各種プログラムを実行することによって各種処理を実行する。具体的に、演算部34は、記憶部36に記憶されているプログラムを読み出してメモリに展開し、メモリに展開されたプログラムに含まれる命令をプロセッサに実行させることで、各種処理を実行する。 The calculation unit 34 includes an integrated circuit (processor) such as a CPU (Central Processing Unit) or a GPU (Graphics Processing Unit), and a memory serving as a work area, and can execute various programs using these hardware resources. Execute various processing by. Specifically, the arithmetic unit 34 reads a program stored in the storage unit 36, loads it into the memory, and causes the processor to execute instructions included in the program loaded in the memory, thereby executing various processes.

記憶部36は、磁気記憶装置や半導体記憶装置等の不揮発性を有する記憶装置からなり、各種のプログラムおよびデータを記憶する。通信部38は、外部機器と通信を行い取得した各種データ、プログラムを記憶部36に送り、保存する。通信部38は、有線の通信回線で外部機器と接続しても、無線の通信回線で外部機器と接続してもよい。 The storage unit 36 is composed of a nonvolatile storage device such as a magnetic storage device or a semiconductor storage device, and stores various programs and data. The communication unit 38 sends various data and programs acquired through communication with external devices to the storage unit 36 and stores them therein. The communication unit 38 may be connected to an external device via a wired communication line or may be connected to an external device via a wireless communication line.

同期装置16は、ホストマシン12と、遅延分析装置14と通信を行い、ホストマシン12と、遅延分析装置14との時刻機能を同期させる。同期装置16は、PTP(Precision Time Protocol)等の高精度絶対時刻同期手法で、ホストマシン12と、遅延分析装置14の時刻機能を同期させる。ホストマシン12と、遅延分析装置14は、同期装置16から取得する情報に基づいて時刻同期を行うソフト(プログラム)が入力され、同期処理が行われる。 The synchronizer 16 communicates with the host machine 12 and the delay analyzer 14, and synchronizes the time functions of the host machine 12 and the delay analyzer 14. The synchronizer 16 synchronizes the time functions of the host machine 12 and the delay analyzer 14 using a high precision absolute time synchronization method such as PTP (Precision Time Protocol). Software (program) for time synchronization is input to the host machine 12 and the delay analysis device 14 based on information acquired from the synchronization device 16, and synchronization processing is performed.

図2は、遅延分析システムの機能構成の一例を示すブロック図である。ホストマシン12は、複数の仮想化コントローラ40と、仮想化ホストOS部42とNIC(Network Interface Card)44と、を有する。ここで、仮想化OSとは、仮想化制御部を有するホストOS、もしくはホストOSと独立した仮想化ソフトウェア(ハイパーバイザー等)を含めたシステムソフトウェアを指す。複数の仮想化コントローラ40と、仮想化ホストOS部42とは、記憶部22に記憶されるプログラムを演算部20で実行することで実現される機能である。NIC44は、通信部24で実現される機能である。NIC44は、仮想化コントローラ40と他の機器との通信を管理するホスト通信部となる。 FIG. 2 is a block diagram showing an example of the functional configuration of the delay analysis system. The host machine 12 includes a plurality of virtualization controllers 40 , a virtualization host OS section 42 , and a NIC (Network Interface Card) 44 . Here, the virtualized OS refers to a host OS that has a virtualization control unit, or system software that includes virtualization software (such as a hypervisor) that is independent of the host OS. The plurality of virtualization controllers 40 and the virtualization host OS unit 42 are functions that are realized by executing programs stored in the storage unit 22 in the calculation unit 20. The NIC 44 is a function realized by the communication unit 24. The NIC 44 serves as a host communication unit that manages communication between the virtualization controller 40 and other devices.

仮想化コントローラ40は、複数の制御ソフト50と、遅延調査用パケット送信プログラム51と、通信インターフェース52と、を有する。なお、本実施形態では制御ソフト50を複数としたが、1つでもよい。また、各仮想化コントローラ40で実行される制御ソフト50は、同じでも異なってもよい。 The virtualization controller 40 includes a plurality of control software 50, a delay investigation packet transmission program 51, and a communication interface 52. In this embodiment, there is a plurality of control software 50, but there may be only one. Furthermore, the control software 50 executed by each virtualization controller 40 may be the same or different.

制御ソフト50は、仮想化コントローラ40に設定される機能を実行するプログラムである。複数の制御ソフト50は、それぞれの機能を実行し、コントローラとしての機能を実現する。制御ソフト50は、仮想化ホストOS部42を介して取得したデータに基づいて、処理を実行し、算出した制御情報を出力する。仮想化コントローラ40は、複数の制御ソフト50を並行して処理しても、連動させて処理してもよい。 The control software 50 is a program that executes functions set in the virtualization controller 40. The plurality of control software 50 executes respective functions and realizes a function as a controller. The control software 50 executes processing based on the data acquired via the virtualization host OS unit 42 and outputs the calculated control information. The virtualization controller 40 may process a plurality of control software 50 in parallel or in conjunction with each other.

遅延調査用パケット送信プログラム51は、ホストマシン12の処理の遅延を計測するために用いる遅延調査用パケットを作成し、送信するプログラムである。遅延調査用パケット送信プログラム51は、調査パケット作成部となる。遅延調査用パケットは、ホストマシン12の処理の遅延を計測する処理を実行させる命令と、各部で取得した遅延を評価するための情報を格納する領域と、を含む。遅延調査用パケット送信プログラム51は、仮想化コントローラ40で実行される制御の処理時間の遅延を評価する処理を実行させる遅延調査用パケットを作成する。 The delay investigation packet transmission program 51 is a program that creates and transmits a delay investigation packet used to measure the processing delay of the host machine 12. The delay investigation packet transmission program 51 serves as an investigation packet creation section. The delay investigation packet includes an instruction for executing processing for measuring processing delays of the host machine 12, and an area for storing information for evaluating delays acquired by each section. The delay checking packet transmission program 51 creates a delay checking packet that causes the virtualization controller 40 to execute a process of evaluating the delay in the processing time of the control executed.

通信インターフェース52は、仮想化された通信の接続部であり、仮想化ホストOS部42と通信を行う。 The communication interface 52 is a connection unit for virtualized communication, and communicates with the virtualization host OS unit 42 .

仮想化ホストOS部42は、各仮想化コントローラ40の通信インターフェース52と通信を行い、NIC44と通信を行う。仮想化ホストOS部42は、仮想ブリッジ60と通信回線62がソフトウェア的に接続されたネットワークであり、仮想化コントローラ40同士のデータの送受信、各仮想化コントローラ40とNIC44とのデータの送受信の処理を行う。仮想ブリッジ60は、通信回線62の中継を行う。仮想化ホストOS部42は、通信回線62の接続関係を変更可能であり、仮想化コントローラ40同士の経路、各仮想化コントローラ40とNIC44との経路を変更することができる。 The virtualization host OS unit 42 communicates with the communication interface 52 of each virtualization controller 40 and communicates with the NIC 44. The virtualization host OS unit 42 is a network in which a virtual bridge 60 and a communication line 62 are connected via software, and processes data transmission and reception between the virtualization controllers 40 and data transmission and reception between each virtualization controller 40 and the NIC 44. I do. The virtual bridge 60 relays the communication line 62. The virtualization host OS unit 42 can change the connection relationship of the communication lines 62, and can change the paths between the virtualization controllers 40 and the paths between each virtualization controller 40 and the NIC 44.

NIC44は、外部の機器とデータの送受信を行う接続部である。NIC44は、有線、無線のいずれで外部の機器と通信してもよい。NIC44は、通信プロトコルに基づいて、外部の機器とIDの交換等を行い、コネクションを確立する処理も実行する。NIC44は、遅延分析装置14や、ホストマシン12の制御対象の機器と接続する。 The NIC 44 is a connection unit that transmits and receives data to and from external equipment. The NIC 44 may communicate with external devices either by wire or wirelessly. The NIC 44 also executes processing for exchanging IDs with external devices and establishing connections based on communication protocols. The NIC 44 is connected to the delay analyzer 14 and devices to be controlled by the host machine 12 .

遅延分析装置14は、パケット受信部70と、解析部72と、遅延調査用パケット送信プログラム74と、NIC76と、を含む。パケット受信部70と、解析部72と、遅延調査用パケット送信プログラム74との機能は、記憶部36に記憶されるプログラムを演算部34で実行することで実現される機能である。NIC76は、通信部38で実現される機能である。 The delay analysis device 14 includes a packet reception section 70, an analysis section 72, a delay investigation packet transmission program 74, and a NIC 76. The functions of the packet receiving section 70, the analyzing section 72, and the delay checking packet transmission program 74 are realized by executing the program stored in the storage section 36 in the calculation section 34. The NIC 76 is a function realized by the communication unit 38.

パケット受信部70は、評価対象の経路を通過した遅延調査用パケットを受信する。パケット受信部70は、受信した遅延調査用パケットを解析部72に出力する。 The packet receiving unit 70 receives the delay investigation packet that has passed through the route to be evaluated. The packet receiving unit 70 outputs the received delay investigation packet to the analyzing unit 72.

解析部72は、パケット受信部70から出力された遅延調査用パケットを解析し、遅延調査用パケットが通過した各部での処理タイミングの情報を取得する。解析部72は、取得した各部の処理タイミングの情報に基づいて、仮想化コントローラ40を含むホストマシン12の各部、ホストマシン12と通信を行う機器の各部での処理の遅延を分析する。 The analysis section 72 analyzes the delay investigation packet output from the packet reception section 70, and obtains information on the processing timing of each section through which the delay investigation packet passes. The analysis unit 72 analyzes processing delays in each part of the host machine 12 including the virtualization controller 40 and in each part of a device that communicates with the host machine 12, based on the acquired processing timing information of each part.

遅延調査用パケット送信プログラム74は、ホストマシン12の処理の遅延を計測するために用いる遅延調査用パケットを作成し、送信するプログラムである。遅延調査用パケット送信プログラム74は、調査パケット作成部となる。遅延調査用パケット送信プログラム74は、遅延分析装置14からホストマシン12に出力し、仮想化コントローラ40に到達し、仮想化コントローラ40から遅延分析装置14に出力される各処理の時間を計測する遅延調査用パケットを作成する。 The delay investigation packet transmission program 74 is a program that creates and transmits a delay investigation packet used to measure the processing delay of the host machine 12. The delay investigation packet transmission program 74 serves as an investigation packet creation section. The delay investigation packet transmission program 74 measures the time of each process that is output from the delay analyzer 14 to the host machine 12, reaches the virtualization controller 40, and is output from the virtualization controller 40 to the delay analyzer 14. Create a research packet.

NIC76は、外部の機器とデータの送受信を行う接続部である。NIC76は、有線、無線のいずれで外部の機器と通信してもよい。NIC76は、通信プロトコルに基づいて、外部の機器とIDの交換等を行い、コネクションを確立する処理も実行する。NIC76は、ホストマシン12と接続する。 The NIC 76 is a connection unit that transmits and receives data to and from external equipment. The NIC 76 may communicate with external devices either by wire or wirelessly. The NIC 76 also executes processes for exchanging IDs with external devices and establishing connections based on communication protocols. The NIC 76 is connected to the host machine 12.

次に、図3を用いて、遅延分析システムの処理の一例について説明する。図3は、遅延分析システムの処理の一例を示す説明図である。図3では、1つの仮想化コントローラの遅延(処理時間)のみを評価する場合を示すが、複数の仮想化コントローラのそれぞれについて同様の処理を実行することができる。 Next, an example of processing of the delay analysis system will be described using FIG. 3. FIG. 3 is an explanatory diagram showing an example of processing of the delay analysis system. Although FIG. 3 shows a case where only the delay (processing time) of one virtualization controller is evaluated, similar processing can be executed for each of a plurality of virtualization controllers.

図3に示す例は、仮想化コントローラ40の遅延調査用パケット送信プログラム51で遅延調査用パケットを作成し、処理を実行する。ホストマシン12、遅延分析装置14は、遅延調査用パケットを処理する各部にタイムスタンプ部82、84、86、88を有する。タイムスタンプ部82、84、86、88は、各部の制御機能の一部の機能である。タイムスタンプ部82は、遅延調査用パケット送信プログラム51に含まれる。タイムスタンプ部84は、通信インターフェース52に含まれる。タイムスタンプ部86は、NIC44に含まれる。タイムスタンプ部88は、NIC76に含まれる。なお、タイムスタンプ部は、処理時間を計測したい対象に配置すればよい。例えば、仮想化ホストOS部42の仮想ブリッジにも設けてもよい。タイムスタンプ部82、84、86、88は、通過する遅延調査用パケットに通過時の時刻を示す情報を書き込む。 In the example shown in FIG. 3, a delay investigation packet is created by the delay investigation packet transmission program 51 of the virtualization controller 40, and processing is executed. The host machine 12 and the delay analysis device 14 have time stamp sections 82, 84, 86, and 88 in each section that processes delay investigation packets. The time stamp units 82, 84, 86, and 88 are part of the control functions of each unit. The time stamp section 82 is included in the delay investigation packet transmission program 51. The timestamp unit 84 is included in the communication interface 52. The time stamp unit 86 is included in the NIC 44. The time stamp unit 88 is included in the NIC 76. Note that the time stamp section may be placed on the object whose processing time is desired to be measured. For example, it may also be provided in the virtual bridge of the virtualization host OS unit 42. The time stamp units 82, 84, 86, and 88 write information indicating the time of passage into the delay investigation packets that pass.

図3に示す例の遅延調査用パケットは、遅延調査用パケット送信プログラム51で作成され、データ経路100で各部を通過して、パケット受信部70に到達する。具体的には、遅延調査用パケットは、遅延調査用パケット送信プログラム51で作成されたのち、通信インターフェース52を通過して、仮想化ホストOS部42を通過し、NIC44から、遅延分析装置14に出力される。遅延調査用パケットは、NIC76で受信され、パケット受信部70に到達する。 The delay checking packet in the example shown in FIG. 3 is created by the delay checking packet transmission program 51, passes through various parts on the data path 100, and reaches the packet receiving unit 70. Specifically, the delay investigation packet is created by the delay investigation packet transmission program 51, passes through the communication interface 52, passes through the virtualization host OS section 42, and is sent from the NIC 44 to the delay analysis device 14. Output. The delay checking packet is received by the NIC 76 and reaches the packet receiving unit 70.

タイムスタンプ部82は、遅延調査用パケット送信プログラムで作成され、通信インターフェース52に出力される遅延調査用パケットに対して打刻処理102を行う。タイムスタンプ部84は、通信インターフェース52から仮想化ホストOS部42に出力される遅延調査用パケットに対して打刻処理104を行う。タイムスタンプ部86は、NIC44からNIC76に出力される遅延調査用パケットに対して打刻処理106を行う。タイムスタンプ部88は、NIC76からパケット受信部70に出力される遅延調査用パケットに対して打刻処理108を行う。 The time stamp section 82 performs stamping processing 102 on the delay checking packet that is created by the delay checking packet transmission program and output to the communication interface 52 . The time stamp unit 84 performs stamping processing 104 on the delay checking packet output from the communication interface 52 to the virtualization host OS unit 42 . The time stamp unit 86 performs stamping processing 106 on the delay checking packet output from the NIC 44 to the NIC 76. The time stamp section 88 performs stamping processing 108 on the delay checking packet output from the NIC 76 to the packet receiving section 70 .

図4は、遅延調査用パケットのデータ構成の一例を示す説明図である。遅延調査用パケット90は、データ経路100を通過し、打刻処理102、104、106、108が行われることで、複数のタイムスタンプ92、94、96、98のデータが格納される。タイムスタンプ92、94、96、98は、打刻処理102、104、106、108が行われた時刻が含まれる。遅延調査用パケットは、データ経路100が規定されているため、打刻したタイムスタンプ部の識別情報を含めなくてもよい。識別情報を時刻順で処理することで、各部の通過時間を検出することができる。ここで、遅延調査用パケットは、タイムスタンプを追加するパケットのペイロードを、あらかじめタイムスタンプを追加する領域を空けておき、各タイムスタンプ取得地点で決められた領域に追加するようにしてもよい。タイムスタンプを追加するパケットの判別方法は、ペイロードに判別するためのコードをソケット作成時に追加するようにすることができる。これにより、各タイムスタンプ取得地点にてそのコードを参照し判断することができる。 FIG. 4 is an explanatory diagram showing an example of the data structure of a delay investigation packet. The delay checking packet 90 passes through the data path 100 and is subjected to stamping processes 102, 104, 106, and 108, thereby storing data of a plurality of time stamps 92, 94, 96, and 98. The timestamps 92, 94, 96, and 98 include times when the stamping processes 102, 104, 106, and 108 were performed. Since the data path 100 is defined in the delay investigation packet, it is not necessary to include the identification information of the stamped time stamp part. By processing the identification information in chronological order, the passage time of each part can be detected. Here, in the delay investigation packet, the payload of the packet to which a timestamp is added may be added to an area determined at each timestamp acquisition point, with an area for adding a timestamp left open in advance. A method for determining which packets should be added with a timestamp can be such that a code for determining the packet is added to the payload at the time of socket creation. This allows the code to be referenced and determined at each timestamp acquisition point.

遅延分析システム10は、図3に示す処理を繰り返し実行し、各部の処理時間の情報が記憶された所定数遅延調査用パケットを取得する。ここで、繰り返し処理の回数は、特に限定されないが、例えば、数千回から数万回である。遅延分析装置14は、同じ経路、同じ処理を、繰り返し実行した情報に基づいて、各部での処理時間を算出する。具体的には、各部のタイムスタンプの時間の差分に基づいて、各部の処理時間を算出する。 The delay analysis system 10 repeatedly executes the process shown in FIG. 3, and obtains a predetermined number of delay investigation packets in which information on the processing time of each part is stored. Here, the number of times of repeated processing is not particularly limited, but is, for example, several thousand times to tens of thousands of times. The delay analysis device 14 calculates the processing time in each part based on information on repeated execution of the same process on the same route. Specifically, the processing time of each part is calculated based on the time difference between the time stamps of each part.

図5から図8は、それぞれ遅延時間の評価の一例を概念的に示す説明図である。遅延分析装置14は、解析部72で各部のタイムスタンプから各部での処理時間を算出する。具体的には、タイムスタンプの時刻の差分から、各タイムスタンプの間で実行した処理の処理時間を算出する。遅延分析装置14は、処理毎に処理時間の統計を算出する。算出結果は、例えば、図5から図8のようになる。図5から図8は、それぞれ、横軸が処理時間、縦軸が頻度(回数)となる。図5、図6に示すように、処理時間にばらつきが少ない場合、適切な処理が行われていると判定できる。また、図6の処理が、図5の処理よりも時間がかかる処理という判定もできる。一方で、図7に示すように、処理時間に変動が多い場合、遅延が生じる場合があると判断できる。また、図8に示す範囲120の計測点のように、突発的に遅延が発生することも検出することができる。遅延分析装置14は、遅延時間に対して閾値を設定し、閾値を基準に遅延を判定してもよい。例えば、遅延分析装置14は、閾値を超える遅延が発生した処理の回数が設定した回数以上の場合遅延が発生していると判定する。また、遅延時間の平均値に対して閾値を設定して、全体の遅延時間に基づいて判定してもよい。また、遅延分析装置14は、分析結果に基づいて遅延が発生していると判定した場合、警告を出力してもよい。また、遅延分析装置14は、リアルタイムで処理時間を算出し、計測した遅延時間が閾値を超えた場合、警告を出力してもよい。つまり、複数回の処理に限定されず、1回の処理を判定してもよい。 5 to 8 are explanatory diagrams each conceptually showing an example of evaluation of delay time. In the delay analysis device 14, the analysis section 72 calculates the processing time of each section from the time stamp of each section. Specifically, the processing time of the process executed between each time stamp is calculated from the time difference between the time stamps. The delay analysis device 14 calculates processing time statistics for each process. The calculation results are as shown in FIGS. 5 to 8, for example. In FIGS. 5 to 8, the horizontal axis represents processing time, and the vertical axis represents frequency (number of times). As shown in FIGS. 5 and 6, when there is little variation in processing time, it can be determined that appropriate processing is being performed. It can also be determined that the process in FIG. 6 takes more time than the process in FIG. On the other hand, as shown in FIG. 7, if there are many fluctuations in processing time, it can be determined that a delay may occur. Furthermore, it is also possible to detect sudden occurrences of delays, such as at measurement points in range 120 shown in FIG. The delay analysis device 14 may set a threshold value for the delay time and determine the delay based on the threshold value. For example, the delay analysis device 14 determines that a delay has occurred when the number of times that a process has been performed with a delay exceeding a threshold value is equal to or greater than a set number of times. Alternatively, a threshold value may be set for the average value of the delay times, and the determination may be made based on the entire delay time. Further, the delay analysis device 14 may output a warning when determining that a delay has occurred based on the analysis result. Further, the delay analysis device 14 may calculate the processing time in real time and output a warning when the measured delay time exceeds a threshold value. In other words, the determination is not limited to multiple times of processing, and one time of processing may be determined.

遅延分析システム10は、分析対象のホストマシン12に対して、遅延時間を分析するための遅延調査用パケットを入力し、分析対象の処理部で遅延調査用パケットを処理し、かつ、処理時のタイムスタンプを遅延調査用パケットに処理部で書き込む。ここで、処理部は、データを処理する部分と、データを送受信する部分の両方を含む。遅延分析システム10は、遅延分析装置14でタイムスタンプが格納された遅延調査用パケットのタイムスタンプの時間差を算出することで、データ経路100のタイムスタンプの打刻時点の間の処理にかかった時間を算出することができ、それぞれの処理部での時間を算出することができる。これにより、ホストマシン12の各部の処理の遅延時間を検出することができる。 The delay analysis system 10 inputs a delay investigation packet for analyzing delay time to the host machine 12 to be analyzed, processes the delay investigation packet in the processing unit to be analyzed, and The processing unit writes the timestamp into the delay investigation packet. Here, the processing section includes both a section that processes data and a section that transmits and receives data. The delay analysis system 10 calculates the time difference between the time stamps of the delay investigation packets in which the time stamps are stored in the delay analyzer 14, thereby calculating the time required for processing between the timestamps of the data path 100. can be calculated, and the time spent in each processing section can be calculated. Thereby, it is possible to detect the delay time of processing in each part of the host machine 12.

遅延分析システム10は、ホストマシン12の仮想化された各処理部では、タイムスタンプを打刻する処理のみで、各処理部の遅延時間を算出することができる。また、遅延時間分析装置12は、遅延調査用パケットの情報を分析することで、ホストマシン12の遅延時間を分析することができる。これにより、従来の処理のようにホストマシンで処理時間の算出や、処理の監視ログの取得処理等の処理が不要となるため、ホストマシン12の演算部20での演算処理の増加を抑制しつつ、遅延時間の算出が行うことができる。また、ホストマシン12の演算部20で、遅延時間の算出のための処理を少なくできることで、ホストマシン12の各部の処理をより高い精度で分析することができる。各処理部での遅延状態を高い精度で分析でき、遅延が生じている箇所が把握できることで、仮想化コントローラ、仮想化ホストOS部の、仮想化した制御部の接続関係や配置、設定を適切に調整し、ホストマシン12の遅延を低下する改良をより簡単に行うことができる。 The delay analysis system 10 can calculate the delay time of each virtualized processing section of the host machine 12 by simply stamping a time stamp. Further, the delay time analysis device 12 can analyze the delay time of the host machine 12 by analyzing the information in the delay investigation packet. This eliminates the need for the host machine to calculate the processing time and obtain process monitoring logs, which is required in conventional processing, and thus suppresses the increase in calculation processing in the calculation unit 20 of the host machine 12. At the same time, the delay time can be calculated. Further, since the processing for calculating the delay time can be reduced in the calculation unit 20 of the host machine 12, the processing of each part of the host machine 12 can be analyzed with higher accuracy. By being able to analyze the delay status of each processing unit with high precision and understanding where delays are occurring, the connection relationships, placement, and settings of virtualized control units such as the virtualization controller and virtualization host OS unit can be adjusted appropriately. improvements that reduce the latency of the host machine 12 can be made more easily.

また、遅延分析システム10は、タイムスタンプ部82、88を設け、遅延時間の判定の遅延調査用パケットの処理開始時と、処理終了時のタイムスタンプを記憶することで、ホストマシン12の各部での処理時間をより適切に検出することができる。 In addition, the delay analysis system 10 includes time stamp units 82 and 88, and stores the time stamps at the start and end of processing of the delay investigation packet for delay time determination, so that each unit of the host machine 12 processing time can be detected more appropriately.

また、タイムスタンプ部の打刻処理を含む処理時間は、各処理部での処理時間、データ経路100の通過に係る処理に対して十分に小さい時間である。このため、上述したように、遅延調査用パケットの処理の時間を高い精度で計測することができる。ここで、タイムスタンプ部の処理時間の影響を考慮する場合、タイムスタンプ部の前後でタイムスタンプを取得し、その差分からパケット判別・タイムスタンプ追加処理を計測することができる。また、評価対象のタイムスタンプ部の打刻処理を行う場合の遅延調査用パケットと、評価対象のタイムスタンプ部の打刻処理を行わない場合の遅延調査用パケットと、を取得し、全体の処理時間の差分を、評価対象のタイムスタンプ部の打刻処理の処理時間として、算出してもよい。 Further, the processing time including the stamping process of the time stamp section is sufficiently small compared to the processing time of each processing section and the processing related to passage of the data path 100. Therefore, as described above, the processing time of the delay investigation packet can be measured with high accuracy. Here, when considering the influence of the processing time of the timestamp section, it is possible to obtain timestamps before and after the timestamp section, and measure packet discrimination and timestamp addition processing from the difference. In addition, a packet for delay investigation when stamping the time stamp section to be evaluated is performed, and a packet for delay investigation when stamping the time stamp section to be evaluated is not performed, are obtained and the entire processing is performed. The difference in time may be calculated as the processing time of the stamping process of the time stamp part to be evaluated.

遅延分析装置14は、遅延調査用パケットを複数回取得し、処理時間の分布を検出し、各処理での処理タイミングの揺らぎ(ジッタ)を分析することで、遅延要因箇所を特定することができる。 The delay analyzer 14 can identify the cause of the delay by acquiring delay investigation packets multiple times, detecting the processing time distribution, and analyzing the fluctuations (jitter) in the processing timing in each process. .

なお、タイムスタンプの取得箇所は、本実施形態に限定されない。また、各処理部は、遅延調査用パケットの受信時と送信時のそれぞれについて、タイムスタンプを打刻してもよい。これにより、1つの処理部の処理にかかった時間を評価することができる。 Note that the location where the time stamp is obtained is not limited to this embodiment. Further, each processing unit may stamp a time stamp each time the delay investigation packet is received and transmitted. This makes it possible to evaluate the time required for processing by one processing unit.

また、本実施形態では、時刻情報であるタイムスタンプを遅延調査用パケットに書き込んだが、遅延調査用パケットにさらに遅延要因調査用情報を加えてもよい。遅延要因調査用情報は、遅延調査用パケット送信プログラムが遅延調査用パケット作成時に書き込んでも、ホストマシン12、遅延分析装置14の各処理部のタイムスタンプ部が、打刻処理と共に書き込んでもよい。遅延要因調査用情報としては、ソフトウェアのループ回数、変数の値、CPU使用率、内部エラーコードなどがある。遅延要因調査用情報を遅延調査用パケットに加えることで、遅延分析装置14で各処理部での遅延状態をより高精度で分析することができる。例えば、遅延要因調査用情報としてソフトウェアのループ回数情報をパケットに追加した場合に、遅延の大きい箇所でループ回数が大きい場合、ループ回数を減らして一度に処理する量を分散化するなどの遅延低減対策を分析結果として出力できる。また、遅延要因調査用情報をホストマシンの仮想化コントローラと、遅延分析装置の両方で取得することで、処置遅延が発生した場合に、遅延要因調査用情報から仮想化コントローラ、遅延分析装置のそれぞれ、または両方が関連した遅延要因の分析できる。 Further, in the present embodiment, a timestamp, which is time information, is written in the delay investigation packet, but delay factor investigation information may be further added to the delay investigation packet. The delay factor investigation information may be written by the delay investigation packet transmission program when creating the delay investigation packet, or may be written by the time stamp section of each processing section of the host machine 12 and the delay analysis device 14 at the same time as stamping processing. The delay factor investigation information includes the number of software loops, variable values, CPU usage rate, internal error codes, and the like. By adding the delay factor investigation information to the delay investigation packet, the delay analyzer 14 can analyze the delay state in each processing unit with higher accuracy. For example, if software loop count information is added to the packet as information for investigating delay causes, and if the loop count is large at a point where the delay is large, the delay can be reduced by reducing the loop count and distributing the amount processed at once. Countermeasures can be output as analysis results. In addition, by acquiring delay cause investigation information from both the virtualization controller of the host machine and the delay analysis device, when a processing delay occurs, the delay cause investigation information can be used to obtain information from both the virtualization controller and the delay analysis device. , or both can analyze related delay factors.

遅延調査用パケット送信プログラムは、各部でのデータの送受信の処理時間を計測するために、制御ソフト50で実行する処理の指令が含まれない遅延調査用パケットを作成してもよい。また、遅延調査用パケット送信プログラムは、各部での処理時間も比較するために、制御ソフト50での処理が実行する命令を含む遅延調査用パケットを作成してもよい。 The delay checking packet transmission program may create a delay checking packet that does not include instructions for processing to be executed by the control software 50 in order to measure the processing time for data transmission and reception in each section. Further, the delay checking packet transmission program may create a delay checking packet including a command to be executed by the processing in the control software 50 in order to compare the processing time in each part.

図9は、遅延分析システムの処理の一例を示す説明図である。図9に示す例は、仮想化コントローラ40の遅延調査用パケット送信プログラム51で遅延調査用パケットを作成し、制御ソフトで処理を実行する。 FIG. 9 is an explanatory diagram showing an example of processing of the delay analysis system. In the example shown in FIG. 9, a delay investigation packet is created by the delay investigation packet transmission program 51 of the virtualization controller 40, and the processing is executed by control software.

図9に示す例の遅延調査用パケットは、遅延調査用パケット送信プログラム51で作成され、データ経路140で各部を通過して、パケット受信部70に到達する。具体的には、遅延調査用パケットは、遅延調査用パケット送信プログラム51で作成されて、制御ソフト50に入力される。遅延調査用パケットは、制御ソフト50で処理され、遅延調査用パケット送信プログラム51、通信インターフェース52を通過して、仮想化ホストOS部42を通過し、NIC44から、遅延分析装置14に出力される。遅延調査用パケットは、NIC76で受信され、パケット受信部70に到達する。 The delay checking packet in the example shown in FIG. 9 is created by the delay checking packet transmission program 51, passes through various parts on the data path 140, and reaches the packet receiving unit 70. Specifically, the delay check packet is created by the delay check packet transmission program 51 and input to the control software 50. The delay investigation packet is processed by the control software 50, passes through the delay investigation packet transmission program 51, the communication interface 52, the virtualization host OS unit 42, and is output from the NIC 44 to the delay analysis device 14. . The delay checking packet is received by the NIC 76 and reaches the packet receiving unit 70.

タイムスタンプ部82、84、86、88は、遅延調査用パケットの検出した場合、打刻処理を行う遅延調査用パケットか、打刻処理をしない遅延調査用パケットかを判定する。タイムスタンプ部82、84、86、88は、遅延調査用パケット送信プログラム51で作成された遅延調査用パケットは、打刻処理する遅延調査用パケットと判定する。タイムスタンプ部82は、遅延調査用パケット送信プログラム51で作成され、通信インターフェース52に出力される遅延調査用パケットに対して打刻処理102を行う。タイムスタンプ部84は、通信インターフェース52から仮想化ホストOS部42に出力される遅延調査用パケットに対して打刻処理104を行う。タイムスタンプ部86は、NIC44からNIC76に出力される遅延調査用パケットに対して打刻処理106を行う。タイムスタンプ部88は、NIC76からパケット受信部76に出力される遅延調査用パケットに対して打刻処理108を行う。 When the time stamp units 82, 84, 86, and 88 detect a delay investigation packet, they determine whether the delay investigation packet is a delay investigation packet to be stamped or not to be stamped. The time stamp sections 82, 84, 86, and 88 determine that the delay investigation packet created by the delay investigation packet transmission program 51 is a delay investigation packet to be stamped. The time stamp unit 82 performs stamping processing 102 on the delay checking packet created by the delay checking packet transmission program 51 and output to the communication interface 52 . The time stamp unit 84 performs stamping processing 104 on the delay checking packet output from the communication interface 52 to the virtualization host OS unit 42 . The time stamp unit 86 performs stamping processing 106 on the delay checking packet output from the NIC 44 to the NIC 76. The time stamp section 88 performs stamping processing 108 on the delay checking packet output from the NIC 76 to the packet receiving section 76 .

図9に示すデータ経路140の遅延時間を分析することで、制御ソフト51で実行される処理の遅延調査用パケットが送られるデータ経路142の遅延時間を分析することができる。ここで、データ経路142は、制御ソフト50で処理し、通信インターフェース52を通過して、仮想化ホストOS部42を通過し、NIC44から、制御対象に出力される制御パケット、つまり遅延調査用ではないパケットである。 By analyzing the delay time of the data path 140 shown in FIG. 9, it is possible to analyze the delay time of the data path 142 to which the delay investigation packet for processing executed by the control software 51 is sent. Here, the data path 142 is a control packet that is processed by the control software 50, passes through the communication interface 52, passes through the virtualization host OS unit 42, and is output from the NIC 44 to the control target. It is a packet that does not exist.

このように、制御ソフト50で処理を実行する遅延調査用パケットとすることで、制御ソフト50の遅延時間も分析することができる。 In this way, by using the delay investigation packet to be processed by the control software 50, the delay time of the control software 50 can also be analyzed.

データ経路140で送信される遅延調査用パケットは、制御ソフト50で実行される処理が、データ経路142で送信される制御パケットと同じ処理となるパケットとすることが好ましい。これにより、実際の処理の制御ソフト50の遅延を分析することができる。 It is preferable that the delay checking packet transmitted on the data path 140 is a packet whose processing is executed by the control software 50 in the same manner as the control packet transmitted on the data path 142. This makes it possible to analyze the delay of the control software 50 in actual processing.

遅延分析システム10は、タイムスタンプ部82、84、86、88で、打刻処理を行う遅延調査用パケットか否かを判定することで、仮想化コントローラ40が対象を制御する遅延調査用パケット、つまり、データ経路142で通過する遅延調査用パケットに打刻処理を行うことが無くなり、ホストマシン12の遅延分析時以外の制御に生じる影響を少なくすることができる。 The delay analysis system 10 uses the time stamp units 82, 84, 86, and 88 to determine whether or not the delay investigation packet is to be stamped, thereby determining whether the delay investigation packet is controlled by the virtualization controller 40. In other words, there is no need to perform stamping on the delay investigation packets passing through the data path 142, and the influence on control of the host machine 12 other than during delay analysis can be reduced.

上記実施形態では、1つの仮想化コントローラの遅延(処理時間)のみを評価したが、複数の仮想化コントローラで連動する制御を行う場合も同様に遅延時間を評価できる。例えば、遅延調査用パケットが、1つの仮想化コントローラ40を通過して、仮想化ホストOS部42に出力された後、別の仮想化コントローラ40に入力され、通過して、仮想化ホストOS部42に出力された後、パケット受信部70に出力される経路とすることもできる。この場合も通過時にタイムスタンプを遅延調査用パケットに書き込むことで、解析部72で、各処理の遅延時間を分析することができる。 In the above embodiment, only the delay (processing time) of one virtualization controller was evaluated, but the delay time can be similarly evaluated even when multiple virtualization controllers perform interlocking control. For example, a delay check packet passes through one virtualization controller 40 and is output to the virtualization host OS section 42, and then is input to another virtualization controller 40, passes through it, and is output to the virtualization host OS section 42. 42 and then output to the packet receiving section 70. In this case as well, by writing a time stamp in the delay investigation packet at the time of passage, the analysis unit 72 can analyze the delay time of each process.

図10は、遅延分析システムの処理の一例を示す説明図である。図10に示す処理は、遅延分析装置14の遅延調査用パケット作成プログラム74で遅延調査用パケットを作成して、ホストマシン12の遅延を分析する例を示している。ホストマシン12、遅延分析装置14は、遅延調査用パケットを処理する各部にタイムスタンプ部84、86、88、89を有する。タイムスタンプ部89は、制御ソフト50に含まれる。 FIG. 10 is an explanatory diagram showing an example of processing of the delay analysis system. The process shown in FIG. 10 shows an example in which a delay investigation packet is created by the delay investigation packet creation program 74 of the delay analyzer 14 and the delay of the host machine 12 is analyzed. The host machine 12 and the delay analysis device 14 have time stamp sections 84, 86, 88, and 89 in each section that processes delay investigation packets. The time stamp section 89 is included in the control software 50.

図10に示す例の遅延調査用パケットは、遅延調査用パケット送信プログラム74で作成され、データ経路150で各部を通過して、ホストマシン12を通過した後、パケット受信部70に到達する。具体的には、遅延調査用パケットは、遅延調査用パケット送信プログラム74で作成されたのち、NIC76からNIC44に出力され、仮想化ホストOS部42を通過して、通信インターフェース52を通過して、制御ソフト51に到達する。遅延調査用パケットは、制御ソフト51で処理された後、通信インターフェース52を通過して、仮想化ホストOS部42を通過し、NIC44から、遅延分析装置14に出力される。遅延調査用パケットは、NIC76で受信され、パケット受信部70に到達する。 The delay checking packet in the example shown in FIG. 10 is created by the delay checking packet transmission program 74, passes through various parts on the data path 150, and reaches the packet receiving unit 70 after passing through the host machine 12. Specifically, the delay check packet is created by the delay check packet transmission program 74, output from the NIC 76 to the NIC 44, passes through the virtualization host OS unit 42, passes through the communication interface 52, and The control software 51 is reached. The delay investigation packet is processed by the control software 51, passes through the communication interface 52, passes through the virtualization host OS unit 42, and is output from the NIC 44 to the delay analysis device 14. The delay checking packet is received by the NIC 76 and reaches the packet receiving unit 70.

タイムスタンプ部88は、NIC76からNIC44に出力される遅延調査用パケットに対して打刻処理151を行う。タイムスタンプ部86は、NIC44から仮想化ホストOS部42に出力される遅延調査用パケットに対して打刻処理152を行う。タイムスタンプ部84は、通信インターフェース52から制御ソフト50に出力される遅延調査用パケットに対して打刻処理154を行う。タイムスタンプ部140は、制御ソフト50が受信した遅延調査用パケットに対して打刻処理156を行う。タイムスタンプ部140は、制御ソフト50から通信インターフェース52に出力する遅延調査用パケットに対して打刻処理158を行う。タイムスタンプ部84は、通信インターフェース52からOS部42に出力される遅延調査用パケットに対して打刻処理160を行う。タイムスタンプ部86は、NIC44からNIC76に出力される遅延調査用パケットに対して打刻処理162を行う。タイムスタンプ部88は、NIC76からパケット受信部70に出力される遅延調査用パケットに対して打刻処理164を行う。 The time stamp unit 88 performs stamping processing 151 on the delay checking packet output from the NIC 76 to the NIC 44. The time stamp section 86 performs stamping processing 152 on the delay checking packet output from the NIC 44 to the virtualization host OS section 42 . The time stamp unit 84 performs stamping processing 154 on the delay checking packet output from the communication interface 52 to the control software 50 . The time stamp section 140 performs stamping processing 156 on the delay investigation packet received by the control software 50. The time stamp section 140 performs stamping processing 158 on the delay checking packet output from the control software 50 to the communication interface 52 . The time stamp unit 84 performs stamping processing 160 on the delay checking packet output from the communication interface 52 to the OS unit 42 . The time stamp unit 86 performs stamping processing 162 on the delay checking packet output from the NIC 44 to the NIC 76. The time stamp section 88 performs stamping processing 164 on the delay checking packet output from the NIC 76 to the packet receiving section 70 .

遅延分析システム10は、分析処理装置12の遅延調査用パケット送信プログラム74で遅延調査用パケットを作成し、ホストマシン12に入力し、ホストマシン12で処理を行い、ホストマシン12から分析処理装置12に出力するデータ経路150で遅延調査用パケットを処理して、タイムスタンプを取得することで、仮想化コントローラ40の制御対象の機器から、遅延調査用パケットが入力され、仮想化コントローラ40で処理して、制御対象の機器に遅延調査用パケットを出力する経路と同様の処理で生じる遅延時間を計測することができる。また、仮想化コントローラ40の制御対象の機器から、遅延調査用パケットが入力され、仮想化コントローラ40に到達する前の遅延時間も分析することができる。これにより、仮想化コントローラ40の制御対象の機器との処理で生じる遅延時間をより広範囲に分析することができる。遅延分析システム10は、制御対象への出力指令の処理遅延だけでなく、制御対象からのセンサ入力信号等の処理遅延も分析することができる。 The delay analysis system 10 creates a delay investigation packet using the delay investigation packet transmission program 74 of the analysis processing device 12, inputs it to the host machine 12, processes it in the host machine 12, and sends it from the host machine 12 to the analysis processing device 12. By processing the delay checking packet on the data path 150 that is output to the data path 150 and acquiring a time stamp, the delay checking packet is input from the device controlled by the virtualization controller 40 and processed by the virtualization controller 40. By using this method, it is possible to measure the delay time that occurs in the same process as the route that outputs the delay investigation packet to the device to be controlled. Further, it is also possible to analyze the delay time before a delay investigation packet is input from a device to be controlled by the virtualization controller 40 and reaches the virtualization controller 40. Thereby, it is possible to analyze a wider range of delay times caused by processing with devices to be controlled by the virtualization controller 40. The delay analysis system 10 can analyze not only processing delays of output commands to controlled objects, but also processing delays of sensor input signals and the like from controlled objects.

本実施形態の遅延分析システム10は、同期装置16を用いることで、ホストマシン12と遅延分析装置14との時刻同期を高い精度で行うことができる。各仮想化制御コントローラ40、ホストマシン12、遅延分析装置14のそれぞれの処理部で設定される時刻の精度の違いや時差を考慮する必要が無くなり、処理時間の算出を容易とすることができる。なお、本実施形態では、同期装置16をホストマシン12、遅延分析装置14とは別体で設けたが、ホストマシン12、遅延分析装置14のいずれかと一体としてもよい。つまり、時刻を同期させる機能をホストマシン12、遅延分析装置14に設けてもよい。また、遅延分析システム10は、同期装置16を設けることが好ましいが設けない構成としてもよい。 By using the synchronization device 16, the delay analysis system 10 of this embodiment can perform time synchronization between the host machine 12 and the delay analysis device 14 with high accuracy. There is no need to consider differences in time precision or time differences set in the processing units of each virtualization controller 40, host machine 12, and delay analysis device 14, and processing time can be easily calculated. In this embodiment, the synchronization device 16 is provided separately from the host machine 12 and the delay analysis device 14, but it may be integrated with either the host machine 12 or the delay analysis device 14. That is, the host machine 12 and the delay analysis device 14 may be provided with a function to synchronize the times. Moreover, although it is preferable that the delay analysis system 10 is provided with the synchronization device 16, it may be configured without the synchronization device 16.

本開示は、以下の発明を開示している。なお、下記に限定されない。
(1)仮想化されたコントローラと、前記コントローラと他の機器との通信を管理するホスト通信部と、を実行するホストマシンと、前記ホストマシンの処理の遅延を計測する遅延調査用パケットを前記ホストマシンに入力し、前記ホストマシンで処理された遅延調査用パケットを分析して、前記ホストマシンの処理の遅延を計測する遅延分析装置と、を有し、前記コントローラは、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記ホスト通信部に出力し、前記ホスト通信部は、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記遅延分析装置に出力し、前記遅延分析装置は、前記遅延調査用パケットに書き込まれた、前記コントローラのタイムスタンプと、前記ホスト通信部のタイムスタンプに基づいて、各部の処理時間を算出する遅延分析システム。
This disclosure discloses the following inventions. Note that the examples are not limited to the following.
(1) A host machine that executes a virtualized controller, a host communication unit that manages communication between the controller and other devices, and a delay investigation packet that measures the processing delay of the host machine. a delay analysis device that analyzes a delay investigation packet input to a host machine and processed by the host machine to measure a processing delay of the host machine; and writes a timestamp into the delay checking packet and outputs it to the host communication unit, and the host communication unit processes the delay checking packet and writes the timestamp into the delay checking packet. and outputs it to the delay analysis device, and the delay analysis device calculates the processing time of each section based on the controller time stamp and the host communication section time stamp written in the delay investigation packet. Delay analysis system to calculate.

これにより、ホストマシンの仮想化された各処理部では、タイムスタンプを打刻する処理のみで、各処理部の遅延時間を算出することができる。また、遅延時間分析装置は、遅延調査用パケットの情報を分析することで、ホストマシンの遅延時間を分析することができる。これにより、従来の処理のようにホストマシンで処理時間の算出や、処理の監視ログの取得処理等の処理が不要となるため、ホストマシンの演算部での演算処理の増加を抑制しつつ、遅延時間の算出が行うことができる。 As a result, each virtualized processing section of the host machine can calculate the delay time of each processing section only by stamping a time stamp. Further, the delay time analysis device can analyze the delay time of the host machine by analyzing the information in the delay investigation packet. This eliminates the need for the host machine to calculate processing time and obtain process monitoring logs, which is required in conventional processing, and thus suppresses the increase in arithmetic processing in the host machine's arithmetic unit. Delay time can be calculated.

(2)前記遅延分析装置は、前記ホストマシンから出力された前記遅延調査用パケットの受信時のタイムスタンプを取得する(1)に記載の遅延分析システム。これにより、各部での処理時間をより適切に検出することができる。 (2) The delay analysis system according to (1), wherein the delay analysis device acquires a timestamp at the time of reception of the delay investigation packet output from the host machine. Thereby, the processing time in each part can be detected more appropriately.

(3)前記コントローラは、前記遅延調査用パケットの受信時に、タイムスタンプを格納する領域を前記遅延調査用パケットに作成し、タイムスタンプを格納する領域に、作成時のタイムスタンプを書き込む(1)または(2)に記載の遅延分析システム。これにより、各部での処理時間をより適切に検出することができる。 (3) When receiving the delay investigation packet, the controller creates an area for storing a timestamp in the delay investigation packet, and writes a timestamp at the time of creation into the area for storing the timestamp (1) Or the delay analysis system described in (2). Thereby, the processing time in each part can be detected more appropriately.

(4)前記コントローラは、仮想化され、他の機器とのデータの送受信を行う仮想通信インターフェースを有し、仮想通信インターフェースは、前記遅延調査用パケットの通信時に、通信時のタイムスタンプを前記遅延調査用パケットに書き込む(1)から(3)のいずれかに記載の遅延分析システム。これにより、各部での処理時間をより適切に検出することができる。 (4) The controller is virtualized and has a virtual communication interface that sends and receives data to and from other devices, and the virtual communication interface sets the time stamp at the time of communication to the delay when communicating the delay investigation packet. The delay analysis system according to any one of (1) to (3), which writes in the investigation packet. Thereby, the processing time in each part can be detected more appropriately.

(5)前記コントローラは、前記遅延調査用パケットを作成する調査パケット作成部を有し、前記調査パケット作成部は、タイムスタンプを格納する領域を前記遅延調査用パケットに作成し、タイムスタンプを格納する領域に、前記遅延調査用パケットの作成時のタイムスタンプを書き込む(1)または(2)に記載の遅延分析システム。これにより、各部での処理時間をより適切に検出することができる。 (5) The controller includes a check packet creation unit that creates the delay check packet, and the check packet creation unit creates an area for storing a timestamp in the delay check packet, and stores the time stamp. The delay analysis system according to (1) or (2), wherein a time stamp at the time of creation of the delay investigation packet is written in the area where the delay investigation packet is created. Thereby, the processing time in each part can be detected more appropriately.

(6)前記遅延分析装置は、前記遅延調査用パケットを作成する調査パケット作成部を有し、前記調査パケット作成部は、タイムスタンプを格納する領域を前記遅延調査用パケットに作成し、タイムスタンプを格納する領域に、前記遅延調査用パケットの作成時のタイムスタンプを書き込む(1)または(2)に記載の遅延分析システム。これにより、各部での処理時間をより適切に検出することができる。 (6) The delay analysis device includes an investigation packet creation section that creates the delay investigation packet, and the investigation packet creation section creates an area for storing a timestamp in the delay investigation packet, and the time stamp. The delay analysis system according to (1) or (2), wherein a timestamp at the time of creation of the delay investigation packet is written in an area for storing the delay investigation packet. Thereby, the processing time in each part can be detected more appropriately.

(7)前記コントローラは、タイムスタンプを書き込む前記遅延調査用パケットであるか否かを判定し、前記ホスト通信部は、タイムスタンプを書き込む前記遅延調査用パケットであるか否かを判定する(1)から(6)のいずれかに記載の遅延分析システム。これにより、ホストマシンの遅延分析時以外の制御に生じる影響を少なくすることができる。 (7) The controller determines whether or not the delay check packet is to write a time stamp, and the host communication unit determines whether the delay check packet is to write a time stamp (1 ) to (6). This makes it possible to reduce the influence on control of the host machine other than during delay analysis.

(8)前記ホストマシンは、前記遅延分析装置とデータの送受信を行う通信部を有し、前記通信部は、前記遅延調査用パケットの通信時に、通信時のタイムスタンプを前記遅延調査用パケットに書き込む(1)から(7)のいずれかに記載の遅延分析システム。これにより、各部での処理時間をより広範囲に検出することができる。 (8) The host machine has a communication unit that sends and receives data to and from the delay analysis device, and the communication unit adds a timestamp at the time of communication to the delay investigation packet when communicating the delay investigation packet. The delay analysis system according to any one of writing (1) to (7). Thereby, the processing time in each part can be detected over a wider range.

(9)前記タイムスタンプの少なくとも1つは、遅延要因調査情報とともに書き込まれ、前記遅延分析装置は、前記遅延調査用パケットに書き込まれた、前記タイムスタンプに加え、遅延要因調査情報に基づいて、各部での処理の遅延を評価する(1)から(8)のいずれかに記載の遅延分析システム。これにより、各部での処理時間をより高精度で解析することができる。 (9) At least one of the timestamps is written together with delay factor investigation information, and the delay analysis device, based on the delay factor investigation information in addition to the timestamp written in the delay investigation packet, The delay analysis system according to any one of (1) to (8), which evaluates processing delays in each part. This allows the processing time in each section to be analyzed with higher accuracy.

(10)前記ホストマシン及び前記遅延分析装置と接続し、前記ホストマシン及び前記遅延分析装置と時刻情報を同期させる同期装置をさらに備える(1)から(9)のいずれかに記載の遅延分析システム。これにより、各部での処理時間をより高精度で解析することができる。 (10) The delay analysis system according to any one of (1) to (9), further comprising a synchronization device that connects to the host machine and the delay analysis device and synchronizes time information with the host machine and the delay analysis device. . This allows the processing time in each section to be analyzed with higher precision.

(11)仮想化されたコントローラと、前記コントローラと他の機器との通信を管理するホスト通信部と、を実行するホストマシンの制御の遅延を遅延計測装置で分析する遅延分析方法であって、前記ホストマシンの処理の遅延を計測する遅延調査用パケットを前記ホストマシンに入力するステップと、前記コントローラが、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記ホスト通信部に出力するステップと、前記ホスト通信部が、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記遅延分析装置に出力するステップと、前記遅延調査用パケットに書き込まれた、前記コントローラのタイムスタンプと、前記ホスト通信部のタイムスタンプに基づいて、各部の処理時間を算出するステップと、を含む遅延分析方法。 (11) A delay analysis method that uses a delay measurement device to analyze the control delay of a host machine that executes a virtualized controller and a host communication unit that manages communication between the controller and other devices, the method comprising: inputting a delay investigation packet for measuring a processing delay of the host machine into the host machine, the controller processing the delay investigation packet, and writing a timestamp to the delay investigation packet; outputting to the host communication unit, the host communication unit processing the delay investigation packet, writing a timestamp to the delay investigation packet, and outputting it to the delay analysis device; A delay analysis method comprising the step of calculating processing time of each unit based on a time stamp of the controller and a time stamp of the host communication unit written in an investigation packet.

これにより、ホストマシンの仮想化された各処理部では、タイムスタンプを打刻する処理のみで、各処理部の遅延時間を算出することができる。また、遅延時間分析装置は、遅延調査用パケットの情報を分析することで、ホストマシンの遅延時間を分析することができる。これにより、従来の処理のようにホストマシンで処理時間の算出や、処理の監視ログの取得処理等の処理が不要となるため、ホストマシンの演算部での演算処理の増加を抑制しつつ、遅延時間の算出が行うことができる。 As a result, each virtualized processing section of the host machine can calculate the delay time of each processing section only by stamping a time stamp. Further, the delay time analysis device can analyze the delay time of the host machine by analyzing the information in the delay investigation packet. This eliminates the need for the host machine to calculate processing time and obtain process monitoring logs, which is required in conventional processing, and thus suppresses the increase in arithmetic processing in the host machine's arithmetic unit. Delay time can be calculated.

(12)仮想化されたコントローラと、前記コントローラと他の機器との通信を管理するホスト通信部と、を実行するホストマシンの制御の遅延を遅延計測装置で分析する遅延分析システムに、前記ホストマシンの処理の遅延を計測する遅延調査用パケットを前記ホストマシンに入力するステップと、前記コントローラが、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記ホスト通信部に出力するステップと、前記ホスト通信部が、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記遅延分析装置に出力するステップと、前記遅延調査用パケットに書き込まれた、前記コントローラのタイムスタンプと、前記ホスト通信部のタイムスタンプに基づいて、各部の処理時間を算出するステップと、を実行させる遅延分析プログラム。 (12) A delay analysis system that uses a delay measurement device to analyze the control delay of a host machine that executes a virtualized controller and a host communication unit that manages communication between the controller and other devices. inputting a delay checking packet for measuring a processing delay of a machine into the host machine; the controller processing the delay checking packet and writing a timestamp to the delay checking packet; a step of outputting to a communication unit, a step of the host communication unit processing the delay investigation packet, writing a timestamp to the delay investigation packet, and outputting it to the delay analysis device; A delay analysis program that executes the step of calculating processing time of each unit based on a time stamp of the controller and a time stamp of the host communication unit written in a packet.

これにより、ホストマシンの仮想化された各処理部では、タイムスタンプを打刻する処理のみで、各処理部の遅延時間を算出することができる。また、遅延時間分析装置は、遅延調査用パケットの情報を分析することで、ホストマシンの遅延時間を分析することができる。これにより、従来の処理のようにホストマシンで処理時間の算出や、処理の監視ログの取得処理等の処理が不要となるため、ホストマシンの演算部での演算処理の増加を抑制しつつ、遅延時間の算出が行うことができる。 As a result, each virtualized processing section of the host machine can calculate the delay time of each processing section only by stamping a time stamp. Further, the delay time analysis device can analyze the delay time of the host machine by analyzing the information in the delay investigation packet. This eliminates the need for the host machine to calculate processing time and obtain process monitoring logs, which is required in conventional processing, and thus suppresses the increase in arithmetic processing in the host machine's arithmetic unit. Delay time can be calculated.

10 遅延分析システム
12 ホストマシン
14 遅延分析装置
16 同期装置
20、34 演算部
22、36 記憶部
24、38 通信部
30 入力部
32 出力部
40 仮想化コントローラ
42 仮想化ホストOS部
44、76 NIC
50 制御ソフト(仮想化制御部)
51、74 遅延調査用パケット送信プログラム
52 通信インターフェース(仮想化通信インターフェース)
60 仮想ブリッジ
62 通信回線
70 パケット受信部
72 解析部
82、84、86、88、89 タイムスタンプ部
90 遅延調査用パケット
92、94、96 タイムスタンプデータ
100、142、150 データ経路
102、104、106、108、151、152、154、156、158、160、162、164 打刻処理
10 Delay analysis system 12 Host machine 14 Delay analysis device 16 Synchronization device 20, 34 Arithmetic unit 22, 36 Storage unit 24, 38 Communication unit 30 Input unit 32 Output unit 40 Virtualization controller 42 Virtualization host OS unit 44, 76 NIC
50 Control software (virtualization control unit)
51, 74 Delay investigation packet transmission program 52 Communication interface (virtualization communication interface)
60 Virtual bridge 62 Communication line 70 Packet receiving section 72 Analysis section 82, 84, 86, 88, 89 Time stamp section 90 Delay investigation packet 92, 94, 96 Time stamp data 100, 142, 150 Data path 102, 104, 106 , 108, 151, 152, 154, 156, 158, 160, 162, 164 Embossing processing

Claims (12)

仮想化されたコントローラと、前記コントローラと他の機器との通信を管理するホスト通信部と、を実行するホストマシンと、
前記ホストマシンの処理の遅延を計測する遅延調査用パケットを前記ホストマシンに入力し、前記ホストマシンで処理された遅延調査用パケットを分析して、前記ホストマシンの処理の遅延を計測する遅延分析装置と、を有し、
前記コントローラは、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記ホスト通信部に出力し、
前記ホスト通信部は、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記遅延分析装置に出力し、
前記遅延分析装置は、前記遅延調査用パケットに書き込まれた、前記コントローラのタイムスタンプと、前記ホスト通信部のタイムスタンプに基づいて、各部の処理時間を算出する遅延分析システム。
a host machine that executes a virtualized controller and a host communication unit that manages communication between the controller and other devices;
Delay analysis that measures the processing delay of the host machine by inputting a delay investigation packet to the host machine and analyzing the delay investigation packet processed by the host machine. having a device;
The controller processes the delay checking packet, writes a timestamp in the delay checking packet, and outputs it to the host communication unit,
The host communication unit processes the delay investigation packet, writes a timestamp to the delay investigation packet, and outputs it to the delay analysis device;
The delay analysis device is a delay analysis system that calculates the processing time of each unit based on the time stamp of the controller and the time stamp of the host communication unit written in the delay investigation packet.
前記遅延分析装置は、前記ホストマシンから出力された前記遅延調査用パケットの受信時のタイムスタンプを取得する請求項1に記載の遅延分析システム。 2. The delay analysis system according to claim 1, wherein the delay analysis device obtains a timestamp at the time of reception of the delay investigation packet output from the host machine. 前記コントローラは、前記遅延調査用パケットの受信時に、タイムスタンプを格納する領域を前記遅延調査用パケットに作成し、タイムスタンプを格納する領域に、作成時のタイムスタンプを書き込む請求項1に記載の遅延分析システム。 2. The controller according to claim 1, when receiving the delay checking packet, creates a time stamp storage area in the delay checking packet, and writes a time stamp at the time of creation into the time stamp storage area. Delay analysis system. 前記コントローラは、仮想化され、他の機器とのデータの送受信を行う仮想通信インターフェースを有し、
仮想通信インターフェースは、前記遅延調査用パケットの通信時に、通信時のタイムスタンプを前記遅延調査用パケットに書き込む請求項1に記載の遅延分析システム。
The controller is virtualized and has a virtual communication interface that sends and receives data to and from other devices,
2. The delay analysis system according to claim 1, wherein the virtual communication interface writes a timestamp at the time of communication into the delay investigation packet when communicating the delay investigation packet.
前記コントローラは、前記遅延調査用パケットを作成する調査パケット作成部を有し、
前記調査パケット作成部は、タイムスタンプを格納する領域を前記遅延調査用パケットに作成し、タイムスタンプを格納する領域に、前記遅延調査用パケットの作成時のタイムスタンプを書き込む請求項1に記載の遅延分析システム。
The controller includes a check packet creation unit that creates the delay check packet,
2. The check packet creation unit creates a time stamp storage area in the delay check packet, and writes a timestamp at the time of creation of the delay check packet into the time stamp storage area. Delay analysis system.
前記遅延分析装置は、前記遅延調査用パケットを作成する調査パケット作成部を有し、
前記調査パケット作成部は、タイムスタンプを格納する領域を前記遅延調査用パケットに作成し、タイムスタンプを格納する領域に、前記遅延調査用パケットの作成時のタイムスタンプを書き込む請求項1に記載の遅延分析システム。
The delay analysis device includes a check packet creation unit that creates the delay check packet,
2. The check packet creation unit creates a time stamp storage area in the delay check packet, and writes a timestamp at the time of creation of the delay check packet into the time stamp storage area. Delay analysis system.
前記コントローラは、タイムスタンプを書き込む前記遅延調査用パケットであるか否かを判定し、
前記ホスト通信部は、タイムスタンプを書き込む前記遅延調査用パケットであるか否かを判定する請求項1から請求項6のいずれか一項に記載の遅延分析システム。
The controller determines whether it is the delay investigation packet in which a timestamp is written,
7. The delay analysis system according to claim 1, wherein the host communication unit determines whether or not the delay investigation packet is a packet for writing a time stamp.
前記ホストマシンは、前記遅延分析装置とデータの送受信を行う通信部を有し、
前記通信部は、前記遅延調査用パケットの通信時に、通信時のタイムスタンプを前記遅延調査用パケットに書き込む請求項1から請求項6のいずれか一項に記載の遅延分析システム。
The host machine has a communication unit that sends and receives data to and from the delay analysis device,
The delay analysis system according to any one of claims 1 to 6, wherein the communication unit writes a timestamp at the time of communication into the delay investigation packet when communicating the delay investigation packet.
前記タイムスタンプの少なくとも1つは、遅延要因調査情報とともに書き込まれ、
前記遅延分析装置は、前記遅延調査用パケットに書き込まれた、前記タイムスタンプに加え、遅延要因調査情報に基づいて、各部での処理の遅延を評価する請求項1から請求項6のいずれか一項に記載の遅延分析システム。
at least one of the timestamps is written with delay factor investigation information;
7. The delay analysis device evaluates processing delays in each section based on delay factor investigation information in addition to the time stamp written in the delay investigation packet. The delay analysis system described in Section.
前記ホストマシン及び前記遅延分析装置と接続し、前記ホストマシン及び前記遅延分析装置と時刻情報を同期させる同期装置をさらに備える請求項1から請求項6のいずれか一項に記載の遅延分析システム。 The delay analysis system according to any one of claims 1 to 6, further comprising a synchronization device that connects to the host machine and the delay analysis device and synchronizes time information with the host machine and the delay analysis device. 仮想化されたコントローラと、前記コントローラと他の機器との通信を管理するホスト通信部と、を実行するホストマシンの制御の遅延を遅延計測装置で分析する遅延分析方法であって、
前記ホストマシンの処理の遅延を計測する遅延調査用パケットを前記ホストマシンに入力するステップと、
前記コントローラが、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記ホスト通信部に出力するステップと、
前記ホスト通信部が、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記遅延分析装置に出力するステップと、
前記遅延調査用パケットに書き込まれた、前記コントローラのタイムスタンプと、前記ホスト通信部のタイムスタンプに基づいて、各部の処理時間を算出するステップと、を含む遅延分析方法。
A delay analysis method that uses a delay measurement device to analyze a delay in control of a host machine that executes a virtualized controller and a host communication unit that manages communication between the controller and other devices, the method comprising:
inputting a delay investigation packet to the host machine to measure the processing delay of the host machine;
the controller processing the delay checking packet, writing a timestamp in the delay checking packet, and outputting the same to the host communication unit;
the host communication unit processing the delay investigation packet, writing a timestamp in the delay investigation packet, and outputting it to the delay analysis device;
A delay analysis method comprising the step of calculating processing time of each unit based on a time stamp of the controller and a time stamp of the host communication unit written in the delay investigation packet.
仮想化されたコントローラと、前記コントローラと他の機器との通信を管理するホスト通信部と、を実行するホストマシンの制御の遅延を遅延計測装置で分析する遅延分析システムに、
前記ホストマシンの処理の遅延を計測する遅延調査用パケットを前記ホストマシンに入力するステップと、
前記コントローラが、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記ホスト通信部に出力するステップと、
前記ホスト通信部が、前記遅延調査用パケットを処理し、かつ、タイムスタンプを前記遅延調査用パケットに書き込み、前記遅延分析装置に出力するステップと、
前記遅延調査用パケットに書き込まれた、前記コントローラのタイムスタンプと、前記ホスト通信部のタイムスタンプに基づいて、各部の処理時間を算出するステップと、を実行させる遅延分析プログラム。
A delay analysis system that uses a delay measurement device to analyze the control delay of a host machine that executes a virtualized controller, a host communication unit that manages communication between the controller and other devices,
inputting a delay investigation packet to the host machine to measure the processing delay of the host machine;
the controller processes the delay check packet, writes a timestamp to the delay check packet, and outputs the same to the host communication unit;
the host communication unit processing the delay investigation packet, writing a timestamp in the delay investigation packet, and outputting it to the delay analysis device;
A delay analysis program that executes the step of calculating a processing time of each unit based on a time stamp of the controller and a time stamp of the host communication unit written in the delay investigation packet.
JP2022085543A 2022-05-25 2022-05-25 Delay analysis system, delay analysis method, and delay analysis program Pending JP2023173353A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022085543A JP2023173353A (en) 2022-05-25 2022-05-25 Delay analysis system, delay analysis method, and delay analysis program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022085543A JP2023173353A (en) 2022-05-25 2022-05-25 Delay analysis system, delay analysis method, and delay analysis program

Publications (1)

Publication Number Publication Date
JP2023173353A true JP2023173353A (en) 2023-12-07

Family

ID=89030833

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022085543A Pending JP2023173353A (en) 2022-05-25 2022-05-25 Delay analysis system, delay analysis method, and delay analysis program

Country Status (1)

Country Link
JP (1) JP2023173353A (en)

Similar Documents

Publication Publication Date Title
EP3306475B1 (en) System and method for predicting disk failure
US10816951B2 (en) Emulation of a control system and control method for abnormality detection parameter verification
US7324922B2 (en) Run-time performance verification system
US7111779B2 (en) System, method, and program for generating transaction profile for measuring and analyzing computer system performance
TW201833570A (en) Real-time capture of traffic upon failure for protocol debug
JP5429746B2 (en) A power consumption evaluation device, a power coefficient creation system, a power consumption evaluation method, and a power coefficient creation method.
JP2008269084A (en) Log analysis method and device
KR101110241B1 (en) Program test device and program
US20180157571A1 (en) Method for the realistic estimation of function run times in pil simulation
JP2023173353A (en) Delay analysis system, delay analysis method, and delay analysis program
JP7188463B2 (en) ANALYSIS DEVICE, ANALYSIS METHOD, AND PROGRAM
CN112148537B (en) Bus monitoring device and method, storage medium and electronic device
WO2020044898A1 (en) Device status monitoring device and program
WO2023181241A1 (en) Monitoring server device, system, method, and program
JP6375200B2 (en) Apparatus and method for detecting abnormal signs of computer system
EP3537303A1 (en) Trace data compression method selection device. method, and program
KR102106618B1 (en) System, terminal device, verification apparatus, method and computer-readable medium for testing application performance
CN109478052B (en) Method and device for determining execution time of application program
US20070188796A1 (en) Image processing apparatus and image processing method
US20070262879A1 (en) I/O bus for analog sensors in an IC
JP6778713B2 (en) Functional analysis device, functional analysis method and functional analysis program
CN106855840B (en) System CPU analysis method and device
JP2007156822A (en) Simulated application test apparatus for computer system
US20240113955A1 (en) Measuring apparatus, method for measuring, and recorded program medium
JP4893695B2 (en) Coverage measuring device, coverage measuring method, coverage measuring program