From: mjr@hussar.dco.dec.com (Marcus J. Ranum)
Subject: Re: nfs memory requirements
Date: Wed, 12 Feb 1992 15:48:21 GMT [thread overview]
Message-ID: <1992Feb12.154821.13849@decuac.dec.com> (raw)
In-Reply-To: 1992Feb12.143409.14141@europa.asd.contel.com
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.
next prev parent reply other threads:[~1992-02-12 15:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-02-12 14:31 nfs memory requirements KENNY MCLEMORE
1992-02-12 15:48 ` Marcus J. Ranum [this message]
1992-02-14 11:11 ` Roland Yeo
1992-02-14 4:43 ` Alan's Home for Wayward Notes File.
-- strict thread matches above, loose matches on Subject: below --
1992-02-14 11:15 Roland Yeo
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox