Page 1 of 1
Multi-Threading
Posted: Sat Aug 12, 2006 10:44 pm
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>
Re: Multi-Threading
Posted: Wed Aug 16, 2006 1:28 pm
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, ....)
Re: Multi-Threading
Posted: Wed Aug 16, 2006 1:37 pm
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?
Multi-CPU
Posted: Wed Aug 16, 2006 6:42 pm
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.
Re: Multi-CPU
Posted: Wed Aug 16, 2006 8:01 pm
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.
Posted: Fri Dec 15, 2006 12:57 am
by Olivier_G
Are HT/Multi-Core handled in Beta 5?
(I guess not... and move it to Postponed for a future version)