IO scheduling method and device
A scheduling method and IO request technology, applied in multi-programming devices, program control design, instruments, etc., can solve problems such as unreasonable scheduling of IO processes/threads, inability to perceive differences in resource performance characteristics, etc., to improve overall access performance, The effect of reducing round-trip callback overhead and reducing write latency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0134] The first embodiment is a scenario of reading data. For details, see Figure 4 shown:
[0135] S401: Receive a transmitted read data request; wherein, the read data request includes a CPU memory logical access address and an IO size, and the IO size is the total size of the data to be read;
[0136] S402: Use a consistent hash algorithm to process the CPU memory logical access address, obtain a hash value, and query a node corresponding to the hash value on a preset hash ring;
[0137] S403: Determine the actual memory access address corresponding to the CPU memory logical access address;
[0138] S404: In response to the single node storing all the data to be read, locate the target CPU in the single node according to the actual memory access address, and determine whether the IO size is greater than or equal to a preset size threshold;
[0139] S405: If less than, schedule the IO process or thread to perform a data read operation on the core of the target CPU;
[0...
Embodiment 2
[0158] The second embodiment is a scenario of writing data. For details, please refer to Figure 5 shown
[0159] S501: Receive a transmitted write data request; wherein, the write data request includes the IO size, the identifier of the target node, and the data to be written, and the IO size is the total size of the data to be written;
[0160] S502: According to the identifier of the target node, obtain the current available memory space of the target node, and determine whether the available memory space is greater than or equal to the IO size;
[0161] S503: If it is greater than or equal to, schedule the IO process or thread to write data into the CPU memory of the target node; wherein, a node includes multiple CPUs;
[0162] S504: If it is less than, determine the target CPU with the maximum available memory space under the target node, schedule the IO process or thread to write the data of the maximum available memory space into the memory of the target CPU, and deter...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com