Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #2973 > unrolled thread

ParallelZlb Compression library 1.0

Started byaminer <aminer@toto.ca>
First post2013-02-08 13:42 -0800
Last post2013-02-13 13:11 -0800
Articles 9 — 2 participants

Back to article view | Back to comp.programming


Contents

  ParallelZlb Compression library 1.0 aminer <aminer@toto.ca> - 2013-02-08 13:42 -0800
    Re: ParallelZlb Compression library 1.0 aminer <aminer@toto.ca> - 2013-02-08 14:09 -0800
    Re: ParallelZlb Compression library 1.0 aminer <aminer@toto.ca> - 2013-02-09 11:15 -0800
    Re: ParallelZlb Compression library 1.0 bob <bob@coolfone.comze.com> - 2013-02-11 07:04 -0800
      Re: ParallelZlb Compression library 1.0 aminer <aminer@toto.ca> - 2013-02-11 11:09 -0800
        Re: ParallelZlb Compression library 1.0 bob <bob@coolfone.comze.com> - 2013-02-12 07:58 -0800
          Re: ParallelZlb Compression library 1.0 aminer <aminer@toto.ca> - 2013-02-13 11:57 -0800
            Re: ParallelZlb Compression library 1.0 bob <bob@coolfone.comze.com> - 2013-02-13 09:37 -0800
              Re: ParallelZlb Compression library 1.0 aminer <aminer@toto.ca> - 2013-02-13 13:11 -0800

#2973 — ParallelZlb Compression library 1.0

Fromaminer <aminer@toto.ca>
Date2013-02-08 13:42 -0800
SubjectParallelZlb Compression library 1.0
Message-ID<kf3gsu$uki$1@dont-email.me>
Hello,


ParallelZlb Compression library 1.0


Description:

Parallel Compression library using the Zlib algorithm and my Thread Pool 
Engine.

- Now my ParallelZlb gives 5% better performance than Pigz.

- It supports memory streams, file streams and files

- It supports files larger than 4 Gb

- Parallel compression and parallel decompression are extremely fast

- It supports both compression and decommpression rate indicator

- You can test your compressed file

- Easy programming interface

- Full source codes available.


Please look at test_pzlib.pas inside the zip file, compile and execute 
it.. -


Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/


Operating Systems: Win , Linux and Mac (x86).

Note: to be able to port to Linux and Mac OSX you have to compile the 
dynamic libraries...

Required FPC switches: -O3 -Sd -dFPC -dWin32 -dFreePascal

-Sd for delphi mode....

-dUnix for Linux,MacOSX etc.

Required Delphi switches: -DMSWINDOWS -$H+ -DDelphi



Thank you,
Amine Moulay Ramdane.


[toc] | [next] | [standalone]


#2974

Fromaminer <aminer@toto.ca>
Date2013-02-08 14:09 -0800
Message-ID<kf3ign$89c$9@dont-email.me>
In reply to#2973
Hello,

You can download ParallelZlb Compression library 1.0 the from:


http://pages.videotron.com/aminer/



Thank you,
Amine Moulay Ramdane.



On 2/8/2013 1:42 PM, aminer wrote:
>
> Hello,
>
>
> ParallelZlb Compression library 1.0
>
>
> Description:
>
> Parallel Compression library using the Zlib algorithm and my Thread Pool
> Engine.
>
> - Now my ParallelZlb gives 5% better performance than Pigz.
>
> - It supports memory streams, file streams and files
>
> - It supports files larger than 4 Gb
>
> - Parallel compression and parallel decompression are extremely fast
>
> - It supports both compression and decommpression rate indicator
>
> - You can test your compressed file
>
> - Easy programming interface
>
> - Full source codes available.
>
>
> Please look at test_pzlib.pas inside the zip file, compile and execute
> it.. -
>
>
> Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/
>
>
> Operating Systems: Win , Linux and Mac (x86).
>
> Note: to be able to port to Linux and Mac OSX you have to compile the
> dynamic libraries...
>
> Required FPC switches: -O3 -Sd -dFPC -dWin32 -dFreePascal
>
> -Sd for delphi mode....
>
> -dUnix for Linux,MacOSX etc.
>
> Required Delphi switches: -DMSWINDOWS -$H+ -DDelphi
>
>
>
> Thank you,
> Amine Moulay Ramdane.
>
>
>

