Browse Prior Art Database

Method and System for Calculating a Compression Ratio for a Backup in Real Time

IP.com Disclosure Number: IPCOM000237235D
Publication Date: 2014-Jun-09
Document File: 2 page(s) / 161K

Publishing Venue

The IP.com Prior Art Database

Abstract

A method and system is disclosed for calculating a compression ratio for a backup in real time.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 51% of the total text.

Page 01 of 2

Method and System for Calculating a Compression Ratio for a Backup in Real Time

Disclosed is a method and system for calculating a compression ratio for a backup in real time.

The method and system develops an algorithm that tracks a compression ratio as a backup utility in compressing blocks of data.

After compressing each block of data, the compression ratio of a block is factored with the compression ratio achieved for a corresponding backup so far.

The method and system compresses bytes at a block level and writes them to an output medium, and reports a corresponding compression statistics to an application or a user as each block is compressed. The compression ratio of the block is calculated by subtracting number of bytes after compression from number of bytes before compression and then dividing the result by one hundred. Instead of calculating the compression ratio once for all the blocks processed at the end of an operation, this method calculates the compression ratio as each block is processed and factors the compression ratio for the current block into the compression ratio for all the previous blocks processed. The advantage of this approach is that users or applications are able to understand how the data is compressing in real time and are able to make decisions as to whether compression should continue to be attempted or if some other algorithm should be used. A formula is used for finding a current total compression ratio without weighing each block compression ratio and without keeping t...