Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.compression Subject: Generating data that can be compressed with a known ratio Date: Sun, 23 Jun 2013 10:59:15 +1200 Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net r9EHQ0ZwYsARnLa0z1wPVgKrHuNRw3MBoH9B/7WjodssN31Ms7 Cancel-Lock: sha1:Sivo1nLqg7iWcHCrhg67NdOxL3Y= User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:17.0) Gecko/17.0 Thunderbird/17.0 Xref: csiph.com comp.compression:1980 I'm looking for an algorithm I can use to generate data that will have a fixed compress ratio when compressed with an ideal compression algorithm (or gzip as a practical compressor). I want to produce files that will compress by a given percentage in order to test performance of a filesystem with compression enabled. Any ideas? -- Ian Collins