TWI827974B - Virtual function performance analyzing system and analyzing method thereof - Google Patents
Virtual function performance analyzing system and analyzing method thereof Download PDFInfo
- Publication number
- TWI827974B TWI827974B TW110133368A TW110133368A TWI827974B TW I827974 B TWI827974 B TW I827974B TW 110133368 A TW110133368 A TW 110133368A TW 110133368 A TW110133368 A TW 110133368A TW I827974 B TWI827974 B TW I827974B
- Authority
- TW
- Taiwan
- Prior art keywords
- virtual
- function
- performance
- resource
- physical
- Prior art date
Links
- 238000000034 method Methods 0.000 title abstract description 13
- 238000012544 monitoring process Methods 0.000 claims abstract description 30
- 230000006870 function Effects 0.000 claims description 520
- 238000004458 analytical method Methods 0.000 claims description 90
- 238000012360 testing method Methods 0.000 claims description 36
- 238000013459 approach Methods 0.000 claims description 6
- 238000012545 processing Methods 0.000 claims description 4
- 238000013468 resource allocation Methods 0.000 claims 2
- 238000010586 diagram Methods 0.000 description 15
- 230000002159 abnormal effect Effects 0.000 description 7
- 230000015556 catabolic process Effects 0.000 description 5
- 238000006731 degradation reaction Methods 0.000 description 5
- 230000007423 decrease Effects 0.000 description 4
- 238000010801 machine learning Methods 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/091—Measuring contribution of individual network components to actual service level
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3433—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment for load management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/301—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is a virtual computing platform, e.g. logically partitioned systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3409—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment for performance assessment
- G06F11/3428—Benchmarking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
- G06F11/3466—Performance evaluation by tracing or monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/505—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the load
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/50—Network service management, e.g. ensuring proper service fulfilment according to agreements
- H04L41/5032—Generating service level reports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0805—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
- H04L43/0817—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L43/0876—Network utilisation, e.g. volume of load or congestion level
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2201/00—Indexing scheme relating to error detection, to error correction, and to monitoring
- G06F2201/815—Virtual
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Quality & Reliability (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Mathematical Physics (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
本案係關於一種虛擬功能效能分析系統及其分析方法,特別有關於一種在虛擬平台的架構下分析虛擬功能函式的執行效能之分析系統及其分析方法。 This case is about a virtual function performance analysis system and its analysis method, especially an analysis system and its analysis method that analyzes the execution performance of virtual function functions under the architecture of a virtual platform.
隨著網路通訊架構及軟體技術之演進,各種實體計算資源或儲存資源能藉由虛擬化形式而操作於虛擬平台架構中。藉由虛擬化之架構,使用者之終端程式(虛擬網路功能應用程式)可靈活存取虛擬平台架構中的虛擬計算資源或儲存資源。 With the evolution of network communication architecture and software technology, various physical computing resources or storage resources can be operated in the virtual platform architecture through virtualization. Through the virtualization architecture, the user's terminal program (virtual network function application) can flexibly access virtual computing resources or storage resources in the virtual platform architecture.
然而,在虛擬平台的環境中,對於虛擬網路功能應用程式之執行以及虛擬資源之存取使用而言,虛擬平台的環境遠複雜於實體環境。並且,虛擬網路功能應用程式可能為免費取得之開源軟體或第三方提供之程式套件。若虛擬網路功能應用程式發生運作異常而導致虛擬平台之整體效能下降,使用者難以確認出虛擬網路功能應用程式內部發生運作異常之特定函式。 However, in the environment of the virtual platform, the execution of virtual network function applications and the access and use of virtual resources are far more complicated than the physical environment. Furthermore, the virtual network function application may be freely available open source software or a program suite provided by a third party. If the virtual network function application operates abnormally, resulting in a decrease in the overall performance of the virtual platform, it is difficult for the user to identify the specific function within the virtual network function application that operates abnormally.
因此,本技術領域之相關產業之技術人員係致力於分析虛擬網路功能應用程式內部之函式(虛擬功能函式)之效能表現,期能更 精確的剖析可能造成虛擬平台效能下降之原因,且確認出可能造成虛擬平台效能瓶頸之問題點。 Therefore, technicians in related industries in this technical field are committed to analyzing the performance performance of functions (virtual function functions) within virtual network function applications, hoping to improve Accurately analyze the reasons that may cause the performance of the virtual platform to decrease, and identify the problem points that may cause the performance bottleneck of the virtual platform.
本案之一實施例提供一種虛擬功能效能分析系統,包括監控單元、效能分析單元以及資源調整單元。監控單元用於在虛擬平台監測虛擬網路功能應用程式之至少一虛擬功能函式的效能表現,該虛擬平台具有至少一實體資源及至少一虛擬資源,各該實體資源、各該虛擬資源及各該虛擬功能函式各自具有至少一效能指標,各效能指標各自具有預期值及/或閥值,該監控單元係監測並記錄各效能指標之實際值。效能分析單元用於比較各效能指標之實際值與各自對應之預期值及/或閥值以得到各效能指標之比較結果並據以分析系統效能。 One embodiment of the present invention provides a virtual function performance analysis system, including a monitoring unit, a performance analysis unit, and a resource adjustment unit. The monitoring unit is used to monitor the performance of at least one virtual function function of the virtual network function application on the virtual platform. The virtual platform has at least one physical resource and at least one virtual resource. Each physical resource, each virtual resource and each Each of the virtual function functions has at least one performance index, and each performance index has an expected value and/or a threshold value. The monitoring unit monitors and records the actual value of each performance index. The performance analysis unit is used to compare the actual value of each performance indicator with its corresponding expected value and/or threshold to obtain the comparison results of each performance indicator and analyze system performance accordingly.
本案之另一實施例提供一種虛擬功能效能分析方法,包括以下步驟。在一虛擬平台監測一虛擬網路功能的應用程式之至少一虛擬功能函式,該虛擬平台具有至少一實體資源及至少一虛擬資源,各該實體資源、各該虛擬資源及各該虛擬功能函式各自具有至少一效能指標,各效能指標各自具有預期值及/或閥值。在該虛擬平台監測並記錄各效能指標之實際值。比較各效能指標之實際值與各自對應之預期值及/或閥值以得到比較結果並據以分析系統效能。 Another embodiment of the present application provides a virtual function performance analysis method, including the following steps. Monitoring at least one virtual function function of an application of a virtual network function on a virtual platform, the virtual platform having at least one physical resource and at least one virtual resource, each of the physical resources, each of the virtual resources and each of the virtual function functions Each of the formulas has at least one performance index, and each performance index has an expected value and/or a threshold value. The actual values of each performance indicator are monitored and recorded on the virtual platform. Compare the actual value of each performance indicator with its corresponding expected value and/or threshold to obtain the comparison result and analyze the system performance accordingly.
透過閱讀以下圖式、各種實施例詳細說明以及申請專利範圍,可見本案之其他方面以及優點。 By reading the following drawings, detailed descriptions of various embodiments, and patent claims, other aspects and advantages of this case can be seen.
100A(或100B):虛擬功能效能分析系統 100A (or 100B): Virtual function performance analysis system
102:測試單元 102:Test unit
104:監控單元 104:Monitoring unit
106:效能分析單元 106:Performance analysis unit
108:資源調整單元 108: Resource adjustment unit
200,230,260:虛擬網路功能應用程式 200,230,260: Virtual network function application
202,204,206,302:虛擬功能函式 202,204,206,302:Virtual function function
t1:初始時間點 t1: initial time point
t2:結束時間點 t2: end time point
202a,204a:佇列 202a,204a:queuing
T_02,T_04,T_06:執行時間 T_02, T_04, T_06: Execution time
300:測試平台 300:Test platform
400:虛擬平台 400:Virtual platform
402:實體中央處理器 402:Entity CPU
404:實體記憶體 404:Physical memory
406:實體網路頻寬 406:Physical network bandwidth
408:實體磁碟輸入/輸出 408:Physical disk input/output
410:虛擬層 410:Virtual layer
412:虛擬中央處理器 412:Virtual CPU
412a,412b,412c:虛擬資源 412a, 412b, 412c: virtual resources
414:虛擬記憶體 414:Virtual memory
416:虛擬網路頻寬 416:Virtual network bandwidth
418:虛擬磁碟輸入/輸出 418:Virtual disk input/output
600,600B,700,800,900:虛擬功能效能分析方法實施例 600, 600B, 700, 800, 900: Example of virtual function performance analysis method
602~628:步驟 602~628: Steps
第1A圖為依據本案揭示之虛擬功能效能分析系統一實施例之方塊圖。 Figure 1A is a block diagram of an embodiment of the virtual function performance analysis system disclosed in this case.
第1B圖為依據本案揭示之虛擬功能效能分析系統另一實施例之方塊圖。 Figure 1B is a block diagram of another embodiment of the virtual function performance analysis system disclosed in this case.
第2圖為依據本案揭示之虛擬功能函式之一效能指標實施例之示意圖。 Figure 2 is a schematic diagram of an embodiment of a performance indicator of a virtual function function disclosed in this case.
第3A圖為依據本案揭示之測試單元之一運作實施例示意圖。 Figure 3A is a schematic diagram of an operational embodiment of the test unit disclosed in this case.
第3B圖為依據本案揭示之虛擬功能函式之一效能指標實施例之示意圖。 Figure 3B is a schematic diagram of an embodiment of a performance indicator of a virtual function function disclosed in this case.
第4A圖為依據本案揭示之虛擬平台的實體資源及虛擬資源一實施例之示意圖。 Figure 4A is a schematic diagram of an embodiment of the physical resources and virtual resources of the virtual platform disclosed in this case.
第4B圖為依據本案揭示之虛擬平台的虛擬資源配置一實施例之示意圖。 Figure 4B is a schematic diagram of an embodiment of virtual resource configuration of the virtual platform disclosed in this case.
第5圖為依據本案揭示之監控單元之一運作實施例之示意圖。 Figure 5 is a schematic diagram of an operational embodiment of the monitoring unit disclosed in this case.
第6A~6C圖為依據本案揭示之虛擬功能效能分析方法一實施例之流程圖。 Figures 6A to 6C are flow charts of one embodiment of the virtual function performance analysis method disclosed in this case.
第7圖為依據本案揭示之虛擬功能效能分析方法另一實施例之流程圖。 Figure 7 is a flow chart of another embodiment of the virtual function performance analysis method disclosed in this case.
第8圖為依據本案揭示之虛擬功能效能分析方法再一實施例之流程圖。 Figure 8 is a flow chart of another embodiment of the virtual function performance analysis method disclosed in this case.
第9圖為依據本案揭示之虛擬功能效能分析方法又一實施例之流程圖。 Figure 9 is a flow chart of another embodiment of the virtual function performance analysis method disclosed in this case.
本說明書的技術用語係參照本技術領域之習慣用語,如本說明書對部分用語有加以說明或定義,該部分用語之解釋係以本說明書之說明或定義為準。本揭露之各個實施例分別具有一或多個技術特徵。在可能實施的前提下,本技術領域具有通常知識者可選擇性地實施任一實施例中部分或全部的技術特徵,或者選擇性地將這些實施例中部分或全部的技術特徵加以組合 The technical terms in this specification refer to the idioms in the technical field. If there are explanations or definitions for some terms in this specification, the explanation or definition of this part of the terms shall prevail. Each embodiment of the present disclosure has one or more technical features. To the extent possible, a person with ordinary skill in the art can selectively implement some or all of the technical features in any embodiment, or selectively combine some or all of the technical features in these embodiments.
第1A圖為依據本案揭示之虛擬功能效能分析系統一實施例100A之方塊圖。參見第1A圖,虛擬功能效能分析系統100A包括監控單元104、效能分析單元106、以及資源調整單元108。虛擬功能效能分析系統100A係對於虛擬網路功能(Virtual Network Function,VNF)的應用程式(application)以及各虛擬功能函式執行於網路功能虛擬平台(Network Function Virtualization Infrastructure,NFVI)的效能表現進行分析監測。
Figure 1A is a block diagram of an
在虛擬網路功能應用程式所實際執行的實際場域環境的虛擬平台中,監控單元104可監測虛擬網路功能應用程式內部的至少一虛擬功能函式的效能表現。更具體而言,虛擬網路功能應用程式以及各虛擬功能函式具有一或多個效能指標,各效能指
標可反映虛擬網路功能應用程式以及各虛擬功能函式執行於虛擬平台的效能表現。各效能指標具有預期值,預期值可以是系統預設值,或由使用者定義。另外,亦可透過機器學習的方式觀察分析各虛擬功能函式在虛擬平台的長期運行狀況,據以建立各效能指標的預期值。並且,虛擬網路功能應用程式對於虛擬平台的實體資源以及虛擬資源的使用狀況亦為虛擬功能效能分析系統100A分析的效能指標。
In the virtual platform of the actual field environment where the virtual network function application is actually executed, the
監控單元104監測該些虛擬功能函式的執行,據以記錄各虛擬功能函式在虛擬平台中的實際效能表現,進而收集取得各虛擬功能函式的各效能指標的實際值。並且,監控單元104亦可監測各虛擬網路功能應用程式對於虛擬平台中的各虛擬資源與各實體資源的使用狀況,據以記錄各虛擬資源與各實體資源的各效能指標的實際值。
The
效能分析單元106可對於各虛擬資源、各實體資源以及各虛擬功能函式的各效能指標的實際值與對應之預期值進行分析比較、並分析比較各虛擬網路功能應用程式對於各虛擬資源及各實體資源的使用狀況以得到一比較結果,且根據比較結果分析系統效能,進而判斷虛擬網路功能應用程式及各虛擬功能函式的是否運作異常而導致虛擬平台的整體效能下降。效能分析單元106並可精確定位出導致效能下降的特定虛擬功能函式、虛擬資源或實體資源,以指出造成系統效能瓶頸可能的異常原因。 The performance analysis unit 106 can analyze and compare the actual values of each performance indicator of each virtual resource, each physical resource and each virtual function function with the corresponding expected value, and analyze and compare the performance of each virtual network function application program on each virtual resource and each virtual function function. The usage status of each physical resource is compared to obtain a comparison result, and the system performance is analyzed based on the comparison result to determine whether the virtual network function application and each virtual function function are operating abnormally, resulting in a decrease in the overall performance of the virtual platform. The performance analysis unit 106 can also pinpoint specific virtual function functions, virtual resources or physical resources that cause performance degradation to point out possible abnormal causes of system performance bottlenecks.
根據所指出的異常原因,可運用資源調整單元108對 於虛擬網路功能應用程式或各虛擬功能函式的執行狀況進行系統資源調整,例如:擴展虛擬網路功能應用程式的服務,以減輕造成效能瓶頸之虛擬功能函式的工作負荷。或者,資源調整單元108可對於虛擬平台的實體資源或虛擬資源之配置進行調整,例如:擴充設置實體資源、或調整虛擬資源之配置,以將足夠的實體資源或虛擬資源配置予造成效能瓶頸之虛擬功能函式所屬的虛擬網路功能應用程式。 According to the pointed out abnormal cause, the resource adjustment unit 108 can be used to Adjust system resources on the execution status of the virtual network function application or each virtual function function, for example: expand the services of the virtual network function application to reduce the workload of the virtual function function that causes performance bottlenecks. Alternatively, the resource adjustment unit 108 may adjust the configuration of the physical resources or virtual resources of the virtual platform, for example, by expanding the physical resources or adjusting the configuration of the virtual resources, so as to allocate sufficient physical resources or virtual resources to the performance bottlenecks. The virtual network function application that the virtual function function belongs to.
第1B圖為依據本案揭示之虛擬功能效能分析系統另一實施例100B之方塊圖。請參見第1B圖,相較於第1A圖之虛擬功能效能分析系統100A,本實施例之虛擬功能效能分析系統100B更可包括一測試單元102。測試單元102可預先在測試平台中對於虛擬網路功能應用程式中的各虛擬功能函式進行測試,以評估各虛擬功能函式之預期效能表現(即:在實體或虛擬資源足夠的狀況下,各虛擬功能函式符合預期的正常效能表現),並據以建立各虛擬功能函式的各效能指標的預期值。
Figure 1B is a block diagram of another
換言之,相異於虛擬功能效能分析系統100A的各效能指標的預期值是可由系統預設或由使用者定義的,在虛擬功能效能分析系統實施例100B中各效能指標的預期值是由測試單元102在測試平台中預先建立,或經由機器學習而預先建立。
In other words, unlike the virtual function
上文係配合第1A、1B圖對於本案揭示之虛擬功能效能分析系統100A或100B進行概述,下文係配合第2、3A、3B、4及5圖對於虛擬功能效能分析系統100A或100B的各單元之具體實
施方式進行詳細說明。
The above is an overview of the virtual function
第2圖為依據本案揭示之虛擬功能函式之一效能指標實施例之示意圖。請參見第2圖,虛擬網路功能應用程式200為虛擬功能效能分析系統100A(或100B)主要監測分析之目標,虛擬網路功能應用程式200可稱為「目標虛擬網路功能應用程式」。虛擬網路功能應用程式200例如為在虛擬平台中執行的一個程序(process)或虛擬機器(virtual machine)。虛擬網路功能應用程式200可包括多個虛擬功能函式,例如,至少包括虛擬功能函式202、虛擬功能函式204、及虛擬功能函式206。虛擬功能函式202、204、206的每一者可具有一或多個效能指標,此些效能指標可反映虛擬功能函式202、204、206在虛擬平台中的各執行層面的效能表現。虛擬功能函式202、204、206的效能指標可例如包括:虛擬功能函式202、204、206之「執行時間」、「執行頻率」、「錯誤發生率」及佇列(queue)的「佇列長度」等等,但並不限於此。
Figure 2 is a schematic diagram of an embodiment of a performance indicator of a virtual function function disclosed in this case. Please refer to Figure 2. The virtual
首先,以虛擬功能函式202、204、206的效能指標「執行時間」為例說明。執行時間係直接反映虛擬功能函式202、204、206的效能表現,若執行時間過長表示可能發生以下狀況:虛擬功能函式202、204、206之執行受到阻礙(block)、虛擬功能函式202、204、206的工作量超過負荷、虛擬平台的實體資源之使用上發生競爭、或配置予虛擬功能函式202、204、206所屬的虛擬網路功能應用程式200的實體資源及/或虛擬資源不足。
First, take the performance index "execution time" of virtual function functions 202, 204, and 206 as an example. The execution time directly reflects the performance of the virtual function functions 202, 204, and 206. If the execution time is too long, the following situations may occur: the execution of the virtual function functions 202, 204, and 206 is blocked. The workload of 202, 204, 206 exceeds the load, there is competition in the use of physical resources of the virtual platform, or the physical resources and/or virtual resources of the virtual
更具體而言,以虛擬功能函式202為例,虛擬功能函式202的執行時間T_02係為執行虛擬功能函式202的初始時間點t1與結束時間點t2之間的時間間隔。初始時間點t1例如為虛擬功能函式202被呼叫(call)的時間點,結束時間點t2例如為虛擬功能函式202回傳(return)結果的時間點。在另一種態樣之示例中,虛擬功能函式202可執行於多個執行緒(multi-thread)的環境,則虛擬功能函式202的執行時間T_02係為虛擬功能函式202對應每一個執行緒各自的執行時間。
More specifically, taking the
如前所述,在第1B圖所示之虛擬功能效能分析系統100B中,虛擬功能函式的各效能指標的預期值可預先由測試單元102建立,而第3A圖為依據本案揭示之測試單元102之一運作實施例示意圖。參見第3A圖,測試單元102預先於測試平台300中對於虛擬網路功能應用程式200的虛擬功能函式202、204、206進行測試。測試平台300係為具有潔淨室(clean room)環境之平台,例如為實驗室環境的平台。測試平台300的潔淨室環境係為單純化的環境,係將可能影響虛擬功能函式202、204、206執行的環境變數或外部因素最小化。因此,虛擬功能函式202、204、206在測試平台300的效能表現大致符合使用者預期。在測試平台300中,測試單元102所收集的虛擬功能函式202、204、206之各效能指標的數據值可作為各效能指標的預期值(或可稱為「基準值」,baseline)。例如,虛擬功能函式202、204、206在測試
平台300中的執行時間T_02、T_04、T_06之數據值可分別作為虛擬功能函式202、204、206的執行時間之預期值。
As mentioned above, in the virtual function
更具體而言,以虛擬功能函式202之執行時間T_02為例,測試單元102可藉由eBPF等工具以觀測執行時間T_02。或者,在另一種態樣之示例中,使用者在編寫虛擬功能函式202之程式碼時,可在虛擬功能函式202之程式碼中建立觀測點以記錄虛擬功能函式202被呼叫的時間點(初始時間點t1)與回傳結果的時間點(結束時間點t2),並根據程式碼的觀測點之歷程記錄(log)而計算出執行時間T_02。
More specifically, taking the execution time T_02 of the
在不同的環境因素下,虛擬功能函式202、204、206的執行時間T_02、T_04、T_06可能變動。因此,測試單元102可對於虛擬功能函式202、204、206在不同環境因素下的執行時間T_02、T_04、T_06進行統計,以得到執行時間T_02、T_04、T06的最小值、平均值及最大值。例如,如表1所示,在測試平台300中,測試單元102所建立的虛擬功能函式202、204、206的執行時間T_02、T_04、T_06之預期值分別為:虛擬功能函式202之執行時間T_02的最小值為50us、平均值為100us、最大值為200us。虛擬功能函式204之執行時間T_04之最小值為30us、平均值為50us、最大值為150us。並且,虛擬功能函式206之執行時間T_06之最小值為100us、平均值為130us、最大值為250us。
Under different environmental factors, the execution times T_02, T_04, and T_06 of the virtual function functions 202, 204, and 206 may change. Therefore, the
另一方面,參見第3B圖,虛擬功能函式202、204、206的程式邏輯可具有佇列形式,例如:虛擬功能函式202之輸入端(輸入機制)可具有佇列202a,而虛擬功能函式204之輸出端(輸出機制)亦可具有佇列204a。虛擬功能函式202、204的佇列202a、204a的「佇列長度」亦為另一重要的效能指標。
On the other hand, referring to Figure 3B, the program logic of the virtual function functions 202, 204, and 206 may have a queue form. For example, the input terminal (input mechanism) of the
虛擬功能效能分析系統100A(或100B)可針對佇列202a與佇列204a的佇列長度設定閥值,該閥值可以是系統預設值或可由使用者定義。例如,使用者(虛擬功能函式的開發者)可根據過去使用經驗的數據資料以統計並評估佇列202a與佇列204a的合理佇列長度,並將此合理佇列長度設定為效能指標「佇列長度」的閥值。如表1所示,虛擬功能函式202輸入端之佇列202a的佇列長度之閥值例如設定為200。若實際執行虛擬功能函式202時,佇列202a的佇列長度超過閥值,表示虛擬功能函式202運作異常。另一方面,對於虛擬功能函式204輸出端的佇列
204a而言,若佇列204a的佇列長度過長,則表示以佇列204a作為輸入端的另一個虛擬功能函式302可能發生運作異常。
The virtual function
並且,虛擬功能函式202、204、206更可具有其他效能指標,例如:「執行頻率」及「錯誤發生率」。其中,虛擬功能函式202、204、206的「執行頻率」係為單位時間內虛擬功能函式202、204、206的執行次數。此外,若虛擬功能函式202、204、206執行於多個執行緒的環境,則上述效能指標「佇列長度」、「執行頻率」及「錯誤發生率」係為虛擬功能函式202、204、206對應每一個執行緒各自的佇列長度、執行頻率及錯誤發生率。 Moreover, the virtual function functions 202, 204, and 206 may also have other performance indicators, such as "execution frequency" and "error occurrence rate". Among them, the "execution frequency" of the virtual function functions 202, 204, and 206 is the number of execution times of the virtual function functions 202, 204, and 206 per unit time. In addition, if the virtual function functions 202, 204, and 206 are executed in a multi-thread environment, the above performance indicators "queue length", "execution frequency" and "error occurrence rate" are for the virtual function functions 202, 204 , 206 corresponds to the queue length, execution frequency and error occurrence rate of each execution thread.
虛擬功能函式202、204、206的各效能指標之預期值或閥值除了可藉由測試單元102在測試平台300中測試評估來預測、由使用者定義或採用系統預設值,亦可藉由機器學習來建立。例如,可長時間記錄虛擬功能函式202、204、206各效能指標之實際運行的數據值,再藉由機器學習方式來分析統計出各效能指標之預期值或閥值。
In addition to predicting the expected values or thresholds of each performance indicator of the virtual function functions 202, 204, and 206 by testing and evaluating the
除了虛擬功能函式202、204、206的「執行時間」、「佇列長度」、「執行頻率」及「錯誤發生率」等效能指標之外,另一方面,虛擬功能函式202、204、206所屬的虛擬網路功能應用程式200對於虛擬平台的實體資源或虛擬資源的「使用狀況」亦可反映出虛擬網路功能應用程式200的效能表現。因此,虛擬網路功能應用程式200對於實體資源或虛擬資源的「使用狀況」亦為虛擬功能效能分析系統100A(或100B)欲分析的效能指標。
第4A圖為根據本案揭示之虛擬平台400的實體資源及虛擬資源一實施例之示意圖。參見第4A圖,虛擬平台400係為虛擬網路功能應用程式200實際執行的場域環境。虛擬平台400的實體資源至少包括:實體中央處理器(CPU)402、實體記憶體(memory)404、實體網路頻寬(network bandwidth)406、以及實體磁碟輸入/輸出(disk I/O)408。
In addition to the performance indicators such as "execution time", "queue length", "execution frequency" and "error rate" of the virtual function functions 202, 204, and 206, on the other hand, the virtual function functions 202, 204, The "usage status" of the physical resources or virtual resources of the virtual platform by the virtual
另一方面,在虛擬平台400之架構下,可經由虛擬層410將上述實體資源虛擬化而成為對應的虛擬資源。實體中央處理器402、實體記憶體404、實體網路頻寬406、實體磁碟輸入/輸出408分別對應的虛擬資源係為:虛擬中央處理器412、虛擬記憶體414、虛擬網路頻寬416、虛擬磁碟輸入/輸出418。並且,虛擬平台400可將上述虛擬資源配置予虛擬網路功能應用程式200以及其他的虛擬網路功能應用程式。請同時參見第4B圖,其繪示根據本案揭示之虛擬平台400的虛擬資源配置一實施例之示意圖。以虛擬資源中的虛擬中央處理器412為例說明,虛擬中央處理器412可至少包括虛擬資源412a、虛擬資源412b及虛擬資源412c。可將虛擬資源412a配置予虛擬網路功能應用程式200,將虛擬資源412b配置予虛擬網路功能應用程式230,並將虛擬資源412c配置予虛擬網路功能應用程式260。
On the other hand, under the architecture of the
請同時參見表2,其例舉相關於虛擬平台400的實體資源及虛擬資源的「使用狀況」的多個效能指標。廣義而言,實體資源及虛擬資源之廣義的效能指標係為實體資源及虛擬資源
的「使用狀況」。更特定而言,相關於實體資源及虛擬資源的「使用狀況」的效能指標類型可包括:實體資源及虛擬資源的「使用量」、「錯誤事件」及「資源飽和」等。以效能指標類型「使用量」為例,實體資源及虛擬資源的「使用量」的效能指標細項可包括:單一中央處理器/記憶體/磁碟之各自使用量、整體系統之平均使用量、網路介面所接收或傳送的流量及頻寬等。
Please also refer to Table 2, which illustrates multiple performance indicators related to the "usage status" of physical resources and virtual resources of the
針對於表2所例舉之此些效能指標,虛擬功能效能分析系統100A(或100B)可根據系統預設值或使用者定義來建立此些效能指標的預期值及/或閥值。例如,參見表2-1所示:虛擬網路功能應用程式200對於所配置的虛擬中央處理器412之虛擬
資源412a的「使用量」之預期值為22%,虛擬網路功能應用程式230對於所配置的虛擬中央處理器412之虛擬資源412b的「使用量」之預期值為25%,虛擬網路功能應用程式260對於所配置的虛擬中央處理器412之虛擬資源412c的「使用量」之預期值為15%。並且,虛擬網路功能應用程式200、230、260對於實體中央處理器402的總使用量之預期值為62%。
For the performance indicators listed in Table 2, the virtual function
第5圖為依據本案揭示之監控單元104之一運作實施例示意圖。參見第5圖,當虛擬網路功能應用程式200的虛擬功能函式202、204、206實際執行於虛擬平台400時,監控單元104監測並收集虛擬功能函式202、204、206的各效能指標的實際值。以效能指標「執行時間」為例,虛擬功能函式202、204、206的執行時間T_02、T_04、T_06之實際值分別如表3所示:虛擬功能函式202之執行時間T_02的實際值的最小值為55us、
平均值為103us、最大值為205us。虛擬功能函式204之執行時間T_04的實際值的之最小值為27us、平均值為49us、最大值為130us。虛擬功能函式206之執行時間T_06的實際值的之最小值為110us、平均值為135us、最大值為270us。另一方面,以效能指標「佇列長度」為例,監控單元104監測的虛擬功能函式202的佇列202a之佇列長度之實際值為250,虛擬功能函式204的佇列204a之佇列長度之實際值為250。
Figure 5 is a schematic diagram of an operational embodiment of the
另一方面,如前所述,監控單元104亦在虛擬平台400中實際監測並記錄虛擬網路功能應用程式200(即:目標虛擬網路功能應用程式)以及其他的虛擬網路功能應用程式230、260對於虛擬平台400的各虛擬資源及各實體資源的實際使用狀況,以得到各實體資源及各虛擬資源的各效能指標的實際值。以效能指標「使用量」為例,表4所示為監控單元104所記錄之虛擬網
路功能應用程式200、230、260對於虛擬中央處理器412以及實體中央處理器402的使用量的實際值。
On the other hand, as mentioned above, the
在表4中,虛擬網路功能應用程式200對於所配置或分配到的虛擬中央處理器412(虛擬資源412a)的實際使用量為20%,虛擬網路功能應用程式230對於所配置或分配到的虛擬中央處理器412(虛擬資源412b)的實際使用量為22%,並且虛擬網路功能應用程式260對於所配置或分配到的虛擬中央處理器412(虛擬資源412c)的實際使用量為18%。此外,虛擬網路功能應用程式200、230、260對於實體中央處理器402的實際總使用量為60%。
In Table 4, the actual usage of the virtual CPU 412 (
綜上所述,監控單元104可監測記錄虛擬網路功能應用程式200(目標虛擬網路功能應用程式)內部的各虛擬功能函
式202、204、206的各效能指標(「執行時間」、「佇列長度」、「執行頻率」、或「錯誤發生率」,等等)之實際值。並且,監控單元104亦可監測記錄虛擬網路功能應用程式200以及其他的虛擬網路功能應用程式230、260對於虛擬平台400之各實體資源與各虛擬資源的使用狀況,以記錄各實體資源與各虛擬資源的各效能指標(「使用量」、「錯誤事件」、或「資源飽和」,等等)之實際值。
To sum up, the
據此,效能分析單元106對於虛擬網路功能應用程式200的虛擬功能函式202、204、206之各效能指標及虛擬平台400的各實體資源及各虛擬資源的各效能指標進行分析,比較各效能指標的實際值與預期值及/或閥值,以判斷虛擬網路功能應用程式200之虛擬功能函式202、204、206是否運作異常,或各實體資源/各虛擬資源的使用狀況異常,並可進一步分析導致異常的效能瓶頸以及原因。而後,資源調整單元108可調整虛擬網路功能應用程式200或虛擬功能函式202、204、206之服務、調整配置予虛擬網路功能應用程式200及/或其他的虛擬網路功能應用程式230、260之虛擬資源、或擴充設置虛擬平台400的實體資源。效能分析單元106與資源調整單元108的詳細運作方式係配合參見下文揭示之虛擬功能效能分析方法之各實施例。
Accordingly, the performance analysis unit 106 analyzes the performance indicators of the virtual function functions 202, 204, and 206 of the virtual
第6A~6C圖為依據本案揭示之虛擬功能效能分析方法一實施例600之流程圖。請先參見第6A圖:首先,在步驟601,根據系統預設值定義或根據使用者定義,對於欲監測分析的主要
目標的虛擬網路功能應用程式200(即:目標虛擬網路功能應用程式)內部的虛擬功能函式202、204、206的各效能指標的預期值及/或閥值進行設定,並設定虛擬平台400中的各實體資源(實體中央處理器402、實體記憶體404、實體網路頻寬406、實體磁碟輸入/輸出408)與各虛擬資源(虛擬中央處理器412、虛擬記憶體414、虛擬網路頻寬416、虛擬磁碟輸入/輸出418)的各效能指標的預期值及/或閥值。其中,虛擬功能函式202、204、206的效能指標例如包括:「執行時間」、「佇列長度」、「執行頻率」及「錯誤發生率」,等等。虛擬平台400中的各實體資源及各虛擬資源的效能指標例如包括:「使用量」、「錯誤事件」、「資源飽和」,等等。
Figures 6A to 6C are flow charts of an
接著,在步驟606,在虛擬平台400的實際場域環境中實際監測虛擬網路功能應用程式200的虛擬功能函式202、204、206。虛擬網路功能應用程式200係使用虛擬平台400的各虛擬資源及各實體資源。
Next, in step 606, the virtual function functions 202, 204, and 206 of the virtual
接著,在步驟608,藉由虛擬功能效能分析系統100A(或100B)之監控單元104在虛擬平台400中監測並記錄各虛擬功能函式202、204、206之各效能指標之實際值。
Next, in step 608, the
接著,在步驟610,藉由監控單元104在虛擬平台400中監測並記錄虛擬網路功能應用程式200與其他的虛擬網路功能應用程式230、260對於虛擬平台400的各實體資源及各虛
擬資源之實際使用狀況(例如:使用量),以建立各實體資源及各虛擬資源之各效能指標之實際值。而後,執行第6C圖的步驟613。
Next, in
上文所述之第6A圖的方法實施例600中,對於各實體資源及各虛擬資源的各效能指標的預期值,以及虛擬功能函式202、204、206的各效能指標的預期值及/或閥值而言,係根據系統預設值或使用者定義而預先設定。然而,在第6B圖所示之方法實施例600B中,虛擬功能函式202、204、206的各效能指標的預期值亦可由測試單元102在測試平台300中預先建立。如第6B圖所示,在步驟606之前,可先執行步驟602與步驟604。在步驟602中,在潔淨室環境的測試平台300執行目標虛擬網路功能應用程式200的虛擬功能函式202、204、206。而後,在步驟604中,測試單元102根據虛擬功能函式202、204、206在測試平台300之執行結果,收集取得虛擬功能函式202、204、206的各效能指標的數據值,並根據此些數據值建立各效能指標的預期值。至於第6B圖之方法實施例600B的步驟606至步驟610完全相同於第6A圖之方法實施例600,於此不再重述。
In the
接著,參見第6C圖,在步驟613中,藉由虛擬功能效能分析系統100A(或100B)之效能分析單元106,對於各實體資源、各虛擬資源之各效能指標(例如:「使用量」)及虛擬功能函式202、204、206之各效能指標(例如:「執行時間」、「佇列長度」等)之實際值與對應之預期值及/或閥值進行比較而得到一
比較結果,並根據上述之各比較結果判斷虛擬功能函式202、204、206之運作是否發生異常。
Next, referring to Figure 6C, in
例如,在接下來的步驟614中,效能指標之實際值與預期值及/或閥值的比較結果係為:虛擬功能函式202、204、206之其中一項效能指標「執行時間」之實際值大致符合預期值,此些實際值並沒有遠大於預期值。可同時參見表3,例如:虛擬功能函式202、204、206之執行時間的實際值(包括最小值、平均值及最大值)大致符合表1所示之執行時間的預期值,表示虛擬功能函式202、204、206在虛擬平台400的執行時間的實際值大致符合預期值。因此,判斷虛擬功能函式202、204、206的工作量未超出負荷。此時,可接著執行步驟616以進一步分析其他的效能指標的實際值是否超過預期值及/或閥值。
For example, in the
在步驟616中,效能分析單元106可對於另一效能指標「佇列長度」之實際值與閥值進行比較。步驟616所得到的比較結果係為:「佇列長度」之實際值遠大於閥值(可參見表3所示:虛擬功能函式202的佇列長度之實際值為250,其遠超過表1所示之佇列長度之閥值200)。根據上述比較結果,可確認虛擬功能函式202的運作異常,並可將虛擬平台400之運作效能之瓶頸定位於佇列長度之實際值遠大於閥值的虛擬功能函式202。
In
接著,在步驟618中,效能分析單元106確認佇列長度大於閥值的虛擬功能函式202的工作量超過負荷,因此資源調整單元108可能選擇採取以下方案以克服虛擬功能函式202之
異常運作:調整虛擬網路功能應用程式200的服務、或調整虛擬平台400的實體資源或虛擬資源之配置。
Next, in
在本實施例中,資源調整單元108係調整虛擬網路功能應用程式200的服務,例如:可擴充執行具有相同功能的其他虛擬網路功能應用程式,以分擔虛擬網路功能應用程式200的虛擬功能函式202之工作負荷。。
In this embodiment, the resource adjustment unit 108 adjusts the services of the virtual
第7圖為依據本案揭示之虛擬功能效能分析方法另一實施例700之流程圖,本方法實施例700承續實施例600之步驟601至步驟613,因此第7圖省略步驟601至步驟613。
Figure 7 is a flow chart of another
參見第7圖,在本實施例700之步驟614中,各效能指標之實際值與預期值及/或閥值的比較結果為:其中一項效能指標「執行時間」之實際值遠大於預期值(可參見表5所示:虛擬功能函式204的執行時間T_04的實際值的平均值238us與最大值2530us,其遠大於表1所示之的執行時間T_04的預期值的平均值50us與最大值150us)。因此,效能分析單元106判斷虛擬功能函式204的運作異常,虛擬功能函式204係被定位為導致效能表現下降的瓶頸。
Referring to Figure 7, in
虛擬功能函式204成為瓶頸的原因可能是實體資源或虛擬資源的使用量已逼近配置量之上限或可能趨向於超載。例如:配置予虛擬功能函式204所屬的虛擬網路功能應用程式200的實體資源及/或虛擬資源不足導致使用量可能趨向於超載;或者,譬如於多個執行緒的狀況時,虛擬網路功能應用程式200內部的其
他的虛擬功能函式202或206與虛擬功能函式204競爭使用虛擬資源;或者,其他的虛擬網路功能應用程式230、260與虛擬網路功能應用程式200(目標虛擬網路功能應用程式)競爭使用實體資源。此時,可執行步驟620進一步釐清原因。
The reason why the
在步驟620中,效能分析單元106可根據記錄各實體資源及各虛擬資源的各效能指標的實際值以評估各實體資源及/或各虛擬資源的使用量是否逼近配置量之上限或可能趨向於超載。分析結果如表6所示:虛擬功能函式204所屬的虛擬網路功能應用程式200(即:目標虛擬網路功能應用程式)對於虛擬中央處理器412之實際使用量為54%,其遠超過表2-1所示之預期值20%,表示虛擬網路功能應用程式200對於虛擬中央處理器412的使用量已逼近配置予虛擬網路功能應用程式200之虛擬資源412a的配置量上限、或使用量可能將趨向於超載。因此,可釐清虛擬功能
函式204成為效能瓶頸的可能原因在於:虛擬平台400配置予虛擬功能函式204所屬之虛擬網路功能應用程式200的虛擬中央處理器412之資源(虛擬資源412a)不足。
In
接著,在步驟622中,資源調整單元108調整虛擬網路功能應用程式200之虛擬資源配置,例如:可調整虛擬中央處理器412的配置以將虛擬中央處理器412之中較多的虛擬資源412a配置予虛擬網路功能應用程式200。或者,資源調整單元108可擴充虛擬平台400的實體資源及/或虛擬資源。或者,資源調整單元108亦可調整虛擬網路功能應用程式200之服務,例如:另外擴充執行具有相同功能的其他虛擬網路功能應用程式以分擔虛擬網路功能應用程式200的工作負荷。
Next, in
第8圖為依據本案揭示之虛擬功能效能分析方法另一實施例800之流程圖,本方法實施例800承續實施例600之步
驟601至步驟613以及實施例700之步驟614,因此第8圖省略步驟601至步驟614。
Figure 8 is a flow chart of another
參見第8圖,在本方法實施例800的步驟620中,效能分析單元106分析出虛擬網路功能應用程式200對於各虛擬資源的使用量皆落入正常範圍(例如表7所示:虛擬網路功能應用程式200對於虛擬中央處理器412的實際使用量為25%,其僅稍大於表2-1所示之預期值22%,而並未遠超過預期值22%),因而判斷虛擬網路功能應用程式200的虛擬資源的使用量並未逼近配置量之上限或趨向於超載。
Referring to Figure 8, in
接下來,可執行步驟624以進一步分析虛擬平台400的所有虛擬網路功能應用程式200、230、260對於實體資源的總使用量是否趨向於超載。
Next,
在步驟624中,效能分析單元106記錄的分析結果如表7所示:實體中央處理器402的總使用量的實際值為95%,其逼近配置量之上限而幾乎超載,因而判斷虛擬網路功能應用程式200以外的其他虛擬網路功能應用程式230、260可能正在競爭使用此實體中央處理器402,並且其他的虛擬網路功能應用程式230、260對於此實體中央處理器402的使用量過高而導致超載。表7示出虛擬網路功能應用程式230對於虛擬中央處理器資源的使用量為52%(52%之使用量為偏高的數值),表示虛擬網路功能應用程式230正在競爭使用實體中央處理器402的資源。
In
接著,在步驟626中,資源調整單元108調整虛擬網路功能應用程式200之虛擬資源配置,例如:可調整虛擬中央處理器412的配置以將虛擬中央處理器412之中較多的虛擬資源412a配置予虛擬網路功能應用程式200,使虛擬網路功能應用程式200具有足夠之虛擬資源配置量。或者,對於使用量逼近配置量之上限或趨向於超載的實體中央處理器402進行調整,例如:可擴充虛擬平台400的實體資源及/或虛擬資源以擴充設置更多的實體中央處理器。
Next, in
第9圖為依據本案揭示之虛擬功能效能分析方法另一實施例900之流程圖,虛擬功能效能分析方法實施例900承續實施例600之步驟601至步驟610、實施例700之步驟614、以及實施例800之步驟620,因此第9圖省略步驟601至步驟620。
Figure 9 is a flow chart of another
參見第9圖,在本方法實施例900之步驟624中,若效能分析單元106的分析結果為:虛擬網路功能應用程式200對於各虛擬資源的使用量皆未逼近配置量之上限或趨向於超載,且各實體資源的總使用量亦未逼近配置量之上限或趨向於超載(例如表4所示:虛擬網路功能應用程式200對於虛擬中央處理器412的實際使用量為20%,其低於表2-1所示之預期值22%;且實體中央處理器402的實際總使用量為60%,其低於表2-1所示之預期值62%),則可判斷並未發生其他的虛擬網路功能應用程式230、260競爭使用實體資源,或虛擬網路功能應用程式200內部的虛擬功能函式202、204、206之間競爭使用虛擬資源的狀況。因此,效能分析單元106係判斷:虛擬功能函式204的執行時間嚴重超過預期值而成為效能瓶頸的原因與實體資源及/或虛擬資源的配置無關。
Referring to Figure 9, in
接著,在步驟628中,效能分析單元106係判斷虛擬功能函式204成為效能瓶頸的原因可能為:虛擬功能函式204本身的程式碼的程式邏輯發生錯誤,例如:虛擬功能函式204的程式碼中的鎖定(lock)機制發生錯誤。或者,是封包處理異常,例如:虛擬功能函式204的封包遺失導致軟體協定的重新傳輸機制必須重新傳遞封包,造成相關於虛擬功能函式204的服務的延遲時間過長。
Next, in
綜上所述,根據以上所述之不同態樣之實施例,本案揭示之技術方案係以虛擬功能效能分析系統100A(或100B)對
於虛擬網路功能應用程式200(即:目標虛擬網路功能應用程式)的虛擬功能函式202、204、206的多個效能指標(例如「執行時間」、「執行頻率」、「佇列長度及「錯誤發生率」)進行分析,並對於虛擬平台400的各實體資源及各虛擬資源的多個效能指標(例如「使用量」、「錯誤事件」及「資源飽和」)進行分析。並且,可在實際場域環境的虛擬平台400實際監測虛擬網路功能應用程式200的虛擬功能函式202、204、206,的各效能指標以及各實體資源及虛擬資源的各效能指標的實際值。而後,分析比較上述各效能指標的實際值是否遠大於預期值及/或閥值,若上述各效能指標的實際值遠大於對應之預期值及/或閥值,表示此一虛擬功能函式(例如:虛擬功能函式202)的工作量負荷過重,或者配置予此一虛擬功能函式所屬的虛擬網路功能應用程式200的實體資源及/或虛擬資源不足,或其他的虛擬網路功能應用程式230、260競爭使用實體資源,或虛擬網路功能應用程式200內的虛擬功能函式202、204、206之間競爭使用虛擬資源。虛擬功能效能分析系統100A(或100B)將此一「虛擬功能函式」、或使用量逼近配置量之上限或趨向於超載的「實體資源」或「虛擬資源」自動定位為造成虛擬網路功能應用程式200效能下降的問題瓶頸。
In summary, according to the above-mentioned different embodiments, the technical solution disclosed in this case is to use the virtual function
相較於習知技術中藉由虛擬平台之維運人員以人工方式蒐集各效能數據,本案揭示之虛擬功能效能分析系統100A(或100B)係以自動化方式收集分析各效能指標的數據而具有時效與速度上的優勢。在習知技術中,虛擬平台的維運人員並未針對虛
擬功能函式之效能指標「執行時間」進行分析,因此無法精確分析出運作異常的原因;而本揭示之虛擬功能效能分析系統100A(或100B)能夠精確的分析各虛擬功能函式之執行時間。並且,相較於習知技術僅止於將效能下降之瓶頸定位至虛擬網路功能應用程式,本案揭示之虛擬功能效能分析系統100A(或100B)能更精確的將問題瓶頸定位至虛擬網路功能應用程式中的之特定函式,並能夠精確分析出虛擬平台400效能降低之原因。
Compared with the conventional technology in which the maintenance personnel of the virtual platform manually collect performance data, the virtual function
此外,針對虛擬平台效能下降的原因,本案揭示之虛擬功能效能分析系統100A(或100B)亦能夠自動化的調整虛擬網路功能應用程式200及/或虛擬功能函式202、204、206的服務,或自動化擴充或調整虛擬平台400的實體資源及/或虛擬資源之配置,以自動化改善虛擬平台400的效能。
In addition, in view of the reasons for the decline in virtual platform performance, the virtual function
雖然本發明已以實施例及範例詳細揭露如上,可理解的是,此些範例意指說明而非限制之意義。可預期的是,所屬技術領域中具有通常知識者可想到多種修改及組合,其多種修改及組合落在本發明之精神以及後附之申請專利範圍之範圍內。 Although the present invention has been disclosed in detail with embodiments and examples as above, it should be understood that these examples are meant to be illustrative rather than restrictive. It is expected that those with ordinary skill in the art can think of various modifications and combinations, and the various modifications and combinations fall within the spirit of the present invention and the scope of the appended patent application.
104:監控單元 104:Monitoring unit
200:虛擬網路功能應用程式 200:Virtual Network Function Application
202,204,206:虛擬功能函式 202,204,206:Virtual function function
202a,204a:佇列 202a,204a:queuing
T_02,T_04,T_06:執行時間 T_02, T_04, T_06: Execution time
400:虛擬平台 400:Virtual platform
Claims (16)
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110133368A TWI827974B (en) | 2021-09-08 | 2021-09-08 | Virtual function performance analyzing system and analyzing method thereof |
JP2021185129A JP2023039385A (en) | 2021-09-08 | 2021-11-12 | Virtual function and performance analyzing system and analyzing method thereof |
US17/540,537 US20230071976A1 (en) | 2021-09-08 | 2021-12-02 | Virtual function performance analysis system and analysis method thereof |
EP21212546.2A EP4148582A1 (en) | 2021-09-08 | 2021-12-06 | Virtual function performance analysis system and analysis method thereof |
CN202210001353.8A CN115776448A (en) | 2021-09-08 | 2022-01-04 | Virtual function efficiency analysis system and analysis method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW110133368A TWI827974B (en) | 2021-09-08 | 2021-09-08 | Virtual function performance analyzing system and analyzing method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202311943A TW202311943A (en) | 2023-03-16 |
TWI827974B true TWI827974B (en) | 2024-01-01 |
Family
ID=79231127
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW110133368A TWI827974B (en) | 2021-09-08 | 2021-09-08 | Virtual function performance analyzing system and analyzing method thereof |
Country Status (5)
Country | Link |
---|---|
US (1) | US20230071976A1 (en) |
EP (1) | EP4148582A1 (en) |
JP (1) | JP2023039385A (en) |
CN (1) | CN115776448A (en) |
TW (1) | TWI827974B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060005184A1 (en) * | 2004-06-30 | 2006-01-05 | Vijay Tewari | Virtualizing management hardware for a virtual machine |
CN102156665A (en) * | 2011-04-13 | 2011-08-17 | 杭州电子科技大学 | Differential serving method for virtual system competition resources |
TW201214119A (en) * | 2010-09-28 | 2012-04-01 | Diskeeper Corp | Data storage optimization for a virtual platform |
CN102495784A (en) * | 2011-11-16 | 2012-06-13 | 浪潮(北京)电子信息产业有限公司 | Hard disc monitor and management method and system |
US20140189248A1 (en) * | 2010-11-09 | 2014-07-03 | Vmware, Inc. | Efficient online construction of miss rate curves |
CN104899095A (en) * | 2014-03-03 | 2015-09-09 | 广达电脑股份有限公司 | Resource adjustment method and system for virtual machine |
Family Cites Families (43)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7020698B2 (en) * | 2000-05-31 | 2006-03-28 | Lucent Technologies Inc. | System and method for locating a closest server in response to a client domain name request |
JP2004302751A (en) * | 2003-03-31 | 2004-10-28 | Hitachi Ltd | Method for managing performance of computer system and computer system managing performance of storage device |
JP2006178374A (en) * | 2004-12-24 | 2006-07-06 | Brother Ind Ltd | Image forming apparatus |
TW200826086A (en) * | 2005-12-21 | 2008-06-16 | Koninkl Philips Electronics Nv | A method of operating a data recording device |
CN102684988B (en) * | 2006-04-26 | 2015-02-11 | 日本电信电话株式会社 | Load control device and method thereof |
JP4872615B2 (en) * | 2006-11-14 | 2012-02-08 | 株式会社デンソー | Diagnostic device for internal combustion engine |
CN101247277A (en) * | 2007-02-15 | 2008-08-20 | 华为技术有限公司 | Alarm method and device |
US8485185B2 (en) * | 2008-06-06 | 2013-07-16 | Covidien Lp | Systems and methods for ventilation in proportion to patient effort |
JP5458308B2 (en) * | 2010-06-11 | 2014-04-02 | 株式会社日立製作所 | Virtual computer system, virtual computer system monitoring method, and network device |
US9357021B2 (en) * | 2013-03-14 | 2016-05-31 | Comcast Cable Communications, Llc | Delivery of content |
JP6248560B2 (en) * | 2013-11-13 | 2017-12-20 | 富士通株式会社 | Management program, management method, and management apparatus |
US9800651B2 (en) * | 2014-04-04 | 2017-10-24 | Ca, Inc. | Application-specific assessment of cloud hosting suitability |
WO2016022698A1 (en) * | 2014-08-07 | 2016-02-11 | Intel IP Corporation | Virtualized network function management |
JP2016062506A (en) * | 2014-09-19 | 2016-04-25 | 株式会社東芝 | Monitoring system, monitor and monitoring method |
US20160179582A1 (en) * | 2014-12-23 | 2016-06-23 | Intel Corporation | Techniques to dynamically allocate resources for local service chains of configurable computing resources |
JP6500489B2 (en) * | 2015-02-24 | 2019-04-17 | 日本電気株式会社 | Display system, display method, display program and virtual system |
JP6403621B2 (en) * | 2015-03-31 | 2018-10-10 | 株式会社日立製作所 | Network system, resource management method, and control apparatus |
JP2017049643A (en) * | 2015-08-31 | 2017-03-09 | 富士通株式会社 | Information processing device, license management program, and license management method |
JP6440203B2 (en) * | 2015-09-02 | 2018-12-19 | Kddi株式会社 | Network monitoring system, network monitoring method and program |
WO2017092823A1 (en) * | 2015-12-04 | 2017-06-08 | Telefonaktiebolaget Lm Ericsson (Publ) | Technique for optimizing the scaling of an application having a set of virtual machines |
JP2017184168A (en) * | 2016-03-31 | 2017-10-05 | 日本電気株式会社 | Communication system, control unit, communication control method, and program |
US10686651B2 (en) * | 2016-06-20 | 2020-06-16 | Apple Inc. | End-to-end techniques to create PM (performance measurement) thresholds at NFV (network function virtualization) infrastructure |
JP6885403B2 (en) * | 2016-07-21 | 2021-06-16 | 日本電気株式会社 | Resource management device, resource management method and program |
US20180069749A1 (en) * | 2016-09-07 | 2018-03-08 | Netscout Systems, Inc | Systems and methods for performing computer network service chain analytics |
US11063844B2 (en) * | 2017-02-10 | 2021-07-13 | Apple Inc. | Systems, methods and devices for virtual resource metric management |
JP2018180773A (en) * | 2017-04-07 | 2018-11-15 | 富士通株式会社 | Management apparatus and management method |
US10977575B2 (en) * | 2017-05-04 | 2021-04-13 | Servicenow, Inc. | Machine learning auto completion of fields |
US11010205B2 (en) * | 2017-05-30 | 2021-05-18 | Hewlett Packard Enterprise Development Lp | Virtual network function resource allocation |
US20190095796A1 (en) * | 2017-09-22 | 2019-03-28 | Intel Corporation | Methods and arrangements to determine physical resource assignments |
FR3074542B1 (en) * | 2017-12-06 | 2019-12-20 | IFP Energies Nouvelles | METHOD FOR CONTROLLING AN INTERNAL COMBUSTION ENGINE WITH CONTROLLED IGNITION USING A CLICK ESTIMATOR |
WO2019187341A1 (en) * | 2018-03-30 | 2019-10-03 | Necソリューションイノベータ株式会社 | Index computation device, prediction system, progress prediction evaluation method, and program |
EP3788570A1 (en) * | 2018-04-30 | 2021-03-10 | Telefonaktiebolaget LM Ericsson (publ) | Automated augmented reality rendering platform for providing remote expert assistance |
JP6973300B2 (en) * | 2018-06-04 | 2021-11-24 | 日本電信電話株式会社 | Service chain design equipment, service chain design method, and service chain design program |
CN112567838A (en) * | 2018-08-07 | 2021-03-26 | Idac控股公司 | NR V2X method for congestion control |
US11550606B2 (en) * | 2018-09-13 | 2023-01-10 | Intel Corporation | Technologies for deploying virtual machines in a virtual network function infrastructure |
US10826789B2 (en) * | 2018-12-27 | 2020-11-03 | At&T Intellectual Property I, L.P. | Adjusting triggers for automatic scaling of virtual network functions |
US11490366B2 (en) * | 2019-05-07 | 2022-11-01 | Hewlett Packard Enterprise Development Lp | Network function virtualisation |
US10992542B2 (en) * | 2019-06-25 | 2021-04-27 | Sciencelogic, Inc. | System and method for the collection, generation, and distribution of synthetic metrics for computer system management |
US11719451B2 (en) * | 2019-12-23 | 2023-08-08 | Johnson Controls Tyco IP Holdings LLP | Building system with early fault detection |
US11556791B2 (en) * | 2020-04-01 | 2023-01-17 | Sas Institute Inc. | Predicting and managing requests for computing resources or other resources |
US11057274B1 (en) * | 2020-04-09 | 2021-07-06 | Verizon Patent And Licensing Inc. | Systems and methods for validation of virtualized network functions |
US20200287813A1 (en) * | 2020-04-16 | 2020-09-10 | Patrick KUTCH | Method and apparatus for workload feedback mechanism facilitating a closed loop architecture |
US20220100758A1 (en) * | 2020-09-30 | 2022-03-31 | Snowflake Inc. | Autoscaling external function requests |
-
2021
- 2021-09-08 TW TW110133368A patent/TWI827974B/en active
- 2021-11-12 JP JP2021185129A patent/JP2023039385A/en active Pending
- 2021-12-02 US US17/540,537 patent/US20230071976A1/en active Pending
- 2021-12-06 EP EP21212546.2A patent/EP4148582A1/en not_active Withdrawn
-
2022
- 2022-01-04 CN CN202210001353.8A patent/CN115776448A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060005184A1 (en) * | 2004-06-30 | 2006-01-05 | Vijay Tewari | Virtualizing management hardware for a virtual machine |
TW201214119A (en) * | 2010-09-28 | 2012-04-01 | Diskeeper Corp | Data storage optimization for a virtual platform |
US20140189248A1 (en) * | 2010-11-09 | 2014-07-03 | Vmware, Inc. | Efficient online construction of miss rate curves |
CN102156665A (en) * | 2011-04-13 | 2011-08-17 | 杭州电子科技大学 | Differential serving method for virtual system competition resources |
CN102495784A (en) * | 2011-11-16 | 2012-06-13 | 浪潮(北京)电子信息产业有限公司 | Hard disc monitor and management method and system |
CN104899095A (en) * | 2014-03-03 | 2015-09-09 | 广达电脑股份有限公司 | Resource adjustment method and system for virtual machine |
Also Published As
Publication number | Publication date |
---|---|
TW202311943A (en) | 2023-03-16 |
JP2023039385A (en) | 2023-03-20 |
EP4148582A1 (en) | 2023-03-15 |
US20230071976A1 (en) | 2023-03-09 |
CN115776448A (en) | 2023-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10911328B2 (en) | Quality of service policy based load adaption | |
US10951488B2 (en) | Rule-based performance class access management for storage cluster performance guarantees | |
US20210349749A1 (en) | Systems and methods for dynamic provisioning of resources for virtualized | |
US8370472B2 (en) | System and method for efficient machine selection for job provisioning | |
US8635376B2 (en) | Computer system input/output management | |
US9300523B2 (en) | System and method for performance management in a multi-tier computing environment | |
JP5428075B2 (en) | Performance monitoring system, bottleneck determination method and management computer | |
US20050154576A1 (en) | Policy simulator for analyzing autonomic system management policy of a computer system | |
US20090024994A1 (en) | Monitoring System for Virtual Application Environments | |
US20100058352A1 (en) | System and Method for Dynamic Resource Provisioning for Job Placement | |
US20140215077A1 (en) | Methods and systems for detecting, locating and remediating a congested resource or flow in a virtual infrastructure | |
US8132170B2 (en) | Call stack sampling in a data processing system | |
US20050262505A1 (en) | Method and apparatus for dynamic memory resource management | |
WO2013101947A1 (en) | Proportional quality of service based on client usage and system metrics | |
US9588799B1 (en) | Managing test services in a distributed production service environment | |
US8954563B2 (en) | Event enrichment using data correlation | |
JP5694170B2 (en) | Memory management technology that uses selective mitigation to reduce errors | |
TWI827974B (en) | Virtual function performance analyzing system and analyzing method thereof | |
Ben-Yehuda et al. | NAP: a building block for remediating performance bottlenecks via black box network analysis | |
Fe et al. | Stochastic model of performance and cost for auto-scaling planning in public cloud | |
US20120290264A1 (en) | Method and apparatus for dynamically adjusting data acquisition rate in an apm system | |
KR102456150B1 (en) | A method and apparatus for performing an overall performance evaluation for large scaled system in real environment | |
Zeng et al. | Multi-tenant fair share in nosql data stores | |
CN104899098B (en) | A kind of vCPU dispatching method based on shared I/O virtualized environment | |
WO2009014493A1 (en) | Monitoring system for virtual application environments |