Patent ID: 9342521
Filing Date: 2016-05-17
CPC Classification: G06F

Claim Text:
1. A storage system comprising: one or more storage controllers for storing file data, comprising data that has been sent from a host system and arranged in a plurality of files, each file having a size and an attribute, that is to be compressed, wherein said one or more storage controllers comprise: a master unit responsive to a user input for setting a common compression ratio target value and performance target value in the storage system; a measurement unit for measuring a throughput value and a compression ratio for each file; a mode setting unit for setting for each file a compression mode of either (a) a system performance priority mode that terminates compression of said file data and gives priority to system performance or (b) a compression priority mode, indicating a level of priority given to compression, that gives priority to compression of said file data base; and a compression controller comprising a termination controller, a dictionary unit, and a concordance detection unit, said compression controller being operative for compressing said file data in each file, based on said compression mode set with said mode setting unit, and for performing compression processing, wherein the compression mode for a first file is configured to be changed based on a throughput value of said first file measured by the measurement unit, the compression ratio of said first file measured by the measurement unit, said common compression ratio target value in the storage system, and said performance target value in the storage system, wherein the compression mode for a second file is configured to be changed based on a throughput value of said second file measured by the measurement unit, the compression ratio of said second file measured by the measurement unit, said common compression ratio target value in the storage system, and said performance target value in the storage system, wherein termination of the compression processing upon entry to said system performance priority mode can occur in the middle of processing during a compression priority mode, and wherein said compression processing comprises, upon receipt of a start command, the termination controller causing reading of input data as file data, dividing the input data sequence into partial data sequences, and sending a dictionary address to the dictionary unit, whereby a compression target data range of a partial data sequence and a dictionary data sequence are set as a page, subsequently, the termination controller issuing a command to set a maximum value of concordance length in the page to zero, the concordance detection unit comparing initial dictionary data sequences set to compress the page and the partial data sequences, the concordance detection unit also calculating a calculation result comprising a concordance length and location information, and the termination controller receiving the calculation result and determining whether the concordance length is greater than a current compression mode, or whether it is a final page, whereby, when the termination controller determines that the calculated concordance length is greater than the current compression mode or is the final page a termination command is sent.