CN103618682A - Low power frequency modulation method based on traffic - Google Patents
Low power frequency modulation method based on traffic Download PDFInfo
- Publication number
- CN103618682A CN103618682A CN201310485617.2A CN201310485617A CN103618682A CN 103618682 A CN103618682 A CN 103618682A CN 201310485617 A CN201310485617 A CN 201310485617A CN 103618682 A CN103618682 A CN 103618682A
- Authority
- CN
- China
- Prior art keywords
- frequency
- flow
- traffic
- module
- frequency modulation
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 230000035945 sensitivity Effects 0.000 claims abstract description 5
- 230000007246 mechanism Effects 0.000 claims description 9
- 230000007423 decrease Effects 0.000 claims description 3
- 230000003247 decreasing effect Effects 0.000 claims description 3
- 230000010355 oscillation Effects 0.000 abstract description 3
- 238000012545 processing Methods 0.000 description 6
- 238000004364 calculation method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003139 buffering effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a low power frequency modulation method based on traffic. The method of the invention is carried out by calculating a network data flow size to realize frequency modulation. A quantity of data packets received by a network device in a specific time is calculated; according to the quantity of the received data packets, the traffic in a current network is reflected; and the traffic is chosen as an index of each frequency, so as to realize a self-adaptive modulation based on the traffic. The invention can realize the self-adaptive modulation, avoid the frequency oscillation, and adjust the frequency modulation sensitivity, so that the module power consumption is reduced and the energy is saved.
Description
Technical Field
The invention relates to a power supply energy-saving technology in the field of communication, in particular to an energy-saving frequency modulation control method of communication equipment.
Background
According to related research organization survey, the method comprises the following steps: in the Ethernet wired communication technology, 30 hundred million network interface devices are globally used in a local area network; it is estimated that the total network power consumption of a european internet provider (ISP) in 2010 is about 214 hundred million kilowatt-hours, and this consumption prediction will increase substantially to about 358 hundred million kilowatt-hours by 2020 without green energy saving technology. Therefore, in the current advocated ecological network construction, effective utilization of energy becomes more and more important, and research and improvement of power consumption of network equipment are also necessary.
The average bandwidth utilization rate of the current Internet backbone network is 30 percent, and the highest average bandwidth utilization rate is less than 45 percent; however, in order to smoothly circulate network data streams and to cope with the occurrence of sudden situations, current network devices generally operate at full load all the day, which causes a great consumption of power. In response to this phenomenon, network equipment providers and researchers have proposed two basic methods to operate network equipment in a proper working state; one is to make the network device switch between operation and sleep, and the other is to realize the self-adapting adjustment of the network device working frequency according to some frequency modulation mechanism. Due to the difficult predictability of network data flow, network performance may be greatly affected when network devices are switched between sleep and running states; however, the effective adaptive frequency modulation mechanism can solve the problem well, thereby realizing perfect combination of performance and power consumption.
For the frequency self-adaptive adjustment of network equipment, there are related researches at home and abroad, and the main two ways are to realize the frequency modulation of the equipment according to the buffer amount of the current data stream or the configuration of upper-layer software[The two methods can theoretically achieve the effect of frequency modulation, but have certain defects. First, the software configures the frequency modulation, which is relatively complicated to implement because the upper layer software cannot implement the dynamic adjustment of the frequency quickly and efficiently, and because the mutual communication between the software and the hardware is involved. The adaptive frequency modulation method based on the buffer storage also has certain disadvantages: at a specific frequency, a specific buffer amount is an index that can be used as an operating state of the router, but if at a different frequency, it is meaningless to use the specific buffer amount to indicate the current operating state, and this frequency modulation method also causes the adjacent frequency to switch repeatedly, thereby affecting the stability of the router,and a large amount of data packets are lost and extra power consumption is wasted in the switching process, and although a certain algorithm (dual threshold or multi-threshold) can solve the problem to some extent, a certain potential threat can be caused to the stability of the network device.
Disclosure of Invention
The invention aims to effectively solve the oscillation phenomenon of frequency adjustment and the defects of complexity and slowness of software frequency modulation, and provides a method for reducing the power consumption of network equipment by using a flow-based adaptive frequency modulation mechanism.
The invention frequency-modulates by calculating the size of the network data stream. The number of data packets received by the network equipment is calculated in a specific time (a specific time threshold value is set), the current flow in the network is reflected according to the number of the received data packets, and then the flow is used as an index for selecting each frequency, so that the self-adaptive frequency modulation based on the flow is realized.
The technical scheme adopted by the invention for solving the technical problems is as follows:
the method comprises the following steps: accurate calculation of network device traffic:
when the network data flow enters the input queue of the flow counting module, the counting module divides the data flow into a plurality of data packets, calculates the byte number of each data packet, counts the total byte number received in the set time through a counting module, and can adjust the sensitivity of the frequency modulation method by adjusting the counting time.
Step two: generation of multiple frequencies
The global clock frequency is generated by using a clock IP core provided by an FPGA manufacturer or by a hardware description language method, and the required characteristics of the global clock are as follows: the chip has the advantages of high load capacity, small time delay difference, small waveform distortion of clock signals and high working reliability.
Step three: frequency modulation mechanism
The flow t is not increased or decreased relative to the previous time;
when t increases, the frequency and flow values are related as follows:
when t decreases, the frequency and flow values are related as follows:
wherein, fin order to be the working frequency of the frequency converter,is as followsA frequency of,;In order for the flow statistics module to receive the flow value,is a set oneThe flow rate value of the flow rate is smaller,is a set oneThe value of the flow rate that is greater,,;。
buffer space is reserved between adjacent flow intervals, namely adjacent flow value intervals are set as. When the module operates at a frequency ofTime of day, data traffictIncreases from small to large to exceedWhile switching the operating frequency to a high frequency mode(if the received data stream is large enough to,Etc., the frequency may also be switched directly to,Up to the highest frequency) (ii) a Also, when the module is operating at frequencyTime of day, data traffictDecreases from large to small to belowThen the frequency is switched to the low frequency mode(if the received data stream rapidly gets smaller than it is,Etc., the frequency may also be switched directly to,Up to the lowest frequency). When in useWhen the current frequency is in the buffer interval, if the current frequency is in low frequencyWhile the frequency of the device continues to remain at a low frequency(ii) a If the current frequency is operating at the frequencyWhile the equipment continues to remain at,Andare adjacent frequency values. Thus, frequency jitter is effectively avoided.
Advantageous effects:
Compared with the prior art, the invention has the following remarkable advantages: the flow-based frequency modulation method can realize self-adaptive frequency modulation; the oscillation of frequency is avoided, and the sensitivity of frequency modulation is adjustable; and the power consumption of the module is reduced, and energy is saved.
Drawings
FIG. 1 is a block diagram of the frequency modulation method of the present invention;
FIG. 2 is a flow chart of an implementation of the present invention;
FIG. 3 illustrates two frequency modulation schemes of the present invention with and without buffering;
FIG. 4 is a diagram of the dual-threshold buffered FM state transition of the present invention;
fig. 5 is a structural view of an embodiment of the present invention.
Detailed Description
As shown in fig. 1 and fig. 2, the frequency modulation method in the present design performs frequency modulation by calculating the size of the network data stream. The number of data packets received by the network equipment is calculated in a specific time (a specific time threshold value is set), the current flow in the network is reflected according to the number of the received data packets, and then the flow is used as an index for selecting each frequency, so that the self-adaptive frequency modulation based on the flow is realized.
The technical scheme adopted by the invention is as follows:
1) accurate calculation of network device traffic:
when the network data stream enters the input queue of the flow counting module, the counting module divides the data stream into data packets according to the Ethernet controller, calculates the number of bytes of each data packet, counts the total number of bytes received within a set time through a counting module, and can adjust the size of the counting time to adjust the sensitivity of the frequency modulation method.
2) Generation of multiple frequencies
The global clock frequency is generated by using a clock IP core provided by an FPGA manufacturer or by a hardware description language method, and the required characteristics of the global clock are as follows: the chip has the advantages of high load capacity, small time delay difference, small waveform distortion of clock signals and high working reliability.
3) Frequency modulation mechanism
when t increases, the frequency and flow values are related as follows:
wherein, fin order to be the working frequency of the frequency converter,is as followsA frequency of,;In order for the flow statistics module to receive the flow value,is a set oneThe flow rate value of the flow rate is smaller,is a set oneThe value of the flow rate that is greater,,;。
as shown in fig. 3 and 4, a buffer space is reserved between adjacent flow rate intervals, that is, adjacent flow rate value intervals are set to. When the module operates at a frequency ofTime of day, data traffictIncreases from small to large to exceedWhile switching the operating frequency to a high frequency mode(if the received data stream is large enough to,Etc., the frequency may also be switched directly to,Up to the highest frequency) (ii) a Also, when the module is operating at frequencyTime of day, data traffictDecreases from large to small to belowThen the frequency is switched to the low frequency mode(if the received data stream rapidly gets smaller than it is,Etc., the frequency may also be switched directly to,Up to the lowest frequency). When in useWhen the current frequency is in the buffer interval, if the current frequency is in low frequencyWhile the frequency of the device continues to remain at a low frequency(ii) a If the current frequency is operating at the frequencyWhile the equipment continues to remain at,Andare adjacent frequency values. Thus, frequency jitter is effectively avoided. Regardless of the current frequency beingOr alsoAnd the frequency modulation equipment can work normally.
Referring to fig. 5, a reference router on a NetFPGA development platform is selected in the embodiment. In order to ensure that the frequency modulation method can accurately calculate the current network traffic, the frequency modulation module must be added to be embedded in a front-end module designed in the whole router, so that the accuracy of traffic calculation cannot be affected due to insufficient processing performance of a subsequent processing module.
A frequency modulation decision mechanism is added in the front end of a reference router network layer User _ Data _ Path, namely a Data packet receiving module (Rx _ Quference). The Rx _ Quference module is arranged between the link layer processing module and the network layer processing module, is used for receiving input Data of a link layer, packaging the input Data into a Data packet, caching the Data packet by a FIFO (First In First out) and then forwarding the Data packet to the network layer module (User _ Data _ Path) for routing processing.
The frequency modulation judging mechanism firstly sets a corresponding frequency modulation mark signal according to the network flow counted by the flow counting module, the multi-frequency generating module is used for generating various frequencies, selecting a proper frequency according to the difference of the frequency modulation mark signal and then transmitting the proper frequency to each function module of the router through the global clock line. The multi-frequency module has five clock frequencies which can be selected, in order to obviously distinguish the processing capability and the power consumption requirement of the router under each frequency, the five frequencies of the design are in a frequency multiplication relation and are generated by the Xilinx DCM IP core, and the sizes of the five frequencies are 7.813MHz, 15.625MHz, 31.25MHz, 62.5MHz and the highest frequency of 125MHz respectively. The frequency modulation judging mechanism is correspondingly provided with five frequency modulation mark signals which respectively correspond to different frequencies. The data flow statistic module is used for counting the data flow received by the network port, and the principle of the data packet statistic module is that when the Rx _ Quence receives a data frame, the data frame is packaged into data packets, the size of the data packet is calculated, a packet marking signal with a clock period length is generated for each data packet, and then the packet marking signal is collected within a certain time threshold interval to realize the calculation of the data flow. To prevent miscalculation, the flag signal of a data packet must be reset after one clock cycle (packet flag signal is 1, reset is 0 in this context). Moreover, in order to ensure the correctness of the statistics, the clock signal used by the data flow statistics module does not change along with the change of the frequency modulation signal, and the size of the clock signal is 125 MHz.
The embodiment of the invention refers to a router frequency modulation self-adaptive frequency modulation method, which comprises the following specific operation steps:
step 1, generating five different frequencies through a Xilinx DCM IP core;
step 2, receiving data flow from a NetFPGA network port, dividing the data flow into data packets through an Ethernet controller, counting the number of bytes of the data packets, generating a data packet flag bit, and starting timing;
step 3, calculating the total number of the generated data zone bits within the timing time of 1 s;
step 4, determining corresponding frequency according to the total number of different marks;
and 5, taking the determined frequency as the running frequency of each functional module of the reference router.
Claims (1)
1. A low-power consumption frequency modulation method based on flow is characterized by comprising the following steps:
the method comprises the following steps: accurate computation of network device traffic
When a network data stream enters an input queue of a flow counting module, the counting module divides the data stream into a plurality of data packets, calculates the byte number of each data packet, counts the total received byte number within a set time through a counting module, and can adjust the sensitivity of the frequency modulation method by adjusting the counting time;
step two: generation of multiple frequencies
The global clock frequency is generated by using a clock IP core provided by an FPGA manufacturer or by a hardware description language method, and the required characteristics of the global clock are as follows: the chip has the advantages that the chip has extremely strong load capacity, any one global clock drive line can drive a trigger in the chip, the time delay difference is extremely small, the waveform distortion of a clock signal is small, and the working reliability is good;
step three: frequency modulation mechanism
The flow t is not increased or decreased relative to the previous time;
when t increases, the frequency and flow values are related as follows:
when t decreases, the frequency and flow values are related as follows:
wherein, fin order to be the working frequency of the frequency converter,is as followsA frequency of,;In order for the flow statistics module to receive the flow value,is a set oneThe flow rate value of the flow rate is smaller,is a set oneThe value of the flow rate that is greater,,;;
buffer space is reserved between adjacent flow intervals, namely adjacent flow value intervals are set as(ii) a When the module operates at a frequency ofTime of day, data traffictIncreases from small to large to exceedWhile switching the operating frequency to a high frequency modeIf the received data stream is large enough to,Etc., the frequency may also be switched directly to,Up to the highest frequency(ii) a Also, when the module is operating at frequencyTime of day, data traffictDecreases from large to small to belowThen the frequency is switched to the low frequency modeIf the received data stream rapidly gets smaller,Etc., the frequency may also be switched directly to,Up to the lowest frequency(ii) a When in useWhen the current frequency is in the buffer interval, if the current frequency is in low frequencyWhile the frequency of the device continues to remain at a low frequency(ii) a If the current frequency is operating at the frequencyWhile the equipment continues to remain at,Andare adjacent frequency values.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310485617.2A CN103618682B (en) | 2013-10-16 | 2013-10-16 | A kind of low power consumption frequency modulation based on flow |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310485617.2A CN103618682B (en) | 2013-10-16 | 2013-10-16 | A kind of low power consumption frequency modulation based on flow |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103618682A true CN103618682A (en) | 2014-03-05 |
CN103618682B CN103618682B (en) | 2017-06-06 |
Family
ID=50169386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310485617.2A Active CN103618682B (en) | 2013-10-16 | 2013-10-16 | A kind of low power consumption frequency modulation based on flow |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103618682B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049365A (en) * | 2015-06-15 | 2015-11-11 | 国家计算机网络与信息安全管理中心 | Adaptive frequency modulation energy-saving method for multi-core multi-thread intrusion detection device |
CN113132272A (en) * | 2021-03-31 | 2021-07-16 | 中国人民解放军战略支援部队信息工程大学 | Network switching frequency dynamic adjustment method and system based on flow perception and network switching chip structure |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581844A (en) * | 2003-08-15 | 2005-02-16 | 上海贝尔阿尔卡特股份有限公司 | Packet switching network distributed adaptive dither buffer adjusting method |
CN101527672A (en) * | 2008-03-07 | 2009-09-09 | 瑞昱半导体股份有限公司 | Device and method for controlling network traffic |
-
2013
- 2013-10-16 CN CN201310485617.2A patent/CN103618682B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1581844A (en) * | 2003-08-15 | 2005-02-16 | 上海贝尔阿尔卡特股份有限公司 | Packet switching network distributed adaptive dither buffer adjusting method |
CN101527672A (en) * | 2008-03-07 | 2009-09-09 | 瑞昱半导体股份有限公司 | Device and method for controlling network traffic |
Non-Patent Citations (1)
Title |
---|
汪漪 等: ""快速自适应调频机制及其在NetFPGA上的实现"", 《计算机学报》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049365A (en) * | 2015-06-15 | 2015-11-11 | 国家计算机网络与信息安全管理中心 | Adaptive frequency modulation energy-saving method for multi-core multi-thread intrusion detection device |
CN105049365B (en) * | 2015-06-15 | 2019-05-31 | 国家计算机网络与信息安全管理中心 | A kind of self-adapting frequency modulation power-economizing method of Multi-core intrusion detection device |
CN113132272A (en) * | 2021-03-31 | 2021-07-16 | 中国人民解放军战略支援部队信息工程大学 | Network switching frequency dynamic adjustment method and system based on flow perception and network switching chip structure |
CN113132272B (en) * | 2021-03-31 | 2023-02-14 | 中国人民解放军战略支援部队信息工程大学 | Network switching frequency dynamic adjustment method and system based on flow perception and network switching chip structure |
Also Published As
Publication number | Publication date |
---|---|
CN103618682B (en) | 2017-06-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9531596B2 (en) | System and method for dynamically power and performance optimized server interconnects | |
US9847922B2 (en) | System and method for continuous measurement of transit latency in individual data switches and multi-device topologies | |
US11032205B2 (en) | Flow control method and switching device | |
WO2017084487A1 (en) | Method for obtaining target transmission path and network node | |
US9525593B2 (en) | Oversubscribing a packet processing device to adjust power consumption | |
Xu et al. | TinyFlow: Breaking elephants down into mice in data center networks | |
CN103929372B (en) | Active queue management method and apparatus | |
US9350669B2 (en) | Network apparatus, performance control method, and network system | |
Tsidon et al. | Estimators also need shared values to grow together | |
CN103888313A (en) | Method for forecasting optimal timeout of flow table item | |
EP3621253A1 (en) | Traffic control method, device and system | |
CN105183431A (en) | Method and apparatus for controlling CPU utilization ratio | |
Crisan et al. | Short and fat: TCP performance in CEE datacenter networks | |
CN103078754A (en) | Network data stream statistical method on basis of counting bloom filter | |
CN103618682A (en) | Low power frequency modulation method based on traffic | |
Rao et al. | Analysis of sfqCoDel for active queue management | |
WO2019029220A1 (en) | Network device | |
Hamadneh et al. | Dynamic weight parameter for the random early detection (RED) in TCP networks | |
CN102377670B (en) | Dynamic route adjustment method of user QoS (Quality of Service) oriented to cognitive network | |
Ling et al. | FullSight: Towards scalable, high-coverage, and fine-grained network telemetry | |
CN105897614B (en) | Method for routing based on multi-channel data packet priority and equipment | |
JPWO2012127632A1 (en) | COMMUNICATION CONTROL DEVICE, COMMUNICATION CONTROL METHOD, AND COMMUNICATION CONTROL CIRCUIT | |
Zhou et al. | A low power consumption frequency adaptation mechanism based on the traffic and implementation on NetFPGA | |
CN102082735B (en) | Method for managing passive queue by abandoning head for N times | |
CN105159763A (en) | CPU utilization rate control method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200509 Address after: 314000 Room 101, floor 1, building 2, No. 87, South Street, Changfeng street, Wuzhen Town, Tongxiang City, Jiaxing City, Zhejiang Province Patentee after: Jiaxinghuabing Internet of things Technology Co., Ltd Address before: Hangzhou City, Zhejiang province 310018 Xiasha Higher Education Park No. 2 street Patentee before: HANGZHOU DIANZI University |
|
TR01 | Transfer of patent right |