tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: tsh () mrc-lmb ! cam ! ac ! uk (T !  S !  Horsnell)
To: tru64-unix-managers
Subject: user-forced ubc flush
Date: Fri, 08 Oct 1999 12:42:28 +0000	[thread overview]
Message-ID: <96079079016032.tru64-unix-managers.marc@archive.invalid> (raw)

Does anyone know a means whereby a user can force a flush of the
UBC to disk?

We have noted that on a lightly loaded machine, if a user does a copy
of a large amount of data from one disk to another, the data
may not actually reach the destination disk for some time, but sits in the
UBC instead. If the user then does a diff on these files to make
sure that the copy is OK, a) he is not checking the source against 
disk copy, but merely a copy possibly all in UBC, and b) if
he then deletes the source and the machine crashes before the
UBC is flushed, large amounts of data can be lost.

With a ubc_maxpercent = 100 and  4Gb mem, I have seen it take
5 minutes to umount a disk (the only way I know to force such a flush)
after a filesystem copy to it. sync doesnt achieve this, despite the
statement in the man pages that sync writes all unwritten system-buffers
to disk. Does anyone have a feeling for the likely performance-hit
if I mount all disks -osync?

Cheers,
Terry.



Terry Horsnell (tsh@mrc-lmb.cam.ac.uk)
Computer Manager
Medical Research Council
Lab of Molecular Biology
Hills Road
CAMBRIDGE CB2 2QH
U.K.
+44 (0)1223 248011

                 reply	other threads:[~1999-10-08 12:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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