* DECthreads & NCS/RPC
@ 1993-02-26 2:44 John Quillen
1993-02-27 8:12 ` Watanabe Maki
1993-02-27 10:43 ` Journal ? Frederic Montoya
0 siblings, 2 replies; 3+ messages in thread
From: John Quillen @ 1993-02-26 2:44 UTC (permalink / 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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: DECthreads & NCS/RPC
1993-02-26 2:44 DECthreads & NCS/RPC John Quillen
@ 1993-02-27 8:12 ` Watanabe Maki
1993-02-27 10:43 ` Journal ? Frederic Montoya
1 sibling, 0 replies; 3+ messages in thread
From: Watanabe Maki @ 1993-02-27 8:12 UTC (permalink / raw)
In article <1mk06p$psi@rigel.fccc.edu> quillen@orion.fccc.edu (John Quillen) writes:
> 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.
Hello, John.
The DECthread(CMA) is a "user context thread". For example,
it replaces "read" system call to the "cma_read" jacket routine
to implement "thread" on the OS without kernel thread service.
DECrpc v1.0(NCS) doesn't build to work with the DECthread, so
when the rpc library calls "read" then it will call the real "read",
and it blocks your program as you know.
FYI, the DCE RPC works with the DCE thread.
wm
--
Watanabe Maki General Service EIC/DEC-Japan
Internet maki@jit.dec.com || maki@jit.dec-j.co.jp
Easynet TKOV50::MA_WATANABE
^ permalink raw reply [flat|nested] 3+ messages in thread
* Journal ?
1993-02-26 2:44 DECthreads & NCS/RPC John Quillen
1993-02-27 8:12 ` Watanabe Maki
@ 1993-02-27 10:43 ` Frederic Montoya
1 sibling, 0 replies; 3+ messages in thread
From: Frederic Montoya @ 1993-02-27 10:43 UTC (permalink / raw)
Hello,
I've designed a parallel application based on OSF/DCE in the
field of Numerical Intensive Computing in materials science.
Does anybody know a journal where I can report for it ?
Thanks in advance.
Frederic.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1993-02-27 10:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-02-26 2:44 DECthreads & NCS/RPC John Quillen
1993-02-27 8:12 ` Watanabe Maki
1993-02-27 10:43 ` Journal ? Frederic Montoya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox