[comp.protocols.nfs] PC-NFS, buffers and caches

rcdswal@dutrun.UUCP (Guus van der Wal) (08/27/90)

This may have been asked before, but ..

One of our clients wants to use PC-NFS next to a
rather memory demanding application.
The two don't fit in memory together even in a barebone stripped
system.

The book says "PCNFS.SYS is approximately 75 KB (after allocating
buffer and cache structures)"
We discovered tha PC-NFS allocates buffers for drives D - V, where
our client needs only drive D.

Can we tell PC-NFS not to claim that many buffers and how much
memory can we gain this way

-- 
Guus van der Wal
Computing Centre Delft University of Technology, The Netherlands
USEnet: rcdswal@dutrun.tudelft.nl
BITnet: rcdswal@hdetud1.bitnet

geoff@hinode.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) (08/27/90)

Quoth rcdswal@dutrun.UUCP (G.v.d.Wal.) (in <1977@dutrun.UUCP>):
#This may have been asked before, but ..
#
#One of our clients wants to use PC-NFS next to a
#rather memory demanding application.
#The two don't fit in memory together even in a barebone stripped
#system.
#
#The book says "PCNFS.SYS is approximately 75 KB (after allocating
#buffer and cache structures)"
#We discovered tha PC-NFS allocates buffers for drives D - V, ....

Not true. PC-NFS tells DOS that it is a block device handling
units D to V, but it doesn't allocate any buffers for these
drives. It includes certain internal data structures for
8 drives, but this space is hard-coded and cannot be
reconfigured. It also includes a number of buffers, but the
number is not configurable.

#....  where
#our client needs only drive D.

Specifying LASTDRIVE=D will save a little space in DOS, which uses this
to determine how much space to allocate for the logical drive table.
You can also free up some space in PC-NFS by telling it that not to
reserve space for file locks or IP fragment reassembly buffers.
(Assuming you don't need them, of course!) This is all documented under
"Customizing PC-NFS" in the manual.


-- Geoff Arnold, PC-NFS architect, Sun Microsystems. (geoff@East.Sun.COM)   --

To receive a full copy of my .signature, please dial 1-900-GUE-ZORK.
Each call will cost you one zorkmid.

asbuilt@sjrpp.UUCP (SJRPP CAD Drafting Staff) (09/05/90)

In article <2488@east.East.Sun.COM> geoff@east.sun.com (Geoff Arnold @ Sun BOS - R.H. coast near the top) writes)
[] Quoth rcdswal@dutrun.UUCP (G.v.d.Wal.) (in <1977@dutrun.UUCP>):
[] #This may have been asked before, but ..
[] #
[] #One of our clients wants to use PC-NFS next to a
[] #rather memory demanding application.
[] #The two don't fit in memory together even in a barebone stripped
[] #system.
[] #
[] #The book says "PCNFS.SYS is approximately 75 KB (after allocating
[] #buffer and cache structures)"
[] #We discovered tha PC-NFS allocates buffers for drives D - V, ....
[] 
[] Not true. PC-NFS tells DOS that it is a block device handling
[] units D to V, but it doesn't allocate any buffers for these
[] drives. It includes certain internal data structures for
[] 8 drives, but this space is hard-coded and cannot be
[] reconfigured. It also includes a number of buffers, but the
[] number is not configurable.

What we do here at SJRPP is run QEMM Loadhi.

Here is one of our config.sys files:

DEVICE=C:\DOS\QEMM.SYS RAM ROM
FILES=40
buffers=2
device=C:\DOS\LOADHI.SYS c:\dos\ansi.sys
shell=c:\command.com /p /e:768
DEVICE=C:\DOS\LOADHI.SYS C:\NFS\PCNFS.SYS /f45 /i0 /l20 /r8 /s /t0
DEVICE=C:\NFS\SOCKDRV.SYS
DEVICE=C:\DOS\LOADHI.SYS C:\NFS\VECIE6.SYS /i5
DEVICE=C:\NFS\NFSVEC.SYS
LASTDRIVE=V
device=C:\DOS\LOADHI.SYS C:\TG\TMSINIT.COM 4

(Note that we can't loadhi DEVICE=C:\NFS\SOCKDRV.SYS or DEVICE=C:\NFS\NFSVEC.SYS)

Here is one of our autoexec.bat files:

SET TZ=EST5EDT
SET XTREE=C3NL
set cadovl=d:\cadovl
set lispheap=40000
set lispstack=5000
set acadfreeram=24
set le=D:\LE
PATH=C:\BAT;C:\DOS;C:\NFS;C:\TG;D:\ACAD\ACAD;C:\NORTON;D:\LE;C:\WIN386
LOADHI BUFFERS 32
prompt $p$g
MODE COM1:96,E,7,2
MODE COM2:96,e,7,1
SET ACADCFG=D:\ACAD\CFG\LASER
speed auto=on
d:
CD\ARTIST12
INTRO12 -FMI69058.INT -E
LOADHI ART12GT
GTICON ARTIST12.SET
CD\
c:
cd\
LOADHI C:\ASTUTIL\astcache /a+/s:384/t-/v/o/h/q/p+
SET NFSDRIVE=C
LOADHI PRT *
NET YPDOMAIN tsdcad
NET START RDR astcad *
NET YPSET sjrpp *
NET NAME *
NET UMASK 002
NET USE N: \\$YPSERVER\$HOME
IF ERRORLEVEL 1 GOTO SKIPIT
IF EXIST N:\AUTOEXEC.BAT N:\AUTOEXEC
:SKIPIT
net use p: \\sjrpp\home\common
PATH=C:\BAT;C:\DOS;P:\NFS;C:\TG;D:\ACAD\ACAD;C:\NORTON;D:\LE;C:\WIN386
menu


This pc is an AST Premium 386 with an Artist 12GT vidio board running ACAD R10.
After loading the drivers Norton SI reports 99 kbytes used, 541 kbytes available.
CHKDSK reports 533968 bytes free.
I can shell out of ACAD and run just about anything!!!

-- 
CADD Drafting Staff     UUCP:...gatech!uflorida!unf7!sjrpp!asbuilt
St. Johns River Power Park -------- Technical Services Deptartment
Jacksonville, FL 32226                         PHONE:(904)751-7835