Multi-Threading

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
MaierMan
Posts: 78
Joined: Wed Aug 04, 2004 8:32 pm
Contact:

Multi-Threading

Post by MaierMan »

HT/Multi Core systems get rather popular these days.

XNView could also profit from it by putting in some multi-threading.

First place to add it might be thumbnail processing.
Even if it's just a single core system there might be performance gains as the OS will schedule-away the thread that is IOWait and continue with the other one(s) that got data (from disk) already.

Other places might be resizing/effects/filters.



PS: I know getting multi-threading right is damn hard ;)

V 1.90 <x>
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Multi-Threading

Post by xnview »

MaierMan wrote:HT/Multi Core systems get rather popular these days.

XNView could also profit from it by putting in some multi-threading.

First place to add it might be thumbnail processing.
Even if it's just a single core system there might be performance gains as the OS will schedule-away the thread that is IOWait and continue with the other one(s) that got data (from disk) already.

Other places might be resizing/effects/filters.



PS: I know getting multi-threading right is damn hard ;)
But i use multi threading for many things (thumbnail creation, preview laoding, cache, ....)
Pierre.
MaierMan
Posts: 78
Joined: Wed Aug 04, 2004 8:32 pm
Contact:

Re: Multi-Threading

Post by MaierMan »

xnview wrote:But i use multi threading for many things (thumbnail creation, preview laoding, cache, ....)
taskman shows only one core is heavily in use...
Do you have true parallelism?
User avatar
DOS386
Posts: 291
Joined: Sun Jun 11, 2006 2:43 pm

Multi-CPU

Post by DOS386 »

HT/Multi Core systems get rather popular these days
But there are also many Pentium 2...3 systems 200...500 MHz around.

Please keep XNView working on such older systems.
There is indeed no WinZIP under my rock.
MaierMan
Posts: 78
Joined: Wed Aug 04, 2004 8:32 pm
Contact:

Re: Multi-CPU

Post by MaierMan »

NTOSKRNL_VXE wrote:
HT/Multi Core systems get rather popular these days
But there are also many Pentium 2...3 systems 200...500 MHz around.

Please keep XNView working on such older systems.
Threads have been around for long, too.
The "overhead" it generates shouldn't be notable.
And threading might even help if you are running a "legacy" or newer single core PC.

Usually the drive read speed is the limiting factor anyway.
User avatar
Olivier_G
XnThusiast
Posts: 1423
Joined: Thu Dec 23, 2004 7:17 pm
Location: Paris, France
Contact:

Post by Olivier_G »

Are HT/Multi-Core handled in Beta 5?
(I guess not... and move it to Postponed for a future version)
Olivier
Post Reply