Subject: Re: NFS writes NetBSD vs FreeBSD
To: Jason Thorpe <thorpej@wasabisystems.com>
From: Andrey Petrov <petrov@netbsd.org>
List: port-alpha
Date: 07/15/2004 19:49:08
On Thu, Jul 15, 2004 at 06:03:49PM -0700, Jason Thorpe wrote:
> 
> On Jul 15, 2004, at 3:44 PM, Andrey Petrov wrote:
> 
> >It enought to recompile i82557.c file without -mbwx to see timeouts on 
> >'large file
> >write over nfs'. Smells like compiler bug.
> 
> No, it's actually the stupid 82557.  It requires a atomic write to a 
> non-aligned region in order for proper operation.  Fine on IA, not fine 
> on almost everything else.
> 

That raises a question why compiled with -mbwx doesn't need an atomic
operation? That's probably worth a look at i82557.s.

> I think FreeBSD has an #ifdef __alpha__ in their "fxp" driver to 
> address this.  I'm tempted to add one such myself, at this point.
> 

If you have patch in mind I'll test it as everything is set up now.

	Andrey