Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Jun 2005 00:54:46 +0200 (CEST)
From:      Sten Spans <sten@blinkenlights.nl>
To:        Pyun YongHyeon <yongari@rndsoft.co.kr>
Cc:        Hiroki Sato <hrs@freebsd.org>, sparc64@freebsd.org
Subject:   Re: E4500 with 24GB RAM
Message-ID:  <Pine.SOC.4.61.0506140053100.20144@tea.blinkenlights.nl>
In-Reply-To: <20050611092015.GE19976@rndsoft.co.kr>
References:  <20050606132756.X16994@carver.gumbysoft.com> <20050611.004435.59726356.hrs@allbsd.org> <20050610211239.GA59402@xor.obsecurity.org> <20050611.154028.102195481.hrs@allbsd.org> <20050611072632.GB19976@rndsoft.co.kr> <20050611084748.GF742@funkthat.com> <20050611092015.GE19976@rndsoft.co.kr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 11 Jun 2005, Pyun YongHyeon wrote:

> On Sat, Jun 11, 2005 at 01:47:48AM -0700, John-Mark Gurney wrote:
> > Pyun YongHyeon wrote this message on Sat, Jun 11, 2005 at 16:26 +0900:
> > > I wonder how you can use NFS reliably on sparc64. Due to failure of
> > > alignment(both server and client) it's really easy to get panic on sparc64.
> >
> > I was recently trying to upgrade my sparc64 using a cross-built world,
> > and I couldn't get through an installworld with my sparc64 mounted..
> > It kept on panicing..  I plan to take a look at them shortly, but I
> > don't think I was using tcp...  I do have a few back traces if someone
> > wants to look at them...
> >
>
> Long ago I had a local hack that addresses the alignment issue.
> Basically it re-inspected whether the mbuf needs realignment in nfsm_disct().
> It was ugly hack and gave performance penalty for architectures that
> allow non-aligned memory access.
>
> Personally I believe we should remove nfs_realign() that fails its mission
> and rewrite nfsm_disct to handle alignments as NetBSD did. In this way we
> can remove duplicated code, nfs_realign(client and server side), and get
> clean/central implementation of nfsm_disct since there is no need to call
> nfs_realign.

Sounds like a reasonable solution. fyi this problem was
also discussed in alpha-context. I'll try doing this in a pr
when my cough stops bothering me.

-- 
Sten Spans

"There is a crack in everything, that's how the light gets in."
Leonard Cohen - Anthem



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