Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Limiting disk buffers
@ 1997-04-02  5:00 Dave
  1997-04-03  5:00 ` Jeffrey Mogul
  1997-04-04  5:00 ` D. Sean Davidson
  0 siblings, 2 replies; 3+ messages in thread
From: Dave @ 1997-04-02  5:00 UTC (permalink / raw)



Can anyone help please with a bijou tuning problemette?

Unix dynamically allocates disk buffers depending on what is going on at
the time. When there is a lot of memory available, it will buffer huge
amounts of data in memory, whcih is fine, until you need the memory. Then
there is a *long* delay while it flushes to disk. 

I think there are some tunable params for the kernel config file which will
limit the max amount of mem to use for buffering. There usually is, but I
can't seem to find what the key word is in any of the docco, or the units
it works in.

Did I dream it? Is there such a beast on D unix?

I am on D Unix V3.2D, running on a Alphaserver 400.

Thanks

Dave

David Wigg: email: david.wigg@olsy.co.uk
Header modified to avoid spam mailers.



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

* Re: Limiting disk buffers
  1997-04-02  5:00 Limiting disk buffers Dave
@ 1997-04-03  5:00 ` Jeffrey Mogul
  1997-04-04  5:00 ` D. Sean Davidson
  1 sibling, 0 replies; 3+ messages in thread
From: Jeffrey Mogul @ 1997-04-03  5:00 UTC (permalink / raw)



In article <01bc3f6a$964ad0a0$533fa8c2@dwigglaptop.infonet>, "Dave" <david.wigg@REMOVEolsy.co.uk> writes:
|> Unix dynamically allocates disk buffers depending on what is going on at
|> the time. When there is a lot of memory available, it will buffer huge
|> amounts of data in memory, whcih is fine, until you need the memory. Then
|> there is a *long* delay while it flushes to disk. 
|> 
|> I think there are some tunable params for the kernel config file which will
|> limit the max amount of mem to use for buffering. There usually is, but I
|> can't seem to find what the key word is in any of the docco, or the units
|> it works in.
|> 
|> Did I dream it? Is there such a beast on D unix?
|> 
|> I am on D Unix V3.2D, running on a Alphaserver 400.

I believe that the two parameters of interest are 
	vm: ubc-minpercent = 10
	vm: ubc-maxpercent = 100
(those are the settings on a random V4.0 machine I checked around
here.)  I believe that these were available on V3.2D.

From:
    http://www.digital.com/info/internet/document/ias/tuning.html

    This parameter can improve virtual memory paging performance. The
    default value is 100%. If your system exhibits excessive virtual
    memory system paging, DIGITAL recommends carefully reducing the
    value from 100% in decrements of 10% to improve performance.

-Jeff



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

* Re: Limiting disk buffers
  1997-04-02  5:00 Limiting disk buffers Dave
  1997-04-03  5:00 ` Jeffrey Mogul
@ 1997-04-04  5:00 ` D. Sean Davidson
  1 sibling, 0 replies; 3+ messages in thread
From: D. Sean Davidson @ 1997-04-04  5:00 UTC (permalink / raw)



Setting these values in your /etc/sysconfigtab when you system reboots
will cause the unified buffer cache (ubc) to not use all available
memory for data file caching.  These values will basically cause ufs
and advfs to only use 14% of memory for ubc entries and flush the dirty
buffers when more cache is needed.  The 4% is the amount of memory used
for internal buffers and structures.

Sean

vm:
 ubc-minpercent = 3
 ubc-maxpercent = 14
 ubc-borrowpercent = 10
 ubc-maxdirtywrites = 1

vfs:
 bufcache = 4

advfs:
 AdvfsCacheMaxPercent = 4



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

end of thread, other threads:[~1997-04-04  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-04-02  5:00 Limiting disk buffers Dave
1997-04-03  5:00 ` Jeffrey Mogul
1997-04-04  5:00 ` D. Sean Davidson

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