CN108781170A - A kind of configuration device and method - Google Patents

A kind of configuration device and method Download PDF

Info

Publication number
CN108781170A
CN108781170A CN201680083122.9A CN201680083122A CN108781170A CN 108781170 A CN108781170 A CN 108781170A CN 201680083122 A CN201680083122 A CN 201680083122A CN 108781170 A CN108781170 A CN 108781170A
Authority
CN
China
Prior art keywords
performance indicator
cache
indicator parameter
parsing module
configuration
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
Application number
CN201680083122.9A
Other languages
Chinese (zh)
Other versions
CN108781170B (en
Inventor
纪天明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108781170A publication Critical patent/CN108781170A/en
Application granted granted Critical
Publication of CN108781170B publication Critical patent/CN108781170B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)

Abstract

A kind of configuration device and method, are related to the communications field, solve the problems, such as not restoring after the performance of processor declines.Concrete scheme is:Acquiring unit obtains performance index parameter (201), which is used to indicate the loading condition of CPU;When the performance indicator parameter that acquiring unit is got is greater than or equal to predetermined threshold value, the attribute configuration of cache is without batch operation (202) by packet parsing module by dispensing unit.This method is for during restoring processor process performance.

Description

A kind of configuration device and method Technical field
The present invention relates to the communications field more particularly to a kind of configuration devices and method.
Background technique
Processor is during handling message forwarding, the case where usually will appear due to the larger caused processing load of input flow rate beyond processor maximum processing capability, and when handling maximum processing capability of the load beyond processor, it can be due to a large amount of data replacement in cache (English: cache), the hit rate of instruction sharply declines, the hit rate of data sharply declines, processor is to Double Data Rate synchronous DRAM (English: Double Data Rate, access delay referred to as: DDR) such as becomes larger at the reasons, cause the performance of processor worsened, so that the performance of processor is in low level.When the performance of processor is in low level, even if limiting input flow rate by back-pressure, so that processing load is in the maximum processing capability of processor hereinafter, the performance of processor can still be maintained at low level to restore, the interruption of business is eventually resulted in.
Therefore, when the processing load of processor exceeds maximum processing capability, can not restore to have become the important topic of those skilled in the art's research after how solving the problems, such as the performance decline of processor.
Summary of the invention
The present invention provides a kind of configuration device and method, can not restore after the performance decline for solving the problems, such as processor.
In order to achieve the above objectives, the present invention adopts the following technical scheme:
The first aspect of the present invention provides a kind of configuration device, comprising:
Acquiring unit, for obtaining performance index parameter, the performance indicator parameter is used to indicate the loading condition of central processor CPU;
Configuration unit, when the performance indicator parameter for getting when the acquiring unit is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation.
Wherein, after acquiring unit gets performance indicator parameter, it may determine that whether performance indicator parameter is greater than or equal to preset threshold, determine whether the processing load of processor has exceeded the maximum processing capability of processor, and determining performance index parameter more than or equal to preset threshold, when determining that the processing load of processor has exceeded the maximum processing capability of processor, the attribute configuration of cache is without batch operation by packet parsing module by configuration unit, to stop the distribution of cache, and then avoid frequent swapping in and out data cached in cache.
With reference to first aspect, in one possible implementation, the configuration unit, it is also used to when the performance indicator parameter that the acquiring unit is got is greater than or equal to preset threshold, it configures the packet parsing module and starts selective packet loss function, so that the packet parsing module abandons the message that priority is low in clear text.
Wherein, in order to avoid after processor performance declines, the higher business of priority is affected, and when the performance indicator parameter for determining that acquiring unit is got is greater than or equal to preset threshold, configuration unit can start selective packet loss function with configuration message parsing module.
With reference to first aspect with above-mentioned possible implementation, in alternatively possible implementation, described device further include:
Processing unit, for carrying out business processing to message corresponding with the message descriptor in clear text according to the message descriptor stored in the cache.
Wherein, passing through packet parsing module for the attribute configuration of cache in configuration unit is without batch operation, and in the case that configuration message parsing module starts selective packet loss function, processing unit can be according to the message descriptor stored in cache, preferential treatment handles message corresponding with the message descriptor in message and carries out business processing, so that the performance of processor is gradually restored.
With reference to first aspect with above-mentioned possible implementation, in alternatively possible implementation, the acquiring unit, it is also used in the processing unit according to the message descriptor stored in the cache, after carrying out business processing to message corresponding with the message descriptor in clear text, the performance indicator parameter is reacquired;
The configuration unit is also used to delay the high speed by the packet parsing module when the performance indicator parameter that the acquiring unit reacquires is less than the preset threshold The attribute configuration deposited is to be allocated operation.
Wherein, after being restored in order to the performance in processor, normal processing message, acquiring unit can also reacquire performance indicator parameter, and, when the performance indicator parameter that acquiring unit reacquires is less than preset threshold, the attribute configuration of cache is to be allocated operation by packet parsing module by configuration unit.
With reference to first aspect with above-mentioned possible implementation, in alternatively possible implementation, the configuration unit is also used to when the performance indicator parameter that the acquiring unit reacquires is less than the preset threshold, is configured the packet parsing module and is closed selective packet loss function.
With reference to first aspect with above-mentioned possible implementation, in alternatively possible implementation, the performance indicator parameter that the acquiring unit is got includes any of the following or a variety of combinations: CPU usage, cache hit rate, Double Data Rate DDR access time delay, each cycle instruct number IPC index.
It should be noted that, the present invention herein only illustrates the performance indicator parameter that acquiring unit is got, the performance indicator parameter includes but is not limited to CPU usage of the present invention, cache hit rate, DDR access time delay, IPC index, can be used to indicate that the parameter of the loading condition of CPU belongs to performance indicator parameter of the present invention.
The second aspect of the present invention provides a kind of configuration method, comprising:
Performance index parameter is obtained, the performance indicator parameter is used to indicate the loading condition of central processor CPU;
When the performance indicator parameter is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation.
Wherein, by when determining that the performance indicator parameter got is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation, avoid the frequent swapping in and out of the data cached in cache, to solve the problems, such as can not to restore after the performance of processor declines, the problem of service disconnection caused by degraded performance state being in for a long time in this way to avoid processor appearance, improves the stability and robustness of system.
In conjunction with second aspect, in one possible implementation, when the performance indicator is joined When number is greater than or equal to preset threshold, the method also includes:
It configures the packet parsing module and starts selective packet loss function, so that the packet parsing module abandons the message that priority is low in clear text.
Wherein, when determining that the performance indicator parameter got is greater than or equal to preset threshold, selective packet loss function can be started with configuration message parsing module, to avoid after processor performance declines, the higher business of priority is affected.
In conjunction with second aspect and above-mentioned possible implementation, in alternatively possible implementation, the method also includes:
According to the message descriptor stored in the cache, business processing is carried out to message corresponding with the message descriptor in clear text.
In conjunction with second aspect and above-mentioned possible implementation, in alternatively possible implementation, described according to the message descriptor stored in the cache, after message corresponding with the message descriptor in clear text progress business processing, further includes:
Reacquire the performance indicator parameter;
When the performance indicator parameter of reacquisition is less than the preset threshold, the attribute configuration of the cache is allocated by operation by the packet parsing module.
In conjunction with second aspect and above-mentioned possible implementation, in alternatively possible implementation, when the performance indicator parameter of reacquisition is less than the preset threshold, the method also includes:
It configures the packet parsing module and closes selective packet loss function.
In conjunction with second aspect and above-mentioned possible implementation, in alternatively possible implementation, the performance indicator parameter includes any of the following or a variety of combinations: CPU usage, cache hit rate, Double Data Rate DDR access time delay, each cycle instruct number IPC index.
The third aspect of the present invention, a kind of configuration device is provided, it include: processor, the processor is used to execute the configuration method of the possible implementation offer of second aspect or second aspect, the function of configuration unit and acquiring unit in the possible implementation to realize first aspect or first aspect.
In conjunction with the third aspect, in one possible implementation, the processor is also used The function of processing unit in the configuration method that the possible implementation for executing second aspect provides, the possible implementation to realize first aspect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, the drawings to be used in the description of the embodiments or prior art will be briefly described below, apparently, drawings in the following description are only some embodiments of the invention, for those of ordinary skill in the art, without any creative labor, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of configuration device provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of configuration method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another configuration method provided in an embodiment of the present invention;
Fig. 4 is the system architecture schematic diagram under a kind of processing scene provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another configuration device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another configuration device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, shall fall within the protection scope of the present invention.
Basic principle of the invention is: processor, which periodically detects, is used to indicate central processing unit (English: central processing unit, whether the performance indicator parameter of loading condition referred to as: CPU) is greater than or equal to preset threshold, and when determining that performance index parameter is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache (English: cache) for without distribution (English: allocate) operation, it in this way can be to avoid the frequent swapping in and out of data cached in cache, so that can be restored after the performance decline of processor.
Configuration method provided in an embodiment of the present invention can be executed by configuration device.Fig. 1 is shown Be configuration device relevant to various embodiments of the present invention structural block diagram.
As shown in Figure 1, the configuration device may include: processor 11, memory 12.
It is specifically introduced below with reference to each component parts of the Fig. 1 to configuration device:
Processor 11 may be a CPU, it is also possible to specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC), or it is arranged to implement one or more integrated circuits of the embodiment of the present invention, such as: one or more microprocessors (English: digital singnal processor, referred to as: DSP), or, one or more field programmable gate array (English: Field Programmable Gate Array, abbreviation: FPGA).
Memory 12 can be volatile memory (English: volatile memory), for example, random access memory (English: random-access memory, referred to as: RAM);Or nonvolatile memory (English: non-volatile memory), such as read-only memory (English: read-only memory, abbreviation ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, referred to as: HDD) or solid state hard disk (English: solid-state drive, referred to as: SSD);Or the combination of the memory of mentioned kind, for storing related application and configuration file that configuration method of the present invention can be achieved.
Processor 11 can execute the various functions of configuration device by running or executing the software program and/or module that are stored in memory 12, and the data that calling is stored in memory 12.
Specifically, processor 11 can be used for obtaining performance index parameter, and when the performance indicator parameter got is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache (English: cache) for without distribution (English: allocate) operation.
Wherein, performance indicator parameter is used to indicate the loading condition of CPU, the performance indicator parameter may include any one or more following combination: CPU usage, cache hit rate, DDR access time delay, each cycle instruction number (English: Instruction Per Cycle, referred to as: IPC) index.
Processor 11 can be also used for when the performance indicator parameter got is greater than or equal to preset threshold, and configuration message parsing module starts selective packet loss function, so as to message Parsing module abandons the message that priority is low in clear text.
With reference to the accompanying drawing, the embodiment of the present invention is specifically addressed.
Fig. 2 is a kind of flow chart of configuration method provided in an embodiment of the present invention, and this method is applied in configuration device, as shown in Fig. 2, the configuration method may comprise steps of:
201, performance index parameter is obtained.
Wherein, which is used to indicate the loading condition of CPU.Illustratively, which can be CPU usage.
202, when performance indicator parameter is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation.
Specifically, after getting performance indicator parameter, it may determine that whether performance indicator parameter is greater than or equal to preset threshold, and when determining that performance index parameter is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation, to stop the distribution of cache, and then avoid frequent swapping in and out data cached in cache.
Configuration method provided in an embodiment of the present invention, by when determining that the performance indicator parameter got is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation, avoid the frequent swapping in and out of the data cached in cache, to solve the problems, such as can not to restore after the performance of processor declines, the problem of service disconnection caused by degraded performance state being in for a long time in this way to avoid processor appearance, improves the stability and robustness of system.
Fig. 3 is another configuration method provided in an embodiment of the present invention, as shown in figure 3, this method may include:
301, processor obtains performance index parameter.
302, when performance indicator parameter is greater than or equal to preset threshold, the attribute configuration of cache is without batch operation by packet parsing module by processor, and configuration message parsing module starts selective packet loss function, so that packet parsing module abandons the message that priority is low in clear text.
Wherein, after getting performance indicator parameter, if processor determines when obtaining performance indicator parameter more than or equal to preset threshold, show that the processing load of processor has been more than processing The maximum processing capability of device, at this time, while the attribute configuration of cache can be without batch operation by packet parsing module by processor, configuration message parsing module starts selective packet loss function, so that packet parsing module abandons the message that priority is low in clear text, so that processor can prioritize processing the higher message of priority, avoids the higher business of priority and be a greater impact.
It should be noted that in embodiments of the present invention, preset threshold can be set according to the demand of practical application scene, and the embodiment of the present invention is not specifically limited herein.
303, processor carries out business processing to message corresponding with message descriptor in clear text according to the message descriptor stored in cache.
Wherein, passing through packet parsing module for the attribute configuration of cache in processor is without batch operation, and in the case that configuration message parsing module starts selective packet loss function, processor can be preferentially according to the message descriptor stored in cache, business processing is carried out to message corresponding with message descriptor in clear text, gradually, the performance of processor will be restored.
It should be noted that in embodiments of the present invention, the no precedence relationship of execution of step 301- step 302 and step 303, the present invention is not particularly limited step 301- step 302 and the execution sequence of step 303 at this.
After being restored in order to the performance in processor, message is normally handled, following steps 304 can be executed:
304, processor reacquires performance indicator parameter.
Wherein it is possible to the time parameter for periodically obtaining performance index parameter for processor be preset, according to the recursive acquisition performance index parameter of the time parameter processor.
When the performance indicator parameter reacquired in step 304 is less than preset threshold, execute following steps 305, if the performance indicator parameter reacquired is still greater than or is equal to preset threshold, show the process performance of processor still in low level, step 304 can be repeated at this time, until the performance indicator parameter reacquired is less than preset threshold.
305, the attribute configuration of cache is to be allocated operation by packet parsing module by processor, and configuration message parsing module closes selective packet loss function.
Wherein, when the performance indicator parameter of reacquisition is less than preset threshold, show that the processing load of processor has been lower than the maximum processing capability of processor, at this time, the attribute configuration of the cache can be to be allocated operation by packet parsing module by processor, configuration message parsing module closes selective packet loss function, normally to carry out the processing of message.
Certainly, when the performance indicator parameter reacquired is less than preset threshold, and the attribute configuration of cache is allocated by operation by packet parsing module, configuration message parsing module is closed after selective packet loss function, 301 can be re-execute the steps, the performance of processor to be made to be restored by executing step 302- step 305, and carry out normal Message processing when maximum processing capability of the processing load of processor again above processor.
Configuration method provided in an embodiment of the present invention, by when determining that the performance indicator parameter got is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation, avoid the frequent swapping in and out of the data cached in cache, to solve the problems, such as can not to restore after the performance of processor declines, the problem of service disconnection caused by degraded performance state being in for a long time in this way to avoid processor appearance, improves the stability and robustness of system.
Also, it by the way that when determining that the performance indicator parameter got is greater than or equal to preset threshold, configuration message parsing module starts selective packet loss function, avoids in the case where processor performance is low, the higher business of priority is a greater impact.
Wherein, configuration method provided in an embodiment of the present invention can be applied in the application scenarios that most of CPU E-Packets, and the embodiment of the present invention by taking a kind of typical processing scene as an example, is illustrated configuration method provided by the invention herein.Wherein, under the scene, packet parsing module can be specifically Packet analyzing engine modules (English: Packet Parse Engine, referred to as: PPE), the specific system architecture of the scene can be as shown in Figure 4, wherein, system architecture shown in Fig. 4 includes: gigabit Ethernet (English: Gigabit Ethernet, referred to as: GE), PPE, memory management unit (English: Buffer Management Unit, abbreviation BMU), traffic management module (English: Traffic Management, abbreviation TM), DDR, business version, processor.Also, to be used to indicate the performance of the loading condition of CPU Index parameter is for CPU usage.Under the system architecture, referring to he 4, message forwarding specific process flow it is as follows:
Step 1:PPE distributes cache to BMU application memory cache (English: Buffer).
2:GE mouthfuls of step receive the message that business version is sent, and the message received are sent to PPE, and PPE parses the message received, generate message descriptor.
In the buffer that step 3:PPE applies for the packet buffer received into step 1, and part descriptors relevant to business processing in message descriptor are stored in the cache that step 1 is distributed.
Step 4: processor obtains message descriptor in cache, and carries out business processing according to the message descriptor got.
Step 5: message descriptor will be sent to TM after business processing by processor.
Step 6:TM dispatches out the message stored in buffer according to message descriptor, and is sent to PPE.
Message is sent to business board by GE mouthfuls by step 7:PPE.
The Buffer that step 8:PPE applies into BMU release steps 1.
Wherein, during above-mentioned process executes, the available CPU usage of processor, and judge whether CPU usage is greater than or equal to preset threshold, when determining that CPU usage is greater than or equal to preset threshold, the processing load for showing processor has been more than the maximum processing capability of processor, at this time, the attribute configuration of cache can be to operate without allocate by PPE by processor, and business processing preferentially is carried out to the corresponding message of the message descriptor being stored in cache, further, it can also be when determining that CPU usage is greater than or equal to preset threshold, processor configures PPE and starts selective packet loss function, so that PPE abandons the message that priority is low in clear text, so that processor can prioritize processing the higher message of priority , gradually, the performance of processor will gradually be restored.
Further, after being restored in order to the performance in processor, normal processing message, processor can reacquire CPU usage, and when the occupancy of CPU is less than preset threshold, the attribute configuration of cache is carried out to allocate operation by PPE, configuration PPE closes selective packet loss function.
Processor can repeat the above process, to be restored in the decline of the performance of processor.
The embodiment of the present invention also provides another configuration device, as shown in figure 5, the configuration device may include: acquiring unit 41, configuration unit 42.
Acquiring unit 41, for obtaining performance index parameter, the performance indicator parameter is used to indicate the loading condition of CPU.
Configuration unit 42, when the performance indicator parameter for getting when the acquiring unit 41 is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation.
In embodiments of the present invention, it is further alternative, the configuration unit 42, it is also used to when the performance indicator parameter that the acquiring unit 41 is got is greater than or equal to preset threshold, it configures the packet parsing module and starts selective packet loss function, so that the packet parsing module abandons the message that priority is low in clear text.
In embodiments of the present invention, further alternative, as shown in fig. 6, described device can also include: processing unit 43.
Processing unit 43, for carrying out business processing to message corresponding with the message descriptor in clear text according to the message descriptor stored in the cache.
In embodiments of the present invention, it is further alternative, the acquiring unit 41, it is also used in the processing unit 43 according to the message descriptor stored in the cache, after carrying out business processing to message corresponding with the message descriptor in clear text, the performance indicator parameter is reacquired.
The configuration unit 42 is also used to that the attribute configuration of the cache is allocated operation by the packet parsing module when the performance indicator parameter that the acquiring unit 41 reacquires is less than the preset threshold.
In embodiments of the present invention, further alternative, the configuration unit 42 is also used to when the performance indicator parameter that the acquiring unit 41 reacquires is less than the preset threshold, is configured the packet parsing module and is closed selective packet loss function.
In embodiments of the present invention, further alternative, the performance indicator parameter that the acquiring unit 41 is got includes any of the following or a variety of combinations: CPU usage, Cache hit rate, DDR access time delay, IPC index.
Configuration device provided in an embodiment of the present invention for executing above-mentioned configuration method, therefore can achieve effect identical with above-mentioned configuration method.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for convenience and simplicity of description, only the example of the division of the above functional modules, in practical application, it can according to need and be completed by different functional modules above-mentioned function distribution, i.e., the internal structure of device is divided into different functional modules, to complete all or part of the functions described above.
In several embodiments provided herein, it should be understood that disclosed device and method may be implemented in other ways.Such as, the apparatus embodiments described above are merely exemplary, such as, the division of the module or unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components may be combined or can be integrated into another device, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, and component shown as a unit can be a physical unit or multiple physical units, it can and it is in one place, or may be distributed over multiple and different places.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, the functional units in various embodiments of the present invention may be integrated into one processing unit, it is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, can store in a read/write memory medium.Based on this understanding, substantially all or part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products technical solution of the present invention in other words, The software product is stored in a storage medium, it uses including some instructions so that an equipment (can be single-chip microcontroller, chip etc.) or processor (processor) perform all or part of the steps of the method described in the various embodiments of the present invention.And storage medium above-mentioned includes: the various media that can store program code such as USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk.
It is described above; only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and anyone skilled in the art is in the technical scope disclosed by the present invention; it can easily think of the change or the replacement, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (14)

  1. A kind of configuration device characterized by comprising
    Acquiring unit, for obtaining performance index parameter, the performance indicator parameter is used to indicate the loading condition of central processor CPU;
    Configuration unit, when the performance indicator parameter for getting when the acquiring unit is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation.
  2. The apparatus according to claim 1, which is characterized in that
    The configuration unit, it is also used to when the performance indicator parameter that the acquiring unit is got is greater than or equal to preset threshold, it configures the packet parsing module and starts selective packet loss function, so that the packet parsing module abandons the message that priority is low in clear text.
  3. Device according to claim 1 or 2, which is characterized in that described device further include:
    Processing unit, for carrying out business processing to message corresponding with the message descriptor in clear text according to the message descriptor stored in the cache.
  4. Device according to claim 3, which is characterized in that
    The acquiring unit is also used to reacquire the performance indicator parameter after carrying out business processing to message corresponding with the message descriptor in clear text according to the message descriptor stored in the cache in the processing unit;
    The configuration unit is also used to that the attribute configuration of the cache is allocated operation by the packet parsing module when the performance indicator parameter that the acquiring unit reacquires is less than the preset threshold.
  5. Device according to claim 4, which is characterized in that
    The configuration unit is also used to when the performance indicator parameter that the acquiring unit reacquires is less than the preset threshold, is configured the packet parsing module and is closed selective packet loss function.
  6. Device according to any one of claims 1-5, which is characterized in that
    The performance indicator parameter that the acquiring unit is got includes any of the following or a variety of combinations: CPU usage, cache hit rate, Double Data Rate DDR are visited Ask time delay, each cycle instruction number IPC index.
  7. A kind of configuration method characterized by comprising
    Performance index parameter is obtained, the performance indicator parameter is used to indicate the loading condition of central processor CPU;
    When the performance indicator parameter is greater than or equal to preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation.
  8. The method according to the description of claim 7 is characterized in that when the performance indicator parameter is greater than or equal to preset threshold, the method also includes:
    It configures the packet parsing module and starts selective packet loss function, so that the packet parsing module abandons the message that priority is low in clear text.
  9. Method according to claim 7 or 8, which is characterized in that the method also includes:
    According to the message descriptor stored in the cache, business processing is carried out to message corresponding with the message descriptor in clear text.
  10. According to the method described in claim 9, it is characterized in that, described according to the message descriptor stored in the cache, after message corresponding with the message descriptor in clear text progress business processing, further includes:
    Reacquire the performance indicator parameter;
    When the performance indicator parameter of reacquisition is less than the preset threshold, the attribute configuration of the cache is allocated by operation by the packet parsing module.
  11. According to the method described in claim 10, it is characterized in that, when the performance indicator parameter of reacquisition be less than the preset threshold when, the method also includes:
    It configures the packet parsing module and closes selective packet loss function.
  12. Method according to any one of claims 7-11, which is characterized in that
    The performance indicator parameter includes any of the following or a variety of combinations: CPU usage, cache hit rate, Double Data Rate DDR access time delay, each cycle instruct number IPC index.
  13. A kind of configuration device characterized by comprising
    Processor, for obtaining performance index parameter, when the performance indicator parameter is greater than or waits When preset threshold, by packet parsing module by the attribute configuration of cache for without batch operation, the performance indicator parameter is used to indicate the loading condition of central processor CPU.
  14. Device according to claim 13, which is characterized in that
    The processor is also used to when the performance indicator parameter is greater than or equal to preset threshold, is configured the packet parsing module and is started selective packet loss function, so that the packet parsing module abandons the message that priority is low in clear text.
