Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news-1.dfn.de!news.dfn.de!news.informatik.hu-berlin.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.programming Subject: compressable data Date: Sun, 23 Jun 2013 00:52:54 +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 Ot80tH7HDzz3HtGwfrKzywgbJwHQ1286mc5hn2TlRHSNd6uOC0 Cancel-Lock: sha1:IykY1f4rozoF8Hgk7EUxeGZQTWA= User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:17.0) Gecko/17.0 Thunderbird/17.0 Xref: csiph.com comp.programming:3511 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