Robert Connolly | 1 Mar 10:32 2010
Picon

faster bzip2

Hi.

This patch builds bzip2 with profile guided optimization, the --combine 
option, and -fomit-frame-pointer:
http://www.linuxfromscratch.org/~robert/new/patches/bzip2-1.0.5-faster.diff

The non-shared bzip2 program decompresses 7% faster for me, without accounting 
for -fomit-frame-pointer. The libbz2.so library runs 4.5% faster for me. The 
profiling optimization works a lot better when the all the code is built 
together, so the non-shared bzip2 program is suggested. So:
cp -v bzip2 /bin/bzip2 # Not bzip2-shared

I also tried other options like -fwhole-program, -O3, and -finline-functions, 
and they made bzip2 and the library slower. My tests were only with 
decompression, of a gcc tarball, but compression should also be faster.

There are also other bzip2 packages that do parallel/multithread compression, 
but not parallel decompression.

robert
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page
cedric.dewijs | 2 Mar 15:56 2010
Picon

Betr: faster bzip2

>-- Oorspronkelijk bericht --
>From: Robert Connolly <robert <at> linuxfromscratch.org>
>To: General chatter list <lfs-chat <at> linuxfromscratch.org>
>Subject: faster bzip2
>Date: Mon, 01 Mar 2010 04:32:06 -0500
>Reply-To: General chatter list <lfs-chat <at> linuxfromscratch.org>
>
>
>Hi.
>
>This patch builds bzip2 with profile guided optimization, the --combine

>option, and -fomit-frame-pointer:
>http://www.linuxfromscratch.org/~robert/new/patches/bzip2-1.0.5-faster.diff
>
>The non-shared bzip2 program decompresses 7% faster for me, without accounting
>
>for -fomit-frame-pointer. The libbz2.so library runs 4.5% faster for me.
>The 
>profiling optimization works a lot better when the all the code is built
>
>together, so the non-shared bzip2 program is suggested. So:
>cp -v bzip2 /bin/bzip2 # Not bzip2-shared
>
>I also tried other options like -fwhole-program, -O3, and -finline-functions,
>
>and they made bzip2 and the library slower. My tests were only with 
>decompression, of a gcc tarball, but compression should also be faster.
>
>There are also other bzip2 packages that do parallel/multithread compression,
(Continue reading)

Rafael Ortega | 5 Mar 06:29 2010

Check out my photos on Facebook

facebook

Check out my photos on Facebook


Hi Lfs-chat,

I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile.

Thanks,
Rafael

To sign up for Facebook, follow the link below:
http://www.facebook.com/p.php?i=714009475&k=35A3YWS3PT6GX1DISK322USUTREEVXZ&r

Already have an account? Add this email address to your account here.
See who else has invited you to Facebook:
Janez Bindas
41 friends
1 photo
Jamal BaKeer
378 friends
1 photo
Srikanth Tiyyagura
28 friends
Thăng Phạm Duy
176 friends
54 photos


Other people you may know on Facebook:
Jeeva Suresh
Carlos Martín Nieto
Puviarasu Dasarathan
Eduardo Costa Lisboa
Vimal Kumar
Thinus Pollard
David Koenig
Washington
Michael SanAngelo
Mark Gross
lfs-chat <at> linuxfromscratch.org was invited to join Facebook by Rafael Ortega. If you do not wish to receive this type of email from Facebook in the future, please click here to unsubscribe.
Facebook's offices are located at 1601 S. California Ave., Palo Alto, CA 94304.
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page
Johnneylee Rollins | 5 Mar 11:21 2010
Picon

Re: Check out my photos on Facebook

I'm gonna go out on a limb here and say, no.

Thanks though.

~SpaceGhost
--

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Gmane