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

Method and device for adjusting number of threads and computing equipment

A technology of thread quantity and adjustment method, which is applied in the direction of multi-channel program device, calculation, program control design, etc., can solve the problems of not being able to effectively improve the download speed and rationally use computer resources, and achieve saving download time, fast download speed, and good performance. The effect of download experience

Pending Publication Date: 2022-05-17
UNIONTECH SOFTWARE TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, setting the maximum number of threads cannot effectively improve the download speed and make reasonable use of computer resources.

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
  • Method and device for adjusting number of threads and computing equipment
  • Method and device for adjusting number of threads and computing equipment
  • Method and device for adjusting number of threads and computing equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0023] figure 1 is a schematic block diagram of an example computing device 100 .

[0024] like figure 1 As shown, in a basic configuration 102 , computing device 100 typically includes system memory 106 and one or more processors 104 . A memory bus 108 may be used for communication between the processor 104 and the system memory 106 .

[0025] Depending on the desired configuration, processor 104 may be any type of processing i...

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 discloses a thread number adjusting method and device and computing device.The method is executed in an operating system to adjust the number of threads executing downloading tasks, and the method comprises the steps that the downloading tasks are executed through a preset number of threads, and the current downloading speed is obtained to serve as the downloading speed before the threads are increased; the downloading task is executed by adding at least one thread every time, and the downloading speed after the threads are added is obtained; comparing the downloading speed after the thread is added with the downloading speed before the thread is added so as to determine the optimal thread number corresponding to the fastest downloading speed; and adjusting the number of threads for executing the downloading task to the optimal number of threads so as to execute the downloading task based on the threads with the optimal number of threads. According to the technical scheme provided by the invention, resources of the current computing equipment can be fully and reasonably utilized, and the highest downloading speed is ensured, so that the downloading time is saved, and a good downloading experience feeling is provided for a user.

Description

technical field [0001] The invention relates to the technical field of computers and operating systems, in particular to a method for adjusting the number of threads, a device for adjusting the number of threads, and computing equipment. Background technique [0002] Currently, when a user downloads a file, the full performance of the computer may be used to download a certain task, and the performance of the computer may not be properly utilized, resulting in waste of performance. On the operating system platform, download tools can be used to provide users with more stable and fast download services, ensuring that users download faster. [0003] However, in the downloading tools in the prior art, in order to achieve the fastest downloading speed, the maximum number of threads when downloading a certain task is usually set. Due to the different CPU architectures of different computers, the number of CPU cores is different, so the maximum number of threads supported is also...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/48
CPCG06F9/4881G06F2209/486G06F2209/483G06F2209/485
Inventor 卜龙威
Owner UNIONTECH SOFTWARE 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