tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: update using 99% of the cpu
@ 1999-08-16 21:53 Franc Carter
  0 siblings, 0 replies; only message in thread
From: Franc Carter @ 1999-08-16 21:53 UTC (permalink / raw)
  To: tru64-unix-managers


Ithanks to alan@nabeth.cxo.dec.com for his, unfortunatly it looks
like it's just due to the way that the app uses the disk. I have
included his reply below. For those that come across this problem
and have the 'spare memory', I set up a ram disk for the app to write
to, which improved this considerably.

> User mode or kernel mode time?  Also, is there a fairly
> heavy I/O load when update is running?

> If the application is writing to a UFS (instead of AdvFS)
> the file system uses two algorithms to retire dirty data
> written to the cache; if the transfer is the right size
> and alignment it schedules the write immediately and returns
> asynchronously otherwise it simply copies the data to the
> cache and lets sync worry about it.  If the application is
> doing the wrong size or poorly aligned writes, then the
> buffer cache can quickly fill with dirty data.  Since the
> cache is all of free memory, when a sync(2) comes around
> it can have a lot of work to do.

--
Franc Carter                            MEMLab, University of Sydney
Ph: 61-2-9351-7819                      Fax: 9351-6461

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-08-16 21:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-16 21:53 SUMMARY: update using 99% of the cpu Franc Carter

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