Invention Grant
- Patent Title: Method and device for determination of garbage collector thread number and activity management in log-structured file systems
-
Application No.: US15957599Application Date: 2018-04-19
-
Publication No.: US10802718B2Publication Date: 2020-10-13
- Inventor: Vyacheslav Anatolievich Dubeyko , Hongbo Zhang
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Shenzhen, Guangdong
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Shenzhen, Guangdong
- Agency: Womble Bond Dickinson (US) LLP
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F3/06

Abstract:
A method for garbage collection of a volume in a log-structured file system is disclosed. The volume comprises a plurality of segments. Each of the segments comprises a plurality of blocks. An invalid block count of each of the segments is determined. The invalid block count is used as an index for ordering the segments in a garbage collection queue. A plurality of range areas are determined for the index. A migration rate of each range area is determined, and the migration rate of a given range area reflects an intensity of segment migration into/out of the given range area. A negative migration rate reflects a segment migration into the given range area. Garbage collection is performed based upon the migration rate.
Public/Granted literature
Information query