Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Thread number evaluation method and device

A technology with a number of threads to be evaluated, applied in the field of retrieval, which can solve the problems of difficulty in ensuring the stability and poor efficiency of the retrieval system

Active Publication Date: 2019-07-30
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF13 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] For this reason, the first purpose of the present invention is to propose a method for evaluating the number of threads, which is used to solve the problems in the prior art that the number of threads needs to be adjusted many times, the efficiency is poor, and the stability of the retrieval system is difficult to ensure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Thread number evaluation method and device
  • Thread number evaluation method and device
  • Thread number evaluation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] The following describes in detail the embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to explain the present invention and should not be construed as limiting the present invention.

[0076] The method and apparatus for evaluating the number of threads according to the embodiments of the present invention are described below with reference to the accompanying drawings.

[0077] figure 1 A schematic flowchart of a method for evaluating the number of threads provided by an embodiment of the present invention. like figure 1 As shown, the thread count evaluation method includes the following steps:

[0078] S101. Acquire parameter information of the server to be evalua...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a thread number evaluation method and device, and the method comprises the steps: obtaining parameter information of a to-be-evaluated server in a retrieval system, and the parameter information comprising the average flow and the average processing time; establishing a relational expression between the parameter information and the performance parameter information; whereinthe performance parameter information comprises the total number of requests on the server, the number of requests to be processed, the average waiting time and the average response time; wherein theperformance parameter information and the thread number of the server have an association relationship and change along with the change of the thread number of the server; obtaining the thread numberwhen the average response time meets the expected response time by combining the relational expression, the parameter information and the queuing model; determining the thread number as the thread number of the server, so that the thread number can be determined by combining the parameter information of the server, the relational expression between the parameter information and the performance parameter information and the queuing model, the thread number does not need to be adjusted for multiple times, the time period is short, and the stability requirement of the retrieval system can be ensured.

Description

technical field [0001] The invention relates to the technical field of retrieval, and in particular, to a method and device for evaluating the number of threads. Background technique [0002] At present, ultra-large-scale retrieval systems, such as Google, Baidu, etc., usually consist of a large number of servers in clusters to provide information retrieval services, and each server deploys retrieval programs with corresponding functions. The number of threads of the retrieval program directly affects the response speed of the retrieval system to user requests. The current method for setting the number of threads of the retrieval program is to first set an initial number of threads, and then adjust the initial number of threads several times according to the actual operation of the retrieval system until the response speed meets expectations. [0003] In the above solution, multiple adjustments to the number of threads are difficult to ensure the stability requirements of t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/50
CPCG06F9/5027G06F9/5061
Inventor 于宁
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products