Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Jan 2002 20:23:41 -0500 (EST)
From:      Kenneth Culver <culverk@yumyumyum.org>
To:        =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@free.fr>
Cc:        "Cameron, Frank" <Cameron@ctc.com>, Terry Lambert <tlambert2@mindspring.com>, David Malone <dwmalone@maths.tcd.ie>, "'freebsd-bugs@freebsd.org'" <freebsd-bugs@FreeBSD.ORG>, "'freebsd-current@freebsd.org'" <freebsd-current@FreeBSD.ORG>
Subject:   RE: AMD AGP Bug
Message-ID:  <20020131202226.L209-100000@alpha.yumyumyum.org>
In-Reply-To: <20020130225003.C2570-100000@gerard>

next in thread | previous in thread | raw e-mail | index | archive | help
I'm thinking you may have misunderstood, the people at amd themselves said
this wasn't an amd bug... why would you write from cache to memory, I
think it's the other way around, stuff getting written to cache from
memory... (being retrieved by the cpu) I'll have to read the article again
to be sure since it was a week ago when I read it.

Ken

On Wed, 30 Jan 2002, [ISO-8859-1] G=E9rard Roudier wrote:

>
>
> On Thu, 31 Jan 2002, Kenneth Culver wrote:
>
> > Yeah, that's what I saw on linux-kernel...
>
> You probably didn't see the whole story or just did a too selective
> reading. You should re-read, in my opinion, since you may have just misse=
d
> the important part.
>
> What I understood is that the Athlon allocates cache lines for speculativ=
e
> writes (if write may hit cachable) and such cache lines are flushed to
> memory even if the write does not happen. As a result, numerous useless
> writes to memory may happen under any OS.
>
> This does not cause visible issue for memory that is required to be cache
> coherent. Just AGP accesses are not required to be snooped by cache for
> performance concerns and as memory given to AGP is intended to contain
> data as textures that should not need tight synchronisation with CPU.
>
> Indeed Linux has cached mapping to AGP memory and this could be avoided.
> Nevertheless, only strange issues like the AMD AGP bug we are talking
> about could turn this into a real problem.
>
> Linux can be fixed, but the useless writes of the existing Athlons from
> the very fast cache to the relatively very slow memory cannot. And all
> Athlon users may well pay this penalty under any OS...  unless we want to
> disable caching. :)
>
> Btw, I have 2 Athlon 1.2GHz machines that work just fine and fast for me.
>
>   G=E9rard.
>
>
> > Ken
> >
> > On Thu, 31 Jan 2002, Cameron, Frank wrote:
> >
> > > From what was posted on the linux-kernel list the problem is the OS
> > > doing the wrong thing not the hardware.  I originally asked the
> > > question (albeit not worded as clearly as I should have) because if
> > > Microsoft and Linux programmers made the same mistake, might
> > > FreeBSD have also.
> > >
> > > > -----Original Message-----
> > > > From: Kenneth Culver [mailto:culverk@yumyumyum.org]
> > > > Sent: Thursday, January 31, 2002 10:42 AM
> > > > To: Terry Lambert
> > > > Cc: David Malone; Cameron, Frank; 'freebsd-bugs@freebsd.org';
> > > > 'freebsd-current@freebsd.org'
> > > > Subject: Re: AMD AGP Bug
> > > >
> > > >
> > > > > There's actually a seperate TLB bug, but FreeBSD doesn't
> > > > > trigger that one, either (Linux can tickle it, when there
> > > > > are certain specific circumstances met).
> > > > >
> > > > Well, I think I know what you're talking about, linux
> > > > allocates agpgart
> > > > memory without setting a "non-cacheable" bit, and then the
> > > > agp card writes
> > > > to that memory, but the cpu cached it already, which makes
> > > > the cache wrong
> > > > or something like that, and causes the crashes/hangs. I know this i=
s a
> > > > greatly simplified version of the real problem, but I think this is=
 a
> > > > linux bug not necesarily an amd bug.
> > > >
> > > > Ken
> > > >
> > >
> > >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-bugs" in the body of the message
> >
> >
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message
>
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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