* DECthreads
@ 1994-08-18 7:51 Mark Wassell
1994-08-21 23:12 ` DECthreads Jonathan Eunice
0 siblings, 1 reply; 2+ messages in thread
From: Mark Wassell @ 1994-08-18 7:51 UTC (permalink / raw)
Two questions:
1. What are peoples experiences in turning an existing single thread program
into a multithreaded one. How easy/difficult was it, what are the
pitfalls and what performance improvements are there. Our system is a
Cadcam system and as such does a lot of number crunching, a fair amount
of graphics IO and bursts of disk IO. Could the latter two be put
into their own threads?
2. Are there any example programs out there. I found two in the online
documentation but haven't found a way of extracting them (I'll be
**** if I'm going to type them in).
Thanks in advance.
___ ___
|\ | | Mark Wassell
| \ |\ \ | N.C. Graphics,
| \| \__ \__| Waterbeach, Cambridge
N.C. Graphics (Cambridge) Ltd. Tel:(0223) 861539 UK, CB5 9NN
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DECthreads
1994-08-18 7:51 DECthreads Mark Wassell
@ 1994-08-21 23:12 ` Jonathan Eunice
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Eunice @ 1994-08-21 23:12 UTC (permalink / raw)
Mark Wassell (mark@ncgrafix.demon.co.uk) wrote:
: 1. What are peoples experiences in turning an existing single thread program
: into a multithreaded one. How easy/difficult was it, what are the
: pitfalls and what performance improvements are there. Our system is a
: Cadcam system and as such does a lot of number crunching, a fair amount
: of graphics IO and bursts of disk IO. Could the latter two be put
: into their own threads?
Difficulty can range from "not too bad" to "very hard." In general,
expect "very hard." If it's less, you'll be plesantly surprised.
If it's as hard as it often is--you are, after all, trying to add
concurrency, a notoriously tricky optimization--you will be prepared.
You might be able to separate out one or more crunching threads,
one or more graphics I/O threads, and one or more disk I/O threads.
How much good this will do depends. If the work can overlap, or
if there are long I/O delays, threads can be a real boost. If
there are many interdependencies, you're going to have to work
harder to get any improvement at all. But saying how much you're
likely to get would take far more info about your program layout
than you've given.
jse
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-08-21 23:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-08-18 7:51 DECthreads Mark Wassell
1994-08-21 23:12 ` DECthreads Jonathan Eunice
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox