Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A Binary File Rewriting Method for Variable Granularity Memory System

A binary file and granular technology, applied in the field of compiler optimization, can solve problems such as increased protocol overhead, waste, and inability to effectively utilize memory access bandwidth, and achieve the effect of reducing total memory access overhead and improving effective bandwidth utilization

Active Publication Date: 2017-08-01
INST OF COMPUTING TECH CHINESE ACAD OF SCI
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in a real program, the granularity of each data access actually changes. For applications with no locality and small granularity in data access, using a fixed large data granularity for each access will inevitably cause waste; The application of data reading and writing needs to divide the entire data access into multiple memory transactions, which increases the overhead of the protocol
It can be seen that the memory access mode with fixed granularity cannot effectively utilize the memory access bandwidth

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Binary File Rewriting Method for Variable Granularity Memory System
  • A Binary File Rewriting Method for Variable Granularity Memory System
  • A Binary File Rewriting Method for Variable Granularity Memory System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below through specific embodiments in conjunction with the accompanying drawings. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0034] According to an embodiment of the present invention, a binary file rewriting method for variable granularity memory systems is provided.

[0035] In a nutshell, the method includes: finding the hot cycle region in the intermediate representation of the binary file; for the hot cycle region whose memory access behavior conforms to the variable granularity memory access mode, merge the memory access information in the region, and before the region inserting header statements; and, generating target machine code based on the modified thermal loop region.

[0036] Combine below fi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a binary file rewriting method oriented to a variable-granularity internal memory system. The method comprises the steps of finding a thermal circulation area in an intermediate representation of a binary system; for the thermal circulation area that access behaviors are compliant with a variable-granularity access mode, combining access information in the area and inserting a header statement before the area; generating a target machine code according to the modified thermal circulation area. The binary file rewriting method oriented to the variable-granularity internal memory system can automatically complete an access operation supporting the variable-granularity internal memory system on the binary file; by automatically analyzing application characteristics and the core characteristics of the variable-granularity internal memory system and selecting a proper rewriting manner, both the efficiency of the rewriting process of the binary file and the execution performance of the binary file are considered.

Description

technical field [0001] The invention relates to the technical field of compiler optimization, and more specifically, relates to a binary file rewriting method for variable granularity memory systems. Background technique [0002] The computer's memory system is an important factor that affects the computer architecture and software execution efficiency. The data granularity of traditional memory access is fixed and tends to increase. However, in a real program, the granularity of each data access actually changes. For applications with no locality and small granularity in data access, using a fixed large data granularity for each access will inevitably cause waste; The application of data reading and writing needs to divide the entire data access into multiple memory transactions, which increases the overhead of the protocol. It can be seen that the memory access mode with fixed granularity cannot effectively utilize the memory access bandwidth. With the rise of cloud com...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F9/30
Inventor 吕方王晨曦黄磊冯晓兵崔慧敏王蕾
Owner INST OF COMPUTING TECH CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products