tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "T. Horsnell" <tsh@mrc-lmb.cam.ac.uk>
Subject: SUMMARY: slow vrestore
Date: Mon, 16 Jan 2006 10:16:08 +0000 (GMT)	[thread overview]
Message-ID: <E1EyRPE-000gdS-SZ@alf1.lmb.internal> (raw)

Many thanks to all who replied.
Brad Bell hit the nail on the head.
I was trying to vrestore a 150Gbyte saveset containing many small files
(at least 2 million) to a UFS filesystem.
Since the default action on a UFS filesystem is to sync the metadata
to disk every time a file is closed, the write-rate slows drastically
when handling small files. iostat was sometimes reporting < 1Mbyte/sec
during small-file recovery, compared with 35-40Mbytes/sec when recovering
batches of big files.

There is a UFS mount option, '-o delayed', which prevents this per-file
syncing and which is documented in the man pages for mount (pity its not
mentioned in 'man vrestore') and which made a huge difference to my vrestore
speed. I got a tenfold increase in speed with this option applied
(reduced from 60 hours to 6.5).

Thanks again,
Terry.


                 reply	other threads:[~2006-01-16 10:16 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