[NEWS][ZLIB] Intel Makes Major Zlib Performance Improvements

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
Post Reply
User avatar
AlexeyKnyshev
Goblin
Posts: 213
Joined: Sat May 26, 2012 10:37 am
Location: Russia
x 13

[NEWS][ZLIB] Intel Makes Major Zlib Performance Improvements

Post by AlexeyKnyshev »

Intel's Open-Source Technology Center has prepared a set of thirteen patches against Zlib to sharply improve the deflate performance.

Jim Kukunas of Intel OTC published the set of 13 patches on Monday that include medium and quick deflate strategies, a faster hash function with SSE 4.2 support, PCLMULQDQ-optimized CRC folding, SSE2 hash shifting, and other changes/tuning.

In terms of the deflate performance changes for Zlib with these patches, Jim noted that for an Intel Core i5 2530M (Sandy Bridge) system, level one compression is 71% faster with a sacrifice of about 30% compression (which more exciting for Ogre), level 6 is about 50% faster with no real change in compression, and level 9 is about 22% faster with no change at all in the compression.

More details on the Zlib DEFLATE performance improvements that will hopefully be merged soon into the data compression library can be found via the Zlib mailing list.

News from http://www.phoronix.com/ (Original)
Voltage Engine - boost your ogre project with realtime physics and interactive scripting!
OgreBullet & CMake - easy to use bullet physics integration.
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: [NEWS][ZLIB] Intel Makes Major Zlib Performance Improvem

Post by masterfalcon »

That's pretty exciting. It'll be great for those changes to get merged in.
oiram
Halfling
Posts: 87
Joined: Sun Dec 13, 2009 5:06 am
x 6

Re: [NEWS][ZLIB] Intel Makes Major Zlib Performance Improvem

Post by oiram »

Great news!!!
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: [NEWS][ZLIB] Intel Makes Major Zlib Performance Improvem

Post by bstone »

Very interesting but how would increased compression performance benefit Ogre exactly?
User avatar
Kojack
OGRE Moderator
OGRE Moderator
Posts: 7157
Joined: Sun Jan 25, 2004 7:35 am
Location: Brisbane, Australia
x 534

Re: [NEWS][ZLIB] Intel Makes Major Zlib Performance Improvem

Post by Kojack »

In the top post it said decompression was 71% faster (with a compression ratio loss) or 50% with almost no compression loss.
bstone
OGRE Expert User
OGRE Expert User
Posts: 1920
Joined: Sun Feb 19, 2012 9:24 pm
Location: Russia
x 201

Re: [NEWS][ZLIB] Intel Makes Major Zlib Performance Improvem

Post by bstone »

Kojack wrote:In the top post it said decompression was 71% faster (with a compression ratio loss) or 50% with almost no compression loss.
Didn't it say "level one compression is 71% faster with a sacrifice of about 30% compression"? Which makes sense to me. While gaining decompression speed while sacrificing compression level does not (for deflate)!
Post Reply