CN108984288A - Thread pool capacity adjustment method, device and equipment based on system response time - Google Patents

Thread pool capacity adjustment method, device and equipment based on system response time Download PDF

Info

Publication number
CN108984288A
CN108984288A CN201810751740.7A CN201810751740A CN108984288A CN 108984288 A CN108984288 A CN 108984288A CN 201810751740 A CN201810751740 A CN 201810751740A CN 108984288 A CN108984288 A CN 108984288A
Authority
CN
China
Prior art keywords
response time
system response
thread
thread pool
access path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810751740.7A
Other languages
Chinese (zh)
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.)
CVIC Software Engineering Co Ltd
Original Assignee
CVIC Software Engineering 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 CVIC Software Engineering Co Ltd filed Critical CVIC Software Engineering Co Ltd
Publication of CN108984288A publication Critical patent/CN108984288A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5018Thread allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a kind of thread pool capacity adjustment method based on system response time, method includes the following steps: taken at regular intervals presets the system response time of access path;Calculate the average value of continuous several times collected system response time in the predetermined time;Judge whether average value is greater than default response time threshold value;If it is, using the optimal capability value in hill-climbing algorithm computational threads pond, and using optimal capability value as thread tankage.It is adjusted using capacity of the hill-climbing algorithm to thread pool, the adjustment mode relative to existing preset parameter mode is more flexible, can reduce blocking and reduce the waste of system resource, promote user experience.The invention also discloses a kind of thread pool capacity regulating device, equipment and readable storage medium storing program for executing based on system response time has corresponding technical effect.

Description

