TWI859051B - Energy efficiency estimation system and method for virtualized network function - Google Patents
Energy efficiency estimation system and method for virtualized network function Download PDFInfo
- Publication number
- TWI859051B TWI859051B TW113100083A TW113100083A TWI859051B TW I859051 B TWI859051 B TW I859051B TW 113100083 A TW113100083 A TW 113100083A TW 113100083 A TW113100083 A TW 113100083A TW I859051 B TWI859051 B TW I859051B
- Authority
- TW
- Taiwan
- Prior art keywords
- power consumption
- virtual
- virtual machine
- information
- physical
- Prior art date
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
本發明是有關於一種能源效率估算系統及其方法,且特別是有關於一種虛擬化網路元件的能源效率估算系統及其方法。The present invention relates to an energy efficiency estimation system and method thereof, and in particular to an energy efficiency estimation system and method thereof for virtualized network elements.
近年來,世界各國開始重視碳排放對環境的影響,而淨零排放(Net Zero)已成為各國政府與企業的目標。根據聯合國政府間氣候變遷專門委員會(Intergovernmental Panel on Climate Change, IPCC)報告,若全球溫室氣體排放量在2030年前減半,並在2050年達到淨零排放,方可將全球溫度上升控制在1.5°C以內,以因應全球氣候暖化的衝擊,延續生物的生存環境。因此,全球電信運營商針對淨零排放的目標,已重新檢視電信產業的ESG (Environment, Social, Governance)永續政策。In recent years, countries around the world have begun to pay attention to the impact of carbon emissions on the environment, and Net Zero has become the goal of governments and companies around the world. According to the Intergovernmental Panel on Climate Change (IPCC) report, if global greenhouse gas emissions are halved by 2030 and reach Net Zero by 2050, global temperature rise can be controlled within 1.5°C to cope with the impact of global warming and maintain the living environment of organisms. Therefore, global telecom operators have re-examined the ESG (Environment, Social, Governance) sustainability policy of the telecom industry in order to achieve the goal of Net Zero.
其中,以IDC雲端機房與行動網路基地台占電信運營商整體碳排比例較高。所以,企業採用再生能源、汰舊高耗能設備與採購綠電等方式勢在必行。另外,傳統的實體交換網路及運算服務也在IP化、虛擬化,及容器化的浪潮下推進,有助於減少碳排。透過各種智慧化,包括智慧城市、智慧農業、智慧電網等領域,讓能源的使用更有效率。Among them, IDC cloud data centers and mobile network base stations account for a relatively high proportion of the overall carbon emissions of telecom operators. Therefore, it is imperative for enterprises to adopt renewable energy, replace old high-energy-consuming equipment, and purchase green electricity. In addition, traditional physical switching networks and computing services are also advancing under the wave of IP, virtualization, and containerization, which helps to reduce carbon emissions. Through various intelligentization, including smart cities, smart agriculture, smart grids and other fields, energy use can be made more efficient.
目前,IDC雲端機房朝虛擬化過程演進,機房內的實體伺服器上面乘載大量的虛擬化或容器化服務,如虛擬資料中心(Virtual Data Center, VDC)、虛擬私有雲(Virtual Private Cloud, VPC)、虛擬網路元件(Virtual Network Function, VNF)、虛擬機(Virtual Machine, VM)等。因此,虛擬化過程有助於減少實體設備的閒置,進而提升資源的使用效率。Currently, IDC cloud data centers are evolving towards a virtualized process, with the physical servers in the data centers carrying a large number of virtualized or containerized services, such as virtual data centers (VDCs), virtual private clouds (VPCs), virtual network functions (VNFs), virtual machines (VMs), etc. Therefore, the virtualization process helps reduce the idleness of physical equipment and thus improve the efficiency of resource use.
傳統實體伺服器可以藉由廠商提供的工具,或是外部量測工具取得設備的即時功耗資訊,如功率(W)、電壓(V)、電流(A)等。功耗資訊幫助電信運營商即時監控設備用電狀況,電信運營商透過適度調控設備的功率,可減少整體IDC雲端機房的用電與碳排程度。然而,虛擬化後的服務卻缺乏相對應的功耗量測方法,電信運營商難以掌控虛擬資源的功耗資訊,進而在資源的編排與調控上較難掌控。Traditional physical servers can obtain real-time power consumption information of equipment, such as power (W), voltage (V), current (A), etc., through tools provided by manufacturers or external measurement tools. Power consumption information helps telecom operators monitor the power usage of equipment in real time. By appropriately regulating the power of equipment, telecom operators can reduce the overall power consumption and carbon emissions of IDC cloud data centers. However, virtualized services lack corresponding power consumption measurement methods, making it difficult for telecom operators to control the power consumption information of virtual resources, and thus more difficult to control the scheduling and regulation of resources.
本發明提供一種虛擬化網路元件的能源效率估算系統及其方法,可收集虛擬資源組態資訊與即時效能資訊,並依據實體設備與其組成元件之功耗估算虛擬資源功耗。The present invention provides a system and method for estimating energy efficiency of virtualized network elements, which can collect virtual resource configuration information and real-time performance information, and estimate virtual resource power consumption according to the power consumption of physical equipment and its components.
本發明的一種虛擬化網路元件的能源效率估算系統,用以對虛擬化基礎設施進行能源效率估算,其中虛擬化基礎設施包括多個實體設備、虛擬化管理程式以及依據實體設備、虛擬化管理程式生成的虛擬資源,虛擬資源包括各虛擬化網路元件及分別與各虛擬化網路元件對應的多個虛擬機,能源效率估算系統包括收發器、儲存媒體以及處理器。處理器耦接至儲存媒體以及收發器,處理器存取並執行儲存媒體所儲存的監控暨儲存模組及功耗估算模組。監控暨儲存模組包括網路服務管理資料庫,監控暨儲存模組經由收發器接收雲管系統的請求,用以收集實體設備的設備組態資訊、設備功耗資訊及設備效能資訊以及虛擬資源的虛擬資源組態資訊及虛擬資源效能資訊並且儲存於網路服務管理資料庫中。功耗估算模組與監控暨儲存模組電性連接,功耗估算模組依據實體設備的設備組態資訊、設備功耗資訊及設備效能資訊、虛擬資源的虛擬資源組態資訊及虛擬資源效能資訊分別獲取各虛擬機中各元件功耗,依據各元件功耗獲取各虛擬機的虛擬機總功耗,且依據各虛擬機的虛擬機總功耗獲取各虛擬化網路元件的虛擬化網路元件功耗,並且依據分別與各虛擬化網路元件對應的虛擬機的進程的CPU使用率獲取各虛擬化網路元件的CPU平均使用率。The energy efficiency estimation system of a virtualized network element of the present invention is used to estimate the energy efficiency of a virtualized infrastructure, wherein the virtualized infrastructure includes a plurality of physical devices, a virtualization management program, and virtual resources generated according to the physical devices and the virtualization management program, and the virtual resources include each virtualized network element and a plurality of virtual machines corresponding to each virtualized network element, respectively. The energy efficiency estimation system includes a transceiver, a storage medium, and a processor. The processor is coupled to the storage medium and the transceiver, and the processor accesses and executes the monitoring and storage module and the power consumption estimation module stored in the storage medium. The monitoring and storage module includes a network service management database. The monitoring and storage module receives a request from the cloud management system via a transceiver to collect device configuration information, device power consumption information, and device performance information of physical devices and virtual resource configuration information and virtual resource performance information of virtual resources and store them in the network service management database. The power consumption estimation module is electrically connected to the monitoring and storage module. The power consumption estimation module obtains the power consumption of each component in each virtual machine according to the device configuration information, the device power consumption information and the device performance information of the physical device, the virtual resource configuration information and the virtual resource performance information of the virtual resource, obtains the total virtual machine power consumption of each virtual machine according to the power consumption of each component, obtains the virtual network element power consumption of each virtual network element according to the total virtual machine power consumption of each virtual machine, and obtains the average CPU usage rate of each virtual network element according to the CPU usage rate of the process of the virtual machine corresponding to each virtual network element.
本發明的一種虛擬化網路元件的能源效率估算方法,用以對虛擬化基礎設施進行能源效率估算,其中虛擬化基礎設施包括多個實體設備、虛擬化管理程式以及依據實體設備、虛擬化管理程式生成的虛擬資源,虛擬資源包括各虛擬化網路元件及分別與各虛擬化網路元件對應的多個虛擬機,能源效率估算方法包括:接收雲管系統的請求,收集並且儲存實體設備的設備組態資訊、設備功耗資訊及設備效能資訊以及虛擬資源的虛擬資源組態資訊及虛擬資源效能資訊;以及依據實體設備的設備組態資訊、設備功耗資訊及設備效能資訊、虛擬資源的虛擬資源組態資訊及虛擬資源效能資訊分別獲取各虛擬機中各元件功耗,依據各元件功耗獲取各虛擬機的虛擬機總功耗,且依據各虛擬機的虛擬機總功耗獲取各虛擬化網路元件的虛擬化網路元件功耗,並且依據分別與各虛擬化網路元件對應的虛擬機的進程的CPU使用率獲取各虛擬化網路元件的CPU平均使用率。The present invention provides a method for estimating the energy efficiency of a virtualized network element, which is used to estimate the energy efficiency of a virtualized infrastructure, wherein the virtualized infrastructure includes a plurality of physical devices, a virtualization management program, and virtual resources generated according to the physical devices and the virtualization management program, and the virtual resources include each virtualized network element and a plurality of virtual machines corresponding to each virtualized network element. The energy efficiency estimation method includes: receiving a request from a cloud management system, collecting and storing device configuration information, device power consumption information, and device performance information of the physical device, and virtual resources of the virtual resources; The invention relates to a method for obtaining the power consumption of each component in each virtual machine according to the device configuration information, the device power consumption information and the device performance information of the physical device, the virtual resource configuration information and the virtual resource performance information of the virtual resource, and obtaining the total power consumption of each virtual machine according to the power consumption of each component, and obtaining the virtual network element power consumption of each virtual network element according to the total power consumption of each virtual machine, and obtaining the average CPU usage rate of each virtual network element according to the CPU usage rate of the process of the virtual machine corresponding to each virtual network element.
基於上述,本發明提供一種虛擬化網路元件的能源效率估算系統及其方法,不僅可收集虛擬資源組態資訊與即時效能資訊,並依據實體設備與其組成元件之功耗估算虛擬資源功耗,且提供API介面供外部系統介接整合,並且可供雲管系統、營運和商務支援系統編排或遷移虛擬資源之參考依據,提升實體設備資源利用率,以達企業永續發展之目標。Based on the above, the present invention provides a system and method for estimating energy efficiency of virtualized network elements, which can not only collect virtual resource configuration information and real-time performance information, but also estimate virtual resource power consumption based on the power consumption of physical equipment and its components, and provide an API interface for external system integration, and can also be used as a reference for cloud management systems, operations and business support systems to orchestrate or migrate virtual resources, thereby improving the utilization rate of physical equipment resources and achieving the goal of sustainable development of the enterprise.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above features and advantages of the present invention more clearly understood, embodiments are specifically cited below and described in detail with reference to the accompanying drawings.
本發明的部份實施例接下來將會配合附圖來詳細描述,以下的描述所引用的元件符號,當不同附圖出現相同的元件符號將視為相同或相似的元件。這些實施例只是本發明的一部份,並未揭示所有本發明的可實施方式。Some embodiments of the present invention will be described in detail below with reference to the accompanying drawings. When the same element symbols appear in different drawings, they will be regarded as the same or similar elements. These embodiments are only part of the present invention and do not disclose all possible implementations of the present invention.
圖1是依照本發明的一實施例的一種虛擬化網路元件的能源效率估算系統的示意圖。圖4是依照本發明的一實施例的虛擬化基礎設施的示意圖。Fig. 1 is a schematic diagram of an energy efficiency estimation system for a virtualized network element according to an embodiment of the present invention. Fig. 4 is a schematic diagram of a virtualized infrastructure according to an embodiment of the present invention.
請參照圖1,本揭露的一種虛擬化網路元件的能源效率估算系統10用以對虛擬化基礎設施(Network Function Virtualization Infrastructure,NFVI)15進行能源效率估算。Please refer to FIG. 1 , a virtualized network element energy
請參照圖1及圖4,虛擬化基礎設施15可包括多個實體設備(例如實體運算設備151、實體網路設備152、實體儲存設備153)以及分別與實體運算設備151、實體網路設備152、實體儲存設備153電性連接的虛擬化管理程式154,以依據各實體設備、虛擬化管理程式154生成虛擬資源。其中虛擬資源可包括各虛擬化網路元件(Virtual Network Function,VNF)16及分別與各虛擬化網路元件16對應的多個虛擬機(Virtual Machine,VM)17。於本實施例中,虛擬化網路元件16可例如為
、
,虛擬機17可為
、
,與虛擬化網路元件
對應的虛擬機可為
…
,本發明並不以此為限。
1 and 4 , the virtualized
能源效率估算系統10可包括收發器110、儲存媒體120以及處理器130。The energy
收發器110以無線或有線的方式傳送及接收訊號。收發器110還可以執行例如低噪聲放大、阻抗匹配、混頻、向上或向下頻率轉換、濾波、放大以及類似的操作。The
儲存媒體120用以儲存於能源效率估算系統10運行時所需的各項軟體、資料及各類程式碼。儲存媒體120例如是任何型態的固定式或可移動式的隨機存取記憶體(random access memory,RAM)、唯讀記憶體(read-only memory,ROM)、快閃記憶體(flash memory)、硬碟(hard disk drive,HDD)、固態硬碟(solid state drive,SSD)或類似元件或上述元件的組合,而用於儲存可由處理器130執行的多個模組或各種應用程式。在一實施例中,儲存媒體120可儲存監控暨儲存模組13及功耗估算模組14。The
處理器130例如是中央處理單元(central processing unit,CPU),或是其他可程式化之一般用途或特殊用途的微控制單元(micro control unit,MCU)、微處理器(microprocessor)、數位信號處理器(digital signal processor,DSP)、可程式化控制器、特殊應用積體電路(application specific integrated circuit,ASIC)、圖形處理器(graphics processing unit,GPU)、影像訊號處理器(image signal processor,ISP)、影像處理單元(image processing unit,IPU)、算數邏輯單元(arithmetic logic unit,ALU)、複雜可程式邏輯裝置(complex programmable logic device,CPLD)、現場可程式化邏輯閘陣列(field programmable gate array,FPGA)或其他類似元件或上述元件的組合。處理器130可耦接至儲存媒體120以及收發器110,並且存取和執行儲存於儲存媒體120中的各種應用程式以及儲存媒體120所儲存的監控暨儲存模組13及功耗估算模組14。The
圖2是依照本發明的一實施例的監控暨儲存模組的示意圖。FIG. 2 is a schematic diagram of a monitoring and storage module according to an embodiment of the present invention.
請參照圖2,監控暨儲存模組13包括設備組態收集單元131、設備效能收集單元132、設備功耗量測單元133、元件功耗量測單元134、虛擬資源組態收集單元135、虛擬資源效能收集單元136以及分別與設備效能收集單元132、設備功耗量測單元133、元件功耗量測單元134、虛擬資源組態收集單元135、虛擬資源效能收集單元136電性連接的網路服務管理資料庫137。2 , the monitoring and
監控暨儲存模組13經由收發器110接收使用者11藉由雲管系統12發出的請求指令,用以收集實體設備的設備組態資訊、設備功耗資訊及設備效能資訊以及虛擬資源的虛擬資源組態資訊及虛擬資源效能資訊並且儲存於網路服務管理資料庫137中。The monitoring and
在一實施例中,實體設備可以透過設備API或軟體套件與工具(例如IPMI、Redfish、SNMP、Intel RAPL、ICMP等)取得設備組態資訊、設備功耗資訊及設備效能資訊。設備組態資訊可例如是製造商、型號、CPU核心數與時脈、記憶體大小、硬碟大小、網卡最高速率、風扇數、電源供應器、主機板等硬體規格資訊。設備功耗資訊可例如是設備總功耗(單位:瓦特)、CPU與記憶體合計功耗(單位:瓦特)等資訊。設備效能資訊可例如是CPU使用率、記憶體使用率、硬碟讀寫次數與讀寫速率及每秒讀寫次數(Input/Output Operations Per Second,IOPS)、網卡讀寫次數與讀寫速率、風扇轉數、設備溫度等資訊。本發明並不以此為限。In one embodiment, a physical device can obtain device configuration information, device power consumption information, and device performance information through a device API or software suite and tool (e.g., IPMI, Redfish, SNMP, Intel RAPL, ICMP, etc.). Device configuration information may include, for example, manufacturer, model, number of CPU cores and clock, memory size, hard disk size, maximum speed of network card, number of fans, power supply, motherboard, and other hardware specification information. Device power consumption information may include, for example, total device power consumption (unit: watt), CPU and memory combined power consumption (unit: watt), and other information. The device performance information may include, for example, CPU usage, memory usage, hard disk read/write times and read/write rates, and read/write times per second (IOPS), network card read/write times and read/write rates, fan speed, device temperature, etc. The present invention is not limited thereto.
其中,設備組態收集單元131用以收集實體設備的設備組態資訊並且儲存於網路服務管理資料庫137中。設備效能收集單元132用以收集實體設備的設備效能資訊並且儲存於網路服務管理資料庫137中。設備功耗量測單元133及元件功耗量測單元134用以收集實體設備的設備功耗資訊並且儲存於網路服務管理資料庫137中。The device
在一實施例中,虛擬資源可以透過虛擬化管理程式154取得虛擬資源組態資訊及虛擬資源效能資訊。虛擬資源組態資訊可例如是虛擬CPU核心數與時脈、虛擬記憶體大小、虛擬硬碟大小、虛擬網卡最高速率等規格資訊。虛擬資源效能資訊可例如是虛擬CPU使用率、虛擬記憶體使用率、虛擬硬碟讀寫次數與讀寫速率及IOPS、虛擬網卡讀寫次數與讀寫速率等資訊。本發明並不以此為限。In one embodiment, the virtual resource can obtain virtual resource configuration information and virtual resource performance information through the
其中,虛擬資源組態收集單元135用以收集虛擬資源的虛擬資源組態資訊並且儲存於網路服務管理資料庫137中。虛擬資源效能收集單元136用以收集虛擬資源的虛擬資源效能資訊並且儲存於網路服務管理資料庫137中。The virtual resource
圖3是依照本發明的一實施例的功耗估算模組的示意圖。FIG3 is a schematic diagram of a power consumption estimation module according to an embodiment of the present invention.
請參照圖3,功耗估算模組14與監控暨儲存模組13電性連接,依據網路服務管理資料庫137中儲存的實體設備的設備組態資訊、設備功耗資訊及設備效能資訊、虛擬資源的虛擬資源組態資訊及虛擬資源效能資訊分別獲取各虛擬機17中各元件功耗,依據各元件功耗獲取各虛擬機17的虛擬機總功耗,且依據各虛擬機17的虛擬機總功耗獲取各虛擬化網路元件16的虛擬化網路元件功耗,並且依據分別與各虛擬化網路元件16對應的虛擬機17的進程的CPU使用率獲取各虛擬化網路元件16的CPU平均使用率,從而通過統計實體設備與其組成元件之功耗,並依此估算虛擬資源的功耗。Referring to FIG. 3 , the power
在一實施例中,各虛擬機17中各元件功耗可包括虛擬機CPU與記憶體合計功耗、虛擬機硬碟功耗、虛擬機網卡功耗、虛擬機其餘元件功耗、虛擬機儲存功耗及虛擬機網路功耗。本發明並不以此為限。In one embodiment, the power consumption of each component in each
在一實施例中,功耗估算模組14可包括設備組態與效能統計單元141、虛擬資源組態與效能統計單元142、設備與元件功耗統計單元143、虛擬機功耗估算單元144及虛擬網路元件功耗估算單元145。In one embodiment, the power
監控暨儲存模組13及功耗估算模組14可透過軟體、韌體、硬體電路的其中之一或其任意組合來實作,且本揭露不對監控暨儲存模組13及功耗估算模組14的實作方式作出限制。The monitoring and
下文中以虛擬機 為例計算虛擬機VM1的中各元件功耗。虛擬機 在實體運算設備上,仍屬於一作業系統之進程(process)。 In the following, virtual machines For example, calculate the power consumption of each component in virtual machine VM1. On a physical computing device, it is still a process of an operating system.
虛擬機功耗估算單元144依據公式1以根據虛擬機
的進程的CPU使用率與各虛擬機(例如虛擬機
…虛擬機
)的進程的CPU使用率總和的比例分攤實體運算設備的CPU與記憶體合計功耗,從而獲取
的虛擬機CPU與記憶體合計功耗。公式1如下:
The virtual machine power
即 Right now
其中i及n為正整數, 為VM 1之CPU與記憶體功耗, 為所有VM(例如虛擬機VM 1…虛擬機VM n)進程之CPU使用率總和, 為VM 1進程之CPU使用率, 為實體運算設備之CPU與記憶體合計功耗。 Where i and n are positive integers, is the CPU and memory power consumption of VM 1 , is the sum of CPU usage of all VM processes (e.g. VM 1… VM n ). is the CPU usage of the VM 1 process. It is the total power consumption of the CPU and memory of a physical computing device.
設備組態與效能統計單元141依據公式2以獲取實體運算設備除CPU與記憶體外,其餘組成元件之合計功耗,如硬碟、網卡、主機板、風扇等。公式2如下:The device configuration and
即 Right now
為實體運算設備除CPU與記憶體外之合計功耗, 為實體運算設備總功耗, 為實體運算設備之CPU與記憶體合計功耗。 It is the total power consumption of the physical computing device excluding the CPU and memory. is the total power consumption of the physical computing device, It is the total power consumption of the CPU and memory of a physical computing device.
一般而言,硬碟功耗占實體運算設備約5%-15%,於本實施例中,以10%作為實體運算設備之硬碟功耗占比。虛擬機功耗估算單元144依據公式3以根據虛擬機
的虛擬硬碟的每秒讀寫次數(Input/Output Operations Per Second,IOPS)與各虛擬機(例如虛擬機
…虛擬機
)的IOPS總和的比例分攤實體運算設備的硬碟功耗,從而獲取
的虛擬機硬碟功耗。公式3如下:
Generally speaking, the power consumption of the hard disk accounts for about 5%-15% of the physical computing device. In this embodiment, 10% is used as the power consumption ratio of the hard disk of the physical computing device. The virtual machine power
即 Right now
其中i及n為正整數, 為VM 1之硬碟功耗, 為 之虛擬硬碟IOPS, 為所有VM(例如虛擬機 …虛擬機 )之虛擬硬碟IOPS總和, 為實體運算設備除CPU與記憶體外之合計功耗。 Where i and n are positive integers, is the hard disk power consumption of VM 1 , for Virtual hard disk IOPS, For all VMs (such as virtual machines … virtual machines ) of the virtual hard disk IOPS, It is the total power consumption of physical computing equipment excluding CPU and memory.
一般而言,網卡功耗占實體運算設備約5%-10%,於本實施例中,以10%作為實體運算設備之網卡功耗占比。虛擬機功耗估算單元144依據公式4以根據虛擬機
的虛擬網卡的讀寫次數與各虛擬機(例如虛擬機
…虛擬機
)的讀寫次數總和的比例分攤實體運算設備的網卡功耗,從而獲取
的虛擬機網卡功耗。公式4如下:
Generally speaking, the power consumption of the network card accounts for about 5%-10% of the physical computing device. In this embodiment, 10% is used as the power consumption ratio of the network card of the physical computing device. The virtual machine power
即 Right now
其中i及n為正整數, 為 之網卡功耗, 為 之虛擬網卡讀寫次數, 為所有VM(例如虛擬機 …虛擬機 )之虛擬網卡讀寫次數總和, 為實體運算設備除CPU與記憶體外之合計功耗。 Where i and n are positive integers, for Network card power consumption, for The number of read and write times of the virtual network card. For all VMs (such as virtual machines … virtual machines )’s total number of read and write times of the virtual network card. It is the total power consumption of physical computing equipment excluding CPU and memory.
虛擬機功耗估算單元144依據公式5以根據虛擬機
的進程的CPU使用率與各虛擬機(例如虛擬機
…虛擬機
)的進程的CPU使用率總和的比例分攤實體運算設備除CPU、記憶體、硬碟與網卡之其餘元件功耗,從而獲取
的虛擬機其餘元件功耗。公式5如下:
The virtual machine power
即 Right now
其中i及n為正整數, 為VM 1之其餘元件功耗, 為 進程之CPU使用率, 為所有VM(例如虛擬機 …虛擬機 )進程之CPU使用率總和, 為實體運算設備除CPU與記憶體外之合計功耗。 Where i and n are positive integers, is the power consumption of the remaining components of VM 1 , for CPU usage of the process, For all VMs (such as virtual machines … virtual machines ) The total CPU usage of the process, It is the total power consumption of physical computing equipment excluding CPU and memory.
虛擬機功耗估算單元144依據公式6以根據虛擬機
的虛擬硬碟的每秒讀寫次數(Input/Output Operations Per Second,IOPS)與各虛擬機(例如虛擬機
…虛擬機
)的虛擬硬碟的IOPS總和的比例分攤實體儲存設備的總功耗,從而獲取
的虛擬機儲存功耗。公式6如下:
The virtual machine power
即 Right now
其中i及n為正整數, 為 之虛擬機儲存功耗, 為 之虛擬硬碟IOPS, 為所有VM(例如虛擬機 …虛擬機 )之虛擬硬碟IOPS總和, 為實體儲存設備總功耗。 Where i and n are positive integers, for Virtual machine storage power consumption, for Virtual hard disk IOPS, For all VMs (such as virtual machines … virtual machines ) of the virtual hard disk IOPS, Total power consumption of physical storage devices.
虛擬機功耗估算單元144依據公式7以根據虛擬機
的虛擬網卡的讀寫次數與各虛擬機(例如虛擬機
…虛擬機
)的讀寫次數總和的比例分攤實體網路設備的總功耗,從而獲取
的虛擬機網路功耗。公式7如下:
The virtual machine power
即 Right now
其中i及n為正整數, 為VM 1之網路功耗, 為 之虛擬網卡的讀寫次數, 為所有VM(例如虛擬機 …虛擬機 )之虛擬網卡的讀寫次數總和, 為實體網路設備總功耗。 Where i and n are positive integers, is the network power consumption of VM 1 , for The number of read and write times of the virtual network card. For all VMs (such as virtual machines … virtual machines )’s total number of read and write operations. It is the total power consumption of physical network devices.
設備組態與效能統計單元141及虛擬資源組態與效能統計單元142依據公式8以根據上述公式1、公式3至7取得的虛擬機
的虛擬機CPU與記憶體合計功耗、虛擬機硬碟功耗、虛擬機網卡功耗、虛擬機其餘元件功耗、虛擬機儲存功耗及虛擬機網路功耗來獲取虛擬機
的虛擬機總功耗。公式8如下:
The equipment configuration and
即 Right now
其中 為 之虛擬機總功耗, 為 之虛擬機CPU與記憶體合計功耗, 為 之虛擬機硬碟功耗, 為 之虛擬機網卡功耗, 為 之虛擬機其餘元件功耗, 為 之虛擬機儲存功耗, 為 之虛擬機網路功耗。 in for Total power consumption of the virtual machine, for The total power consumption of the virtual machine CPU and memory, for Virtual machine hard drive power consumption, for Virtual machine network card power consumption, for The power consumption of other components of the virtual machine, for Virtual machine storage power consumption, for Virtual machine network power consumption.
以虛擬網路元件VNF
1為例,虛擬網路元件功耗估算單元145依據公式9以根據對應於虛擬網路元件
的各虛擬機(例如虛擬機
…虛擬機
)的虛擬機總功耗進行加總,從而獲取
的虛擬網路元件功耗。公式9如下:
Taking the virtual network element VNF 1 as an example, the virtual network element power
即 Right now
其中i及n為正整數, 為 之 功耗, 為對應於 的所有虛擬機(例如虛擬機 …虛擬機 )的虛擬機總功耗之總和。 Where i and n are positive integers, for Of Power consumption, To correspond to All virtual machines (for example, virtual machines …virtual machines ) is the sum of the total power consumption of the virtual machines.
虛擬網路元件功耗估算單元145依據公式10以根據對應於虛擬網路元件
的各虛擬機(例如虛擬機
…虛擬機
)的CPU使用率進行平均,從而獲取
的CPU平均使用率。公式10如下:
The virtual network element power
即 Right now
其中i及n為正整數, 為VNF 1之CPU使用率總和, 為對應於 的所有虛擬機(例如虛擬機 …虛擬機 )的所有虛擬機進程的CPU使用率總和。 Where i and n are positive integers, is the total CPU usage of VNF 1 , To correspond to All virtual machines (for example, virtual machines …virtual machines ) is the sum of the CPU usage of all virtual machine processes.
即 Right now
其中i及n為正整數, 為VNF 1之CPU平均使用率, 、 為對應於 的所有虛擬機(例如虛擬機 …虛擬機 )的虛擬機進程的CPU平均使用率。 Where i and n are positive integers, is the average CPU usage of VNF 1 , , To correspond to All virtual machines (for example, virtual machines …virtual machines )'s average CPU usage by the virtual machine processes.
上述經統計與估算後的資料均可儲存至軟體式的網路服務管理資料庫137。The above statistical and estimated data can be stored in the software-based network
在一實施例中,監控暨儲存模組13可包括應用程式介面(Application Programming Interface,API)(圖中未示),用以供其他系統介接及查詢相關實體設備與虛擬資源之組態、效能與功耗等資訊。In one embodiment, the monitoring and
下文中,將搭配圖1中的各項裝置、元件及模組說明本發明實施例所述之方法。本方法的各個流程可依照實施情形而隨之調整,且並不僅限於此。Hereinafter, the method described in the embodiment of the present invention will be described with reference to the devices, components and modules in FIG1. The various processes of the method can be adjusted according to the implementation situation, and are not limited thereto.
圖5是依照本發明的一實施例的虛擬化網路元件的能源效率估算方法的流程圖。FIG. 5 is a flow chart of a method for estimating energy efficiency of a virtualized network element according to an embodiment of the present invention.
請參照圖5,於步驟S501中,監控暨儲存模組13接收雲管系統12的請求,收集並且儲存實體設備的設備組態資訊、設備功耗資訊及設備效能資訊以及虛擬資源的虛擬資源組態資訊及虛擬資源效能資訊。5 , in step S501 , the monitoring and
於步驟S502中,功耗估算模組14依據實體設備的設備組態資訊、設備功耗資訊及設備效能資訊、虛擬資源的虛擬資源組態資訊及虛擬資源效能資訊分別獲取各虛擬機17中各元件功耗,依據各元件功耗獲取各虛擬機17的虛擬機總功耗,且依據各虛擬機17的虛擬機總功耗獲取各虛擬化網路元件16的虛擬化網路元件功耗,並且依據分別與各虛擬化網路元件16對應的虛擬機的進程的CPU使用率獲取各虛擬化網路元件16的CPU平均使用率。In step S502, the power
以下將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行清楚且完整的描述,所描述的實施例僅是本發明一部份的實施例,而不是全部的實施例。基於本發明中的實施例,本領域技術人員在沒有做出創造性差異前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. The described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technical personnel in this field without making creative differences are within the scope of protection of the present invention.
圖6是依照本發明的一第一實施例的一種虛擬化網路元件的能源效率估算系統的示意圖。FIG6 is a schematic diagram of an energy efficiency estimation system for virtualized network elements according to a first embodiment of the present invention.
請參照圖6,於本實施例中,虛擬化基礎設施15可包含實體運算設備、實體儲存設備與實體網路設備,監控暨儲存模組13透過設備API與虛擬化管理程式等軟體套件、工具取得實體運算設備功耗為250瓦特,其組成元件中,CPU與記憶體合計功耗為150瓦特,實體儲存設備功耗為150瓦特,實體網路設備功耗為100瓦特。Please refer to Figure 6. In this embodiment, the
監控暨儲存模組13透過虛擬化管理程式生成2台虛擬網路元件16,分別為VNF_1與VNF_2。其中VNF_1由三台虛擬機17組成,分別為VM_11、VM_12、VM_13,其CPU進程使用率分別為15%、30%、25%,虛擬硬碟IOPS分別為100、200、150,虛擬網卡讀寫次數分別為50、100、80。而VNF_2由兩台虛擬機17組成,分別為VM_21、VM_22,其CPU進程使用率分別為25%、10%,虛擬硬碟IOPS分別為80、60,虛擬網卡讀寫次數分別為100、90。上述監控資料存入軟體式的網路服務管理資料庫137。The monitoring and
功耗估算模組14存取軟體式的網路服務管理資料庫137,取得上述監控資料,並透過上述公式1-10的功耗估算演算法來獲取虛擬機17與虛擬網路元件16之功耗等資訊,以下功耗等資訊的單位皆為瓦特。The power
具體而言,功耗估算模組14利用公式1並且依據上述監控資料來獲取虛擬機VM_11、VM_12、VM_13、VM_21、VM_22的虛擬機CPU與記憶體合計功耗:Specifically, the power
功耗估算模組14利用公式2來獲取實體運算設備除CPU與記憶體外之合計功耗:
The power
功耗估算模組14利用公式3來獲取虛擬機VM_11、VM_12、VM_13、VM_21、VM_22的虛擬機硬碟功耗:The power
功耗估算模組14利用公式4來獲取虛擬機VM_11、VM_12、VM_13、VM_21、VM_22的虛擬機網卡功耗:The power
功耗估算模組14利用公式5來獲取虛擬機VM_11、VM_12、VM_13、VM_21、VM_22的虛擬機其餘元件功耗:The power
功耗估算模組14利用公式6來獲取虛擬機VM_11、VM_12、VM_13、VM_21、VM_22的虛擬機儲存功耗:The power
功耗估算模組14利用公式7來獲取虛擬機VM_11、VM_12、VM_13、VM_21、VM_22的虛擬機網路功耗:The power
功耗估算模組14利用公式8來獲取虛擬機VM_11、VM_12、VM_13、VM_21、VM_22的虛擬機總功耗:The power
功耗估算模組14利用公式9來獲取虛擬網路元件VNF_1、VNF_2的虛擬網路元件功耗:The power
功耗估算模組14利用公式10來獲取虛擬網路元件VNF_1、VNF_2的CPU平均使用率:The power
上述經統計與估算後的資料皆儲存至軟體式的網路服務管理資料庫137,且提供API介面供外部系統介接整合。The above statistical and estimated data are stored in the software-based network
基於上述,本發明提供一種虛擬化網路元件的能源效率估算系統及其方法,不僅可收集虛擬資源組態資訊與即時效能資訊,並依據實體設備與其組成元件之功耗估算虛擬資源功耗,且提供API介面供外部系統介接整合,並且可供雲管系統、營運和商務支援系統編排或遷移虛擬資源之參考依據,提升實體設備資源利用率,以達企業永續發展之目標。Based on the above, the present invention provides a system and method for estimating energy efficiency of virtualized network elements, which can not only collect virtual resource configuration information and real-time performance information, but also estimate virtual resource power consumption based on the power consumption of physical equipment and its components, and provide an API interface for external system integration, and can also be used as a reference for cloud management systems, operations and business support systems to orchestrate or migrate virtual resources, thereby improving the utilization rate of physical equipment resources and achieving the goal of sustainable development of the enterprise.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above by the embodiments, they are not intended to limit the present invention. Any person with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be defined by the scope of the attached patent application.
10:能源效率估算系統10: Energy efficiency estimation system
110:收發器110: Transceiver
120:儲存媒體120: Storage Media
130:處理器130:Processor
11:使用者11: User
12:雲管系統12: Cloud Management System
13:監控暨儲存模組13: Monitoring and storage module
14:功耗估算模組14: Power consumption estimation module
15:虛擬化基礎設施15: Virtualized Infrastructure
16:虛擬化網路元件16: Virtualized Network Components
17:虛擬機17: Virtual Machine
131:設備組態收集單元131: Equipment configuration collection unit
132:設備效能收集單元132: Equipment performance collection unit
133:設備功耗量測單元133: Equipment power consumption measurement unit
134:元件功耗量測單元134: Component power consumption measurement unit
135:虛擬資源組態收集單元135: Virtual resource configuration collection unit
136:虛擬資源效能收集單元136: Virtual Resource Performance Collection Unit
137:網路服務管理資料庫137: Network Service Management Database
141:設備組態與效能統計單元141: Equipment Configuration and Performance Statistics Unit
142:虛擬資源組態與效能統計單元142: Virtual Resource Configuration and Performance Statistics Unit
143:設備與元件功耗統計單元143: Equipment and component power consumption statistics unit
144:虛擬機功耗估算單元144: Virtual machine power consumption estimation unit
145:虛擬網路元件功耗估算單元145: Virtual network element power consumption estimation unit
151:實體運算設備151: Physical computing equipment
152:實體網路設備152: Physical network equipment
153:實體儲存設備153: Physical storage device
154:虛擬化管理程式154:Virtualization Hypervisor
S501、S502:步驟S501, S502: Steps
圖1是依照本發明的一實施例的一種虛擬化網路元件的能源效率估算系統的示意圖。 圖2是依照本發明的一實施例的監控暨儲存模組的示意圖。 圖3是依照本發明的一實施例的功耗估算模組的示意圖。 圖4是依照本發明的一實施例的虛擬化基礎設施的示意圖。 圖5是依照本發明的一實施例的虛擬化網路元件的能源效率估算方法的流程圖。 圖6是依照本發明的一第一實施例的一種虛擬化網路元件的能源效率估算系統的示意圖。 FIG. 1 is a schematic diagram of a system for estimating energy efficiency of a virtualized network element according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a monitoring and storage module according to an embodiment of the present invention. FIG. 3 is a schematic diagram of a power consumption estimation module according to an embodiment of the present invention. FIG. 4 is a schematic diagram of a virtualized infrastructure according to an embodiment of the present invention. FIG. 5 is a flow chart of a method for estimating energy efficiency of a virtualized network element according to an embodiment of the present invention. FIG. 6 is a schematic diagram of a system for estimating energy efficiency of a virtualized network element according to a first embodiment of the present invention.
10:能源效率估算系統 10: Energy efficiency estimation system
110:收發器 110: Transceiver
120:儲存媒體 120: Storage media
130:處理器 130: Processor
11:使用者 11: User
12:雲管系統 12: Cloud management system
13:監控暨儲存模組 13: Monitoring and storage module
14:功耗估算模組 14: Power consumption estimation module
15:虛擬化基礎設施 15: Virtualized infrastructure
16:虛擬化網路元件 16: Virtualized network components
17:虛擬機 17: Virtual Machine
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113100083A TWI859051B (en) | 2024-01-02 | 2024-01-02 | Energy efficiency estimation system and method for virtualized network function |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW113100083A TWI859051B (en) | 2024-01-02 | 2024-01-02 | Energy efficiency estimation system and method for virtualized network function |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TWI859051B true TWI859051B (en) | 2024-10-11 |
| TW202528936A TW202528936A (en) | 2025-07-16 |
Family
ID=94084164
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113100083A TWI859051B (en) | 2024-01-02 | 2024-01-02 | Energy efficiency estimation system and method for virtualized network function |
Country Status (1)
| Country | Link |
|---|---|
| TW (1) | TWI859051B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9251115B2 (en) * | 2013-03-07 | 2016-02-02 | Citrix Systems, Inc. | Dynamic configuration in cloud computing environments |
| TW201931119A (en) * | 2017-12-28 | 2019-08-01 | 中華電信股份有限公司 | System and method for monitoring cloud network convergence |
| US10592266B1 (en) * | 2011-05-23 | 2020-03-17 | Open Invention Network Llc | Dynamic consolidation of virtual machines |
| CN115809184A (en) * | 2022-11-25 | 2023-03-17 | 国网江苏省电力有限公司南京供电分公司 | Method, medium and equipment for constructing multi-dimensional energy consumption quantitative analysis model of data center |
-
2024
- 2024-01-02 TW TW113100083A patent/TWI859051B/en active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10592266B1 (en) * | 2011-05-23 | 2020-03-17 | Open Invention Network Llc | Dynamic consolidation of virtual machines |
| US9251115B2 (en) * | 2013-03-07 | 2016-02-02 | Citrix Systems, Inc. | Dynamic configuration in cloud computing environments |
| TW201931119A (en) * | 2017-12-28 | 2019-08-01 | 中華電信股份有限公司 | System and method for monitoring cloud network convergence |
| CN115809184A (en) * | 2022-11-25 | 2023-03-17 | 国网江苏省电力有限公司南京供电分公司 | Method, medium and equipment for constructing multi-dimensional energy consumption quantitative analysis model of data center |
Also Published As
| Publication number | Publication date |
|---|---|
| TW202528936A (en) | 2025-07-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Khosravi et al. | Energy and carbon-efficient placement of virtual machines in distributed cloud data centers | |
| Zhou et al. | Fine-grained energy consumption model of servers based on task characteristics in cloud data center | |
| Quang-Hung et al. | A genetic algorithm for power-aware virtual machine allocation in private cloud | |
| WO2012161737A1 (en) | Incorporating memory and io cycle information into compute usage determinations | |
| US20120030356A1 (en) | Maximizing efficiency in a cloud computing environment | |
| CN104301389A (en) | Method and system for energy efficiency monitoring and management of cloud computing system | |
| CN105786619B (en) | Virtual machine allocation method and device | |
| CN112395161A (en) | Big data center energy consumption analysis method and computing equipment | |
| Abdullah et al. | A heuristic-based approach for dynamic VMs consolidation in cloud data centers | |
| Usman et al. | Energy-Efficient virtual machine allocation technique using interior search algorithm for cloud datacenter | |
| Ding et al. | Accelerated computation of the genetic algorithm for energy-efficient virtual machine placement in data centers | |
| Varasteh et al. | On reliability-aware server consolidation in cloud datacenters | |
| US10157072B2 (en) | Method and system for estimating power consumption for aggregate system workload | |
| CN109995551B (en) | Service metering method and device of cloud computing system | |
| CN106775987A (en) | A kind of dispatching method of virtual machine for improving resource efficiency safely in IaaS cloud | |
| TWI859051B (en) | Energy efficiency estimation system and method for virtualized network function | |
| US20250156882A1 (en) | Determining Method and Apparatus for Carbon Emissions, and Device | |
| Xu et al. | VMs placement strategy based on distributed parallel ant colony optimization algorithm | |
| US11763358B2 (en) | Per-tenant cost calculation in multi-tenant data storage system | |
| Usman et al. | A conceptual framework for realizing energy efficient resource allocation in cloud data centre | |
| CN117453734A (en) | A method, device and equipment for determining carbon emissions | |
| CN103581036A (en) | Method, device and system for controlling virtual machine network flow | |
| Wu et al. | Energy Monitoring for Containerized Network Service in Telco Cloud | |
| Lata et al. | Energy-aware simulators for efficient data center design | |
| US9195807B1 (en) | License manager for central management products |