login
Header Space

 
 

Re: [PATCH 00/33] Swap over NFS -v14

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Peter Zijlstra <a.p.zijlstra@...>
Cc: Nick Piggin <nickpiggin@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-mm@...>, <netdev@...>, <trond.myklebust@...>
Date: Wednesday, October 31, 2007 - 8:16 am

Thoughts:

1) I absolutely agree that NFS is far more prominent and useful than any 
network block device, at the present time.


2) Nonetheless, swap over NFS is a pretty rare case.  I view this work 
as interesting, but I really don't see a huge need, for swapping over 
NBD or swapping over NFS.  I tend to think swapping to a remote resource 
starts to approach "migration" rather than merely swapping.  Yes, we can 
do it...  but given the lack of burning need one must examine the price.


3) You note

True, but IMO there are mitigating factors that should be researched and 
taken into account:

a) To give you some net driver background/history, most mainstream net 
drivers were coded to allocate RX skbs of size 1538, under the theory 
that they would all be allocating out of the same underlying slab cache. 
  It would not be difficult to update a great many of the [non-jumbo] 
cases to create a fixed size allocation pattern.

b) Spare-time experiments and anecdotal evidence points to RX and TX skb 
recycling as a potentially valuable area of research.  If you are able 
to do something like that, then memory suddenly becomes a lot more 
bounded and predictable.


So my gut feeling is that taking a hard look at how net drivers function 
in the field should give you a lot of good ideas that approach the 
shared goal of making network memory allocations more predictable and 
bounded.

	Jeff


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/33] Swap over NFS -v14, Peter Zijlstra, (Tue Oct 30, 12:04 pm)
Re: [PATCH 00/33] Swap over NFS -v14, Nick Piggin, (Tue Oct 30, 11:26 pm)
Re: [PATCH 00/33] Swap over NFS -v14, Peter Zijlstra, (Wed Oct 31, 7:27 am)
Re: [PATCH 00/33] Swap over NFS -v14, Jeff Garzik, (Wed Oct 31, 8:16 am)
Re: [PATCH 00/33] Swap over NFS -v14, Peter Zijlstra, (Wed Oct 31, 8:56 am)
Re: [PATCH 00/33] Swap over NFS -v14, Robin Humble, (Sun Nov 18, 2:09 pm)
Re: [PATCH 00/33] Swap over NFS -v14, Pavel Machek, (Fri Nov 2, 4:54 am)
Re: [PATCH 00/33] Swap over NFS -v14, Gregory Haskins, (Wed Oct 31, 9:44 am)
Re: [PATCH 00/33] Swap over NFS -v14, Arnaldo Carvalho de Melo, (Wed Oct 31, 9:18 am)
Re: [PATCH 00/33] Swap over NFS -v14, David Miller, (Wed Oct 31, 12:37 am)
Re: [PATCH 00/33] Swap over NFS -v14, Peter Zijlstra, (Wed Oct 31, 5:53 am)
Re: [PATCH 00/33] Swap over NFS -v14, Christoph Hellwig, (Wed Oct 31, 4:50 am)
Re: [PATCH 00/33] Swap over NFS -v14, Peter Zijlstra, (Wed Oct 31, 6:56 am)
Re: [PATCH 00/33] Swap over NFS -v14, Mike Snitzer, (Wed Oct 31, 10:54 am)
Re: [PATCH 00/33] Swap over NFS -v14, Evgeniy Polyakov, (Wed Oct 31, 12:31 pm)
NBD was Re: [PATCH 00/33] Swap over NFS -v14, Pavel Machek, (Wed Oct 31, 7:18 am)
Re: NBD was Re: [PATCH 00/33] Swap over NFS -v14, Peter Zijlstra, (Wed Oct 31, 7:24 am)
Re: [PATCH 00/33] Swap over NFS -v14, Nick Piggin, (Wed Oct 31, 12:04 am)
Re: [PATCH 00/33] Swap over NFS -v14, Byron Stanoszek, (Wed Oct 31, 10:03 am)
speck-geostationary