Why is newfs and ufsdump so much slower in single user mode than in run level 3?

From: Steven Sim (steven.sim@faplccc.net)
Date: Fri Jun 16 2006 - 14:17:17 EDT


Hello;

I frequently conduct the following operation;

#ufsdump 0f - <unmounted ufs raw device> | (cd /mnt; ufsrestore xf -)

I have noticed that the above takes place so much slower in single user
mode than in multi user mode.

A newfs operation on a local block device is also much slower in single
user mode than in run level 3.

I'm sure there is a reason for this but it eludes me.....

Also, would the mounting /mnt with the ufs forcedirectio option make the
ufsrestore faster?

e.g.

#mount -F ufs -o forcedirectio /dev/dsk/c1t1d0s5 /mnt

Warmest Regards
Steven Sim

Fujitsu Asia Pte. Ltd.
_____________________________________________________

This e-mail is confidential and may also be privileged. If you are not the intended recipient, please notify us immediately. You should not copy or use it for any purpose, nor disclose its contents to any other person.

Opinions, conclusions and other information in this message that do not relate to the official business of my firm shall be understood as neither given nor endorsed by it.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:40:09 EDT