Re: Swapping for diskless nodes

Bulent Abali (abali@us.ibm.com)
Thu, 9 Aug 2001 10:26:22 -0400


>In such a scenario I would disagree with Alan that network paging is
>high latency as compared to disk access. I have a fully switched 100 Mpbs
>full-duplex ethernet network, and sending a page across the net into
>the memory of a fast server could have much less latency that writing
>that page out to a local old, slow IDE disk.

Have you actually tried swapping over the network using nbd or any other
network device mounted as a swap disk? Never mind the latency. Does it
work at all? I am curious to know.

Last time I checked swapping over nbd required patching the network stack.
Because swapping occurs when memory is low and when memory is low TCP
doesn't do what you expect it to do...
Bulent

-
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/