Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: danpop@mail.cern.ch (Dan Pop)
Subject: Re: Paging with Digital UNIX
Date: 1995/12/06	[thread overview]
Message-ID: <danpop.818283491@rscernix> (raw)
In-Reply-To: KHD.95Dec6100559@nano.atlas.de

In <KHD.95Dec6100559@nano.atlas.de> khd@nano.atlas.de (Karl-Heinz Dewenter) writes:

>We have a problem with Digital UNIX, concerning the paging mechanism.
>Our process is extremely large, using about 480 Mbyte virtual memory.
>There is 256 Mbyte physical memory present.
>In some phases the program touches nearly every page sequentially.
>In this situation the system "pauses" for about 60-80 seconds.
...
>Does anybody know about this phenomenon?

Yes, it's usually called "thrashing" and it isn't limited to Digital UNIX.

>Is there any method to avoid this long time of inactivity?

Here are a couple of methods:

1. Redesign and reimplement your application, to avoid touching nearly
   every page sequentially.

2. Add another 256 MB of RAM.

You can also try running your process at lower priority.  I heard people
saying that this helps in certain cases.

Dan
--
Dan Pop
CERN, CN Division
Email: danpop@mail.cern.ch 
Mail:  CERN - PPE, Bat. 31 R-004, CH-1211 Geneve 23, Switzerland



      reply	other threads:[~1995-12-06  5:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-12-06  5:00 Paging with Digital UNIX Karl-Heinz Dewenter
1995-12-06  5:00 ` Dan Pop [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