Images: PhotoResize multi-core compati...
Images: PhotoResize multi-core compati...
RealWorld Graphics logo    
Not logged in.  
IndexSoftwareGraphicsArticlesDiscussMore...

Login/Register
Forum List
Announcements
Icons and Cursors
Images
3D graphics
Win32 C/C++/VB
.NET C#/C++/VB
Tips and tricks
General discussion
User List
Search this site using Google

Windows Vista icons

Find out how Vista icons differ from XP icons.

See how RealWorld Icon Editor handles Vista icons.

Select background

Back to forum Images

PhotoResize multi-core compatible?

I have a quad-core and its a shame it only uses one processor. :

2008-04-13Author: BossTurbo
Is there anyway to make it use all four?

Thanks,
-brian

2008-04-13Author: Vlasta
Only by running several instances of the application in parallel. If you have a lot of files to process, it could help to divide them into 4 folders and processing the folders in parallel. Hard disk performance may be the bottle neck in some cases.

I will consider to update the program itself to make use of multiple cores when only one image is being processed, but it is hard to say when and whether it will have a significant effect. While the resizing itself is relatively easy to parallelize, some parts of the jpeg encoding/decoding are not.

2008-04-14Author: BossTurbo
Thank you for the response but it would be a major undertaking to divide the folders/subfolders into four, then put it back together. I tested it by running 4 instances of the program in parallel and it worked great, just under four times as fast.

I'm not sure I follow... update it to use multiple cores for processing just one image? I'm not really seeing the advantage of that?

Again, thanks for the great product, I've donated some and still think it's worthwhile, but now I need to find the fastest way to process about 3000 8 megapixel images.

-brian

2008-04-14Author: Vlasta
Many people use the tool to just resize 1 image and if resizing of a single image would be faster, it would help everybody. But you are right, parallelism at the file level should be enough.

If you can wait a few days, I will try to add this feature and two others that were planed for the next version.

2008-04-14Author: Vlasta
...uhm, it was not that hard to update the app after all. You can try the upcoming version right now. I hope there are not any hidden bugs...

2008-04-15Author: BossTurbo
Works awesome!! Thank you so much.

A small request with regards to the multi-core... can you easily add a way to specify either how much CPU to use or how many cores? I don't necessarily want the system going full throttle on it all the time. If you don't add this I'll still be a very happy camper, just putting this out there!

2008-04-15Author: Vlasta
Well, it would be possible, but I guess a bit too much trouble to implement. You can use Task Manager to specify on which logical CPUs is an application allowed to run (right-click the PhotoResize....exe process in Task Manager and select "Set Affinity..." in context menu). Alternatively, you can lower the process's priority and then it will only run after other processes have had their share of the CPU.

2008-04-15Author: BossTurbo
oh awesome i never knew that!


Post Reply

Please login or register before posting.

Message text:


Back to forum Images

Copyright © 2005-2007 RealWorld Graphics. Contact: info@rw-designer.com.