The invention relates to a storage
system reference evaluation program generating method and apparatus and belongs to the high-
performance computing performance evaluation field. The storage
system reference evaluation program generating method includes the following steps that: intermediate codes are obtained from a standardized source program;
slicing starting points of the intermediate codes are identified; static
program slicing is carried out based on identified
slicing starting points; and simplified codes can be generated based on obtained static program slices. The method is based
program slicing technology;
data dependence, control dependence and communication dependence are analyzed in a
compiler; all statement operation related to input and output is automatically extracted so as to form the compilable,
executable, manually-readable and transplantable simplified program codes; the simplified program can faithfully reflect input and output load characteristics of an
original application program, and less time and fewer resources are needed to execute the simplified program, and therefore, rapid evaluation can be facilitated. The simplified program generating method is very effective in
fast evaluation of the performance of a high-performance storage
system and design assistance of the storage system.