* SUMMARY: slow vrestore
@ 2006-01-16 10:16 T. Horsnell
0 siblings, 0 replies; only message in thread
From: T. Horsnell @ 2006-01-16 10:16 UTC (permalink / 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.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-16 10:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-16 10:16 SUMMARY: slow vrestore T. Horsnell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox