* Re: Swapping over NFS in Linux 2.4?
2000-11-15 16:23 ` Rik van Riel
@ 2000-11-15 16:58 ` Nicolas Pitre
2000-11-15 20:59 ` Juri Haberland
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Nicolas Pitre @ 2000-11-15 16:58 UTC (permalink / raw)
To: Rik van Riel; +Cc: Andreas Osterburg, linux-kernel
On Wed, 15 Nov 2000, Rik van Riel wrote:
> On Wed, 15 Nov 2000, Andreas Osterburg wrote:
>
> > Because I set up a diskless Linux-workstation, I want to swap
> > over NFS. For this purpose I found only patches for "older"
> > Linux-versions (2.0, 2.1, 2.2?).
>
> > Does anyone know wheter there are patches for 2.4 or does anyone
> > know another solution for this problem?
>
> 1. you can swap over NBD
> 2. if you point me to the swap-over-nfs patches you
> have found, I can try to make them work on 2.4 ;)
Swap on the loop block device attached to a file over NFS seemed to work
too.
Nicolas
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Swapping over NFS in Linux 2.4?
2000-11-15 16:23 ` Rik van Riel
2000-11-15 16:58 ` Nicolas Pitre
@ 2000-11-15 20:59 ` Juri Haberland
2000-11-15 23:36 ` Pavel Machek
2000-11-16 15:55 ` Eric W. Biederman
3 siblings, 0 replies; 8+ messages in thread
From: Juri Haberland @ 2000-11-15 20:59 UTC (permalink / raw)
To: Rik van Riel, linux-kernel
Rik van Riel wrote:
>
> On Wed, 15 Nov 2000, Andreas Osterburg wrote:
>
> > Because I set up a diskless Linux-workstation, I want to swap
> > over NFS. For this purpose I found only patches for "older"
> > Linux-versions (2.0, 2.1, 2.2?).
>
> > Does anyone know wheter there are patches for 2.4 or does anyone
> > know another solution for this problem?
>
> 1. you can swap over NBD
> 2. if you point me to the swap-over-nfs patches you
> have found, I can try to make them work on 2.4 ;)
>
> [I have some interest in making swap-over-nfs work and
> most of the other VM things in 2.4 are already pretty
> stable ... at the moment stability is more important
> than extra performance tricks to me]
There was a patch recently posted on the nfs mailing list by Tom Dyas
from VAlinux. It is against 2.2.17 with the nfs patches by Trond
Myklebust and Dave Higgen. The post (including the patch) can be found
here: http://marc.theaimsgroup.com/?l=linux-nfs&m=97157102825580&w=2
Juri
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Swapping over NFS in Linux 2.4?
2000-11-15 16:23 ` Rik van Riel
2000-11-15 16:58 ` Nicolas Pitre
2000-11-15 20:59 ` Juri Haberland
@ 2000-11-15 23:36 ` Pavel Machek
2000-11-16 20:54 ` Rik van Riel
2000-11-16 15:55 ` Eric W. Biederman
3 siblings, 1 reply; 8+ messages in thread
From: Pavel Machek @ 2000-11-15 23:36 UTC (permalink / raw)
To: Rik van Riel, Andreas Osterburg; +Cc: linux-kernel
Hi!
> > Because I set up a diskless Linux-workstation, I want to swap
> > over NFS. For this purpose I found only patches for "older"
> > Linux-versions (2.0, 2.1, 2.2?).
>
> > Does anyone know wheter there are patches for 2.4 or does anyone
> > know another solution for this problem?
>
> 1. you can swap over NBD
Are you sure, Rik? So we no longer have low-memory deadlocks in nbd?
Wow, there used to be plenty of them in past.
Do you promise it is possible to swap over NBD?
> 2. if you point me to the swap-over-nfs patches you
> have found, I can try to make them work on 2.4 ;)
Pavel
--
I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Swapping over NFS in Linux 2.4?
2000-11-15 23:36 ` Pavel Machek
@ 2000-11-16 20:54 ` Rik van Riel
0 siblings, 0 replies; 8+ messages in thread
From: Rik van Riel @ 2000-11-16 20:54 UTC (permalink / raw)
To: Pavel Machek; +Cc: Andreas Osterburg, linux-kernel
On Thu, 16 Nov 2000, Pavel Machek wrote:
> > > Because I set up a diskless Linux-workstation, I want to swap
> > > over NFS. For this purpose I found only patches for "older"
> > > Linux-versions (2.0, 2.1, 2.2?).
> >
> > > Does anyone know wheter there are patches for 2.4 or does anyone
> > > know another solution for this problem?
> >
> > 1. you can swap over NBD
>
> Are you sure, Rik? So we no longer have low-memory deadlocks in nbd?
> Wow, there used to be plenty of them in past.
>
> Do you promise it is possible to swap over NBD?
David Miller will have to promise he removed the allocation
bugs from tcp.c ;) [which seem to be the low-memory deadlocks
you observed as well]
regards,
Rik
--
"What you're running that piece of shit Gnome?!?!"
-- Miguel de Icaza, UKUUG 2000
http://www.conectiva.com/ http://www.surriel.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Swapping over NFS in Linux 2.4?
2000-11-15 16:23 ` Rik van Riel
` (2 preceding siblings ...)
2000-11-15 23:36 ` Pavel Machek
@ 2000-11-16 15:55 ` Eric W. Biederman
3 siblings, 0 replies; 8+ messages in thread
From: Eric W. Biederman @ 2000-11-16 15:55 UTC (permalink / raw)
To: Rik van Riel; +Cc: Andreas Osterburg, linux-kernel
Rik van Riel <riel@conectiva.com.br> writes:
> On Wed, 15 Nov 2000, Andreas Osterburg wrote:
>
> > Because I set up a diskless Linux-workstation, I want to swap
> > over NFS. For this purpose I found only patches for "older"
> > Linux-versions (2.0, 2.1, 2.2?).
>
> > Does anyone know wheter there are patches for 2.4 or does anyone
> > know another solution for this problem?
>
> 1. you can swap over NBD
> 2. if you point me to the swap-over-nfs patches you
> have found, I can try to make them work on 2.4 ;)
Rik all we need to do now is convert the swapout code to address space
methods just like the block device was.
This has a number of interesting effects. One of which is that
brw_page should no longer have any users. Simplifying fs/buffer.c
Further this is equivalent to mounting a nfs file loop back which
the address space methods now allow, but it is more direct.
Which means that if this reveals any bugs in nfs/lock ups in nfs they
were already there.
This has been on my want to do list for a while but I'm busy
reinventing booting so I haven't gotten to it.
Eric
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 8+ messages in thread