Re: High Number of arp Requests from NFS

ak@muc.de
Thu, 6 May 1999 18:54:30 +0200


On Thu, May 06, 1999 at 06:37:52PM +0200, kuznet@ms2.inr.ac.ru wrote:
> Hello!
>
> > My patch is ugly I know, it should be some generic socket method.
> > But what do you think about its basic functionality?
>
> Certainly, it is OK. Only I do not believe that it is really
> important yet, especially on client side.
>
> I still think forward progress notifications may be done
> only if a way to make it with zero cost exists, which is not true in the case.
> At least theoretically, background arp made each 20 sec is better
> than foreground notification on every transaction.
>
> [ BTW my client really did the notifications, but only due to the fact
> that it uses only connected sockets, so that it is really zero cost
> and not so ugly.
> ]

I agree with your arguments.

I think it can be done with zero cost with some hacks and swapping
sk->dst_cache all the time. Let's see if I can get it too work without
too many changes. If not 2.2 will have to live with that problem.

In 2.3 a cleaner facility would be appreciated
(the internal interface could keep some overhaul anyways for NFS, currently
it does far too much copying and is rather inefficient)

-And

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/