[Flac-dev] Proof-of-concept multithreaded FLAC encoder (take 2)

2008-05-13 Thread Frederick Akalin
Hey again FLAC devs, I managed to hack out another proof-of-concept multithreaded FLAC encoder that is more amenable to streaming and also uses a fixed buffer size. The performance is pretty much the same as my earlier version; that is, I can encode a 636 MB wave file in ~7s with 8 threads on an

[Flac-dev] Proof-of-concept multithreaded FLAC encoder

2008-05-06 Thread Frederick Akalin
Hey FLAC devs, I managed to hack out a proof-of-concept multithreaded FLAC encoder based on the example libFLAC one. It turned out to be fairly straightforward to get near-linear speedup; I can encode a 636 MB wave file in 6.8s with 8 threads on an 8-core 3.0 GHz Xeon vs. 31.4s with a single

Re: [Flac-dev] Proof-of-concept multithreaded FLAC encoder

2008-05-06 Thread Brian Willoughby
Frederick, This is great news! Thanks for your effort. Your proof-of-concept raises a few questions for me: 1) I know that the ratio of uncompressed to compressed data is unpredictable, but I never really considered whether the input block size or the output block size is constant. I'm

Re: [Flac-dev] Proof-of-concept multithreaded FLAC encoder

2008-05-06 Thread Frederick Akalin
On Tue, May 6, 2008 at 2:03 PM, Brian Willoughby [EMAIL PROTECTED] wrote: Frederick, This is great news! Thanks for your effort. Your proof-of-concept raises a few questions for me: 1) I know that the ratio of uncompressed to compressed data is unpredictable, but I never really