From: quillen@orion.fccc.edu (John Quillen)
Subject: DECthreads & NCS/RPC
Date: 26 Feb 93 02:44:41 GMT [thread overview]
Message-ID: <1mk06p$psi@rigel.fccc.edu> (raw)
Apologies for posting this to the osf group, but I know there are people who
read it that do threads.
I'm trying to combine DECthreads and RPC (NCS) in an application to do
distributed computing on a bunch of uni-processors (DEC 5000s w/Ultrix &
(soon) alphas w/OSF/1). When the rpc call is made the current thread seems
to wait for it. It doesn't yield, so I wind up with sequential distributed
computing, rather than parallel.
I've tried FIFO, RR & OTHER scheduling; controller at a higher priority
than the worker threads and vice versa for all three. Nothing seems make
the rpc thread yield to the controller thread. It seems rpc$sar() (in
proj_cstub.c) blocks until it gets the results back from the remote
host, and the thread isn't detecting this as a block. I can't see
a way to insert a pthread_yield(), since I don't have (and don't really
want) access to rpc$sar().
I'm probably going to try switching my threading algorithm around. I hope
to soon have DCE and start using it. Maybe that'll give me more control?
Thanks for any ideas,
John
--
John Quillen JW_Quillen@fccc.edu Phone: (215) 728-3660 FAX: (215) 728-2513
Research Computing Services / The Fox Chase Cancer Center / Phila. PA, USA
Pop quiz: Define the Universe, give two examples.
next reply other threads:[~1993-02-26 2:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-02-26 2:44 John Quillen [this message]
1993-02-27 8:12 ` DECthreads & NCS/RPC Watanabe Maki
1993-02-27 10:43 ` Journal ? Frederic Montoya
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