Thread pool capacity adjustment method, device and equipment based on system response time
Technical field
The present invention relates to computer systems technology fields, more particularly to a kind of thread pool capacity based on system response time Amount adjustment method, device, equipment and readable storage medium storing program for executing.
Background technique
Thread Pool Technology can be used for being promoted the response speed, robustness and overall performance of computer system.It passes through offer Several fix thread, are in turn a large amount of task service, when a thread completes task, do not destroy, but connect at once Another task of hand can utilize system resource to reduce the resource consumption of creation and destroying threads to the greatest extent.
It is existing, thread pool adjustable strategies according to pre-set fixed adjustment rule, in minimum value set by user and It is adjusted between maximum value.The size and Orientation adjusted every time is fixed.It can not adapt to real-time status variation and user Demand.And the capacity of thread pool determines that the concurrent tasks number being within a specified time capable of handling, the capacity of thread pool are too small, Cause all tasks all waiting in line to enter thread pool, results in blockage;And the capacity of thread pool is too big, it will cause systems The waste of resource.Especially, system response time requires high, and system is needed to make under the application scenarios of fast reaction, existing Thread pool adjustable strategies are unable to satisfy user demand.
In conclusion the problems such as how effectively carrying out capacity adjustment to thread pool, is that current those skilled in the art are anxious Technical problem to be solved.
Summary of the invention
The object of the present invention is to provide a kind of thread pool capacity adjustment method, device, equipment based on system response time And readable storage medium storing program for executing, it is adjusted by carrying out effectively capacity to thread pool, so that thread tankage is met actual demand, further The wasting of resources is reduced, user experience is promoted.
In order to solve the above technical problems, the invention provides the following technical scheme:
A kind of thread pool capacity adjustment method based on system response time, comprising:
Taken at regular intervals presets the system response time of access path;
Calculate the average value of continuous several times collected system response time in the predetermined time;
Judge whether the average value is greater than default response time threshold value;
If it is, using the optimal capability value in hill-climbing algorithm computational threads pond, and using the optimal capability value as line Journey tankage.
Preferably, before the system response time that the taken at regular intervals presets access path, further includes:
Start autonomic tuning mode.
Preferably, before the system response time that the taken at regular intervals presets access path, further includes:
Basic parameter is obtained, the basic parameter includes access path, response time threshold value.
Preferably, the taken at regular intervals presets the system response time of access path, comprising:
Every the system response time of the primary default access path of detection in 10 seconds.
A kind of thread pool capacity regulating device based on system response time, comprising:
System response time obtains module, and the system response time of access path is preset for taken at regular intervals;
Mean value calculation module, for calculating being averaged for the collected system response time of continuous several times in the predetermined time Value;
Judgment module, for judging whether the average value is greater than default response time threshold value;
Thread tankage determining module is calculated if being greater than default response time threshold value for the average value using climbing the mountain The optimal capability value in method computational threads pond, and using the optimal capability value as thread tankage.
Preferably, further includes:
Starting module, for starting autonomic tuning before the system response time that the taken at regular intervals presets access path Mode.
Preferably, further includes:
Basic parameter obtains module, for obtaining before the system response time that the taken at regular intervals presets access path Basic parameter is taken, the basic parameter includes access path, response time threshold value.
Preferably, the system response time obtains module, is specifically used for once presetting access path every detection in 10 seconds System response time.
A kind of thread tankage adjustment equipment based on system response time, comprising:
Memory, for storing computer program;
Processor realizes the above-mentioned thread tankage tune based on system response time when for executing the computer program The step of adjusting method.
A kind of readable storage medium storing program for executing is stored with computer program, the computer program quilt on the readable storage medium storing program for executing The step of processor realizes the above-mentioned thread pool capacity adjustment method based on system response time when executing.
Using method provided by the embodiment of the present invention, taken at regular intervals presets the system response time of access path;It calculates The average value of continuous several times collected system response time in predetermined time;Judge whether average value is greater than the default response time Threshold value;If it is, using the optimal capability value in hill-climbing algorithm computational threads pond, and using optimal capability value as thread pool capacity Amount.It is to adjust with system response time because system response time can reflect the quality of current service performance to a certain extent Then the judgement benchmark of whole thread tankage when adjusting thread tankage, utilizes the most beutiful face in hill-climbing algorithm computational threads pond Amount, and using optimal capacity as the capacity of thread pool.It is adjusted using capacity of the hill-climbing algorithm to thread pool, relative to existing Preset parameter mode adjustment mode it is more flexible, can reduce blocking and reduce system resource waste, promoted user's body It tests.
Correspondingly, the embodiment of the invention also provides with the above-mentioned thread pool capacity adjustment method based on system response time Corresponding thread pool capacity regulating device, equipment and readable storage medium storing program for executing based on system response time has above-mentioned technology Effect, details are not described herein.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of implementing procedure of the thread pool capacity adjustment method based on system response time in the embodiment of the present invention Figure;
Fig. 2 is the schematic diagram for instructing optimization process in the embodiment of the present invention using fuzzy rule;
Fig. 3 is the implementation stream of thread pool capacity adjustment method of the another kind based on system response time in the embodiment of the present invention Cheng Tu;
Fig. 4 is a kind of structural representation of the thread pool capacity regulating device based on system response time in the embodiment of the present invention Figure;
Fig. 5 is a kind of structural representation of the thread tankage adjustment equipment based on system response time in the embodiment of the present invention Figure.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.Obviously, described embodiments are only a part of the embodiments of the present invention, rather than Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Embodiment one:
Referring to FIG. 1, Fig. 1 is a kind of thread pool capacity adjustment method based on system response time in the embodiment of the present invention Flow chart, be applied to server thread tankage adjust, method includes the following steps:
S101, taken at regular intervals preset the system response time of access path.
In embodiments of the present invention, access path can be preset, which can access system for user Access path, or the dedicated path of test macro response time.The specific routing of the access path can be preset, It can be with being determined and adjusting according to actual conditions.Certainly, in embodiments of the present invention, the item number of access path can be one Or it is a plurality of, the quantity of specific access path can be confirmed and be adjusted according to actual needs, and details are not described herein.
Specifically, can use the default access road of the softwares taken at regular intervals such as jmeter (the pressure test tool based on Java) The system response time of diameter.Wherein, system response time is that will answer since user accesses system or application to system or application Answer the time timing for feeding back to user.
S102, the average value for calculating continuous several times collected system response time in the predetermined time.
In order to avoid causality problems, in embodiments of the present invention, predetermined time intraconnections multi collect can be arrived System response time calculates its average value.
S103, judge whether average value is greater than default response time threshold value.
In the present embodiment, response time threshold value can be preset, for judging that the response time of current system is It is no to can satisfy user demand.The specific value of the default response time threshold value can carry out investigation statistics to user and be determined And adjustment.
Specifically, calculated average value and default response time threshold value are carried out size judgement.Be less than when average value or When equal to default response time threshold value, then it is assumed that current system can satisfy user demand, without being adjusted;Work as average value Greater than default response time threshold value, then show that current system response time is slower, need to be adjusted, step can be entered at this time Rapid S104.
S104, using the optimal capability value in hill-climbing algorithm computational threads pond, and using optimal capability value as thread tankage.
Using hill-climbing algorithm computational threads pond optimal capability value when, because hill-climbing algorithm has gradually convergent characteristic, In optimization process, optimal capability value can be calculated using fuzzy control logic.
Wherein, fuzzy control is a kind of method of on-line optimization, may include a series of fuzzy rule.Thread tankage Optimization process can be expressed by these rules.
It is as shown in table 1:
Rule IF THEN
The thread pool maximum AND response time Maximum thread pool
1 Reduce AND to reduce Reduce
2 Reduce AND to increase Increase
3 Increase AND to reduce Increase
4 Increase AND to increase Reduce
Table 1
The form of expression of fuzzy rule can use IF-THEN form.Wherein, rule 1 indicates, maximum when reducing thread pool After value, and system response time reduces, and illustrates that the thread tankage adjustment direction based on system response time is correct, then exists When adjusting thread tankage next time, continue to reduce thread tankage;Rule 2 indicates, after reducing thread pool maximum, and System response time increases, and illustrates that the thread tankage adjustment direction based on system response time is wrong, then adjusts next time When whole thread tankage, increase thread tankage;Rule 3 indicates, after increasing thread pool maximum, and system response time It reduces, illustrates that the thread tankage adjustment direction based on system response time is correct, then adjusting thread tankage next time When, continue to increase thread tankage;Rule 4 indicates that after increasing thread pool maximum, and system response time increases, Illustrate that the thread tankage adjustment direction based on system response time is wrong, then when adjusting thread tankage next time, reduces Thread tankage.That is, every time to thread tankage, that is, when being adjusted to thread pool maximum, with current The current adjustment direction of the direction connection confirming of system response time and last adjustment.
Correspondingly, may further reference Fig. 2, Fig. 2 is the signal for instructing optimization process in the embodiment of the present invention using fuzzy rule Figure.For example, the case where considering for the rule 4 in upper table 1 is that MaxThreadPoolSize (thread pool maximum) is increased, But the response time also increases, and illustrates the thread tankage adjustment direction mistake based on system response time, in next step should Reduce MaxThreadPoolSize.
Specifically, when using the optimal capability value in hill-climbing algorithm computational threads pond, by the current maximum value of thread pool, line Cheng Chi adjusting step, input data of the average value (mean values of multiple system response times) as hill-climbing algorithm, hill-climbing algorithm benefit After being calculated with fuzzy rule, the optimal capability value of thread pool can be inputted.It, can will be optimal after obtaining optimal capability value Capability value is as thread tankage.Specifically, i.e. using optimal capability value as thread pool maximum.
Using method provided by the embodiment of the present invention, taken at regular intervals presets the system response time of access path;It calculates The average value of continuous several times collected system response time in predetermined time;Judge whether average value is greater than the default response time Threshold value;If it is, using the optimal capability value in hill-climbing algorithm computational threads pond, and using optimal capability value as thread pool capacity Amount.It is to adjust with system response time because system response time can reflect the quality of current service performance to a certain extent Then the judgement benchmark of whole thread tankage when adjusting thread tankage, utilizes the most beutiful face in hill-climbing algorithm computational threads pond Amount, and using optimal capacity as the capacity of thread pool.It is adjusted using capacity of the hill-climbing algorithm to thread pool, relative to existing Preset parameter mode adjustment mode it is more flexible, can reduce blocking and reduce system resource waste, promoted user's body It tests.
It should be noted that based on the above embodiment one, the embodiment of the invention also provides be correspondingly improved scheme.Rear Involved in continuous embodiment with can mutually be referred between same steps or corresponding steps in above-described embodiment one, corresponding beneficial effect Can also be cross-referenced, it is no longer repeated one by one in improvement embodiment below.
Embodiment two:
Referring to FIG. 2, Fig. 2 is thread tankage adjustment side of the another kind based on system response time in the embodiment of the present invention The flow chart of method, method includes the following steps:
S201, starting autonomic tuning mode.
In embodiments of the present invention, after the autonomic tuning mode of starting server, thread tankage is optimized. That is, just starting the optimization for carrying out thread pool when server externally services.
S202, basic parameter is obtained, basic parameter includes access path, response time threshold value.
Wherein, basic parameter can be preset, and after also can star autonomic tuning mode, obtain administrative staff's input The basic parameters such as access path and response time threshold value.Specifically, basic parameter includes when being not limited to access path and response Between threshold value.For example, basic parameter can also include the maximum capacity in current thread pond, the letter such as current thread pool adjustment direction Breath.
S203, the system response time that an access path was detected every 10 seconds.
Data collection interval is too long or too short, and will lead to can not accurately adjust thread tankage.Preferably, may be used Every the system response time of the access path of detection in 10 seconds.In this way, the service energy of current system can be known clearly Power, in other words response performance.Certainly, the system response time every the access path of detection in 10 seconds here is not necessarily referring to this hair It can only be spaced 10 seconds in bright all embodiments, it is thus evident that in other embodiments of the invention, system response time adopts Collection interval duration can also be other data.
S204, the average value for calculating continuous several times collected system response time in the predetermined time.
S205, judge whether average value is greater than response time threshold value.
If so, entering step S206;If it is not, then without operation.
S206, using the optimal capability value in hill-climbing algorithm computational threads pond, and using optimal capability value as thread tankage.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of threads based on system response time Pool capacity amount adjusting apparatus, the thread pool capacity regulating device described below based on system response time are based on above-described The thread pool capacity adjustment method of system response time can correspond to each other reference.
Shown in Figure 4, which comprises the following modules:
A kind of thread pool capacity regulating device based on system response time, comprising:
System response time obtains module 101, and the system response time of access path is preset for taken at regular intervals;
Mean value calculation module 102, for calculating the flat of the collected system response time of continuous several times in the predetermined time Mean value;
Judgment module 103, for judging whether average value is greater than default response time threshold value;
Thread tankage determining module 104 utilizes hill-climbing algorithm if being greater than default response time threshold value for average value The optimal capability value in computational threads pond, and using optimal capability value as thread tankage.
Using device provided by the embodiment of the present invention, taken at regular intervals presets the system response time of access path;It calculates The average value of continuous several times collected system response time in predetermined time;Judge whether average value is greater than the default response time Threshold value;If it is, using the optimal capability value in hill-climbing algorithm computational threads pond, and using optimal capability value as thread pool capacity Amount.It is to adjust with system response time because system response time can reflect the quality of current service performance to a certain extent Then the judgement benchmark of whole thread tankage when adjusting thread tankage, utilizes the most beutiful face in hill-climbing algorithm computational threads pond Amount, and using optimal capacity as the capacity of thread pool.It is adjusted using capacity of the hill-climbing algorithm to thread pool, relative to existing Preset parameter mode adjustment mode it is more flexible, can reduce blocking and reduce system resource waste, promoted user's body It tests.
In a kind of specific embodiment of the invention, further includes:
Starting module, for starting autonomic tuning module before taken at regular intervals presets the system response time of access path.
In a kind of specific embodiment of the invention, further includes:
Basic parameter obtains module, for obtaining base before taken at regular intervals presets the system response time of access path Quasi- parameter, basic parameter include access path, response time threshold value.
In a kind of specific embodiment of the invention, system response time obtains module 101, is specifically used for every 10 seconds The system response time of the primary default access path of detection.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of threads based on system response time Tankage adjust equipment, it is described below it is a kind of based on system response time thread tankage adjustment equipment with it is above-described A kind of thread pool capacity adjustment method based on system response time can correspond to each other reference.
It is shown in Figure 4, should include: based on the thread tankage adjustment equipment of system response time
Memory D1, for storing computer program;
Processor D2 realizes the line based on system response time of above method embodiment when for executing computer program The step of Cheng Chirong amount adjustment method.
Corresponding to above method embodiment, the embodiment of the invention also provides a kind of readable storage medium storing program for executing, are described below A kind of readable storage medium storing program for executing can be mutual with a kind of above-described thread pool capacity adjustment method based on system response time To should refer to.
A kind of readable storage medium storing program for executing is stored with computer program on readable storage medium storing program for executing, and computer program is held by processor The step of thread pool capacity adjustment method based on system response time of above method embodiment is realized when row.
The readable storage medium storing program for executing be specifically as follows USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), the various program storage generations such as random access memory (Random Access Memory, RAM), magnetic or disk The readable storage medium storing program for executing of code.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with it is other The difference of embodiment, same or similar part may refer to each other between each embodiment.For being filled disclosed in embodiment For setting, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method part Explanation.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.
Used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said It is bright to be merely used to help understand technical solution of the present invention and its core concept.It should be pointed out that for the common of the art , without departing from the principle of the present invention, can be with several improvements and modifications are made to the present invention for technical staff, these Improvement and modification are also fallen within the protection scope of the claims of the present invention.

