From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 6157 invoked from network); 23 Mar 1999 18:38:06 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 23 Mar 1999 18:38:06 -0000 Received: from paralleldata.com (smtp.paralleldata.com [38.153.145.2]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA24536 for ; Tue, 23 Mar 1999 13:25:09 -0500 Received: by paralleldata.com from localhost (router,SLMail V2.5); Tue, 23 Mar 1999 12:28:26 -0600 Received: by paralleldata.com from paralleldata.com (207.158.82.34::mail daemon; unverified,SLMail V2.5); Tue, 23 Mar 1999 12:28:19 -0600 Sender: "Wsb" Message-ID: <36F7DBCF.5FE36834@paralleldata.com> Date: Tue, 23 Mar 1999 12:22:07 -0600 From: "Wes Bauske" Organization: Parallel Data Systems X-Mailer: Mozilla 4.07 [en] (X11; I; Linux 2.0.36 i686) MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: ev6 tlb consistency References: <278EEF4F1348D211940600A0C95BCF7F1F01AC@yellow-fin.alpha-processor.com> <36F5D151.58FA7D47@paralleldata.com> <19990322012259.A22287@twiddle.net> <36F67A84.945C68B@paralleldata.com> <19990322184337.A31958@twiddle.net> <36F71F3F.8C7583D4@paralleldata.com> <19990322230559.A768@twiddle.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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