Results 1 to 4 of 4

Thread: Fastet Packjpg on the way ?

  1. #1
    Member
    Join Date
    Sep 2007
    Location
    Denmark
    Posts
    856
    Thanks
    45
    Thanked 104 Times in 82 Posts
    just got this reply from Matthias Stirner


    Hi Sven,


    you wrote:

    > When PacJPG is about to (de)compress bunch of files (E.G. PackJPG img*.jpg), instead of doing them one by one, do a bunch in parrallel.
    > That should make a nice bost in performance for dual and quadcore owners at the cost of a little memory.

    I actually don't know much about multithreaded programming yet, but what you suggested should be possible (while multithreaded compression of one file is not). I'll consider that, and include it in future packJPG versions if possible. Thanks for the suggestion.


    Best Regards,
    Matthias Stirner


    I'm just about to cry

  2. #2
    The Founder encode's Avatar
    Join Date
    May 2006
    Location
    Moscow, Russia
    Posts
    3,954
    Thanks
    359
    Thanked 332 Times in 131 Posts
    I think, at some point, the power of multithreading is overestimated. In many algorithms, it may give no improvement. Anyway, processing many files simultaneously is good idea – you may do this by yourself – running multiple executables. Sometimes I do the same thing with LAME while I do encode WAV files to MP3.

  3. #3
    Member
    Join Date
    Sep 2007
    Location
    Denmark
    Posts
    856
    Thanks
    45
    Thanked 104 Times in 82 Posts
    #Encode

    I do that already. (running multi instances) but it can be difficult to do on a folder with 100's of JPEG's.
    With a built in function it much easier-. off cause the memory requirements is going to something like 4x , but it hardly an issue for people on Quad's

  4. #4
    Member
    Join Date
    Oct 2007
    Location
    Germany, Hamburg
    Posts
    408
    Thanks
    0
    Thanked 5 Times in 5 Posts
    Quote Originally Posted by encode
    I think, at some point, the power of multithreading is overestimated. In many algorithms, it may give no improvement.
    You see it from the wrong side. Multithreadting is the system of the future. But yes on some problems you cannot use it or it is so complicated to build it in. That it isn?t at least faster :-P

    In packjpg it?s only interesting for me if it will be yoused for the archive format

Similar Threads

  1. PreComp + PackJPG
    By squxe in forum Data Compression
    Replies: 2
    Last Post: 16th May 2008, 19:53
  2. PackJPG v2.2 released!
    By LovePimple in forum Forum Archive
    Replies: 29
    Last Post: 3rd February 2008, 20:42
  3. PackJpg brute force methofs
    By SvenBent in forum Forum Archive
    Replies: 19
    Last Post: 2nd October 2007, 09:11
  4. Some hidden switches in PackJPG
    By Raymond_NGhM in forum Forum Archive
    Replies: 1
    Last Post: 2nd October 2007, 09:11
  5. PackJPG v2.0 released!
    By LovePimple in forum Forum Archive
    Replies: 3
    Last Post: 18th June 2007, 03:57

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •