From: jonathan@mv.mv.com (Jonathan Eunice)
Subject: Re: DECthreads
Date: Sun, 21 Aug 1994 23:12:34 GMT [thread overview]
Message-ID: <Cuwr4z.B4E@mv.mv.com> (raw)
In-Reply-To: Cuq0I7.5r5@ncgrafix.demon.co.uk
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
prev parent reply other threads:[~1994-08-21 23:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-08-18 7:51 DECthreads Mark Wassell
1994-08-21 23:12 ` Jonathan Eunice [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox