Re: [PATCH] zerocopy NFS updated

Hirokazu Takahashi (taka@valinux.co.jp)
Mon, 15 Apr 2002 10:30:13 +0900 (JST)


Hello, David

If you don't mind, could you give me some advises about
the sendpage mechanism.

I'd like to implenent sendpage of UDP stack which NFS uses heavily.
It may improve the performance of NFS over UDP dramastically.

I wonder if there were "SENDPAGES" interface instead of sendpage
between socket layer and inet layer, we could send some pages
atomically with low overhead.
And it could make implementing RPC over UDP easier
to send multiple pages as one UDP pakcet easily.

How do you think about this approach?

davem> I don't see it as a big problem and would just leave it as it is
davem> (for NFS and local)
davem>
davem> I agree with Andi. You can basically throw away my whole argument
davem> about this. Applications that require synchonization between the
davem> writer of file contents and reader of file contents must do some
davem> kind of locking amongst themselves at user level.

OK.

Regards,
Hirokazu Takahashi

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