Coda File System

private mapping a server

From: Phil Nelson <phil_at_cs.wwu.edu>
Date: Wed, 22 Dec 1999 10:47:46 -0800 (PST)
I just thought some of you might be interested in the difference
in server startup between anonymous mapping and private mapping.
This server has 500MB RVM data, 1 volume, no files in the volume.
It also has 1G swap space.  The machine is the ECE machine loaned
to me by the project.

Script started on Wed Dec 22 10:07:05 1999
bash-2.03# pstat -s
Device      1024-blocks     Used    Avail Capacity  Priority
/dev/wd0b        512064     3360   508704     1%    0
/dev/wd1b        524288        4   524284     0%    0
Total           1036352     3364  1032988     0%
bash-2.03# startserver
^Z
[1]+  Stopped                 startserver
bash-2.03# bg
[1]+ startserver &
bash-2.03# cat /vice/srv/SrvLog
10:07:23 New SrvLog started at Wed Dec 22 10:07:23 1999

10:07:23 Resource limit on data size are set to 1073741824

10:07:23 Server etext 0x108ea4, edata 0x12247c
10:07:23 RvmType is Rvm
10:07:23 Main process doing a LWP_Init()
10:07:23 Main thread just did a RVM_SET_THREAD_DATA

10:07:23 Setting Rvm Truncate threshhold to 5.

Partition /vicepa: inodes in use: 0, total: 1048576.
10:09:41 Partition /vicepa: 5346725K available (minfree=5%), 5312484K free.
10:09:41 The server (pid 3581) can be controlled using volutil commands
10:09:41 "volutil -help" will give you a list of these commands
10:09:41 If desperate,
                "kill -SIGWINCH 3581" will increase debugging level
10:09:41        "kill -SIGUSR2 3581" will set debugging level to zero
10:09:41        "kill -9 3581" will kill a runaway server
10:09:41 Vice file system salvager, version 3.0.
10:09:41 SanityCheckFreeLists: Checking RVM Vnode Free lists.
10:09:41 DestroyBadVolumes: Checking for destroyed volumes.
10:09:41 Salvaging file system partition /vicepa
10:09:41 Force salvage of all volumes on this partition
10:09:42 Scanning inodes in directory /vicepa...
10:09:53 SFS: There are some volumes without any inodes in them
10:09:53 SalvageFileSys:  unclaimed volume header file or no Inodes in volume 20
00001
10:09:53 SalvageFileSys: Therefore only resetting inUse flag
10:09:53 SalvageFileSys completed on /vicepa
10:09:53 VAttachVolumeById: vol 2000001 (t.middle.0) attached and online
10:09:53 Attached 1 volumes; 0 volumes not attached
lqman: Creating LockQueue Manager.....LockQueue Manager starting .....
10:09:54 LockQueue Manager just did a rvmlib_set_thread_data()

done
10:09:54 CallBackCheckLWP just did a rvmlib_set_thread_data()

10:09:54 CheckLWP just did a rvmlib_set_thread_data()

10:09:54 ServerLWP 0 just did a rvmlib_set_thread_data()

10:09:54 ServerLWP 1 just did a rvmlib_set_thread_data()

10:09:54 ServerLWP 2 just did a rvmlib_set_thread_data()

10:09:54 ServerLWP 3 just did a rvmlib_set_thread_data()

10:09:54 ServerLWP 4 just did a rvmlib_set_thread_data()

10:09:54 ServerLWP 5 just did a rvmlib_set_thread_data()

10:09:54 ResLWP-0 just did a rvmlib_set_thread_data()

10:09:54 ResLWP-1 just did a rvmlib_set_thread_data()

10:09:54 VolUtilLWP 0 just did a rvmlib_set_thread_data()

10:09:54 VolUtilLWP 1 just did a rvmlib_set_thread_data()

10:09:54 Starting SmonDaemon timer
10:09:54 File Server started Wed Dec 22 10:09:54 1999

bash-2.03# vutil shutdown
kill: 384: No such process
bash-2.03# volutil shutdown
V_BindToServer: binding to host middlefork
Fileserver shutdown.
bash-2.03# startserver -mapprivate
[1]   Done                    startserver
^Z
[2]+  Stopped                 startserver -mapprivate
bash-2.03# bg
[2]+ startserver -mapprivate &
bash-2.03# cat /vice/srv/SrvLog
10:14:12 New SrvLog started at Wed Dec 22 10:14:12 1999

10:14:12 Resource limit on data size are set to 1073741824

10:14:12 Server etext 0x108ea4, edata 0x12247c
10:14:12 RvmType is Rvm
10:14:12 Main process doing a LWP_Init()
10:14:12 Main thread just did a RVM_SET_THREAD_DATA

10:14:12 Setting Rvm Truncate threshhold to 5.

Partition /vicepa: inodes in use: 0, total: 1048576.
10:14:12 Partition /vicepa: 5346725K available (minfree=5%), 5312484K free.
10:14:12 The server (pid 3621) can be controlled using volutil commands
10:14:12 "volutil -help" will give you a list of these commands
10:14:12 If desperate,
                "kill -SIGWINCH 3621" will increase debugging level
10:14:12        "kill -SIGUSR2 3621" will set debugging level to zero
10:14:12        "kill -9 3621" will kill a runaway server
10:14:13 Vice file system salvager, version 3.0.
10:14:13 SanityCheckFreeLists: Checking RVM Vnode Free lists.
10:14:13 DestroyBadVolumes: Checking for destroyed volumes.
10:14:13 Salvaging file system partition /vicepa
10:14:13 Force salvage of all volumes on this partition
10:14:13 Scanning inodes in directory /vicepa...
10:14:20 SFS: There are some volumes without any inodes in them
10:14:20 SalvageFileSys:  unclaimed volume header file or no Inodes in volume 2000001
10:14:20 SalvageFileSys: Therefore only resetting inUse flag
10:14:20 SalvageFileSys completed on /vicepa
10:14:20 VAttachVolumeById: vol 2000001 (t.middle.0) attached and online
10:14:20 Attached 1 volumes; 0 volumes not attached
lqman: Creating LockQueue Manager.....LockQueue Manager starting .....
10:14:20 LockQueue Manager just did a rvmlib_set_thread_data()

done
10:14:20 CallBackCheckLWP just did a rvmlib_set_thread_data()

10:14:20 CheckLWP just did a rvmlib_set_thread_data()

10:14:20 ServerLWP 0 just did a rvmlib_set_thread_data()

10:14:20 ServerLWP 1 just did a rvmlib_set_thread_data()

10:14:20 ServerLWP 2 just did a rvmlib_set_thread_data()

10:14:20 ServerLWP 3 just did a rvmlib_set_thread_data()

10:14:20 ServerLWP 4 just did a rvmlib_set_thread_data()

10:14:20 ServerLWP 5 just did a rvmlib_set_thread_data()

10:14:20 ResLWP-0 just did a rvmlib_set_thread_data()

10:14:20 ResLWP-1 just did a rvmlib_set_thread_data()

10:14:20 VolUtilLWP 0 just did a rvmlib_set_thread_data()

10:14:20 VolUtilLWP 1 just did a rvmlib_set_thread_data()

10:14:20 Starting SmonDaemon timer
10:14:20 File Server started Wed Dec 22 10:14:20 1999

bash-2.03# exit
exit

Script done on Wed Dec 22 10:14:59 1999

-- 
Phil Nelson                    NetBSD: http://www.netbsd.org
e-mail: [email protected]        Coda: http://www.coda.cs.cmu.edu
http://www.cs.wwu.edu/~phil    
Received on 1999-12-22 13:57:38