From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: ev6 tlb consistency
Date: Tue, 23 Mar 1999 12:22:07 -0600 [thread overview]
Message-ID: <36F7DBCF.5FE36834@paralleldata.com> (raw)
In-Reply-To: 19990322230559.A768@twiddle.net
Richard Henderson wrote:
>
> On Mon, Mar 22, 1999 at 10:57:35PM -0600, Wes Bauske wrote:
> > > On Mon, Mar 22, 1999 at 11:14:44AM -0600, Wes Bauske wrote:
> > > > Actually, I'd like to get egcs1.1.2 to just build on
> > > > the XP1000. I'm seeing a timing dependent bug in the
> > > > build process that can lock the system up. Basically,
> > > > I get "unable to dup fd xxxxxxxx to fd 0", SEGV's, and
> > > > outright lockups.
> > >
> > > Jay mentioned (and I loosely concur) the possibility of
> > > TLB muckups on EV6. One way to test this is to build a
> > > generic kernel and in arch/alpha/kernel/machvec.h modify
> > >
> > > #define DO_EV6_MMU \
> > > max_asn: EV6_MAX_ASN, \
> > > mmu_context_mask: 0xfffffffffful, \
> > > - mv_get_mmu_context: ev5_get_mmu_context, \
> > > - mv_flush_tlb_current: ev5_flush_tlb_current, \
> > > - mv_flush_tlb_other: ev5_flush_tlb_other, \
> > > - mv_flush_tlb_current_page: ev5_flush_tlb_current_page
> > > + mv_get_mmu_context: ev4_get_mmu_context, \
> > > + mv_flush_tlb_current: ev4_flush_tlb_current, \
> > > + mv_flush_tlb_other: ev4_flush_tlb_other, \
> > > + mv_flush_tlb_current_page: ev4_flush_tlb_current_page
> > >
> > > Worth a shot anyway...
> > >
> >
> > Good shot. I successfully built egcs1.1.2 with this
> > patch to 2.2.3. I'll do some more tests to see if it
> > continues to behave.
> >
> > Does that tell you what might be going wrong??
>
> It means that there are invalid TLB entries live when things go south.
>
> EV4 has an architecture conformance bug that makes ASNs useless
> so we are forced to flush the whole TLB when context switching.
>
> EV5 gets ASNs correct, so that isn't necessary. Moreover, when we
> change a process' vm mappings, we can just make the process use a
> new ASN, which cuts the number of flushes we must do by 128.
>
> EV6... I dunno. My HRM appears to be oh so usefully back at the office.
>
> r~
>
> PS: One other thing you could try is to go back to using the ev5 tlb
> flush routines, but only use EV5_MAX_ASN.
>
I switched to EV5_MAX_ASN and that also allows me to
build egcs1.1.2. So, I guess the ASN's are good but
just how many there are is wrong....
Thanks, Richard.
If you have any other things to try, let me know.
Also, I'm looking for a XP1000 reference manual
so I can check if there are any jumpers to allow
8 way interleave so if I added more memory things
might move along faster. Worth a look to see anyway.
I ran my test suite and stream last night with egcs1.1.2.
No real changes but I haven't tried the cvs version of
egcs yet. I was able to get my DSP correlation routine to do
830MFLOP's, with increased unrolling, by hand. My fastest
previous run on PPC630 was 770MFLOPS. In terms of efficiency,
the PPC630 is better but not raw performance wise. Hopefully
the unroll code will help the other parts of the test.
Then it's on to how to get wh64 to work.
Wes
next prev parent reply other threads:[~1999-03-23 18:38 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-22 0:21 XP1000 and Linux Stig Telfer
1999-03-22 0:55 ` Greg Lindahl
1999-03-22 2:10 ` Richard Henderson
1999-03-22 5:12 ` Wes Bauske
1999-03-22 5:51 ` Wes Bauske
1999-03-22 8:41 ` Wes Bauske
1999-03-22 14:38 ` Greg Lindahl
1999-03-22 17:03 ` Wes Bauske
1999-03-22 19:11 ` Keystroke loggers Aaron
1999-03-22 9:22 ` loop unrolling [Re: XP1000 and Linux] Richard Henderson
1999-03-22 17:14 ` Wes Bauske
1999-03-23 2:43 ` Richard Henderson
1999-03-23 4:57 ` Wes Bauske
1999-03-22 11:58 ` Newbie Needs Milo Help SteveCraft
1999-03-23 18:39 ` Ron Farrer
1999-03-23 7:05 ` ev6 tlb consistency Richard Henderson
1999-03-23 18:22 ` Wes Bauske [this message]
1999-03-23 19:38 ` Jay.Estabrook
1999-03-23 8:56 ` loop unrolling [Re: XP1000 and Linux] Harvey J. Stein
1999-03-24 5:05 ` Wes Bauske
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox