Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* DU 4.0a: large io leads to nearly locked machine
@ 1997-10-08  4:00 Mark Wiederspahn
  1997-10-08  4:00 ` Nick Hill
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wiederspahn @ 1997-10-08  4:00 UTC (permalink / raw)




Digital Unix 4.0a, 1 Gb memory, Alpha 600 5/333, 4.5 gb swap
March 1997 BL5 patches installed.

We're running a code which basically passes 5 Gb of user data
through memory many times, triple buffered. In a 1G machine,
there are 3 buffers, one read-ahead, one processing, one
write-behind, done with Posix aio and large io's (eg 300 Mb in
one io - the code is ported from a Cray). Run time if the cpu
is fully utilized with nearly 1G memory is 20+ days. If memory
is reduced, run time increases.

The timing of the io's is worst case - buffers are switched
when all 3 are done; usually the processing buffer is the last
to finish. The next read ahead and the next write behind ios are
started at the same time, so 600 Mb is in transit for a while.
[It would not be easy to change this...]

The Problem:   the machine nearly locks up in some sort of kernel
panic io mode at 100% system. No character echo in xterms,
no rpc calls, quite dead except for IP echoes. The larger the amount of
memory used by the process, the worse the lockup. At 500 Mb,
the system is obnoxiously unusable. At 700 Mb, the system locks
out for about 10 minutes at a time. At 900 mb, the system is nearly
always locked out. This lockout leads to loss of user cpu time as
well, so the process takes proportionally longer.

This is the only job running on the system; the system can be tuned
to run this one process as efficiently as possible.

I'm looking for a way to keep the UBC use minimized, or to declare
the data stream un-bufferable in the UBC, as none of the data read in
or written out will ever be used again. What I really want is direct io,
but I don't see any such facility in DU. I don't want to use raw disks
if I can possibly avoid it.

There is nothing particular about this program - any program which
has several large write's in progress can show this lockout behavior.
I have not tested reads.


Suggestions for kernel parameter diddling or other tuning gratefully accepted.

thanks,
mw



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-10-08  4:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-10-08  4:00 DU 4.0a: large io leads to nearly locked machine Mark Wiederspahn
1997-10-08  4:00 ` Nick Hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox