Path: csiph.com!usenet.pasdenom.info!aioe.org!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 13:11:57 -0800 Organization: A noiseless patient Spider Lines: 126 Message-ID: <511C019D.9010608@toto.ca> References: <25754ee3-f2c5-4974-8ede-776bf7d9d587@googlegroups.com> <51194207.2030606@toto.ca> <511BF00C.6030509@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="23000"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/YKfJsT3CbVV7y0MfubF03VILRS8NjTOk=" 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:xnp7MA5O4Izxpl5bNBLw+ijSMig= Xref: csiph.com comp.programming:3016 On 2/13/2013 9:37 AM, bob wrote: > On Wednesday, February 13, 2013 10:57:03 AM UTC-6, aminer wrote: >> 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. > > > > So you used a quad-core single processor? > > Was it the Intel i5? > > Thanks. > No, just an Intel Core 2 Quad Q6600 Amine Moulay Ramdane.