NFS Performance issue against NetApp
Daniel Kalchev
daniel at digsys.bg
Wed May 15 00:19:32 UTC 2013
>
>> 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.
Daniel
More information about the freebsd-fs
mailing list