Re: Swapping for diskless nodes

Pavel Machek
2001-08-17T21:23:15Z

Hi!

> > > I'd call that configuration error. If swap-over-nbd works in all but
> > > such cases, its okay with me.
> >
> > Agreed. I'm very interested in this case too, I guess we
> > should start testing swap-over-nbd and trying to fix things
> > as we encounter them...
>
> FYI: The following has been rock solid for the past two days, using the
> machine mainly for emacs/LaTeX/konqueror/... There's fairly heavy swap
> traffic, often 25-40 MB swap is used.
>
> joe@rhinehart:~$ free
> total used free shared buffers cached
> Mem: 38052 37164 888 20616 2864 16968
> -/+ buffers/cache: 17332 20720
> Swap: 65528 24788 40740
> joe@rhinehart:~$ uname -a
> Linux rhinehart 2.2.19pre17 #1 Tue Mar 13 22:37:59 EST 2001 i586 unknown
> joe@rhinehart:~$ cat /proc/swaps
> Filename Type Size Used Priority
> /dev/nbd0 partition 65528 24728 -2
> joe@rhinehart:~$
>
> I'm swapping over a 3Com 374TX pcmcia card in a 100Mbit hub (hooked up to a
> switch, connected to the nbd-server machine)

Can you try heavy ping -f's onto the swapping machine? Plus put some
*heavy* pressure on it. 40MB in swap is okay .. if you have 8MB main
memory.

Pavel
--
The best software in life is free (not shareware)! Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+