×

Fast loading kernel image file for booting

  • US 11,074,083 B2
  • Filed: 04/17/2019
  • Issued: 07/27/2021
  • Est. Priority Date: 10/19/2016
  • Status: Active Grant
First Claim
Patent Images

1. A method for fast loading a kernel image file, wherein the method is executed by a multi-core processor, wherein the multi-core processor is connected to a nonvolatile storage and a memory, wherein the multi-core processor comprises a first core group and a second core group, wherein the first core group comprises at least one core, wherein the second core group comprises a plurality of cores, and wherein the method comprises:

  • obtaining, by the first core group, a plurality of data blocks in a compressed kernel image file from the nonvolatile storage, wherein the compressed kernel image file comprises a plurality of data blocks obtained after block compression is performed on the kernel image file;

    checking, by the first core group each time obtaining a data block, the currently obtained current data block;

    in response to determining that the current data block is correct, putting, by the first core group, the current data block into a decompression queue;

    obtaining, by at least two of the plurality of cores in the second core group when there is a data block in the decompression queue, the data block in the decompression queue; and

    in response to obtaining a plurality of data blocks, decompressing the plurality of obtained data blocks in parallel into the memory to finally obtain the kernel image file,wherein a length of each data block matches a speed of obtaining and checking a data block by the first core group and a speed of performing decompression by a core in the second core group.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×