Invention Grant
- Patent Title: Cache address mapping method and related device
-
Application No.: US16886752Application Date: 2020-05-28
-
Publication No.: US11256630B2Publication Date: 2022-02-22
- Inventor: Yandong Lv , Jianjiang Ceng
- Applicant: HUAWEI TECHNOLOGIES CO., LTD.
- Applicant Address: CN Guangdong
- Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee: HUAWEI TECHNOLOGIES CO., LTD.
- Current Assignee Address: CN Guangdong
- Agency: Leydig, Voit & Mayer, Ltd.
- Priority: CN201711247808.X 20171130
- Main IPC: G06F12/10
- IPC: G06F12/10 ; G06F12/0811

Abstract:
This application discloses a cache address mapping method and a related device. The method includes: obtaining a binary file, the binary file including a first hot section; obtaining alignment information of a second hot section, the second hot section is a hot section that has been loaded into a cache, and the alignment information includes a set index of a last cache set occupied by the second hot section; and performing an offset operation on the first hot section based on the alignment information. According to embodiments of the present invention, a problem of a conflict miss of a cache in an N-way set associative structure can be resolved without increasing physical hardware overheads, thereby improving a cache hit rate.
Public/Granted literature
- US20200293455A1 CACHE ADDRESS MAPPING METHOD AND RELATED DEVICE Public/Granted day:2020-09-17
Information query