RAID5 data writing method and device for multi-core processor
A multi-core processor, data writing technology, applied in machine execution devices, electrical digital data processing, instruments, etc., can solve problems such as the inability to fully utilize the performance advantages of high-performance multi-core processors
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further elaborated below in conjunction with the accompanying drawings.
[0031] figure 2 The RAID5 write data process for multi-core processor under the Linux operating system that the embodiment of the present invention proposes is shown, comprises the steps:
[0032] Step S201: When creating or activating a raid5 disk array, obtain the number of CPUs in the multi-core processor. This step is optional.
[0033] Step S202: Create more than one md_raid5 processing thread according to the number of CPUs, and assign each md_raid5 processing thread to a CPU of the multi-core processor. The total number of processing threads is less than or equal to the number of CPUs.
[0034] Assuming that the number of multi-core processor CPUs is n, and n is a natural number, you can create 2 to n md_raid5 processing threads, and run 0 to 1 md_raid5 process...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 