[toc] | [prev] | [next] | [standalone]


#2989

Fromaminer <aminer@toto.ca>
Date2013-02-09 11:15 -0800
Message-ID<kf5sm9$s60$2@dont-email.me>
In reply to#2973
Hello,

I have corrected a problem, now ParallelZlib is running
correctly as a 64 bit process, and i have included
the windows 32 bit and 64 bit Zlib objects so that you don't
need any DLLs under FreePascal and Lazarus.

Now it's working with the windows 32 bit and 64 Freepascal
Compiler and  Lazarus, i will soon port it very easily to Linux and MacOSX.

To compile it on Windows 64 bit just change inside defines.inc

{$DEFINE WIN32}
{$DEFINE CPU32}

to

{$DEFINE WIN64}
{$DEFINE CPU64}




You can download ParallelZlib Compression library 1.01  from:


http://pages.videotron.com/aminer/



Thank you,
Amine Moulay Ramdane.

[toc] | [prev] | [next] | [standalone]


#2998

Frombob <bob@coolfone.comze.com>
Date2013-02-11 07:04 -0800
Message-ID<25754ee3-f2c5-4974-8ede-776bf7d9d587@googlegroups.com>
In reply to#2973
On Friday, February 8, 2013 12:42:07 PM UTC-6, aminer wrote:
> Hello,
> 
> 
> 
> 
> 
> ParallelZlb Compression library 1.0
> 
> 
> 
> 
> 
> Description:
> 
> 
> 
> Parallel Compression library using the Zlib algorithm and my Thread Pool 
> 
> Engine.
> 
> 
> 
> - Now my ParallelZlb gives 5% better performance than Pigz.
> 
> 
> 
> - It supports memory streams, file streams and files
> 
> 
> 
> - It supports files larger than 4 Gb
> 
> 
> 
> - Parallel compression and parallel decompression are extremely fast
> 
> 
> 
> - It supports both compression and decommpression rate indicator
> 
> 
> 
> - You can test your compressed file
> 
> 
> 
> - Easy programming interface
> 
> 
> 
> - Full source codes available.
> 
> 
> 
> 
> 
> Please look at test_pzlib.pas inside the zip file, compile and execute 
> 
> it.. -
> 
> 
> 
> 
> 
> Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/
> 
> 
> 
> 
> 
> Operating Systems: Win , Linux and Mac (x86).
> 
> 
> 
> Note: to be able to port to Linux and Mac OSX you have to compile the 
> 
> dynamic libraries...
> 
> 
> 
> Required FPC switches: -O3 -Sd -dFPC -dWin32 -dFreePascal
> 
> 
> 
> -Sd for delphi mode....
> 
> 
> 
> -dUnix for Linux,MacOSX etc.
> 
> 
> 
> Required Delphi switches: -DMSWINDOWS -$H+ -DDelphi
> 
> 
> 
> 
> 
> 
> 
> Thank you,
> 
> Amine Moulay Ramdane.

How many threads will it use for compression?

[toc] | [prev] | [next] | [standalone]


#3002

Fromaminer <aminer@toto.ca>
Date2013-02-11 11:09 -0800
Message-ID<51194207.2030606@toto.ca>
In reply to#2998
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.





[toc] | [prev] | [next] | [standalone]


#3009

Frombob <bob@coolfone.comze.com>
Date2013-02-12 07:58 -0800
Message-ID<bdf437b1-b21e-4d78-a6ce-8ff7478c7819@googlegroups.com>
In reply to#3002
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?

[toc] | [prev] | [next] | [standalone]


#3013

Fromaminer <aminer@toto.ca>
Date2013-02-13 11:57 -0800
Message-ID<511BF00C.6030509@toto.ca>
In reply to#3009
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.



[toc] | [prev] | [next] | [standalone]


#3015

Frombob <bob@coolfone.comze.com>
Date2013-02-13 09:37 -0800
Message-ID<c5583207-29d3-4009-9ad8-79a5c4408595@googlegroups.com>
In reply to#3013
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.

[toc] | [prev] | [next] | [standalone]


#3016

Fromaminer <aminer@toto.ca>
Date2013-02-13 13:11 -0800
Message-ID<511C019D.9010608@toto.ca>
In reply to#3015
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.


[toc] | [prev] | [standalone]


Back to top | Article view | comp.programming


csiph-web