CN201680083122.9A 2016-03-03 2016-03-03 Configuration device and method Active CN108781170B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/075492 WO2017147851A1 (en) 2016-03-03 2016-03-03 Configuration device and method

Publications (2)

Publication Number Publication Date
CN108781170A true CN108781170A (en) 2018-11-09
CN108781170B CN108781170B (en) 2020-12-08

Family

ID=59743373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680083122.9A Active CN108781170B (en) 2016-03-03 2016-03-03 Configuration device and method

Country Status (2)

Country Link
CN (1) CN108781170B (en)
WO (1) WO2017147851A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109787916B (en) * 2019-01-31 2023-06-30 南京国电南自电网自动化有限公司 Flow control method and system
CN115514681B (en) * 2022-09-16 2024-02-06 北京天融信网络安全技术有限公司 Method, device, system, equipment and medium for testing equipment stability

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983201A (en) * 2006-06-14 2007-06-20 华为技术有限公司 Method for testing CPU system performance
CN102063407A (en) * 2010-12-24 2011-05-18 清华大学 Network sacrifice Cache for multi-core processor and data request method based on Cache
CN102209028A (en) * 2011-05-06 2011-10-05 北京傲天动联技术有限公司 Flow control device and method for CPU (Central Processing Unit)
US9043554B2 (en) * 2012-12-21 2015-05-26 Apple Inc. Cache policies for uncacheable memory requests
CN105183431A (en) * 2015-08-05 2015-12-23 瑞斯康达科技发展股份有限公司 Method and apparatus for controlling CPU utilization ratio

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3591492B2 (en) * 2001-07-18 2004-11-17 日本電気株式会社 Packet distribution device and packet distribution program
CN102055671B (en) * 2010-12-17 2014-05-21 曙光信息产业股份有限公司 Priority management method for multi-application packet sending
CN102420751A (en) * 2011-11-28 2012-04-18 曙光信息产业(北京)有限公司 Load judgment system and method for report sampling system
CN102710465A (en) * 2012-06-07 2012-10-03 浪潮电子信息产业股份有限公司 Method for monitoring cluster storage interface node load

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1983201A (en) * 2006-06-14 2007-06-20 华为技术有限公司 Method for testing CPU system performance
CN102063407A (en) * 2010-12-24 2011-05-18 清华大学 Network sacrifice Cache for multi-core processor and data request method based on Cache
CN102209028A (en) * 2011-05-06 2011-10-05 北京傲天动联技术有限公司 Flow control device and method for CPU (Central Processing Unit)
US9043554B2 (en) * 2012-12-21 2015-05-26 Apple Inc. Cache policies for uncacheable memory requests
CN105183431A (en) * 2015-08-05 2015-12-23 瑞斯康达科技发展股份有限公司 Method and apparatus for controlling CPU utilization ratio

Also Published As

Publication number Publication date
CN108781170B (en) 2020-12-08
WO2017147851A1 (en) 2017-09-08

Similar Documents

Publication Publication Date Title
US9210615B2 (en) Method and system for elastic and resilient 3G/4G mobile packet networking for subscriber data flow using virtualized switching and forwarding
US9639403B2 (en) Receive-side scaling in a computer system using sub-queues assigned to processing cores
JP6978596B2 (en) Data transmission
CN110659151A (en) Data verification method and device and storage medium
US9699118B2 (en) System for flexible dynamic reassignment of throughput
WO2014180397A1 (en) Network data packet sending method and device
US11263184B1 (en) Partition splitting in a distributed database
US20130061009A1 (en) High Performance Free Buffer Allocation and Deallocation
CN104991866B (en) The adjustment method and device of JS programs
CN108781170A (en) A kind of configuration device and method
CN103685062A (en) Cache management method and device
CN103176855A (en) Message exchange handling method and device
US20100205381A1 (en) System and Method for Managing Memory in a Multiprocessor Computing Environment
CN106294191B (en) The method for handling table, the method and apparatus for accessing table
CN113472523A (en) User mode protocol stack message processing optimization method, system, device and storage medium
CN114691547B (en) Method for deploying instance, instance management node, computing node and computing device
CN116016687B (en) Message distribution method and system based on DPDK
CN105183373B (en) A kind of data processing method and the network equipment
WO2017070869A1 (en) Memory configuration method, apparatus and system
CN109413122B (en) Data processing method, network processor and computer storage medium
CN108616461B (en) Policy switching method and device
CN106034346B (en) Information processing method and electronic equipment
CN107273188B (en) Virtual machine Central Processing Unit (CPU) binding method and device
US20130247071A1 (en) System and method for efficient shared buffer management
CN105072047A (en) Message transmitting and processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant