* RE: srm / ide
@ 2000-02-29 14:32 Jemiolo, John
2000-02-29 14:48 ` Pre-fetch ? [Was: Re: srm / ide] Andrei A. Dergatchev
2000-02-29 17:19 ` srm / ide Richard Henderson
0 siblings, 2 replies; 7+ messages in thread
From: Jemiolo, John @ 2000-02-29 14:32 UTC (permalink / raw)
To: 'axp-list@redhat.com'
Larry,
your correct, what I forgot was I booted the kernel from floppy when
I used AlphaBios on that disk...
(it was an SSB I moved between machines) Sorry for the confusion... it's
been a while :^(
A little more info on SRM/Milo from jay,
>>> "Jemiolo, John" said:
>
> Is my recollection correct that the main difference between SRM and
> AlphaBios/ARC- Milo, is using SRM you get the latest PAL code, while Milo
> uses the Generic PAL-code from the developers kit???
Yes, that's correct.
There are two (now) important things missing from the EBSDK PALcode sets:
1. facilitating access to the HW performance counters in the CPU
2. handling pre-fetch code as produced by CCC
For these reasons (and nobody here wants to port that stuff to the EBSDK
:-),
we recommend the use of SRM on all the platforms that have it.
--Jay++
JJ
-----Original Message-----
From: Larry Sendlosky [mailto:larry@scrugs.lkg.dec.com]
Sent: Tuesday, February 29, 2000 9:19 AM
To: axp-list@redhat.com; Jemiolo, John
Subject: RE: srm / ide
Have you actually done this? If so which partitioning tools
did you use? I was lead to believe that part of the "DOS"
partition table is resides in the same space that SRM uses
for some "boot block" values. Writing the DOS partition table
will clobber these values. 'fdisk' in BSD mode will set these
SRM values, but clobber part of the DOS partition table.
larry
> it is, if you setup the disk correctly,
>
> Start the first partition at Cyl 2, This will leave room at the beginning
of
> the disk for aboot.
>
> Make the first partition about 6M in size with a DOS FS This would be used
> for milo.
>
> Make the second partition your ext2 root.
>
> and a third partition as swap.
> after your done, write aboot with swriteboot.
>
> setup alphabios/milo to boot from partition 1.
>
> You can then boot the drive from either Alphabios or SRM.
>
> JJ
>
______________________________________________________________________
Larry Sendlosky ATS
larry@scrugs.lkg.dec.com (978) 506-6640 Compaq
----------------------------------------------------------------------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* Pre-fetch ? [Was: Re: srm / ide]
2000-02-29 14:32 srm / ide Jemiolo, John
@ 2000-02-29 14:48 ` Andrei A. Dergatchev
2000-02-29 15:45 ` Jay.Estabrook
2000-02-29 17:19 ` srm / ide Richard Henderson
1 sibling, 1 reply; 7+ messages in thread
From: Andrei A. Dergatchev @ 2000-02-29 14:48 UTC (permalink / raw)
To: axp-list
[...]
> Yes, that's correct.
>
> There are two (now) important things missing from the EBSDK PALcode sets:
>
> 1. facilitating access to the HW performance counters in the CPU
> 2. handling pre-fetch code as produced by CCC
Concerning your note about pre-fetch code handling -
I'm just curious, are you saying that pre-fetch code is
not working under AlphaBIOS ? Or part of it - what
would "as produced by CCC" mean ?
>
> For these reasons (and nobody here wants to port that stuff to the EBSDK
> :-),
> we recommend the use of SRM on all the platforms that have it.
>
> --Jay++
>
> JJ
Andrei
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Pre-fetch ? [Was: Re: srm / ide]
2000-02-29 14:48 ` Pre-fetch ? [Was: Re: srm / ide] Andrei A. Dergatchev
@ 2000-02-29 15:45 ` Jay.Estabrook
2000-02-29 16:54 ` Michal Jaegermann
2000-02-29 17:21 ` Richard Henderson
0 siblings, 2 replies; 7+ messages in thread
From: Jay.Estabrook @ 2000-02-29 15:45 UTC (permalink / raw)
To: axp-list
>>> "Andrei A. Dergatchev" said:
> >
> > There are two (now) important things missing from the EBSDK PALcode sets:
> >
> > 1. facilitating access to the HW performance counters in the CPU
> > 2. handling pre-fetch code as produced by CCC
>
> Concerning your note about pre-fetch code handling -
> I'm just curious, are you saying that pre-fetch code is
> not working under AlphaBIOS ? Or part of it - what
> would "as produced by CCC" mean ?
CCC (as in Compaq CC) produces particular code sequences for the purpose of
prefetching stuff into the cache for performance purposes. These sequences
actually cause a trap into PALcode, which under SRM is quickly ignored, but
under the current EBSDK PALcode looks like a problem, and may be reported as
such by delivery of a machine check. This would be counter-productive... ;-}
--Jay++
---------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro MA 01752 Jay.Estabrook@compaq.com
---------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Pre-fetch ? [Was: Re: srm / ide]
2000-02-29 15:45 ` Jay.Estabrook
@ 2000-02-29 16:54 ` Michal Jaegermann
2000-02-29 17:21 ` Richard Henderson
1 sibling, 0 replies; 7+ messages in thread
From: Michal Jaegermann @ 2000-02-29 16:54 UTC (permalink / raw)
To: axp-list
Jay.Estabrook@compaq.com wrote:
>
> CCC (as in Compaq CC) produces particular code sequences for the purpose of
> prefetching stuff into the cache for performance purposes. These sequences
> actually cause a trap into PALcode, which under SRM is quickly ignored, but
> under the current EBSDK PALcode looks like a problem, and may be reported as
> such by delivery of a machine check. This would be counter-productive... ;-}
Does the same applies to Fortran from Compaq? So far I am not aware of
any adverse effects of using that compiler on Alphas without SRM but
maybe I was not looking deep enough. My experience with it is mostly
limited to "yeah, it works most of the time" (I failed yet to produce a
shared library with this compiler but I did not try very hard).
Michal
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: srm / ide
2000-02-29 14:32 srm / ide Jemiolo, John
2000-02-29 14:48 ` Pre-fetch ? [Was: Re: srm / ide] Andrei A. Dergatchev
@ 2000-02-29 17:19 ` Richard Henderson
2000-02-29 19:59 ` Jay.Estabrook
1 sibling, 1 reply; 7+ messages in thread
From: Richard Henderson @ 2000-02-29 17:19 UTC (permalink / raw)
To: axp-list
On Tue, Feb 29, 2000 at 09:32:57AM -0500, Jemiolo, John wrote:
> 2. handling pre-fetch code as produced by CCC
The kernel itself will handle this. Added quite some time ago.
r~
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Pre-fetch ? [Was: Re: srm / ide]
2000-02-29 15:45 ` Jay.Estabrook
2000-02-29 16:54 ` Michal Jaegermann
@ 2000-02-29 17:21 ` Richard Henderson
1 sibling, 0 replies; 7+ messages in thread
From: Richard Henderson @ 2000-02-29 17:21 UTC (permalink / raw)
To: axp-list
On Tue, Feb 29, 2000 at 10:45:03AM -0500, Jay.Estabrook@compaq.com wrote:
> These sequences actually cause a trap into PALcode, which under SRM is
> quickly ignored, but under the current EBSDK PALcode looks like a problem,
> and may be reported as such by delivery of a machine check.
No, it shows up as a normal page fault. Which we ignore in the kernel
when we look and discover that the instruction was a prefetch.
r~
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: srm / ide
2000-02-29 17:19 ` srm / ide Richard Henderson
@ 2000-02-29 19:59 ` Jay.Estabrook
0 siblings, 0 replies; 7+ messages in thread
From: Jay.Estabrook @ 2000-02-29 19:59 UTC (permalink / raw)
To: axp-list
>>> Richard Henderson said:
>
> > 2. handling pre-fetch code as produced by CCC
>
> The kernel itself will handle this. Added quite some time ago.
For those interested in the details:
1. Richard's patches are in both 2.2.14 and 2.3.48 and
later (and almost certainly in some earlier versions as well)
arch/alpha/mm/fault.c, so using any of those with
CCC-generated "pre-fetch" instructions should just work, albeit with
a performance hit on those machines without OSF (SRM) PALcode. The
appropriate PALcode for handling pre-fetch is present in EV5 and EV6
OSF PALcode, and most likely in at least some of the EV4s as well.
2. the pre-fetch code is all about attempting to pre-load a TLB entry
before it actually is needed, so that when it *is* needed, it'll just
be there. About the slickest code-path in the PALcode is the TLB miss
code; the pre-fetch instruction allows that code to know it's doing a
pre-fetch and to (potentially) bail-out of the full processing if it
looks like it would take too long (as in actually having to walk
page tables, for example). And by bail-out I mean dismissing the TLB miss
without delivering it to the kernel as a page fault, which is what would
happen without the knowledgable PALcode, and where the performance hit
is incurred.
--Jay++
-----------------------------------------------------------------------------
Jay A Estabrook Alpha Engineering - LINUX Project
Compaq Computer Corp. - MRO1-2/K20 (508) 467-2080
200 Forest Street, Marlboro, MA 01752 Jay.Estabrook@compaq.com
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2000-02-29 19:59 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-29 14:32 srm / ide Jemiolo, John
2000-02-29 14:48 ` Pre-fetch ? [Was: Re: srm / ide] Andrei A. Dergatchev
2000-02-29 15:45 ` Jay.Estabrook
2000-02-29 16:54 ` Michal Jaegermann
2000-02-29 17:21 ` Richard Henderson
2000-02-29 17:19 ` srm / ide Richard Henderson
2000-02-29 19:59 ` Jay.Estabrook
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox