Kernel memory corruption(?) with age(4)

YongHyeon PYUN pyunyh at gmail.com
Thu Mar 31 17:14:19 UTC 2011


On Thu, Mar 31, 2011 at 09:05:19AM +0200, Yamagi Burmeister wrote:
> On Wed, 30 Mar 2011, YongHyeon PYUN wrote:
> 
> >>Okay, I did a test run with RX checksum, TX checksum and both disabled.
> >>In all three cases the crash occurs within about 20 minutes. I'm either
> >>not sure that age(4) is the problem but it has definedly something to do
> >>with the problem, since with another nic driver the same scenario is
> >>rock solid...
> >>
> >
> >OK.
> >
> >>The workload: It's a NFS3 server (FreeBSDs non-experimental
> >>implementation), serving and receiving file with about 250 to 500
> >>megabytes at about 20mb/s. The clients are FreeBSD 7 and 8 systems and
> >>are mounting the shares via TCP. The connection is 1000mbit/s via a
> >>"dumb" gigabit switch.
> >>
> >
> >That's too broad to narrow down the issue. :-(
> >I'm not sure but your box seem to have more than 4GB memory. Could
> >you limit the available memory to 3GB via loader.conf and test it
> >again?
> 
> All boxes are quadcore machines with 8GB RAM, running FreeBSD/amd64.
> After limiting the memory via hw.physmem to 3GB the problems are gone.
> The box is running crashfree for more than 6 hours and has served over
> 300GB of data via age(4).
> 

Thanks for testing. Remove the hw.physmem configuration and try
attached patch and let me know how it goes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: age.dma.diff
Type: text/x-diff
Size: 534 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20110331/86cb006e/age.dma.bin


More information about the freebsd-net mailing list