Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 11:12:09 -0500
From:      Craig Boston <craig@xfoil.gank.org>
To:        current@freebsd.org
Subject:   Swapping over ggate?
Message-ID:  <200405191112.10072.craig@xfoil.gank.org>

next in thread | raw e-mail | index | archive | help
Just curoius if anybody has tried playing with swap over ggate?

I thought I'd be clever and try to use it as a better workaround for the vinum 
swap problem...  i.e. instead of running it through md(4) and a filesystem, 
do something like:

ggatel create /dev/vinum/swap
swapon /dev/ggate0

That seemed to attach just fine.  However, doing something like

dd if=/dev/zero of=/dev/null bs=256m count=2

to provoke some swapping caused the system to freeze.  It was kind of weird 
for a minute -- I could still ping it and switch windows in screen, but the 
shell wouldn't respond to any commands.  Eventually it stopped responding to 
pings altogether and the ssh connection died.  Seemed like a VM deadlock, but 
unfortunately I was remote at the time and couldn't try to break in to DDB at 
the console.

Funny thing was that after a reboot I did the same thing and it worked fine.  
If I'm able to reproduce the freeze again I'll try to get ps and backtrace 
and all that good stuff.

Craig



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405191112.10072.craig>