Claims (10)

1. a kind of thread pool capacity adjustment method based on system response time characterized by comprising
Taken at regular intervals presets the system response time of access path;
Calculate the average value of continuous several times collected system response time in the predetermined time;
Judge whether the average value is greater than default response time threshold value;
If it is, using the optimal capability value in hill-climbing algorithm computational threads pond, and using the optimal capability value as thread pool Capacity.
2. the thread pool capacity adjustment method according to claim 1 based on system response time, which is characterized in that in institute Before the system response time for stating the default access path of taken at regular intervals, further includes:
Start autonomic tuning mode.
3. the thread pool capacity adjustment method according to claim 1 based on system response time, which is characterized in that in institute Before the system response time for stating the default access path of taken at regular intervals, further includes:
Basic parameter is obtained, the basic parameter includes access path, response time threshold value.
4. thread capacity adjustment method according to any one of claims 1 to 3, which is characterized in that the taken at regular intervals is pre- If the system response time of access path, comprising:
Every the system response time of the primary default access path of detection in 10 seconds.
5. a kind of thread pool capacity regulating device based on system response time characterized by comprising
System response time obtains module, and the system response time of access path is preset for taken at regular intervals;
Mean value calculation module, for calculating the average value of the collected system response time of continuous several times in the predetermined time;
Judgment module, for judging whether the average value is greater than default response time threshold value;
Thread tankage determining module utilizes hill-climbing algorithm meter if being greater than default response time threshold value for the average value The optimal capability value of thread pool is calculated, and using the optimal capability value as thread tankage.
6. the thread pool capacity regulating device according to claim 5 based on system response time, which is characterized in that also wrap It includes:
Starting module, for starting autonomic tuning mode before the system response time that the taken at regular intervals presets access path.
7. the thread pool capacity regulating device according to claim 5 based on system response time, which is characterized in that also wrap It includes:
Basic parameter obtains module, for obtaining base before the system response time that the taken at regular intervals presets access path Quasi- parameter, the basic parameter include access path, response time threshold value.
8. according to the described in any item thread capacity regulating devices of claim 5 to 7, which is characterized in that when the system responds Between obtain module, specifically for the system response time every 10 seconds primary default access path of detection.
9. a kind of thread capacity adjusts equipment characterized by comprising
Memory, for storing computer program;
Processor realizes the thread capacity adjustment side as described in any one of Claims 1-4 when for executing the computer program The step of method.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with computer program, the meter on the readable storage medium storing program for executing It is realized when calculation machine program is executed by processor as described in any one of Claims 1-4 the step of thread capacity adjustment method.
CN201810751740.7A 2018-06-11 2018-07-10 Thread pool capacity adjustment method, device and equipment based on system response time Pending CN108984288A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2018105954635 2018-06-11
CN201810595463 2018-06-11

