Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail From: aminer Newsgroups: comp.programming Subject: Re: ParallelZlb Compression library 1.0 Date: Wed, 13 Feb 2013 11:57:00 -0800 Organization: A noiseless patient Spider Lines: 57 Message-ID: <511BF00C.6030509@toto.ca> References: <25754ee3-f2c5-4974-8ede-776bf7d9d587@googlegroups.com> <51194207.2030606@toto.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: mx05.eternal-september.org; posting-host="8427fd05edc201bb6b1d125b80ca38e6"; logging-data="30055"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX181qZR/6ybUgz930lMZahStTmMfNLByyGY=" User-Agent: Mozilla/5.0 (Windows NT 6.0; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 In-Reply-To: Cancel-Lock: sha1:COH2AY7qTJPlssXVHF0SmABzooE= Xref: csiph.com comp.programming:3013 On 2/12/2013 7:58 AM, bob wrote: > On Monday, February 11, 2013 1:09:59 PM UTC-6, aminer wrote: >> On 2/11/2013 7:04 AM, bob wrote: >> >>> On Friday, February 8, 2013 12:42:07 PM UTC-6, aminer wrote: >> >>> >> >>> How many threads will it use for compression? >> >>> >> >> >> >> >> >> You can specify the number of threads by calling the constructor , like >> >> this: >> >> >> >> pzlib:=TParallelZlib.create(4); >> >> >> >> >> >> Here it will use 4 threads. >> >> >> >> >> >> >> >> Thank you, >> >> Amine Moulay Ramdane. > > Thanks. > > Also, how many processors and cores have you tried this on so far? > I have used 4 cores and 4 threads, and it give 5% better speed than Pigz on the same number of cores and threads. Thank you, Amine Moulay Ramdane.