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

Architecture-aware field affinity estimation

a technology of architecture and affinity estimation, applied in the direction of memory address/allocation/relocation, program control, instruments, etc., can solve the problems of not necessarily providing the best possible performance, reducing the efficiency of the target program in some executions, and unexpectedly in all executions

Inactive Publication Date: 2011-12-08
IBM CORP
View PDF1 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0005]One exemplary embodiment of the disclosed subject matter is a computer-implemented method for determining affinity estimation between fields of a record in a computer program, the method comprising: obtaining a trace associated with an execution of the computer program by a computer having a plurality of processing entities, the trace comprising at least a first indication and a second indication, the first indication is associated with a first access to a first field of the record, the second indication is associated with a second access to a second field of the record, the first access precedes the second access; determining a first and a second processing entities of the plurality of processing entities associated with the first and the second indications; determining the affinity estimation based on a change in expected performance due to associating the first and second fields in a single cache line in view of performing the first access by the first processing entity and the second access by the second access entity; modifying a data layout of the computer program based on the affinity estimation.
[0006]Another exempl...

Problems solved by technology

Although referred to as optimizing performance of the target program, such methods do not necessarily provide the best possible performance.
In some cases, performing an optimization may unfortunately lead to a reduction in efficiency of the target program in some executions or even unexpectedly in all executions.

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
  • Architecture-aware field affinity estimation
  • Architecture-aware field affinity estimation
  • Architecture-aware field affinity estimation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014]The disclosed subject matter is described below with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the subject matter. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0015]These computer program instructions may also be stored in a computer-readable medium that can direct a co...

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

A data layout optimization may utilize affinity estimation between paris of fields of a record in a computer program. The affinity estimation may be determined based on a trace of an execution and in view of actual processing entities performing each access to the fields. The disclosed subject matter may be configured to be aware of a specific architecture of a target computer having a plurality of processing entities, executing the program so as to provide an improved affinity estimation which may take into account both false sharing issues, spatial locality improvement and the like.

Description

BACKGROUND[0001]The present disclosure relates to performance optimizations of computer programs in general, and to field affinity estimation based on an execution by a computer having a plurality of processing entities in particular.[0002]Performance of a computer program may be improved based on performance optimizations methods. Such methods include modifying the computer program, also referred to as a target program, to perform in a more efficient manner such as for example to be executed more rapidly, to require less resources such as memory space or draw less power. Although referred to as optimizing performance of the target program, such methods do not necessarily provide the best possible performance. In some cases, performing an optimization may unfortunately lead to a reduction in efficiency of the target program in some executions or even unexpectedly in all executions.[0003]Data layout optimizations are utilized to change an individual record layout used in the target p...

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
IPC IPC(8): G06F9/44G06F12/08
CPCG06F11/3466G06F11/3419G06F2201/885G06F2201/865
Inventor DAYAN, ALONEDELSOHN, DAVID JOELGOLOVANEVSKY, OLGAZAKS, AYAL
Owner IBM CORP
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