NFS Performance issue against NetApp
Jeremy Chadwick
jdc at koitsu.org
Wed May 15 00:23:59 UTC 2013
On Wed, May 15, 2013 at 03:19:21AM +0300, Daniel Kalchev wrote:
>
> >
> >> Probably off-topic but worth pointing out: I do not know about Solaris,
> >> but Linux has multiple layers of caching, and is well-known for doing
> >> things like caching (and aggregating!) reads/writes to **block** devices
> >> (this is why on Linux you have to make sure to avoid caching your
> >> application use O_DIRECT with open(2) or other mechanisms -- the BSDs do
> >> not do this, block devices are always non-cached).
> >
> > Caching *should* only come into play after the first run of the application ⦠the first run after a reboot of the server shouldn't have anything in cache yet for caching to come into play
> >
>
> Or, instead of issuing 30 separate NFS calls over the network, issue just one. With more latency the difference will be more pronounced.
>
> I believe Jeremy was referring more to the aggregating aspect, which might produce significant difference for poorly written software.
Thanks Daniel -- yes, correct. :-)
--
| Jeremy Chadwick jdc at koitsu.org |
| UNIX Systems Administrator http://jdc.koitsu.org/ |
| Mountain View, CA, US |
| Making life hard for others since 1977. PGP 4BD6C0CB |
More information about the freebsd-fs
mailing list