Publications (1)

Publication Number Publication Date
CN108984288A true CN108984288A (en) 2018-12-11

Family

ID=64537655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810751740.7A Pending CN108984288A (en) 2018-06-11 2018-07-10 Thread pool capacity adjustment method, device and equipment based on system response time

Country Status (1)

Country Link
CN (1) CN108984288A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885470A (en) * 2019-03-04 2019-06-14 上海拉扎斯信息科技有限公司 Method of adjustment, device, storage medium and the electronic equipment of thread pool
CN109885385A (en) * 2018-12-21 2019-06-14 山东中创软件商用中间件股份有限公司 A kind of autonomic tuning method, device and equipment of application server thread pool
CN110069340A (en) * 2019-04-01 2019-07-30 北京百度网讯科技有限公司 Thread Count appraisal procedure and device
CN110673876A (en) * 2019-09-30 2020-01-10 北京三快在线科技有限公司 Method and device for setting thread pool parameters, computer equipment and storage medium
CN111930484A (en) * 2020-07-24 2020-11-13 国家电网有限公司 Method and system for optimizing performance of thread pool of power grid information communication server
CN112181725A (en) * 2020-09-25 2021-01-05 江苏恒宝智能系统技术有限公司 Power-down anti-pulling backup method and system for on-chip and off-chip data of embedded system
CN114490040A (en) * 2021-12-30 2022-05-13 北京致远互联软件股份有限公司 Dynamic capacity expansion and reduction method for Java thread pool

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991792A (en) * 1998-01-02 1999-11-23 International Business Machines Corporation Method, apparatus and computer program product for dynamically managing a thread pool of reusable threads in a computer system
CN101364185A (en) * 2008-09-02 2009-02-11 中国科学院软件研究所 Thread pool size self-adapting regulating method and concurrency control method applying server
CN102779062A (en) * 2011-05-09 2012-11-14 阿里巴巴集团控股有限公司 Method and device for controlling number of threads accessing system resources
CN105630606A (en) * 2015-12-22 2016-06-01 山东中创软件工程股份有限公司 Method and device for adjusting capacity of thread pools
CN107220033A (en) * 2017-07-05 2017-09-29 百度在线网络技术(北京)有限公司 Method and apparatus for controlling thread pool thread quantity

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5991792A (en) * 1998-01-02 1999-11-23 International Business Machines Corporation Method, apparatus and computer program product for dynamically managing a thread pool of reusable threads in a computer system
CN101364185A (en) * 2008-09-02 2009-02-11 中国科学院软件研究所 Thread pool size self-adapting regulating method and concurrency control method applying server
CN102779062A (en) * 2011-05-09 2012-11-14 阿里巴巴集团控股有限公司 Method and device for controlling number of threads accessing system resources
CN105630606A (en) * 2015-12-22 2016-06-01 山东中创软件工程股份有限公司 Method and device for adjusting capacity of thread pools
CN107220033A (en) * 2017-07-05 2017-09-29 百度在线网络技术(北京)有限公司 Method and apparatus for controlling thread pool thread quantity

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885385A (en) * 2018-12-21 2019-06-14 山东中创软件商用中间件股份有限公司 A kind of autonomic tuning method, device and equipment of application server thread pool
CN109885470A (en) * 2019-03-04 2019-06-14 上海拉扎斯信息科技有限公司 Method of adjustment, device, storage medium and the electronic equipment of thread pool
CN110069340A (en) * 2019-04-01 2019-07-30 北京百度网讯科技有限公司 Thread Count appraisal procedure and device
CN110069340B (en) * 2019-04-01 2022-09-16 北京百度网讯科技有限公司 Thread number evaluation method and device
CN110673876A (en) * 2019-09-30 2020-01-10 北京三快在线科技有限公司 Method and device for setting thread pool parameters, computer equipment and storage medium
CN111930484A (en) * 2020-07-24 2020-11-13 国家电网有限公司 Method and system for optimizing performance of thread pool of power grid information communication server
CN111930484B (en) * 2020-07-24 2023-06-30 国家电网有限公司 Power grid information communication server thread pool performance optimization method and system
CN112181725A (en) * 2020-09-25 2021-01-05 江苏恒宝智能系统技术有限公司 Power-down anti-pulling backup method and system for on-chip and off-chip data of embedded system
CN112181725B (en) * 2020-09-25 2023-07-25 江苏恒宝智能系统技术有限公司 Method and system for power-down anti-pulling backup of on-chip and off-chip data of embedded system
CN114490040A (en) * 2021-12-30 2022-05-13 北京致远互联软件股份有限公司 Dynamic capacity expansion and reduction method for Java thread pool

