MDS log disk falling method and device for distributed storage file system
A distributed storage and file system technology, applied in multi-program devices, resource allocation, special data processing applications, etc., can solve the problems of MDS business delay fluctuation, long log storage time, freeze and other problems, reducing time The effect of prolonging the impact and shortening the processing time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] This embodiment provides a method for dumping logs in a distributed storage file system MDS. During the operation of the MDS, the busyness of the business changes dynamically. When the business is relatively idle, this method performs the dumping operation on as many log segments as possible that exceed the limit. , reduce this operation when the business is busy, so as to realize the dynamic management of log storage and reduce the delay impact of MDS log segment disk on normal business; Log events (each log event corresponds to a directory entry) are processed concurrently, and after all the log events in the directory are processed, a disk operation is performed, so as to achieve the purpose of shortening the processing time of a single directory, thereby reducing the MDS log. Latency impact of segment disks on normal services.
[0042] Such as figure 1 As shown, the method includes the following steps:
[0043] SS1: Obtain the business idle state of the node where...
Embodiment 2
[0066] This embodiment provides a distributed storage file system MDS log storage device, which can realize the method described in the first embodiment.
[0067] Such as Figure 4 As shown, the device includes the following functional modules.
[0068] Node business idle state acquisition module 1: obtain the business idle state of the node where the MDS is located;
[0069] Determination module 2 for the number of log segments placed on the disk: determine the number of log segments that need to be placed on the disk according to the idle state of the node business;
[0070] Packaging and placing processing module 3: During the carrying out of each log segment, the packing and placing process is performed on multiple pending log events in the log segment through multi-threaded parallel processing.
[0071] Wherein, the service idle state of the node refers to the CPU occupation ratio and the memory occupation ratio of the node.
[0072] The log segment quantity determinat...
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