Re: [Algorithms] Comparing apples to apples : compression libraries
Brought to you by:
vexxed72
|
From: Paul at H. <pa...@ru...> - 2008-03-26 22:11:04
|
That would be a bad assumption to make, sadly. The memory is so piss poor on consoles that L2 misses are more akin to reading from a particularly bad DVD than actual ram. A miss on X360 for example costs about 600 cycles. Think how much you could acheive in that time, and that's for every single miss. Therefore, doing more math and calculating values over and over instead of reading from say, a large hashing table, would give massive wins. So much so that you just can't compare with a PC in terms of relative speeds. If the PC code stays in the cache and the console code doesn't, you could be out by orders of magnitude. Comparing assumed timings on console vs pc just by looking at the CPU speed is like working out who the worst dressed guy in the office is based on what you all had for dinner last week. :) Regards, Paul Johnson. www.rubicondev.com ----- Original Message ----- From: "John Ratcliff" <jra...@in...> To: "Game Development Algorithms" <gda...@li...> Sent: Wednesday, March 26, 2008 9:16 PM Subject: Re: [Algorithms] Comparing apples to apples : compression libraries > This was on a very high end PC. I'm as much interested in the relative > differences than anything else which I think would be roughly the same on > consoles. If you any other codecs to suggest, I will be happy to add > them, > so long as the integration isn't too obnoxious. > > John > > Glen Miner writes: > >> I'm curious what hardware this was tested on. My experiments with zlib on >> consoles was very disappointing. >> >> peace >> >> "John W. Ratcliff" <jo...@si...> wrote in message >> news:004f01c88ed0 >> >> Testing Compression rate and speed with various compressors. >> --------------------------------------------------------------- >> Compress:CT_CRYPTO :FROM: 10,436,335 TO: 2,498,433 23% 1,170 MS >> Compress:CT_MINILZO :FROM: 10,436,335 TO: 3,940,072 37% 97 MS >> Compress:CT_ZLIB :FROM: 10,436,335 TO: 3,299,771 31% 157 MS >> Compress:CT_BZIP :FROM: 10,436,335 TO: 2,270,695 21% 1,544 MS >> --------------------------------------------------------------- >> Testing Decompression speed with various decompressors. >> --------------------------------------------------------------- >> Decompress:CT_CRYPTO :FROM: 2,498,433 TO: 10,436,335 258 MS >> Decompress:CT_MINILZO :FROM: 3,940,072 TO: 10,436,335 42 MS >> Decompress:CT_ZLIB :FROM: 3,299,771 TO: 10,436,335 69 MS >> Decompress:CT_BZIP :FROM: 2,270,695 TO: 10,436,335 390 MS >> >> >> >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace >> _______________________________________________ >> GDAlgorithms-list mailing list >> GDA...@li... >> https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list >> Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > GDAlgorithms-list mailing list > GDA...@li... > https://lists.sourceforge.net/lists/listinfo/gdalgorithms-list > Archives: > http://sourceforge.net/mailarchive/forum.php?forum_name=gdalgorithms-list > > |