Similar Documents

Publication Publication Date Title
CN108984288A (en) Thread pool capacity adjustment method, device and equipment based on system response time
KR102207050B1 (en) Methods and apparatus to manage jobs that can and cannot be suspended when there is a change in power allocation to a distributed computer system
CN109086194A (en) A kind of thread pool capacity adjustment method, device, equipment and readable storage medium storing program for executing
US10736032B2 (en) Method for cloudlet-based optimization of energy consumption
CN105389214B (en) A kind of monitoring method and system
CN108983946B (en) Server power consumption control method, system and equipment
CN105630606A (en) Method and device for adjusting capacity of thread pools
CN106557369A (en) A kind of management method and system of multithreading
CN113515382B (en) Cloud resource allocation method and device, electronic equipment and storage medium
CN116955455B (en) Processing method and platform suitable for radiation monitoring system
CN114185674A (en) CPU task real-time scheduling method, device, equipment and storage medium
CN109413502A (en) Multithreading barrage message distributing method, device, equipment and storage medium
CN109240822A (en) The method, apparatus and storage medium and electronic equipment of application program elastic telescopic
US20190138354A1 (en) Method for scheduling jobs with idle resources
CN109428950B (en) Automatic scheduling method and system for IP address pool
CN111262783B (en) Dynamic routing method and device
CN111813535A (en) Resource configuration determining method and device and electronic equipment
CN103442087B (en) A kind of Web service system visit capacity based on response time trend analysis controls apparatus and method
CN114500661A (en) Current limiting device, method and device and storage medium
CN109522100A (en) Real-time calculating task method of adjustment and device
CN109756372B (en) Elastic expansion method and device for telecommunication charging system
JP2011159107A (en) Thread number limiting apparatus, thread number limiting method and thread number limiting program
CN111158454A (en) Low-power consumption method and device for real-time embedded operating system
CN109885385A (en) A kind of autonomic tuning method, device and equipment of application server thread pool
CN111143063A (en) Task resource reservation method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20181211

RJ01 Rejection of invention patent application after publication