I've got a server side vos-dump utility put together. It's bare bones, and
doesn't do any locking/etc., but it does work to create a vos dump file of a
volume without going through the volserver. I've attached the diff to the
vol/Makefile, and the two new files in vol that need to be added to create
'volutil', which at the moment, only supports the command 'dump'.

However, I haven't seen a tremendous speedup. Maybe 10-15% at most. From
looking at things, I'm really not sure where the slowdown is, but it appears
that most of the time is spent reading the source files. I'm not sure if
there is any way to speed that up or not. It's possible that by modifying
the DumpFile routine that I have copied for this vol dumper to use sendfile
could speed things up some, but I doubt all that much.

I have determined though that reiserfs is horrible for vice partitions for
vos dumps. (30 secs to dump 110MB/14k-files instead of 10 secs w/ ext2).
Maybe something with namei?

-- Nathan

------------------------------------------------------------
Nathan Neulinger                       EMail:  [EMAIL PROTECTED]
University of Missouri - Rolla         Phone: (573) 341-4841
Computing Services                       Fax: (573) 341-4216

dumpstuff.c

vol-info.c

vol-util.diff

Reply via email to