Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* nfs memory requirements
@ 1992-02-12 14:31 KENNY MCLEMORE
  1992-02-12 15:48 ` Marcus J. Ranum
  1992-02-14  4:43 `  Alan's Home for Wayward Notes File.
  0 siblings, 2 replies; 6+ messages in thread
From: KENNY MCLEMORE @ 1992-02-12 14:31 UTC (permalink / raw)


nfs questions,

i interested in the memory overhead required to support file systems
mounted nfs, for both client and severs.  if there's a good nfs 
or general system tuning book available, let me know.

say you have a 1k file system mounted nfs versus 1gig, is more memory
required ?

if not required, what are the tradeoffs (ie. you can run with
16m of memory and still support a 1gig nfs file system but, but WHAT) ?

how about nfs file system usage, 1gig rarely used versus very active 1k ?

are there system tuning parameters normally adjusted to meet
specific nfs requirements ?

thanks in advance for any info, ken





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nfs memory requirements
  1992-02-12 14:31 nfs memory requirements KENNY MCLEMORE
@ 1992-02-12 15:48 ` Marcus J. Ranum
  1992-02-14 11:11   ` Roland Yeo
  1992-02-14  4:43 `  Alan's Home for Wayward Notes File.
  1 sibling, 1 reply; 6+ messages in thread
From: Marcus J. Ranum @ 1992-02-12 15:48 UTC (permalink / raw)


mclemore@gnd1.wtp.contel.com writes:

>say you have a 1k file system mounted nfs versus 1gig, is more memory
>required ?

	Not really. For reads, you're going to be using your system
buffer cache, so having lots of buffer cache will improve read performance
somewhat. For writes, since writes are synchonous, your bottleneck will
be disk write throughput (unless you have something like prestocache,
in which case you trade some CPU against disk throughput).

>if not required, what are the tradeoffs (ie. you can run with
>16m of memory and still support a 1gig nfs file system but, but WHAT) ?

	You can run with 16m of memory and support as much NFS filesystems
as you can hang onto your machine.

>how about nfs file system usage, 1gig rarely used versus very active 1k ?

	If you have a *VERY* active 1k, it'll all be in the read cache
on the server, but the bottleneck will remain writes, since they are
synchronous. It gets potentially amusing, since some NFS' cache partial
copies of the current block on the *client* for a short time, unless
you put some kind of locking in place, you're risking losing data if
it's a 1k file. The same applies for 1gb files, but it's presumably
less likely to bite you.

>are there system tuning parameters normally adjusted to meet
>specific nfs requirements ?

	Improve read throughput but increasing buffer cache. On ULTRIX
MIPS machines, you can set cache_bufcache in /sys/mips/conf/param.c to
be '1', which will cause the buffer cache information to be stored in
hardware cacheable data space, trading off cache performance for
performance of general purpose computing. For write throughput, you're
pretty much either limited to suffering, buying more expensive and
faster disks, or installing something like prestocache (which boosts
write speed ~300% or so)

mjr.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nfs memory requirements
  1992-02-12 14:31 nfs memory requirements KENNY MCLEMORE
  1992-02-12 15:48 ` Marcus J. Ranum
@ 1992-02-14  4:43 `  Alan's Home for Wayward Notes File.
  1 sibling, 0 replies; 6+ messages in thread
From:  Alan's Home for Wayward Notes File. @ 1992-02-14  4:43 UTC (permalink / raw)


In article <1992Feb12.143409.14141@europa.asd.contel.com>, mclemore@gnd1.wtp.contel.com (KENNY MCLEMORE) writes:
> nfs questions,
>
> i interested in the memory overhead required to support file systems
> mounted nfs, for both client and severs.  
> 
> say you have a 1k file system mounted nfs versus 1gig, is more memory
> required ?

	The memory requirements of NFS support come in form of;
	
	o  the base kernel support
	o  the group of processes that let NFS work

	For the first I built a copy of my kernel to get a baseline.
	Then I built a copy of it with NFS and RPC taken out.  The
	difference in size was about 240 KB.  There may tables that
	are allocated at boot which would use more space, but that's
	a little harder to test.

	The second is a little easier.  I just happen to have two
	systems one setup as a client using the defaults and the
	other as a server with also with the defaults.  On the
	client I have (output of ps aux):

USER       PID %CPU %MEM   SZ  RSS TT STAT   TIME COMMAND
root        66  0.0  0.1   32   16 ?  I      0:00 /etc/biod 4 (four of these)
root        57  0.0  0.2  112   96 ?  I      0:00 /etc/portmap

	This totals 240 KB.  On the server I have:

root       988  0.0  0.7  264  236 ?  I      0:00 /etc/mountd -i
root        60  0.0  0.4  136  112 ?  I      0:00 /etc/portmap
root        69  0.0  0.1   32   16 ?  I      0:06 /etc/biod 4 (4 of these)
root       993  0.0  0.2  140   64 ?  I      2:05 /etc/nfsd 4 (4 of these)

	This totals 1,088 KB.  For the sizes I'm using the SZ field.

	Are there any hidden memory costs?  Does it require memory
	that could be used somewhere else to mount an NFS served
	file system?  I doubt it.  The size of the kernel is pretty
	well fixed once booted.  The mount table is big enough for
	255 file systems.  But you'll that many whether or not you
	use NFS.

	There is big, somewhat hidden cost, but you won't be able to
	get rid of it.  The ability to support more than one file
	system caused the addition of an extra layer and some amount
	of attendent support code; the generic file system.  If you
	could take this out, lots of things would get smaller.

> say you have a 1k file system mounted nfs versus 1gig, is more memory
> required ?

	I don't believe that NFS cares how big the file system is.
> 
> if not required, what are the tradeoffs (ie. you can run with
> 16m of memory and still support a 1gig nfs file system but, but WHAT) ?

	See the previous.
> 
> how about nfs file system usage, 1gig rarely used versus very active 1k ?

	This is where NFS tuning into play.  If you have a busy file
	system (size doesn't matter), you'll probably want more nfsd
	and biod processes.  As these do require more memory, there
	will be a memory cost for more efficient usage.  More of these
	processes are NECESSARY, but they should improve client
	performance.  There's a NFS guide in the ULTRIX doc set that
	should explain what they do.  In the V4.2A doc set is a Performance
	Management guide that should also help.
> 
> are there system tuning parameters normally adjusted to meet
> specific nfs requirements ?

	This isn't particular to NFS, but if you have a read
	intensive environment, more buffer cache may help.  If
	you don't have a system that supports Prestoserve, about
	also you can do to help writes is spread them out over
	more disks.
> 
> thanks in advance for any info, ken
-- 
Alan Rollow				alan@nabeth.cxo.dec.com


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: nfs memory requirements
  1992-02-12 15:48 ` Marcus J. Ranum
@ 1992-02-14 11:11   ` Roland Yeo
  0 siblings, 0 replies; 6+ messages in thread
From: Roland Yeo @ 1992-02-14 11:11 UTC (permalink / raw)



>	You can run with 16m of memory and support as much NFS filesystems
>as you can hang onto your machine.

But does this require any special kernel parameters? 


At our site, we face problems when we increase the number of nfs daemons
beyond 8. The error message that we get is "kufastsend error on ln0".

Is there a way to tune the nfs parameters? Will increasing the number of
nfs daemons help the system performance?

Thanks for helping.

Roland Yeo
Nanyang Technological University Singapore

BITNET: ksyeo@ntuvax
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* RE: nfs memory requirements
@ 1992-02-14 11:15 Roland Yeo
  1992-02-21 16:32 ` TK50 Problems Ken Davidian
  0 siblings, 1 reply; 6+ messages in thread
From: Roland Yeo @ 1992-02-14 11:15 UTC (permalink / raw)


In article <1992Feb12.154821.13849@decuac.dec.com> writes:
>	You can run with 16m of memory and support as much NFS filesystems
>as you can hang onto your machine.


But does this require any special kernel parameters? 

At our site, we face problems when we increase the number of nfs daemons
beyond 8. The error message that we get is "kufastsend error on ln0".

Is there a way to tune the nfs parameters? Will increasing the number of
nfs daemons help the system performance?

Thanks for helping.

Roland Yeo
Nanyang Technological University Singapore

BITNET: ksyeo@ntuvax
 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* TK50 Problems ...
  1992-02-14 11:15 nfs memory requirements Roland Yeo
@ 1992-02-21 16:32 ` Ken Davidian
  0 siblings, 0 replies; 6+ messages in thread
From: Ken Davidian @ 1992-02-21 16:32 UTC (permalink / raw)


My office mate has a DEC 3100 and installed the newest version
of ULTRIX 4.2a. Before doing that install, he backed up his
file systems. After installing the new OS, he restored all his
files. BUT...

The one file system that wouldn't come off the tape was his 
/home...and this includes his Ph.D. work. He puts the tape in
the drive, pushes the little red button (you must forgive me...
I use a Sun, and the tape drives don't have these 'reset' buttons),
and nothing happens. I guess that there is no beginning of tape
marker on the tape, or at least that's what people here have told
my office mate. SO...

If the problem is the beginning of tape marker (or lack thereof),
is there a way to get the info off the tape? Is there a way to
add a beginning of tape marker to the tape? Are there other
solution possibilities we're not thinking of?

Thanks in advance for your help.

Ken Davidian
mozart@france.lerc.nasa.gov
--
Ken Davidian                    NASA Lewis Research Center	
mozart@france.lerc.nasa.gov	Mail Stop SPTD-4		
(216)977-7495			21000 Brookpark Road		
				Cleveland, Ohio 44135-3191	


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1992-02-21 16:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-02-14 11:15 nfs memory requirements Roland Yeo
1992-02-21 16:32 ` TK50 Problems Ken Davidian
  -- strict thread matches above, loose matches on Subject: below --
1992-02-12 14:31 nfs memory requirements KENNY MCLEMORE
1992-02-12 15:48 ` Marcus J. Ranum
1992-02-14 11:11   ` Roland Yeo
1992-02-14  4:43 `  Alan's Home for Wayward Notes File.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox