* XP1000 and Linux
@ 1999-03-18 7:00 Wes Bauske
1999-03-18 7:48 ` Bill Broadley
` (3 more replies)
0 siblings, 4 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-18 7:00 UTC (permalink / raw)
To: axp-list@redhat.com
OK. I have Linux mostly installed on the XP1000
that arrived today. I'm running into a couple problems.
1. The main board has a 21142 built in that tulip
seems unable to run properly. In particular, tulip
wants to believe that my 100Mb hub is 10Mb. Also,
since this is a kernel from gatekeeper, it appears
tulip is built in, not a module since lsmod doesn't
show anything. So, I'm off downloading the latest
2.2.3 kernel to see if I can get this puppy to behave.
Has anyone gotten 21142's to behave and was it tulip
or de4x5? Also what version of the driver and any parms
to set. If I can't find a working version, I will see
about disabling the onboard 21142 and installing a 21140
based adapter.
2. I seem to have either heat problems or the memory dimms
are not up to standard. I can't get the latest egcs1.1.2
to go thru a full build. It builds fine on my 164LX. I
get either core dumps at what appear to be random places
or I get a message something like "Unable to dup fd xxxxxxxx
to fd 0" while trying to copy the files to the installed
location. The first location looks obviously bogus.
Anyone seen that before??
3. I added a Symbios 875J based UW SCSI to the system and
it appears SRM does not see it or any devices attached to
it. Is there something I can set to get that recognized by SRM?
I'm currently booting off the floppy until I get that fixed.
I'd like to boot from that card. Note AlphaBios does see the
adapter. It is on Bus 0, so I guess it's not sitting across
a PCI bridge or anything odd like that.
For your amusement:
996.15 BogoMIPS
Any info appreciated...
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 7:00 Wes Bauske
@ 1999-03-18 7:48 ` Bill Broadley
1999-03-18 16:58 ` Wes Bauske
1999-03-18 10:17 ` Matti Aarnio
` (2 subsequent siblings)
3 siblings, 1 reply; 61+ messages in thread
From: Bill Broadley @ 1999-03-18 7:48 UTC (permalink / raw)
To: axp-list
On Thu, Mar 18, 1999 at 01:00:23AM -0600, Wes Bauske wrote:
> OK. I have Linux mostly installed on the XP1000
> that arrived today. I'm running into a couple problems.
>
> 1. The main board has a 21142 built in that tulip
> seems unable to run properly. In particular, tulip
> wants to believe that my 100Mb hub is 10Mb. Also,
Are you using a "REAL" cat 5 cable? Or a home made?
> since this is a kernel from gatekeeper, it appears
> tulip is built in, not a module since lsmod doesn't
> show anything. So, I'm off downloading the latest
> 2.2.3 kernel to see if I can get this puppy to behave.
> Has anyone gotten 21142's to behave and was it tulip
> or de4x5? Also what version of the driver and any parms
I'd try both as modules.
> to set. If I can't find a working version, I will see
> about disabling the onboard 21142 and installing a 21140
> based adapter.
Thats a worst case.
> 2. I seem to have either heat problems or the memory dimms
> are not up to standard. I can't get the latest egcs1.1.2
Are you using this stock memory? Did you add your own? What
exactly did you add? What happens if it's stock only? Any ecc
memory errors in syslog?
> to go thru a full build. It builds fine on my 164LX. I
> get either core dumps at what appear to be random places
> or I get a message something like "Unable to dup fd xxxxxxxx
> to fd 0" while trying to copy the files to the installed
> location. The first location looks obviously bogus.
> Anyone seen that before??
>
> 3. I added a Symbios 875J based UW SCSI to the system and
There are a limited number of controllers supported in the bios,
some ncr, qlogic, and adaptec. I suspect you might not have
one thats compatible. You could just boot off ide. I'd also
try the controller in another slot (on bus 0).
> it appears SRM does not see it or any devices attached to
> it. Is there something I can set to get that recognized by SRM?
> I'm currently booting off the floppy until I get that fixed.
> I'd like to boot from that card. Note AlphaBios does see the
> adapter. It is on Bus 0, so I guess it's not sitting across
> a PCI bridge or anything odd like that.
>
> For your amusement:
>
> 996.15 BogoMIPS
I'd be more interested in stream numbers:
http://www.cs.virginia.edu/stream/
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 7:00 Wes Bauske
1999-03-18 7:48 ` Bill Broadley
@ 1999-03-18 10:17 ` Matti Aarnio
1999-03-18 14:35 ` Greg Lindahl
1999-03-18 17:29 ` Jay.Estabrook
3 siblings, 0 replies; 61+ messages in thread
From: Matti Aarnio @ 1999-03-18 10:17 UTC (permalink / raw)
To: axp-list
"Wes Bauske" <wsb@paralleldata.com> asked several things:
>
> OK. I have Linux mostly installed on the XP1000
> that arrived today. I'm running into a couple problems.
>
> 1. The main board has a 21142 built in that tulip
> seems unable to run properly. In particular, tulip
> wants to believe that my 100Mb hub is 10Mb. Also,
> since this is a kernel from gatekeeper, it appears
> tulip is built in, not a module since lsmod doesn't
> show anything. So, I'm off downloading the latest
> 2.2.3 kernel to see if I can get this puppy to behave.
Yes, 21142 is a somewhat troublesome chip without
proper driver. tulip.c v0.90 seems to be minimum
level, while 2.2.3 kernel contains v0.86H (or some such).
The stock 2.2.3 tulip driver definitely does not work.
(Either it sends but is deaf, or it hears but is
mute, I have already forgotten which.)
I haven't tried de4x5 driver.
> For your amusement:
> 996.15 BogoMIPS
... (drooling) ... (sigh) ... (430 BogoMIPS with 21164)
> Any info appreciated...
> Wes
/Matti Aarnio <matti.aarnio@sonera.fi>
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 7:00 Wes Bauske
1999-03-18 7:48 ` Bill Broadley
1999-03-18 10:17 ` Matti Aarnio
@ 1999-03-18 14:35 ` Greg Lindahl
1999-03-18 17:29 ` Jay.Estabrook
3 siblings, 0 replies; 61+ messages in thread
From: Greg Lindahl @ 1999-03-18 14:35 UTC (permalink / raw)
To: axp-list
> Has anyone gotten 21142's to behave and was it tulip
> or de4x5?
The 21142 has been around for ages. My latest batch of chips labeled
"21143-PD" required the latest latest 0.90q tulip in order to work.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* RE: XP1000 and Linux
@ 1999-03-18 16:05 Hoover, Tony
1999-03-18 17:18 ` Wes Bauske
0 siblings, 1 reply; 61+ messages in thread
From: Hoover, Tony @ 1999-03-18 16:05 UTC (permalink / raw)
To: 'axp-list@redhat.com'
---------------------------------------------------------------------------
Tony Hoover, Network Administrator
KSU - Salina, College of Technology
mailto:hoover@sal.ksu.edu
"I'm on a head long collision course with the brick wall of success"
----------------------------------------------------------------------------
> ----------
> From: Wes Bauske[SMTP:wsb@paralleldata.com]
> Reply To: axp-list@redhat.com
> Sent: Thursday, March 18, 1999 1:00 AM
> To: axp-list@redhat.com
> Subject: XP1000 and Linux
>
> OK. I have Linux mostly installed on the XP1000
> that arrived today. I'm running into a couple problems.
>
<snip>
> 3. I added a Symbios 875J based UW SCSI to the system and
> it appears SRM does not see it or any devices attached to
> it. Is there something I can set to get that recognized by SRM?
> I'm currently booting off the floppy until I get that fixed.
> I'd like to boot from that card. Note AlphaBios does see the
> adapter. It is on Bus 0, so I guess it's not sitting across
> a PCI bridge or anything odd like that.
>
I'm just getting started with Linux on my system, but I've heard that the
Symbios 875J is not supported on Alphas running NT. however the 875 (no J
suffix ) works quite nicely.
> For your amusement:
>
> 996.15 BogoMIPS
>
WOW!!! (273 on my Alpine ;-( )
> Any info appreciated...
>
>
> Wes
>
> --
> 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] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 7:48 ` Bill Broadley
@ 1999-03-18 16:58 ` Wes Bauske
1999-03-18 17:18 ` Greg Lindahl
0 siblings, 1 reply; 61+ messages in thread
From: Wes Bauske @ 1999-03-18 16:58 UTC (permalink / raw)
To: axp-list
Bill Broadley wrote:
>
> On Thu, Mar 18, 1999 at 01:00:23AM -0600, Wes Bauske wrote:
> > OK. I have Linux mostly installed on the XP1000
> > that arrived today. I'm running into a couple problems.
> >
> > 1. The main board has a 21142 built in that tulip
> > seems unable to run properly. In particular, tulip
> > wants to believe that my 100Mb hub is 10Mb. Also,
>
> Are you using a "REAL" cat 5 cable? Or a home made?
>
Real cables. I only rarely build my own when I need a
custom length for racks.
> > since this is a kernel from gatekeeper, it appears
> > tulip is built in, not a module since lsmod doesn't
> > show anything. So, I'm off downloading the latest
> > 2.2.3 kernel to see if I can get this puppy to behave.
> > Has anyone gotten 21142's to behave and was it tulip
> > or de4x5? Also what version of the driver and any parms
>
> I'd try both as modules.
That's the current plan but since two folks say to go to
the latest tulip instead of the one that comes in 2.2.3,
I'll try that one instead of the current one.
This is the most critical issue since all my stuff is
NFS'd to all systems for access.
>
> > to set. If I can't find a working version, I will see
> > about disabling the onboard 21142 and installing a 21140
> > based adapter.
>
> Thats a worst case.
True. That's why I'm not a big fan of built in HW on a
motherboard for video/SCSI/networking. It requires you
to chase drivers vs put in a board you know works. I have
the 2.2.3 src and will build a kernel. I'll try the XP1000
first but I'm not hopeful that will build any better than
egcs 1.1.2 has. One comment though. After building egcs 1.1.2
on my 164LX, I ran one of my benchmarks. It seems for reasonably
well laid out loops that use mult/add FP, you can get substantial
performance improvement. (from 310 MFLOPS to 456 MFLOPS) Quite
an improvement in the scheduling algorithm for 21164's...
>
> > 2. I seem to have either heat problems or the memory dimms
> > are not up to standard. I can't get the latest egcs1.1.2
>
> Are you using this stock memory? Did you add your own? What
> exactly did you add? What happens if it's stock only? Any ecc
> memory errors in syslog?
It's the memory that came in the box so I assume it
should work. I plan on bringing a stick over to the
local dealer today and see exactly what it is and if
they have any. They have a tester to see what it is.
I also created and left running a memory hog test that
repeatedly accessed 100MB of memory on a 128MB system
which ran 8 hours without a miscompare so I'm leaning
away from it being a memory issue. I'm running it now
so that it forces the system to page. We'll see how that
goes.
>
> > to go thru a full build. It builds fine on my 164LX. I
> > get either core dumps at what appear to be random places
> > or I get a message something like "Unable to dup fd xxxxxxxx
> > to fd 0" while trying to copy the files to the installed
> > location. The first location looks obviously bogus.
> > Anyone seen that before??
> >
> > 3. I added a Symbios 875J based UW SCSI to the system and
>
> There are a limited number of controllers supported in the bios,
> some ncr, qlogic, and adaptec. I suspect you might not have
> one thats compatible. You could just boot off ide. I'd also
> try the controller in another slot (on bus 0).
I was hoping since the Symbios was NCR it would be supported. I
have some old Symbios SCSI 2 narrow cards I could swap in. The
built in SCSI is Qlogic but is an unhappy camper at the moment.
I'll have to get the mainboard replaced to get that working
again. Anyone know what models are supported or where docs are
that tell?
>
> > it appears SRM does not see it or any devices attached to
> > it. Is there something I can set to get that recognized by SRM?
> > I'm currently booting off the floppy until I get that fixed.
> > I'd like to boot from that card. Note AlphaBios does see the
> > adapter. It is on Bus 0, so I guess it's not sitting across
> > a PCI bridge or anything odd like that.
> >
> > For your amusement:
> >
> > 996.15 BogoMIPS
>
Keep in mind the Bogus part of BogoMIPS. It does seem
to indicate though that the 21264 is able to do two instructions
per clock on the timing loop where as the 21164 only does one.
> I'd be more interested in stream numbers:
> http://www.cs.virginia.edu/stream/
>
The streams tests are similar to parts of the benchmark I ran.
All they are is about the simplest loops you can code. Not
very representative of real code. I have seen old vector code
that is like this though I doubt it's in production anymore.
But, they do stress memory if you use large enough arrays and
that I suppose is the point of the tests. Anyway, my tests that
are similar show nowhere near the speed up Compaq quotes on
their WWW site. I suspect the XP1000 has slow memory compared
to the DS20/DP264. Also, it could be gcc/g77 can't do simple
loops well yet and stall the pipeline. On the somewhat more
realistic tests, I see about 700 MFLOPS vs 456 MFLOPS on 21164.
Note the XP1000 is using egcs from RH5.2. I'm hoping egcs 1.1.2
will push that 700 up to high 800's or low 900's, low 900's
being preferred...
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 16:58 ` Wes Bauske
@ 1999-03-18 17:18 ` Greg Lindahl
1999-03-18 20:01 ` Wes Bauske
1999-03-19 20:34 ` Maurice Hilarius
0 siblings, 2 replies; 61+ messages in thread
From: Greg Lindahl @ 1999-03-18 17:18 UTC (permalink / raw)
To: axp-list
> Anyway, my tests that
> are similar show nowhere near the speed up Compaq quotes on
> their WWW site. I suspect the XP1000 has slow memory compared
> to the DS20/DP264. Also, it could be gcc/g77 can't do simple
> loops well yet and stall the pipeline.
The XP1000 should have the same memory system -- the glossy literature
says "2.6 gigabytes/sec memory bandwidth", which is the same macho
number that yields 1 gigabyte/sec sustained performance on the 264DP.
Also, gcc should be able to do simple loops well, since stream
spends most of its time waiting for main memory; you can throw in all
kinds of bad compilers and get the right answer.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 16:05 Hoover, Tony
@ 1999-03-18 17:18 ` Wes Bauske
0 siblings, 0 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-18 17:18 UTC (permalink / raw)
To: axp-list
Hoover, Tony wrote:
>
> ---------------------------------------------------------------------------
> Tony Hoover, Network Administrator
> KSU - Salina, College of Technology
> mailto:hoover@sal.ksu.edu
>
> "I'm on a head long collision course with the brick wall of success"
> ----------------------------------------------------------------------------
>
> > ----------
> > From: Wes Bauske[SMTP:wsb@paralleldata.com]
> > Reply To: axp-list@redhat.com
> > Sent: Thursday, March 18, 1999 1:00 AM
> > To: axp-list@redhat.com
> > Subject: XP1000 and Linux
> >
> > OK. I have Linux mostly installed on the XP1000
> > that arrived today. I'm running into a couple problems.
> >
> <snip>
> > 3. I added a Symbios 875J based UW SCSI to the system and
> > it appears SRM does not see it or any devices attached to
> > it. Is there something I can set to get that recognized by SRM?
> > I'm currently booting off the floppy until I get that fixed.
> > I'd like to boot from that card. Note AlphaBios does see the
> > adapter. It is on Bus 0, so I guess it's not sitting across
> > a PCI bridge or anything odd like that.
> >
> I'm just getting started with Linux on my system, but I've heard that the
> Symbios 875J is not supported on Alphas running NT. however the 875 (no J
> suffix ) works quite nicely.
>
Could be with NT, but it worked on my 164LX running 2.1.xxx
series kernels. Also, AlphaBios on the XP1000 sees it just
fine. Only SRM has problems with it.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 7:00 Wes Bauske
` (2 preceding siblings ...)
1999-03-18 14:35 ` Greg Lindahl
@ 1999-03-18 17:29 ` Jay.Estabrook
1999-03-24 2:20 ` Maurice Hilarius
3 siblings, 1 reply; 61+ messages in thread
From: Jay.Estabrook @ 1999-03-18 17:29 UTC (permalink / raw)
To: axp-list
>>> "Wes Bauske" said:
>
> 1. The main board has a 21142 built in that tulip
> seems unable to run properly. In particular, tulip
> wants to believe that my 100Mb hub is 10Mb. Also,
> since this is a kernel from gatekeeper, it appears
> tulip is built in, not a module since lsmod doesn't
> show anything. So, I'm off downloading the latest
> 2.2.3 kernel to see if I can get this puppy to behave.
> Has anyone gotten 21142's to behave and was it tulip
> or de4x5? Also what version of the driver and any parms
> to set. If I can't find a working version, I will see
> about disabling the onboard 21142 and installing a 21140
> based adapter.
Couple of points:
a. sometimes, esp. with 100Mbit on 21142/21143, one has to resort to boot
line args to force the tulip.c driver to handle a specific media type;
check Becker's webpages WRT how this gets done.
b. AFAIK, the last de4x5.c driver I tried on XP1000 didn't like the new
chipset (21143-PD or -TD, I can't remember which); this may have been
updated since, so it would be worth a try via modules.
> 2. I seem to have either heat problems or the memory dimms
> are not up to standard. I can't get the latest egcs1.1.2
> to go thru a full build. It builds fine on my 164LX. I
> get either core dumps at what appear to be random places
> or I get a message something like "Unable to dup fd xxxxxxxx
> to fd 0" while trying to copy the files to the installed
> location. The first location looks obviously bogus.
> Anyone seen that before??
Yes, and I'd say it's not memory-related, I see it on a DP264 as well,
and with older (1.0.3a) compilers. I suspect it's a bug in the EV6 support
around TLB/cache; I never saw this with older (2.1.120 vintage) kernels,
but ever since 2.1.130 or thereabouts, it's been annoying.
> 3. I added a Symbios 875J based UW SCSI to the system and
> it appears SRM does not see it or any devices attached to
> it. Is there something I can set to get that recognized by SRM?
> I'm currently booting off the floppy until I get that fixed.
> I'd like to boot from that card. Note AlphaBios does see the
> adapter. It is on Bus 0, so I guess it's not sitting across
> a PCI bridge or anything odd like that.
I'm guessing that that's one of the NT-only cards; Intraserver has 2 models,
using the NCR 875 chip, one of which doesn't work under DU, I'm told. I don't
know why, but seem to remember something about shared interrupts? Sorry...
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Compaq Computer Corporation (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 61+ messages in thread
* RE: XP1000 and Linux
@ 1999-03-18 18:26 John Jemiolo
1999-03-18 20:06 ` Wes Bauske
1999-03-18 23:16 ` Wes Bauske
0 siblings, 2 replies; 61+ messages in thread
From: John Jemiolo @ 1999-03-18 18:26 UTC (permalink / raw)
To: 'axp-list@redhat.com'
The WEB page you want is
http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html
Get the v0.90 Version from the above page, I have had no luck getting the
89H version to work on anything (on alpha). The 0.90 seems to work ok. I
have used it on DE500's and onboard tulips on Alpha Workstations and
Servers.
Your boot command would be similar to this, If using SRM/aboot
boot dk{something} -fi ?/vmlinux.gz -fl "ether=0,0,*,eth0"
The -fl: "ether=0,0,*,eth0" (with quotes) will select the media.
where:
something is your boot device/disk
? is the partition that contains your Linux Kernel
* is 0 (Auto-select)
1 (10base2)
2 (AUI)
3 (100baseTx)
4 (100baseT-FD)
5 (100baseTx-FD)
6 (100baseT4)
7 (100baseFx)
8 (100baseFx-FD)
9 (MII 10baseT)
10 (MII 10baseT-FD
11 (MII autoselect)
12 (10baseT - noautoselect)
13 (MII 100baseTx)
14 (MII 100baseTx-FD)
15 (MII 100baseT4)
All the commands can be placed in environmental variables that SRM will
keep. So you would only have to type "boot" on subsequent reboots or
powerup's.
JJ
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 17:18 ` Greg Lindahl
@ 1999-03-18 20:01 ` Wes Bauske
1999-03-18 20:58 ` Greg Lindahl
1999-03-19 20:34 ` Maurice Hilarius
1 sibling, 1 reply; 61+ messages in thread
From: Wes Bauske @ 1999-03-18 20:01 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > Anyway, my tests that
> > are similar show nowhere near the speed up Compaq quotes on
> > their WWW site. I suspect the XP1000 has slow memory compared
> > to the DS20/DP264. Also, it could be gcc/g77 can't do simple
> > loops well yet and stall the pipeline.
>
> The XP1000 should have the same memory system -- the glossy literature
> says "2.6 gigabytes/sec memory bandwidth", which is the same macho
> number that yields 1 gigabyte/sec sustained performance on the 264DP.
> Also, gcc should be able to do simple loops well, since stream
> spends most of its time waiting for main memory; you can throw in all
> kinds of bad compilers and get the right answer.
>
Yeah but SPECFP says something's different....
I did run stream_d.c for grins. It's around 400MB/sec
vs Compaq's DS20 1300MB/sec. And my tests show
the same as the stream_d test...
So something's different.
Most likely candidates are pipeline stalls across loop iterations
or slow memory. Also, it's possible since it has only one memory
bank filled it would speed up if I added more DIMM's. My old
PC164 requires 8 SIMM's to get full memory speed. XP1000's might
be the same.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 18:26 John Jemiolo
@ 1999-03-18 20:06 ` Wes Bauske
1999-03-18 23:16 ` Wes Bauske
1 sibling, 0 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-18 20:06 UTC (permalink / raw)
To: axp-list
John Jemiolo wrote:
>
> The WEB page you want is
>
> http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html
>
> Get the v0.90 Version from the above page, I have had no luck getting the
> 89H version to work on anything (on alpha). The 0.90 seems to work ok. I
> have used it on DE500's and onboard tulips on Alpha Workstations and
> Servers.
>
Good info. I'll try it this afternoon.
Thanks.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 20:01 ` Wes Bauske
@ 1999-03-18 20:58 ` Greg Lindahl
1999-03-18 21:30 ` Wes Bauske
0 siblings, 1 reply; 61+ messages in thread
From: Greg Lindahl @ 1999-03-18 20:58 UTC (permalink / raw)
To: axp-list
> Most likely candidates are pipeline stalls across loop iterations
> or slow memory. Also, it's possible since it has only one memory
> bank filled it would speed up if I added more DIMM's. My old
> PC164 requires 8 SIMM's to get full memory speed. XP1000's might
> be the same.
The XP1000 does have an interleaved memory system, so yes, you
need to have enough DIMMs, just like with the original PC164.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 20:58 ` Greg Lindahl
@ 1999-03-18 21:30 ` Wes Bauske
0 siblings, 0 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-18 21:30 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > Most likely candidates are pipeline stalls across loop iterations
> > or slow memory. Also, it's possible since it has only one memory
> > bank filled it would speed up if I added more DIMM's. My old
> > PC164 requires 8 SIMM's to get full memory speed. XP1000's might
> > be the same.
>
> The XP1000 does have an interleaved memory system, so yes, you
> need to have enough DIMMs, just like with the original PC164.
>
Yes, but does it do both 4 way and 8 way like a PC164?
Had to set a jumper on the PC164 to do 8 way.
Even 164LX's do interleave but only 2 way. That's why you
install in pairs on it.
Need to hunt down a reference manual on the XP1000. Not
much documentation came with it except an install guide.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 18:26 John Jemiolo
1999-03-18 20:06 ` Wes Bauske
@ 1999-03-18 23:16 ` Wes Bauske
1 sibling, 0 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-18 23:16 UTC (permalink / raw)
To: axp-list
John Jemiolo wrote:
>
> The WEB page you want is
>
> http://cesdis.gsfc.nasa.gov/linux/drivers/tulip.html
>
> Get the v0.90 Version from the above page, I have had no luck getting the
> 89H version to work on anything (on alpha). The 0.90 seems to work ok. I
> have used it on DE500's and onboard tulips on Alpha Workstations and
> Servers.
>
Update. I built a new kernel and put it on a floppy
with aboot for the time being. It loads OK and I now
have tulip as a module so I just do "modprobe tulip options=3"
and ifup eth0 and it seems to behave OK. So, that's
OK now.
Just taking the default of auto-sensing still fails,
even with tulip 0.90q, the latest I could find.
I'm left with what to do about the "unable to dup
fd xxxxxxx to fd 0" message and what to do about getting
SRM happy with the 875J SCSI card.
BTW, I did build the kernel on the XP1000 without a
problem but noticed it selected ev5 as the cpu type.
So, that tends to say the gcc problem is specific to ev6.
Also, I used the latest XFree86 3DLabs X server and it
works so graphics aren't a problem.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 17:18 ` Greg Lindahl
1999-03-18 20:01 ` Wes Bauske
@ 1999-03-19 20:34 ` Maurice Hilarius
1999-03-19 21:03 ` Greg Lindahl
1 sibling, 1 reply; 61+ messages in thread
From: Maurice Hilarius @ 1999-03-19 20:34 UTC (permalink / raw)
To: axp-list
With regards to your message at 12:18 PM 03-18-99 -0500, Greg Lindahl.
Where you stated:
>> Anyway, my tests that
>> are similar show nowhere near the speed up Compaq quotes on
>> their WWW site. I suspect the XP1000 has slow memory compared
>> to the DS20/DP264. Also, it could be gcc/g77 can't do simple
>> loops well yet and stall the pipeline.
>
>The XP1000 should have the same memory system -- the glossy literature
>says "2.6 gigabytes/sec memory bandwidth", which is the same macho
>number that yields 1 gigabyte/sec sustained performance on the 264DP.
>Also, gcc should be able to do simple loops well, since stream
>spends most of its time waiting for main memory; you can throw in all
>kinds of bad compilers and get the right answer.
>
Actually, the DP264/DS20 use a 200 pin SODIMM which has much better
bandwidth than standard DIMMs which are used in the XP1000. The XP is a
workstation, and does not have the same chipset as a DS20 or DP264.
Best regards,
Maurice W. Hilarius NEW! Telephone: 01-780-456-9771
Hard Data Ltd. NEW! FAX: 01-780-456-9772
11060 - 166 Avenue email:maurice@harddata.com
Edmonton, AB, Canada - T5X 1Y3 http://www.harddata.com
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-19 20:34 ` Maurice Hilarius
@ 1999-03-19 21:03 ` Greg Lindahl
1999-03-19 23:35 ` Wes Bauske
` (2 more replies)
0 siblings, 3 replies; 61+ messages in thread
From: Greg Lindahl @ 1999-03-19 21:03 UTC (permalink / raw)
To: axp-list
> Actually, the DP264/DS20 use a 200 pin SODIMM which has much better
> bandwidth than standard DIMMs which are used in the XP1000. The XP is a
> workstation, and does not have the same chipset as a DS20 or DP264.
They claim it's the same chipset (tsunami). The glossy literature
claims the same memory bandwidth. Life has to be stranger than
fiction, eh?
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-19 21:03 ` Greg Lindahl
@ 1999-03-19 23:35 ` Wes Bauske
1999-03-20 5:37 ` Bill Roman
1999-03-24 3:27 ` Maurice Hilarius
2 siblings, 0 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-19 23:35 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > Actually, the DP264/DS20 use a 200 pin SODIMM which has much better
> > bandwidth than standard DIMMs which are used in the XP1000. The XP is a
> > workstation, and does not have the same chipset as a DS20 or DP264.
>
> They claim it's the same chipset (tsunami). The glossy literature
> claims the same memory bandwidth. Life has to be stranger than
> fiction, eh?
>
More correctly, marketing literature is not always
completely accurate. I hope someone at Compaq is
taking notes and gets things fixed so customers are
not mislead into buying XP1000's expecting DS20
performance.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-19 21:03 ` Greg Lindahl
1999-03-19 23:35 ` Wes Bauske
@ 1999-03-20 5:37 ` Bill Roman
1999-03-24 3:27 ` Maurice Hilarius
2 siblings, 0 replies; 61+ messages in thread
From: Bill Roman @ 1999-03-20 5:37 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
> Maurice Hilarius wrote:
> > Actually, the DP264/DS20 use a 200 pin SODIMM which has much better
> > bandwidth than standard DIMMs which are used in the XP1000. The XP is a
> > workstation, and does not have the same chipset as a DS20 or DP264.
>
> They claim it's the same chipset (tsunami). The glossy literature
> claims the same memory bandwidth. Life has to be stranger than
> fiction, eh?
DP264/DS20 and XP1000 do indeed use the same chipset. But it is
truly a chip "set" and can be configured in a lot of different ways;
in particular, it can use various numbers of Dchips (the datapath to
memory) which of course affects memory performance. Sorry, I don't know
the details of how these two different systems have been configured.
--
Bill Roman (roman@songdog.eskimo.com / roman@songdog.uucp) running linux
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
@ 1999-03-20 8:27 Thomas Leitner
1999-03-20 9:00 ` Wes Bauske
0 siblings, 1 reply; 61+ messages in thread
From: Thomas Leitner @ 1999-03-20 8:27 UTC (permalink / raw)
To: axp-list
On Fri, 19 Mar 1999, Wes Bauske wrote:
> Greg Lindahl wrote:
> >
> > > Actually, the DP264/DS20 use a 200 pin SODIMM which has much better
> > > bandwidth than standard DIMMs which are used in the XP1000. The XP is a
> > > workstation, and does not have the same chipset as a DS20 or DP264.
> >
> > They claim it's the same chipset (tsunami). The glossy literature
> > claims the same memory bandwidth. Life has to be stranger than
> > fiction, eh?
>
> More correctly, marketing literature is not always
> completely accurate. I hope someone at Compaq is
> taking notes and gets things fixed so customers are
> not mislead into buying XP1000's expecting DS20
> performance.
I've ran a couple of benchmarks yesterday on both, an XP1000 and a DS20
and the DS20 was only marginally faster than the XP1000. Nothing which
would ever justify the steep price of the DS20. The only advantage of the
DS20, IMHO, are the dual CPU SMP for applications which can exploit that,
and the better scalability.
Here are some of the results (ran the benches under Digital Unix, though).
I also have full ssba results if anyone is interested.
Tom
------------------------------ XP 1000 -----------------------------
csh> cc -O4 -fast -tune ev6 -DMAIN -Dev6 -o dgemm dgemm.c
csh> ./dgemm
m:1000 n:1000 k:1000
Ail_max 48, Blj_max 24, A_row_block 341
Shimizu's DGEMM : 591.157 MFLOPS( 3.383 sec)
Shimizu's DGEMM : 594.083 MFLOPS( 3.367 sec)
Shimizu's DGEMM : 594.083 MFLOPS( 3.367 sec)
csh> /usr/sbin/psrinfo -v
Status of processor 0 as of: 03/19/99 11:05:58
Processor has been on-line since 03/04/1999 10:31:10
The alpha EV6 (21264) processor operates at 500 MHz,
and has an alpha internal floating point processor.
------------------------------ DS 20 -- -----------------------------
csh> cc -O4 -fast -tune ev6 -DMAIN -Dev6 -o dgemm dgemm.c
csh> ./dgemm
m:1000 n:1000 k:1000
Ail_max 48, Blj_max 24, A_row_block 341
Shimizu's DGEMM : 606.085 MFLOPS( 3.300 sec)
Shimizu's DGEMM : 606.085 MFLOPS( 3.300 sec)
Shimizu's DGEMM : 606.085 MFLOPS( 3.300 sec)
csh> /usr/sbin/psrinfo -v
Status of processor 0 as of: 03/19/99 11:07:49
Processor has been on-line since 03/19/1999 10:43:48
The alpha EV6 (21264) processor operates at 500 MHz,
and has an alpha internal floating point processor.
Status of processor 1 as of: 03/19/99 11:07:49
Processor has been on-line since 03/19/1999 10:43:48
The alpha EV6 (21264) processor operates at 500 MHz,
and has an alpha internal floating point processor.
------------------------------ XP 1000 -----------------------------
csh> cc -O4 -fast -tune ev6 -o stream_d stream_d.c second_cpu.c -lm
csh> ./stream_d
-------------------------------------------------------------
This system uses 8 bytes per DOUBLE PRECISION word.
-------------------------------------------------------------
Array size = 3000000, Offset = 0
Total memory required = 68.7 MB.
Each test is run 10 times, but only
the *best* time for each is used.
-------------------------------------------------------------
Your clock granularity/precision appears to be 16666 microseconds.
Each test below will take on the order of 50000 microseconds.
(= 3 clock ticks)
Increase the size of the arrays if this shows that
you are not getting at least 20 clock ticks per test.
-------------------------------------------------------------
WARNING -- The above is only a rough guideline.
For best results, please be sure you know the
precision of your system timer.
-------------------------------------------------------------
Function Rate (MB/s) RMS time Min time Max time
Copy: 960.0009 0.0621 0.0500 0.0667
Scale: 960.0009 0.0589 0.0500 0.0667
Add: 864.0008 0.0851 0.0833 0.1000
Triad: 864.0008 0.0869 0.0833 0.1000
------------------------------ DS 20 -- -----------------------------
fstgal07> cc -O4 -fast -tune ev6 -o stream_d stream_d.c second_cpu.c -lm
fstgal07> ./stream_d
-------------------------------------------------------------
This system uses 8 bytes per DOUBLE PRECISION word.
-------------------------------------------------------------
Array size = 3000000, Offset = 0
Total memory required = 68.7 MB.
Each test is run 10 times, but only
the *best* time for each is used.
-------------------------------------------------------------
Your clock granularity/precision appears to be 16666 microseconds.
Each test below will take on the order of 49999 microseconds.
(= 3 clock ticks)
Increase the size of the arrays if this shows that
you are not getting at least 20 clock ticks per test.
-------------------------------------------------------------
WARNING -- The above is only a rough guideline.
For best results, please be sure you know the
precision of your system timer.
-------------------------------------------------------------
Function Rate (MB/s) RMS time Min time Max time
Copy: 960.0009 0.0606 0.0500 0.0667
Scale: 959.9998 0.0652 0.0500 0.0667
Add: 1080.0010 0.0803 0.0667 0.0833
Triad: 1080.0010 0.0803 0.0667 0.0833
------------------------------ XP 1000 -----------------------------
BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)
TEST : Iterations/sec. : Old Index : New Index
: : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT : 383.7 : 9.84 : 3.23
STRING SORT : 44.942 : 20.08 : 3.11
BITFIELD : 8.2473e+07 : 14.15 : 2.95
FP EMULATION : 14.722 : 7.06 : 1.63
FOURIER : 8438.4 : 9.60 : 5.39
ASSIGNMENT : 3.9243 : 14.93 : 3.87
IDEA : 832.27 : 12.73 : 3.78
HUFFMAN : 352.04 : 9.76 : 3.12
NEURAL NET : 7.8077 : 12.54 : 5.28
LU DECOMPOSITION : 270.07 : 13.99 : 10.10
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX : 12.039
FLOATING-POINT INDEX: 11.897
Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
C compiler : cc (unknown version)
libc : unknown version
MEMORY INDEX : 3.289
INTEGER INDEX : 2.807
FLOATING-POINT INDEX: 6.599
Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.
------------------------------ DS 20 -- -----------------------------
BYTEmark* Native Mode Benchmark ver. 2 (10/95)
Index-split by Andrew D. Balsa (11/97)
Linux/Unix* port by Uwe F. Mayer (12/96,11/97)
TEST : Iterations/sec. : Old Index : New Index
: : Pentium 90* : AMD K6/233*
--------------------:------------------:-------------:------------
NUMERIC SORT : 384.41 : 9.86 : 3.24
STRING SORT : 45.39 : 20.28 : 3.14
BITFIELD : 8.2653e+07 : 14.18 : 2.96
FP EMULATION : 14.733 : 7.07 : 1.63
FOURIER : 8470 : 9.63 : 5.41
ASSIGNMENT : 3.9658 : 15.09 : 3.91
IDEA : 835.66 : 12.78 : 3.79
HUFFMAN : 352.04 : 9.76 : 3.12
NEURAL NET : 7.8129 : 12.55 : 5.28
LU DECOMPOSITION : 274.3 : 14.21 : 10.26
==========================ORIGINAL BYTEMARK RESULTS==========================
INTEGER INDEX : 12.089
FLOATING-POINT INDEX: 11.977
Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0
==============================LINUX DATA BELOW===============================
C compiler : cc (unknown version)
libc : unknown version
MEMORY INDEX : 3.314
INTEGER INDEX : 2.811
FLOATING-POINT INDEX: 6.643
Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38
* Trademarks are property of their respective holder.
--
--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
Graz University of Technology,
e-mail : tom@radar.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
Before we have the paperless office, we have the paperless toilet!
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-20 8:27 XP1000 and Linux Thomas Leitner
@ 1999-03-20 9:00 ` Wes Bauske
1999-03-20 10:40 ` Thomas Leitner
0 siblings, 1 reply; 61+ messages in thread
From: Wes Bauske @ 1999-03-20 9:00 UTC (permalink / raw)
To: axp-list
Thomas Leitner wrote:
>
> On Fri, 19 Mar 1999, Wes Bauske wrote:
>
> > Greg Lindahl wrote:
> > >
> > > > Actually, the DP264/DS20 use a 200 pin SODIMM which has much better
> > > > bandwidth than standard DIMMs which are used in the XP1000. The XP is a
> > > > workstation, and does not have the same chipset as a DS20 or DP264.
> > >
> > > They claim it's the same chipset (tsunami). The glossy literature
> > > claims the same memory bandwidth. Life has to be stranger than
> > > fiction, eh?
> >
> > More correctly, marketing literature is not always
> > completely accurate. I hope someone at Compaq is
> > taking notes and gets things fixed so customers are
> > not mislead into buying XP1000's expecting DS20
> > performance.
>
> I've ran a couple of benchmarks yesterday on both, an XP1000 and a DS20
> and the DS20 was only marginally faster than the XP1000. Nothing which
> would ever justify the steep price of the DS20. The only advantage of the
> DS20, IMHO, are the dual CPU SMP for applications which can exploit that,
> and the better scalability.
>
Why do you say steep price for a DS20? Base system is about twice
what a XP1000 goes for. And, OEM DP264's go cheaper than two
XP1000's would. (Assuming I don't get a university discount or
some other major deal)
> Here are some of the results (ran the benches under Digital Unix, though).
> I also have full ssba results if anyone is interested.
>
> Tom
>
> ------------------------------ XP 1000 -----------------------------
> csh> cc -O4 -fast -tune ev6 -o stream_d stream_d.c second_cpu.c -lm
> csh> ./stream_d
> -------------------------------------------------------------
> This system uses 8 bytes per DOUBLE PRECISION word.
> -------------------------------------------------------------
> Array size = 3000000, Offset = 0
> Total memory required = 68.7 MB.
> Each test is run 10 times, but only
> the *best* time for each is used.
> -------------------------------------------------------------
> Your clock granularity/precision appears to be 16666 microseconds.
> Each test below will take on the order of 50000 microseconds.
> (= 3 clock ticks)
> Increase the size of the arrays if this shows that
> you are not getting at least 20 clock ticks per test.
> -------------------------------------------------------------
> WARNING -- The above is only a rough guideline.
> For best results, please be sure you know the
> precision of your system timer.
> -------------------------------------------------------------
> Function Rate (MB/s) RMS time Min time Max time
> Copy: 960.0009 0.0621 0.0500 0.0667
> Scale: 960.0009 0.0589 0.0500 0.0667
> Add: 864.0008 0.0851 0.0833 0.1000
> Triad: 864.0008 0.0869 0.0833 0.1000
>
> ------------------------------ DS 20 -- -----------------------------
> fstgal07> cc -O4 -fast -tune ev6 -o stream_d stream_d.c second_cpu.c -lm
> fstgal07> ./stream_d
> -------------------------------------------------------------
> This system uses 8 bytes per DOUBLE PRECISION word.
> -------------------------------------------------------------
> Array size = 3000000, Offset = 0
> Total memory required = 68.7 MB.
> Each test is run 10 times, but only
> the *best* time for each is used.
> -------------------------------------------------------------
> Your clock granularity/precision appears to be 16666 microseconds.
> Each test below will take on the order of 49999 microseconds.
> (= 3 clock ticks)
> Increase the size of the arrays if this shows that
> you are not getting at least 20 clock ticks per test.
> -------------------------------------------------------------
> WARNING -- The above is only a rough guideline.
> For best results, please be sure you know the
> precision of your system timer.
> -------------------------------------------------------------
> Function Rate (MB/s) RMS time Min time Max time
> Copy: 960.0009 0.0606 0.0500 0.0667
> Scale: 959.9998 0.0652 0.0500 0.0667
> Add: 1080.0010 0.0803 0.0667 0.0833
> Triad: 1080.0010 0.0803 0.0667 0.0833
>
Did your XP1000 have 4 or 8 DIMMS in it?
The test looks a little small for streams. You may have
too little work to measure it accurately. Try increasing
the array size a bit more. It appears DUNIX clock ticks
are much more coarse than Linux's are.
Looks to me like DUNIX cc is either better or you're
using more DIMMS.
My 4 DIMM XP1000 under Linux/egcs1.0.3:
-------------------------------------------------------------
This system uses 8 bytes per DOUBLE PRECISION word.
-------------------------------------------------------------
Array size = 3000000, Offset = 0
Total memory required = 68.7 MB.
Each test is run 10 times, but only
the *best* time for each is used.
-------------------------------------------------------------
Your clock granularity/precision appears to be 976 microseconds.
Each test below will take on the order of 86914 microseconds.
(= 89 clock ticks)
Increase the size of the arrays if this shows that
you are not getting at least 20 clock ticks per test.
-------------------------------------------------------------
WARNING -- The above is only a rough guideline.
For best results, please be sure you know the
precision of your system timer.
-------------------------------------------------------------
Function Rate (MB/s) RMS time Min time Max time
Copy: 546.1333 0.0889 0.0879 0.0908
Scale: 463.6981 0.1036 0.1035 0.1045
Add: 411.8883 0.1750 0.1748 0.1758
Triad: 409.6000 0.1760 0.1758 0.1768
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-20 9:00 ` Wes Bauske
@ 1999-03-20 10:40 ` Thomas Leitner
1999-03-21 0:42 ` Wes Bauske
0 siblings, 1 reply; 61+ messages in thread
From: Thomas Leitner @ 1999-03-20 10:40 UTC (permalink / raw)
To: axp-list
On Sat, 20 Mar 1999, Wes Bauske wrote:
> > I've ran a couple of benchmarks yesterday on both, an XP1000 and a DS20
> > and the DS20 was only marginally faster than the XP1000. Nothing which
> > would ever justify the steep price of the DS20. The only advantage of the
> > DS20, IMHO, are the dual CPU SMP for applications which can exploit that,
> > and the better scalability.
>
> Why do you say steep price for a DS20? Base system is about twice
> what a XP1000 goes for. And, OEM DP264's go cheaper than two
> XP1000's would. (Assuming I don't get a university discount or
> some other major deal)
I dont' have any price details but our computing center told me that
the double CPU DS20 would be four times as expensive as the XP1000.
Maybe they were just exaggerating.
> Did your XP1000 have 4 or 8 DIMMS in it?
I don't know. I don't have phyical access to the machines. I was
just given an account on them to run my benchmarks. I don't even
have root access to check the memory size. I suspect, though
that the XP1000 only has 128Megs RAM because the stream results
went down drastically when using more than 60-70 megs or working
RAM.
> The test looks a little small for streams. You may have
> too little work to measure it accurately. Try increasing
> the array size a bit more. It appears DUNIX clock ticks
> are much more coarse than Linux's are.
Not possible on the XP1000 because not enough RAM, see above.
> Looks to me like DUNIX cc is either better or you're
> using more DIMMS.
I think that DUNIX cc is the prime factor here!
> Function Rate (MB/s) RMS time Min time Max time
> Copy: 546.1333 0.0889 0.0879 0.0908
> Scale: 463.6981 0.1036 0.1035 0.1045
> Add: 411.8883 0.1750 0.1748 0.1758
> Triad: 409.6000 0.1760 0.1758 0.1768
That's almost the half of what I get on the same box! I really think its
the compiler. Look at this (without -tune ev6):
Copy: 720.0007 0.0667 0.0667 0.0667
Scale: 720.0007 0.0667 0.0667 0.0667
Add: 864.0008 0.0953 0.0833 0.1000
Triad: 864.0008 0.0985 0.0833 0.1000
and this without any optimization flag:
Copy: 576.0000 0.0851 0.0833 0.1000
Scale: 411.4286 0.1253 0.1167 0.1333
Add: 480.0000 0.1651 0.1500 0.1667
Triad: 480.0000 0.1586 0.1500 0.1667
and this with -g
Copy: 360.0000 0.1452 0.1333 0.1500
Scale: 360.0000 0.1436 0.1333 0.1500
Add: 392.7273 0.1833 0.1833 0.1833
Triad: 392.7273 0.1902 0.1833 0.2000
Tom
--
--------------------------------------------------------------------------
T o m L e i t n e r Dept. of Communications
Graz University of Technology,
e-mail : tom@radar.tu-graz.ac.at Inffeldgasse 12
Phone : +43-316-873-7455 A-8010 Graz / Austria / Europe
Fax : +43-316-463-697
Home page : http://wiis.tu-graz.ac.at/people/tom.html
PGP public key on : ftp://wiis.tu-graz.ac.at/pgp-keys/tom.asc or send
mail with subject "get Thomas Leitner" to pgp-public-keys@keys.pgp.net
--------------------------------------------------------------------------
Before we have the paperless office, we have the paperless toilet!
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-20 10:40 ` Thomas Leitner
@ 1999-03-21 0:42 ` Wes Bauske
1999-03-21 3:25 ` Wes Bauske
1999-03-21 19:40 ` Greg Lindahl
0 siblings, 2 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-21 0:42 UTC (permalink / raw)
To: axp-list
Thomas Leitner wrote:
>
> On Sat, 20 Mar 1999, Wes Bauske wrote:
>
>
> > Looks to me like DUNIX cc is either better or you're
> > using more DIMMS.
>
> I think that DUNIX cc is the prime factor here!
>
> > Function Rate (MB/s) RMS time Min time Max time
> > Copy: 546.1333 0.0889 0.0879 0.0908
> > Scale: 463.6981 0.1036 0.1035 0.1045
> > Add: 411.8883 0.1750 0.1748 0.1758
> > Triad: 409.6000 0.1760 0.1758 0.1768
>
> That's almost the half of what I get on the same box! I really think its
> the compiler. Look at this (without -tune ev6):
>
> Copy: 720.0007 0.0667 0.0667 0.0667
> Scale: 720.0007 0.0667 0.0667 0.0667
> Add: 864.0008 0.0953 0.0833 0.1000
> Triad: 864.0008 0.0985 0.0833 0.1000
>
> and this without any optimization flag:
>
> Copy: 576.0000 0.0851 0.0833 0.1000
> Scale: 411.4286 0.1253 0.1167 0.1333
> Add: 480.0000 0.1651 0.1500 0.1667
> Triad: 480.0000 0.1586 0.1500 0.1667
>
> and this with -g
>
> Copy: 360.0000 0.1452 0.1333 0.1500
> Scale: 360.0000 0.1436 0.1333 0.1500
> Add: 392.7273 0.1833 0.1833 0.1833
> Triad: 392.7273 0.1902 0.1833 0.2000
>
That would indicate Greg's view that compilers don't
effect streams is significantly off. Also worries me
that this system, with look ahead still is so sensitive
to compilers. I'd bet the DUNIX cc is capable of unrolling
loops to give the processor more things to look at as it
does it's out of order execution... I'll see about hand
unrolling the loops to see how that changes it's performance.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-21 0:42 ` Wes Bauske
@ 1999-03-21 3:25 ` Wes Bauske
1999-03-21 19:40 ` Greg Lindahl
1 sibling, 0 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-21 3:25 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
>
> Thomas Leitner wrote:
> >
> > On Sat, 20 Mar 1999, Wes Bauske wrote:
> >
> >
> > > Looks to me like DUNIX cc is either better or you're
> > > using more DIMMS.
> >
> > I think that DUNIX cc is the prime factor here!
> >
> > > Function Rate (MB/s) RMS time Min time Max time
> > > Copy: 546.1333 0.0889 0.0879 0.0908
> > > Scale: 463.6981 0.1036 0.1035 0.1045
> > > Add: 411.8883 0.1750 0.1748 0.1758
> > > Triad: 409.6000 0.1760 0.1758 0.1768
> >
> > That's almost the half of what I get on the same box! I really think its
> > the compiler. Look at this (without -tune ev6):
> >
> > Copy: 720.0007 0.0667 0.0667 0.0667
> > Scale: 720.0007 0.0667 0.0667 0.0667
> > Add: 864.0008 0.0953 0.0833 0.1000
> > Triad: 864.0008 0.0985 0.0833 0.1000
> >
> > and this without any optimization flag:
> >
> > Copy: 576.0000 0.0851 0.0833 0.1000
> > Scale: 411.4286 0.1253 0.1167 0.1333
> > Add: 480.0000 0.1651 0.1500 0.1667
> > Triad: 480.0000 0.1586 0.1500 0.1667
> >
> > and this with -g
> >
> > Copy: 360.0000 0.1452 0.1333 0.1500
> > Scale: 360.0000 0.1436 0.1333 0.1500
> > Add: 392.7273 0.1833 0.1833 0.1833
> > Triad: 392.7273 0.1902 0.1833 0.2000
> >
>
> That would indicate Greg's view that compilers don't
> effect streams is significantly off. Also worries me
> that this system, with look ahead still is so sensitive
> to compilers. I'd bet the DUNIX cc is capable of unrolling
> loops to give the processor more things to look at as it
> does it's out of order execution... I'll see about hand
> unrolling the loops to see how that changes it's performance.
>
> Wes
Follow up. I unrolled to 10 statements and now get:
Function Rate (MB/s) RMS time Min time Max time
Copy: 595.7818 0.0650 0.0645 0.0664
Scale: 553.8254 0.0699 0.0693 0.0703
Add: 526.6286 0.1100 0.1094 0.1104
Triad: 471.8592 0.1221 0.1221 0.1221
Still no where near the DUNIX cc optimized run.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-21 0:42 ` Wes Bauske
1999-03-21 3:25 ` Wes Bauske
@ 1999-03-21 19:40 ` Greg Lindahl
1999-03-21 20:43 ` Wes Bauske
1999-03-24 0:57 ` Bill Broadley
1 sibling, 2 replies; 61+ messages in thread
From: Greg Lindahl @ 1999-03-21 19:40 UTC (permalink / raw)
To: axp-list
> That would indicate Greg's view that compilers don't
> effect streams is significantly off. Also worries me
> that this system, with look ahead still is so sensitive
> to compilers. I'd bet the DUNIX cc is capable of unrolling
> loops to give the processor more things to look at as it
> does it's out of order execution... I'll see about hand
> unrolling the loops to see how that changes it's performance.
Unrolling never does much for STREAM in this day and age -- main
memories are very slow compared to processors. Just look at the
numbers for how many cycles it takes to refill a L3 cache line. It is
a bit surprising that lack of any optimization changes the number so
dramatically. When I get my boxes I'll report Digital cc and egcs
numbers on the same hardware.
BTW, the "standard" 128 megabyte config for the XP1000 leaves half the
dimm slots empty. Oh, and the person who was wondering why a DP264
with 1 processor might make sense: twice as many dimm slots as the
XP1000.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-21 19:40 ` Greg Lindahl
@ 1999-03-21 20:43 ` Wes Bauske
1999-03-21 21:07 ` Greg Lindahl
1999-03-24 0:57 ` Bill Broadley
1 sibling, 1 reply; 61+ messages in thread
From: Wes Bauske @ 1999-03-21 20:43 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > That would indicate Greg's view that compilers don't
> > effect streams is significantly off. Also worries me
> > that this system, with look ahead still is so sensitive
> > to compilers. I'd bet the DUNIX cc is capable of unrolling
> > loops to give the processor more things to look at as it
> > does it's out of order execution... I'll see about hand
> > unrolling the loops to see how that changes it's performance.
>
> Unrolling never does much for STREAM in this day and age -- main
> memories are very slow compared to processors. Just look at the
> numbers for how many cycles it takes to refill a L3 cache line. It is
> a bit surprising that lack of any optimization changes the number so
> dramatically. When I get my boxes I'll report Digital cc and egcs
> numbers on the same hardware.
>
That will be useful.
I don't know about you, but 25% better performance is
nothing to sneeze at according to my tests with unrolling
the stream loops.
It would be interesting to generate the asm file from an
ev6 tuned DUNIX cc compile and compare it to what egcs is
doing.
Tom, if you can, add whatever flag DUNIX cc needs to
output asm. On gcc, it's -S. Here's the loops with egcs1.0.3
with -O2:
copy vector
$L24:
ldt $f1,0($2)
addq $2,8,$2
addl $9,1,$9
cmple $9,$4,$1
stt $f1,0($3)
addq $3,8,$3
bne $1,$L24
vector times scalar:
$L29:
ldt $f1,0($2)
mult $f2,$f1,$f1
addq $2,8,$2
addl $9,1,$9
cmple $9,$4,$1
stt $f1,0($3)
addq $3,8,$3
bne $1,$L29
Add two vectors:
$L34:
ldt $f1,0($2)
ldt $f10,0($3)
addq $3,8,$3
addt $f1,$f10,$f1
addq $2,8,$2
addl $9,1,$9
cmple $9,$5,$1
stt $f1,0($4)
addq $4,8,$4
bne $1,$L34
Vector plus scaled vector:
$L39:
ldt $f1,0($2)
mult $f2,$f1,$f1
ldt $f10,0($3)
addq $3,8,$3
addt $f10,$f1,$f10
addq $2,8,$2
addl $9,1,$9
cmple $9,$5,$1
stt $f10,0($4)
addq $4,8,$4
bne $1,$L39
Nice clean easy to read asm at least.
If you specify -funroll-all-loops, you get an 8 way
unroll. Note specifying -funroll-loops does nothing
to the code. I guess egcs doesn't think simple loops
need unrolling!! Sure would be interesting to see what
DUNIX's trick is.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-21 20:43 ` Wes Bauske
@ 1999-03-21 21:07 ` Greg Lindahl
1999-03-22 3:03 ` Wes Bauske
0 siblings, 1 reply; 61+ messages in thread
From: Greg Lindahl @ 1999-03-21 21:07 UTC (permalink / raw)
To: axp-list
> I don't know about you, but 25% better performance is
> nothing to sneeze at according to my tests with unrolling
> the stream loops.
25% is nothing to sneeze at. I think that you have some other problem,
and that your result is spurious.
> It would be interesting to generate the asm file from an
> ev6 tuned DUNIX cc compile and compare it to what egcs is
> doing.
Staring at the assembly doesn't necessarily teach you much. You have
to consider when the L1, L2, and L3 cache lines get fetched, and how
long the processor stalls for each of these events.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* RE: XP1000 and Linux
@ 1999-03-22 0:21 Stig Telfer
1999-03-22 0:55 ` Greg Lindahl
` (2 more replies)
0 siblings, 3 replies; 61+ messages in thread
From: Stig Telfer @ 1999-03-22 0:21 UTC (permalink / raw)
To: 'axp-list@redhat.com'
I think the key here is that your gcc output contains no write hints for the
destination. If you're writing a buffer without first reading it, this
instruction is near-essential; otherwise, the CPU will fetch the destination
cacheline from memory before you write all over it. Adding a wh64
instruction (in theory) allocates a 64-byte cache block without filling from
memory. That could explain the 2x shortfall in memory bandwidth you're
seeing.
I was hoping to provide an example to test this, but gnu as doesn't seem to
know the instruction, at least not the version I have (and not with the
mnemonic in the arch handbook). Hand-assembling may do the trick for now.
I wonder how much effort gcc makes to use it?
Regards,
Stig Telfer
> -----Original Message-----
> From: Wes Bauske [mailto:wsb@paralleldata.com]
> Sent: Sunday, March 21, 1999 3:44 PM
> To: axp-list@redhat.com
> Subject: Re: XP1000 and Linux
>
>
> Greg Lindahl wrote:
> >
> > > That would indicate Greg's view that compilers don't
> > > effect streams is significantly off. Also worries me
> > > that this system, with look ahead still is so sensitive
> > > to compilers. I'd bet the DUNIX cc is capable of unrolling
> > > loops to give the processor more things to look at as it
> > > does it's out of order execution... I'll see about hand
> > > unrolling the loops to see how that changes it's performance.
> >
> > Unrolling never does much for STREAM in this day and age -- main
> > memories are very slow compared to processors. Just look at the
> > numbers for how many cycles it takes to refill a L3 cache
> line. It is
> > a bit surprising that lack of any optimization changes the number so
> > dramatically. When I get my boxes I'll report Digital cc and egcs
> > numbers on the same hardware.
> >
>
> That will be useful.
>
> I don't know about you, but 25% better performance is
> nothing to sneeze at according to my tests with unrolling
> the stream loops.
>
> It would be interesting to generate the asm file from an
> ev6 tuned DUNIX cc compile and compare it to what egcs is
> doing.
>
> Tom, if you can, add whatever flag DUNIX cc needs to
> output asm. On gcc, it's -S. Here's the loops with egcs1.0.3
> with -O2:
>
> copy vector
>
> $L24:
> ldt $f1,0($2)
> addq $2,8,$2
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,0($3)
> addq $3,8,$3
> bne $1,$L24
>
> vector times scalar:
>
> $L29:
> ldt $f1,0($2)
> mult $f2,$f1,$f1
> addq $2,8,$2
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,0($3)
> addq $3,8,$3
> bne $1,$L29
>
> Add two vectors:
>
> $L34:
> ldt $f1,0($2)
> ldt $f10,0($3)
> addq $3,8,$3
> addt $f1,$f10,$f1
> addq $2,8,$2
> addl $9,1,$9
> cmple $9,$5,$1
> stt $f1,0($4)
> addq $4,8,$4
> bne $1,$L34
>
> Vector plus scaled vector:
>
> $L39:
> ldt $f1,0($2)
> mult $f2,$f1,$f1
> ldt $f10,0($3)
> addq $3,8,$3
> addt $f10,$f1,$f10
> addq $2,8,$2
> addl $9,1,$9
> cmple $9,$5,$1
> stt $f10,0($4)
> addq $4,8,$4
> bne $1,$L39
>
> Nice clean easy to read asm at least.
>
> If you specify -funroll-all-loops, you get an 8 way
> unroll. Note specifying -funroll-loops does nothing
> to the code. I guess egcs doesn't think simple loops
> need unrolling!! Sure would be interesting to see what
> DUNIX's trick is.
>
>
> Wes
>
> --
> 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] 61+ messages in thread
* Re: XP1000 and Linux
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
2 siblings, 0 replies; 61+ messages in thread
From: Greg Lindahl @ 1999-03-22 0:55 UTC (permalink / raw)
To: axp-list
> I think the key here is that your gcc output contains no write hints for the
> destination.
This doesn't make a 2x difference in performance -- if this
instruction is actually implemented in the 21264 (I haven't paid
attention; the hints didn't do anything in the 21164), not using it
would make your copy rate 33% lower than using it. This is known as
"write allocate" traffic and the STREAM documentation talks about it.
f90 -tune ev6 does generate wh64 instructions...
It would probably be really hard to teach gcc how to use this
instruction. gcc doesn't know much about vectorization. Of course
memcpy() and friends could have this added by hand.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
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
2 siblings, 0 replies; 61+ messages in thread
From: Richard Henderson @ 1999-03-22 2:10 UTC (permalink / raw)
To: axp-list
On Sun, Mar 21, 1999 at 07:21:46PM -0500, Stig Telfer wrote:
> I was hoping to provide an example to test this, but gnu as doesn't seem to
> know the instruction, at least not the version I have (and not with the
> mnemonic in the arch handbook). Hand-assembling may do the trick for now.
Bother. The opcode table knows it, the tokenizer doesn't.
Patch appended.
> I wonder how much effort gcc makes to use it?
None. Gcc knows nothing about optimizing for the memory heirarchy.
r~
Index: config/tc-alpha.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gas/config/tc-alpha.c,v
retrieving revision 1.76
diff -u -p -d -r1.76 tc-alpha.c
--- tc-alpha.c 1999/02/15 00:00:20 1.76
+++ tc-alpha.c 1999/03/22 01:59:58
@@ -819,7 +819,7 @@ md_assemble (str)
int ntok, opnamelen, trunclen;
/* split off the opcode */
- opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_/48");
+ opnamelen = strspn (str, "abcdefghijklmnopqrstuvwxyz_/468");
trunclen = (opnamelen < sizeof (opname) - 1
? opnamelen
: sizeof (opname) - 1);
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-21 21:07 ` Greg Lindahl
@ 1999-03-22 3:03 ` Wes Bauske
1999-03-22 3:18 ` Greg Lindahl
0 siblings, 1 reply; 61+ messages in thread
From: Wes Bauske @ 1999-03-22 3:03 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > I don't know about you, but 25% better performance is
> > nothing to sneeze at according to my tests with unrolling
> > the stream loops.
>
> 25% is nothing to sneeze at. I think that you have some other problem,
> and that your result is spurious.
>
Always open to suggestions. Kind of doubt it's spurious
since it repeats and changing the unroll level changes the
speed of the loops. I like experimental results. They're the
best evidence you can have that something has a certain
effect. One thing that would guarantee unbiased results
is a routine to scrub the cache and memory. Don't think
that's necessary though for this test.
> > It would be interesting to generate the asm file from an
> > ev6 tuned DUNIX cc compile and compare it to what egcs is
> > doing.
>
> Staring at the assembly doesn't necessarily teach you much. You have
> to consider when the L1, L2, and L3 cache lines get fetched, and how
> long the processor stalls for each of these events.
>
Humm. Other discussion indicates looking at asm
can be quite useful.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-22 3:03 ` Wes Bauske
@ 1999-03-22 3:18 ` Greg Lindahl
0 siblings, 0 replies; 61+ messages in thread
From: Greg Lindahl @ 1999-03-22 3:18 UTC (permalink / raw)
To: axp-list
> One thing that would guarantee unbiased results
> is a routine to scrub the cache and memory. Don't think
> that's necessary though for this test.
In this case, STREAM itself scrubs the cache. That's why you test
using much larger vectors than cache.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
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 9:22 ` loop unrolling [Re: XP1000 and Linux] Richard Henderson
2 siblings, 2 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-22 5:12 UTC (permalink / raw)
To: axp-list
Stig Telfer wrote:
>
> I think the key here is that your gcc output contains no write hints for the
> destination. If you're writing a buffer without first reading it, this
> instruction is near-essential; otherwise, the CPU will fetch the destination
> cacheline from memory before you write all over it. Adding a wh64
> instruction (in theory) allocates a 64-byte cache block without filling from
> memory. That could explain the 2x shortfall in memory bandwidth you're
> seeing.
>
> I was hoping to provide an example to test this, but gnu as doesn't seem to
> know the instruction, at least not the version I have (and not with the
> mnemonic in the arch handbook). Hand-assembling may do the trick for now.
> I wonder how much effort gcc makes to use it?
>
I patched my gas with Richard's update. It does
accept wh64 opcodes now. I'll see about updating
the asm with it for the 8 way unrolled case. I
do have a comment about how gcc unrolls loops.
It may or may not be useful. In general, when I
hand code unrolled loops, what I thought was the
standard way to do this is apparently NOT how gcc
does it. The general form of unrolls I use in C:
for(i=0; i < n-unroll+1; i+=unroll) {
a[i]=b[i];
.
.
.
a[i+unroll-1]=b[i+unroll-1];
}
nleft=n%unroll;
if(nleft > 0)
for(i=n-nleft; i < n; i++) a[i]=b[i];
It seems gcc inserts compares inside the main loop
to see when to leave it after each piece of the unroll
which seems like a waste of energy to me.
Isn't the above form more efficient cpu-wise??
Seems so since it doesn't waste any cycles checking
when to quit in the loop you really care about.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-22 5:12 ` Wes Bauske
@ 1999-03-22 5:51 ` Wes Bauske
1999-03-22 8:41 ` Wes Bauske
1999-03-22 9:22 ` loop unrolling [Re: XP1000 and Linux] Richard Henderson
1 sibling, 1 reply; 61+ messages in thread
From: Wes Bauske @ 1999-03-22 5:51 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
>
>
> I patched my gas with Richard's update. It does
> accept wh64 opcodes now. I'll see about updating
> the asm with it for the 8 way unrolled case. I
> do have a comment about how gcc unrolls loops.
> It may or may not be useful. In general, when I
> hand code unrolled loops, what I thought was the
> standard way to do this is apparently NOT how gcc
> does it. The general form of unrolls I use in C:
>
> for(i=0; i < n-unroll+1; i+=unroll) {
> a[i]=b[i];
> .
> .
> .
> a[i+unroll-1]=b[i+unroll-1];
> }
>
> nleft=n%unroll;
> if(nleft > 0)
> for(i=n-nleft; i < n; i++) a[i]=b[i];
>
> It seems gcc inserts compares inside the main loop
> to see when to leave it after each piece of the unroll
> which seems like a waste of energy to me.
>
> Isn't the above form more efficient cpu-wise??
> Seems so since it doesn't waste any cycles checking
> when to quit in the loop you really care about.
>
An example of the main loop difference with the above
technique vs what gcc generates:
gcc:
$L24:
ldt $f1,0($2)
addl $9,1,$9
cmple $9,$4,$1
stt $f1,0($3)
beq $1,$L22
ldt $f1,8($2)
addl $9,1,$9
cmple $9,$4,$1
stt $f1,8($3)
beq $1,$L22
ldt $f1,16($2)
addl $9,1,$9
cmple $9,$4,$1
stt $f1,16($3)
beq $1,$L22
ldt $f1,24($2)
addl $9,1,$9
cmple $9,$4,$1
stt $f1,24($3)
beq $1,$L22
ldt $f1,32($2)
addl $9,1,$9
cmple $9,$4,$1
stt $f1,32($3)
beq $1,$L22
ldt $f1,40($2)
addl $9,1,$9
cmple $9,$4,$1
stt $f1,40($3)
beq $1,$L22
ldt $f1,48($2)
addl $9,1,$9
cmple $9,$4,$1
stt $f1,48($3)
beq $1,$L22
ldt $f1,56($2)
addq $2,64,$2
addl $9,1,$9
cmple $9,$4,$1
stt $f1,56($3)
addq $3,64,$3
bne $1,$L24
My example method:
(assume for the example, that the value in $4 is a multiple of 8)
$L24:
wh64 ($3)
ldt $f1,0($2)
ldt $f2,8($2)
ldt $f3,16($2)
ldt $f4,24($2)
ldt $f5,32($2)
ldt $f6,40($2)
ldt $f7,48($2)
ldt $f8,56($2)
stt $f1,0($3)
stt $f2,8($3)
stt $f3,16($3)
stt $f4,24($3)
stt $f5,32($3)
stt $f6,40($3)
stt $f7,48($3)
addq $2,64,$2
addl $9,8,$9
cmple $9,$4,$1
stt $f8,56($3)
addq $3,64,$3
bne $1,$L24
Bottom opcodes may have better order. It's basically the
bottom of the gcc code. Also, depending on memory latency,
you can start the stt's before you get all the ldt's
done, assuming you can do both an stt and an ldt in the
same cycle.
Seems that should perform quite a bit better than the
gcc loop. Can gcc be setup to do this??
If you seriously want to use wh64, you need to do a
pre-process loop to handle the non-64 byte boundary
at the front, and a post-process loop to handle the
end.
Just some thoughts.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-22 5:51 ` Wes Bauske
@ 1999-03-22 8:41 ` Wes Bauske
1999-03-22 14:38 ` Greg Lindahl
0 siblings, 1 reply; 61+ messages in thread
From: Wes Bauske @ 1999-03-22 8:41 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
>
> Wes Bauske wrote:
> >
> >
> > I patched my gas with Richard's update. It does
> > accept wh64 opcodes now. I'll see about updating
> > the asm with it for the 8 way unrolled case. I
> > do have a comment about how gcc unrolls loops.
> > It may or may not be useful. In general, when I
> > hand code unrolled loops, what I thought was the
> > standard way to do this is apparently NOT how gcc
> > does it. The general form of unrolls I use in C:
> >
> > for(i=0; i < n-unroll+1; i+=unroll) {
> > a[i]=b[i];
> > .
> > .
> > .
> > a[i+unroll-1]=b[i+unroll-1];
> > }
> >
> > nleft=n%unroll;
> > if(nleft > 0)
> > for(i=n-nleft; i < n; i++) a[i]=b[i];
> >
> > It seems gcc inserts compares inside the main loop
> > to see when to leave it after each piece of the unroll
> > which seems like a waste of energy to me.
> >
> > Isn't the above form more efficient cpu-wise??
> > Seems so since it doesn't waste any cycles checking
> > when to quit in the loop you really care about.
> >
>
> An example of the main loop difference with the above
> technique vs what gcc generates:
>
> gcc:
>
> $L24:
> ldt $f1,0($2)
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,0($3)
> beq $1,$L22
> ldt $f1,8($2)
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,8($3)
> beq $1,$L22
> ldt $f1,16($2)
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,16($3)
> beq $1,$L22
> ldt $f1,24($2)
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,24($3)
> beq $1,$L22
> ldt $f1,32($2)
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,32($3)
> beq $1,$L22
> ldt $f1,40($2)
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,40($3)
> beq $1,$L22
> ldt $f1,48($2)
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,48($3)
> beq $1,$L22
> ldt $f1,56($2)
> addq $2,64,$2
> addl $9,1,$9
> cmple $9,$4,$1
> stt $f1,56($3)
> addq $3,64,$3
> bne $1,$L24
>
> My example method:
> (assume for the example, that the value in $4 is a multiple of 8)
>
> $L24:
> wh64 ($3)
> ldt $f1,0($2)
> ldt $f2,8($2)
> ldt $f3,16($2)
> ldt $f4,24($2)
> ldt $f5,32($2)
> ldt $f6,40($2)
> ldt $f7,48($2)
> ldt $f8,56($2)
> stt $f1,0($3)
> stt $f2,8($3)
> stt $f3,16($3)
> stt $f4,24($3)
> stt $f5,32($3)
> stt $f6,40($3)
> stt $f7,48($3)
> addq $2,64,$2
> addl $9,8,$9
> cmple $9,$4,$1
> stt $f8,56($3)
> addq $3,64,$3
> bne $1,$L24
>
> Bottom opcodes may have better order. It's basically the
> bottom of the gcc code. Also, depending on memory latency,
> you can start the stt's before you get all the ldt's
> done, assuming you can do both an stt and an ldt in the
> same cycle.
>
> Seems that should perform quite a bit better than the
> gcc loop. Can gcc be setup to do this??
>
> If you seriously want to use wh64, you need to do a
> pre-process loop to handle the non-64 byte boundary
> at the front, and a post-process loop to handle the
> end.
>
> Just some thoughts.
>
> Wes
Tom sent me the asm from DUNIX cc.
There was very little cleanup code on the end of the loops.
Perhaps the compiler knew the loop variable was divisible
by four, which is the unroll amount since it was hard coded.
Looks like it uses conditionals to decide when to do wh64.
Also, the instruction count is similar to the suggested loop
style above if you exclude the wh64 stuff.
copy vector:
L$31:
ldl r31, 256(r2)
ldt f1, (r2)
lda r6, 159(r3)
lda r8, -64(sp)
ldt f10, 8(r2)
ldt f11, 16(r2)
cmplt r6, r10, r7
addl j, 4, j # r1, 4, r1
ldt f12, 24(r2)
cmoveq r7, r8, r6
cmplt j, r11, r16 # r1, r11, r16
lda r2, 32(r2)
lda r3, 32(r3)
wh64 (r6)
stt f1, -32(r3)
unop
stt f10, -24(r3)
stt f11, -16(r3)
unop
unop
stt f12, -8(r3)
bne r16, L$31
vector times scalar:
L$33:
ldt f1, (r2)
ldl r31, 256(r2)
lda r7, 159(r3)
lda r16, -64(sp)
ldt f10, 8(r2)
ldt f11, 16(r2)
cmplt r7, r4, r8
addl j, 4, j # r1, 4, r1
ldt f12, 24(r2)
cmoveq r8, r16, r7
cmplt j, r11, r17 # r1, r11, r17
lda r2, 32(r2)
lda r3, 32(r3)
mult f1, scalar, f1 # f1, f2, f1
wh64 (r7)
mult f10, scalar, f10 # f10, f2, f10
mult f11, scalar, f11 # f11, f2, f11
mult f12, scalar, f12 # f12, f2, f12
stt f1, -32(r3)
stt f10, -24(r3)
stt f11, -16(r3)
stt f12, -8(r3)
bne r17, L$33
Vector + Vector:
L$35:
ldl r31, 256(r2)
ldt f1, (r2)
lda r8, 159(r4)
lda r17, -64(sp)
ldt f11, 8(r2)
ldt f13, 16(r2)
cmplt r8, r10, r16
addl j, 4, j # r1, 4, r1
ldt f10, (r3)
ldt f12, 8(r3)
cmoveq r16, r17, r8
cmplt j, r11, r18 # r1, r11, r18
ldt f14, 16(r3)
ldt f15, 24(r2)
lda r2, 32(r2)
lda r3, 32(r3)
ldt f16, -8(r3)
ldl r31, 224(r3)
lda r4, 32(r4)
wh64 (r8)
addt f1, f10, f1
addt f11, f12, f11
addt f13, f14, f13
addt f15, f16, f15
stt f1, -32(r4)
stt f11, -24(r4)
stt f13, -16(r4)
unop
stt f15, -8(r4)
bne r18, L$35
Vector+scaled vector:
L$37:
ldt f1, (r3)
ldl r31, 256(r3)
lda r16, 159(r4)
lda r18, -64(sp)
ldt f10, 8(r3)
ldt f11, 16(r3)
cmplt r16, r5, r17
addl j, 4, j # r1, 4, r1
ldt f12, 24(r3)
ldt f13, (r2)
cmoveq r17, r18, r16
cmplt j, r11, r19 # r1, r11, r19
ldl r31, 256(r2)
ldt f14, 8(r2)
lda r2, 32(r2)
lda r3, 32(r3)
mult f1, scalar, f1 # f1, f2, f1
ldt f15, -16(r2)
ldt f16, -8(r2)
lda r4, 32(r4)
mult f10, scalar, f10 # f10, f2, f10
wh64 (r16)
mult f11, scalar, f11 # f11, f2, f11
mult f12, scalar, f12 # f12, f2, f12
addt f13, f1, f1
addt f14, f10, f10
addt f15, f11, f11
addt f16, f12, f12
stt f1, -32(r4)
stt f10, -24(r4)
stt f11, -16(r4)
unop
stt f12, -8(r4)
bne r19, L$37
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* loop unrolling [Re: XP1000 and Linux]
1999-03-22 5:12 ` Wes Bauske
1999-03-22 5:51 ` Wes Bauske
@ 1999-03-22 9:22 ` Richard Henderson
1999-03-22 17:14 ` Wes Bauske
1 sibling, 1 reply; 61+ messages in thread
From: Richard Henderson @ 1999-03-22 9:22 UTC (permalink / raw)
To: axp-list
On Sun, Mar 21, 1999 at 11:12:49PM -0600, Wes Bauske wrote:
> I do have a comment about how gcc unrolls loops....
If you had to force unrolling with -funroll-all-loops,
it means gcc got confused about the loop latch. Which
entirely explains any losage you see in the unrolling.
There have been some bug fixes related to latch detection
recently -- some of them stupid. If you're not currently
using egcs cvs, give it a shot and see if it does better.
r~
^ permalink raw reply [flat|nested] 61+ messages in thread
* Newbie Needs Milo Help
1999-03-23 4:57 ` Wes Bauske
@ 1999-03-22 11:58 ` SteveCraft
1999-03-23 18:39 ` Ron Farrer
1999-03-23 7:05 ` ev6 tlb consistency Richard Henderson
1 sibling, 1 reply; 61+ messages in thread
From: SteveCraft @ 1999-03-22 11:58 UTC (permalink / raw)
To: axp-list
I am almost there, I think. Here's my setup. I have a 10mb FAT partition
and a 1gb NTFS partition, I have NT4 installed. On the Linux side, I have a
/, /usr, /tmp, and swap with RH5.2 installed. Currently, to get Linux to
start I have to use floppies.
I grabbed linload.exe and and the udb-noname.z file from the /images
directory from a distro FTP site. I put them both on the 10mb FAT partition
and then uncompressed udb-noname.z and renamed it milo.
I then set my firmware to boot Linux with linload.exe and milo. Here's what
the Multia says now:
Linux Loader 1.5
...copyright...
System Partition is OSLOADPARTITION=scsi(0)disk(0)rdisk(0)partition(1)
Load File is OSLOADFILENAME=\milo
Load Path is scsi(0)disk(0)rdisk(0)partition(1)\milo
OSLOADOPTIONS=
Opening the file scsi(0)disk(0)rdisk(0)partition(1)\milo ...
Loading file at 0x00000000 ...
Getting firmware parameters ...
... Memory size is 0x40000000 bytes
Setting up arguments for Milo at 0x801FFC00
Setting up memory size for Milo at 0x801FFE00
Setting up memory size for Milo at 0x801FFF00
Swapping to PALcode at 0x0 ...
NT firmware monitor
Press H for help Q to quit
** Opcode reserved to DEC occurred
PC = 0x0000000000000009, VA = 0xffffffff80797de8
>
WHat error conditition does this indicate? What else do I need to get Linux
to boot automatically?
"If it's not elite, Kid - Steve Craft
I don't want it" scraft@nothinbut.net
-- Me www.nothinbut.net/~scraft
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-22 8:41 ` Wes Bauske
@ 1999-03-22 14:38 ` Greg Lindahl
1999-03-22 17:03 ` Wes Bauske
0 siblings, 1 reply; 61+ messages in thread
From: Greg Lindahl @ 1999-03-22 14:38 UTC (permalink / raw)
To: axp-list
> Looks like it uses conditionals to decide when to do wh64.
It has to. You don't know the alignment of the variables at the start
of the loop, so you'd have to test and have a leader and trailer
instead of just a trailer. But if you were writing multiple variables,
undoubtedly they'd have different alignment. So the easiest trick is
to use 1 conditional for each wh64. I don't know if the 21264's branch
prediction is good enough to avoid a bubble for a branch which is
taken 1/8 of the time, but avoiding extra main memory traffic is a
huge win.
We could easily figure out a bit of code that has an if() and one
asm() statement that allows us to do this by hand in egcs-compiled
codes. In order for egcs to generate this automatically, it would have
to know that the loop was big enough to make it worthwhile, and also
that the array in question was not read-before-written in the loop.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-22 14:38 ` Greg Lindahl
@ 1999-03-22 17:03 ` Wes Bauske
1999-03-22 19:11 ` Keystroke loggers Aaron
0 siblings, 1 reply; 61+ messages in thread
From: Wes Bauske @ 1999-03-22 17:03 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > Looks like it uses conditionals to decide when to do wh64.
>
> It has to. You don't know the alignment of the variables at the start
> of the loop, so you'd have to test and have a leader and trailer
> instead of just a trailer. But if you were writing multiple variables,
> undoubtedly they'd have different alignment. So the easiest trick is
> to use 1 conditional for each wh64. I don't know if the 21264's branch
> prediction is good enough to avoid a bubble for a branch which is
> taken 1/8 of the time, but avoiding extra main memory traffic is a
> huge win.
>
One would assume so if their compiler uses that style of
code.
> We could easily figure out a bit of code that has an if() and one
> asm() statement that allows us to do this by hand in egcs-compiled
> codes. In order for egcs to generate this automatically, it would have
> to know that the loop was big enough to make it worthwhile, and also
> that the array in question was not read-before-written in the loop.
>
Figuring out whether the data is read should be easier
for simple cases. The harder cases require the compiler to
runtime check for array overlap to decide when to use the
wh64 opcode. So, then it starts to become clear why they
chose the method they did. Their style would allow use of wh64
on any non-overlapped sections of the array.
Need to see about cvs access to the latest egcs for the
unroll loop stuff Richard mentioned.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: loop unrolling [Re: XP1000 and Linux]
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-24 5:05 ` Wes Bauske
0 siblings, 2 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-22 17:14 UTC (permalink / raw)
To: axp-list
Richard Henderson wrote:
>
> On Sun, Mar 21, 1999 at 11:12:49PM -0600, Wes Bauske wrote:
> > I do have a comment about how gcc unrolls loops....
>
> If you had to force unrolling with -funroll-all-loops,
> it means gcc got confused about the loop latch. Which
> entirely explains any losage you see in the unrolling.
>
> There have been some bug fixes related to latch detection
> recently -- some of them stupid. If you're not currently
> using egcs cvs, give it a shot and see if it does better.
>
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. The lock ups occur during a "rm -f"
of the distclean target, but only if I'm running the X server.
It could be a HW bug but then why does DUNIX/TRU64 work
correctly? So, that leaves some sort of hole in Linux
somewhere where an assumption was made about timing/
being preempted during some critical access that the XP1000
manages to slip into. The hang is pretty much repeatable
so if anyone has some idea what to do to find the problem,
like adding printk's or whatever, let me know and I can
cause it at will.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Keystroke loggers
1999-03-22 17:03 ` Wes Bauske
@ 1999-03-22 19:11 ` Aaron
0 siblings, 0 replies; 61+ messages in thread
From: Aaron @ 1999-03-22 19:11 UTC (permalink / raw)
To: axp-list
I may be forced to record a users keystrokes. The usualy way I would do
it is with a sniffer, but with the user using SSH this isn't an option.
(or not an easy one) I recall there used to be a program I used years ago
call TTYlistn. Anyone know what happened to it?? It did compile on my
alpha or does anyone know of some other solution??
\--------------------------------------------------------------------------/
\ Aaron Gee AKA Spdracer /
\"Maseratis are more than cars, they are a passion that is understood /
\by some, but enjoyed by a very few" /
\URL---> http://www.italian-cars.com /
\e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 /
\--------------------------------------------------------------/
\ | /
\_|_/
(---)
0
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: loop unrolling [Re: XP1000 and Linux]
1999-03-22 17:14 ` Wes Bauske
@ 1999-03-23 2:43 ` Richard Henderson
1999-03-23 4:57 ` Wes Bauske
1999-03-23 8:56 ` loop unrolling [Re: XP1000 and Linux] Harvey J. Stein
1999-03-24 5:05 ` Wes Bauske
1 sibling, 2 replies; 61+ messages in thread
From: Richard Henderson @ 1999-03-23 2:43 UTC (permalink / raw)
To: axp-list
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...
r~
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: loop unrolling [Re: XP1000 and Linux]
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 7:05 ` ev6 tlb consistency Richard Henderson
1999-03-23 8:56 ` loop unrolling [Re: XP1000 and Linux] Harvey J. Stein
1 sibling, 2 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-23 4:57 UTC (permalink / raw)
To: axp-list
Richard Henderson 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??
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* ev6 tlb consistency
1999-03-23 4:57 ` Wes Bauske
1999-03-22 11:58 ` Newbie Needs Milo Help SteveCraft
@ 1999-03-23 7:05 ` Richard Henderson
1999-03-23 18:22 ` Wes Bauske
1 sibling, 1 reply; 61+ messages in thread
From: Richard Henderson @ 1999-03-23 7:05 UTC (permalink / raw)
To: axp-list; +Cc: jay.estabrook
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.
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: loop unrolling [Re: XP1000 and Linux]
1999-03-23 2:43 ` Richard Henderson
1999-03-23 4:57 ` Wes Bauske
@ 1999-03-23 8:56 ` Harvey J. Stein
1 sibling, 0 replies; 61+ messages in thread
From: Harvey J. Stein @ 1999-03-23 8:56 UTC (permalink / raw)
To: axp-list; +Cc: hjstein, abel
Richard Henderson <rth@twiddle.net> writes:
> 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
There certainly seem to be TLB strangeness on dual processor systems
with 21264s. I'm seeing the following in the logs:
Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 0 from fffffc0000330940 but lock freed on 0
Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 1 from fffffc0000330758 but lock freed on 1
Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 1 from fffffc0000330940 but lock freed on 1
Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 0 from fffffc0000330758 but lock freed on 0
Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 1 from fffffc0000330758 but lock freed on 1
Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 0 from fffffc0000330758 but lock freed on 0
Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 1 from fffffc0000330758 but lock freed on 1
Mar 22 08:41:48 dp264 kernel: flush_tlb_page: called on 0 from fffffc0000330758 but lock freed on 0
This is with kernel 2.2.1, RH5.2, etc.
Here's /proc/cpuinfo, but we're currently running it as a single
processor machine with a non-SMP kernel:
[root@dp264 log]# cat /proc/cpuinfo
cpu : Alpha
cpu model : EV6
cpu variation : 7
cpu revision : 0
cpu serial number :
system type : Tsunami
system variation : DP264
system revision : 0
system serial number :
cycle frequency [Hz] : 500000000
timer frequency [Hz] : 1024.00
page size [bytes] : 8192
phys. address bits : 44
max. addr. space # : 255
BogoMIPS : 996.14
kernel unaligned acc : 0 (pc=0,va=0)
user unaligned acc : 8 (pc=2000011f670,va=11ff4e2f4)
platform string : AlphaPC 264DP 500 MHz
--
Harvey J. Stein
BFM Financial Research
hjstein@bfr.co.il
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: ev6 tlb consistency
1999-03-23 7:05 ` ev6 tlb consistency Richard Henderson
@ 1999-03-23 18:22 ` Wes Bauske
1999-03-23 19:38 ` Jay.Estabrook
0 siblings, 1 reply; 61+ messages in thread
From: Wes Bauske @ 1999-03-23 18:22 UTC (permalink / raw)
To: axp-list
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
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: Newbie Needs Milo Help
1999-03-22 11:58 ` Newbie Needs Milo Help SteveCraft
@ 1999-03-23 18:39 ` Ron Farrer
0 siblings, 0 replies; 61+ messages in thread
From: Ron Farrer @ 1999-03-23 18:39 UTC (permalink / raw)
To: SteveCraft; +Cc: axp-list
Take your "milo" floppy (the one with milo and linload.exe) stick it in
your floppy drive and from Linux do a 'dd if=/dev/fd0 of=/dev/sda1
bs=1440k' (this assumes fd0 is your floppy drive and sda1 is your FAT
parition, otherwise change as necessary).
That should do it. But just in case you might want to do a backup, ya
never know... ;-)
HTH,
Ron Farrer
--
Universal Computer Technologies -- An Alpha - only OEM!
Mail: uct@fidalgo.net
Web: http://www.fidalgo.net/~uct/
Check out our March specials, they end soon!
On Mon, 22 Mar 1999, SteveCraft wrote:
> I am almost there, I think. Here's my setup. I have a 10mb FAT partition
> and a 1gb NTFS partition, I have NT4 installed. On the Linux side, I have a
> /, /usr, /tmp, and swap with RH5.2 installed. Currently, to get Linux to
> start I have to use floppies.
>
> I grabbed linload.exe and and the udb-noname.z file from the /images
> directory from a distro FTP site. I put them both on the 10mb FAT partition
> and then uncompressed udb-noname.z and renamed it milo.
>
> I then set my firmware to boot Linux with linload.exe and milo. Here's what
> the Multia says now:
>
> Linux Loader 1.5
> ...copyright...
> System Partition is OSLOADPARTITION=scsi(0)disk(0)rdisk(0)partition(1)
> Load File is OSLOADFILENAME=\milo
> Load Path is scsi(0)disk(0)rdisk(0)partition(1)\milo
> OSLOADOPTIONS=
>
> Opening the file scsi(0)disk(0)rdisk(0)partition(1)\milo ...
> Loading file at 0x00000000 ...
>
> Getting firmware parameters ...
>
> ... Memory size is 0x40000000 bytes
>
> Setting up arguments for Milo at 0x801FFC00
>
> Setting up memory size for Milo at 0x801FFE00
>
> Setting up memory size for Milo at 0x801FFF00
>
> Swapping to PALcode at 0x0 ...
>
> NT firmware monitor
> Press H for help Q to quit
> ** Opcode reserved to DEC occurred
> PC = 0x0000000000000009, VA = 0xffffffff80797de8
> >
>
> WHat error conditition does this indicate? What else do I need to get Linux
> to boot automatically?
>
>
> "If it's not elite, Kid - Steve Craft
> I don't want it" scraft@nothinbut.net
> -- Me www.nothinbut.net/~scraft
>
>
> --
> 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] 61+ messages in thread
* Re: ev6 tlb consistency
1999-03-23 18:22 ` Wes Bauske
@ 1999-03-23 19:38 ` Jay.Estabrook
0 siblings, 0 replies; 61+ messages in thread
From: Jay.Estabrook @ 1999-03-23 19:38 UTC (permalink / raw)
To: axp-list; +Cc: rth, Wes Bauske
>>> "Wes Bauske" said:
>
> 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....
Correct, and here's a patch to the pristine include/asm-alpha/mmu_context.h
that ought to do the Right Thing (tm) on any Alpha processor (so far :-)...
diff -u mmu_context.h~ mmu_context.h
--- mmu_context.h~ Tue Mar 23 13:25:31 1999
+++ mmu_context.h Tue Mar 23 13:50:40 1999
@@ -14,10 +14,10 @@
/*
* The maximum ASN's the processor supports. On the EV4 this is 63
* but the PAL-code doesn't actually use this information. On the
- * EV5 this is 127.
+ * EV5 this is 127, and EV6 has 255.
*
* On the EV4, the ASNs are more-or-less useless anyway, as they are
- * only used as an icache tag, not for TB entries. On the EV5 ASN's
+ * only used as an icache tag, not for TB entries. On the EV5 and EV6, ASN's
* also validate the TB entries, and thus make a lot more sense.
*
* The EV4 ASN's don't even match the architecture manual, ugh. And
@@ -73,7 +73,7 @@
extern unsigned long asn_cache;
#endif /* __SMP__ */
-#define WIDTH_HARDWARE_ASN 7
+#define WIDTH_HARDWARE_ASN 8
#define ASN_FIRST_VERSION (1UL << (WIDTH_THIS_PROCESSOR + WIDTH_HARDWARE_ASN))
#define HARDWARE_ASN_MASK ((1UL << WIDTH_HARDWARE_ASN) - 1)
Thanks to Richard and Wes for narrowing in on the problem... :-)
--Jay++
-----------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Compaq Computer Corp. (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-----------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-21 19:40 ` Greg Lindahl
1999-03-21 20:43 ` Wes Bauske
@ 1999-03-24 0:57 ` Bill Broadley
1999-03-24 1:12 ` Greg Lindahl
1 sibling, 1 reply; 61+ messages in thread
From: Bill Broadley @ 1999-03-24 0:57 UTC (permalink / raw)
To: axp-list
> BTW, the "standard" 128 megabyte config for the XP1000 leaves half the
> dimm slots empty. Oh, and the person who was wondering why a DP264
> with 1 processor might make sense: twice as many dimm slots as the
> XP1000.
>
> -- g
Twice the memory bandwidth (Stream is 500 ish vs 1000 ish), twice
the memory slots, and twice the pci busses I believe.
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-24 0:57 ` Bill Broadley
@ 1999-03-24 1:12 ` Greg Lindahl
1999-03-24 1:26 ` Bill Broadley
1999-03-24 4:19 ` Maurice Hilarius
0 siblings, 2 replies; 61+ messages in thread
From: Greg Lindahl @ 1999-03-24 1:12 UTC (permalink / raw)
To: axp-list
> Twice the memory bandwidth (Stream is 500 ish vs 1000 ish), twice
> the memory slots, and twice the pci busses I believe.
Both have 2 PCI busses -- same chipset, remember? As for stream,
that's hardly settled.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-24 1:12 ` Greg Lindahl
@ 1999-03-24 1:26 ` Bill Broadley
1999-03-24 3:13 ` Greg Lindahl
1999-03-24 4:19 ` Maurice Hilarius
1 sibling, 1 reply; 61+ messages in thread
From: Bill Broadley @ 1999-03-24 1:26 UTC (permalink / raw)
To: axp-list
On Tue, Mar 23, 1999 at 08:12:34PM -0500, Greg Lindahl wrote:
> > Twice the memory bandwidth (Stream is 500 ish vs 1000 ish), twice
> > the memory slots, and twice the pci busses I believe.
>
> Both have 2 PCI busses -- same chipset, remember?
Well same chipset doesn't mean the PCI slots are there, but yes
your right and I was wrong.
>As for stream,
>that's hardly settled.
I'm going on slides from a presentation Compaq recently gave during
a beowulf/linux presentation here last week. After reading back further
back there seems to be reports of very similiar bandwidth with stream.
I guess maybe the XP1000 that compaq quoted had one memory bank full
instead of two.
To make stream results more accurate on the XP1000 and DS20 with small
memory configs I'd suggest replacing streams second call with something
similiar to:
int clockspeed; \
#ifdef __alpha
static inline unsigned int
getcycle(){
unsigned long r;
asm volatile("rpcc %0" : "=r"(r)); /* read the process cycle counter */
return r; /* return lower 32 bits */
}
#endif /* __alpha */
double
second () /* on first call find the relationship */
/* between seconds and clock cycles, */
/* otherwise return a double thats wallclock */
{
/* Use getcycle code to get a more accurate clock on intel-linux */
unsigned long long begin, end;
static int inittime = 0;
if (inittime == 0)
{
inittime = 1;
begin = getcycle ();
sleep (5);
end = getcycle ();
clockspeed = (end - begin) / 5; /* set global clockspeed */
printf ("Detected clock is %f\n", (float) clockspeed / 1000000);
printf ("Warning timings longer then %4.2f seconds will fails\n",
(double)4294967295/clockspeed);
}
return ((double) (getcycle ()) / clockspeed);
}
Be warned though that once the cycle counter flips (every 8 seconds
on the 21264) my counter breaks.
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-18 17:29 ` Jay.Estabrook
@ 1999-03-24 2:20 ` Maurice Hilarius
1999-03-24 17:56 ` Oleg Gusev
0 siblings, 1 reply; 61+ messages in thread
From: Maurice Hilarius @ 1999-03-24 2:20 UTC (permalink / raw)
To: axp-list
With regards to your message at 12:29 PM 03-18-99 -0500,
Jay.Estabrook@digital.com. Where you stated:
<<<snip>>>
>> 3. I added a Symbios 875J based UW SCSI to the system and
>> it appears SRM does not see it or any devices attached to
>> it. Is there something I can set to get that recognized by SRM?
>> I'm currently booting off the floppy until I get that fixed.
>> I'd like to boot from that card. Note AlphaBios does see the
>> adapter. It is on Bus 0, so I guess it's not sitting across
>> a PCI bridge or anything odd like that.
>
>I'm guessing that that's one of the NT-only cards; Intraserver has 2 models,
>using the NCR 875 chip, one of which doesn't work under DU, I'm told. I don't
>know why, but seem to remember something about shared interrupts? Sorry...
>
>--Jay++
Actually, 875J does work on Alpha. For example the Diamond Fireport40 has
worked for some time, although it is no longer available.
As for the Intraserver "versions" this is simply in their ROM. If you have
the Linux/NT version of an Intraserver SCSI card it does not work with
their UNIX driver, to prevent piracy. It does work in FSAT SCSI-2 mode, but
to use the UltraSCSI advanced driver for UNIX you need the card with the
proper ROM that allows it to load the driver and use it.
So, if there is a problem, it is in SRM. I have NOT seen the Fireport40 (
875J) be seen in SRM, though ARC and AlphaBIOS of more recent vintages work
fine with it. Some of the older ARCs ( like on the Cabriolet) did not like
it, but the ARC on an EB164 or AlphaBIOS on an LX are happy with it.
Best regards,
Maurice W. Hilarius NEW! Telephone: 01-780-456-9771
Hard Data Ltd. NEW! FAX: 01-780-456-9772
11060 - 166 Avenue email:maurice@harddata.com
Edmonton, AB, Canada - T5X 1Y3 http://www.harddata.com
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-24 1:26 ` Bill Broadley
@ 1999-03-24 3:13 ` Greg Lindahl
0 siblings, 0 replies; 61+ messages in thread
From: Greg Lindahl @ 1999-03-24 3:13 UTC (permalink / raw)
To: axp-list
> Be warned though that once the cycle counter flips (every 8 seconds
> on the 21264) my counter breaks.
You can make your work for any time period if you work at it. If the
new time is less than the old time, add 8 seconds. You can also use
the value from time() to figure out if more than 8 seconds has
passed. time() is accurate enough for that purpose.
-- g
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-19 21:03 ` Greg Lindahl
1999-03-19 23:35 ` Wes Bauske
1999-03-20 5:37 ` Bill Roman
@ 1999-03-24 3:27 ` Maurice Hilarius
2 siblings, 0 replies; 61+ messages in thread
From: Maurice Hilarius @ 1999-03-24 3:27 UTC (permalink / raw)
To: axp-list
With regards to your message at 04:03 PM 03-19-99 -0500, Greg Lindahl.
Where you stated:
>> Actually, the DP264/DS20 use a 200 pin SODIMM which has much better
>> bandwidth than standard DIMMs which are used in the XP1000. The XP is a
>> workstation, and does not have the same chipset as a DS20 or DP264.
>
>They claim it's the same chipset (tsunami). The glossy literature
>claims the same memory bandwidth. Life has to be stranger than
>fiction, eh?
>
>-- g
Maybe.
DP264 uses a 200 pin module.
Monet/XP1000 uses DIMMs.
very strange, eh?
Best regards,
Maurice W. Hilarius NEW! Telephone: 01-780-456-9771
Hard Data Ltd. NEW! FAX: 01-780-456-9772
11060 - 166 Avenue email:maurice@harddata.com
Edmonton, AB, Canada - T5X 1Y3 http://www.harddata.com
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-24 1:12 ` Greg Lindahl
1999-03-24 1:26 ` Bill Broadley
@ 1999-03-24 4:19 ` Maurice Hilarius
1999-03-24 5:02 ` Jay.Estabrook
1 sibling, 1 reply; 61+ messages in thread
From: Maurice Hilarius @ 1999-03-24 4:19 UTC (permalink / raw)
To: axp-list
With regards to your message at 08:12 PM 03-23-99 -0500, Greg Lindahl.
Where you stated:
>> Twice the memory bandwidth (Stream is 500 ish vs 1000 ish), twice
>> the memory slots, and twice the pci busses I believe.
>
>Both have 2 PCI busses -- same chipset, remember? As for stream,
>that's hardly settled.
>
>-- g
>
>--
>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
>
>
Both _could_ have 2 PCI buses, but on the XP1000 there are no slots
attached to the second one from what I have seen..
Best regards,
Maurice W. Hilarius NEW! Telephone: 01-780-456-9771
Hard Data Ltd. NEW! FAX: 01-780-456-9772
11060 - 166 Avenue email:maurice@harddata.com
Edmonton, AB, Canada - T5X 1Y3 http://www.harddata.com
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-24 4:19 ` Maurice Hilarius
@ 1999-03-24 5:02 ` Jay.Estabrook
1999-03-24 15:49 ` Greg Lindahl
0 siblings, 1 reply; 61+ messages in thread
From: Jay.Estabrook @ 1999-03-24 5:02 UTC (permalink / raw)
To: axp-list
>>> Maurice Hilarius said:
>
> Both _could_ have 2 PCI buses, but on the XP1000 there are no slots
> attached to the second one from what I have seen..
XP1000 does have 2 PCI busses.
IIRC, the top three slots (2 64-bit and 1 32-bit) are on PCI bus 0, and the
bottom two are behind a bridge on PCI bus 1. Note that there's also builtin
QLogic 1040C and 21143-PD chips on PCI 1 as well.
Oh, and don't forget, there's also some kind of ESS sound chip as well, but
that is behind the Cypress PCI-ISA bridge on PCI bus 0.
And here's some more info about the "chipset" you guys are talking about,
ie the 21272 core logic called TSUNAMI.
* The Cchip provides the interface from the CPU and main memory, and
* includes a general-purpose interface for the flash ROM and interrupts
* (TIGbus Interface). One Cchip is used per system.
* The Dchip provides the data path from the CPU to memory and I/O. Two,
* four, or eight Dchips can be used in a system configuration. Eight Dchips
* provide two 256-bit memory bus interfaces on the AlphaPC 264DP. XP1000 uses
* four Dchips to provide one 256-bit memory bus.
* The Pchip provides an interface to the peripheral component interconnect
* (PCI). One or two Pchips can be used in a system configuration. Two
* Pchips can be used to provide two independent 64-bit PCI buses. AlphaPC
* 264DP uses two Pchips to support two 64-bit PCI buses running at 33 MHz,
* as does the XP1000.
--Jay++
-------------------------------------------------------------------------------
American Non Sequitur Society: we don't make sense, but we do like pizza...
Jay A Estabrook Alpha Motherboards - LINUX Project
Compaq Computer Corporation (508) 841-3241 or (DTN) 237-3241
334 South Street, Shrewsbury, MA 01545 Jay.Estabrook@digital.com
-------------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: loop unrolling [Re: XP1000 and Linux]
1999-03-22 17:14 ` Wes Bauske
1999-03-23 2:43 ` Richard Henderson
@ 1999-03-24 5:05 ` Wes Bauske
1 sibling, 0 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-24 5:05 UTC (permalink / raw)
To: axp-list
Wes Bauske wrote:
>
> Richard Henderson wrote:
> >
> > On Sun, Mar 21, 1999 at 11:12:49PM -0600, Wes Bauske wrote:
> > > I do have a comment about how gcc unrolls loops....
> >
> > If you had to force unrolling with -funroll-all-loops,
> > it means gcc got confused about the loop latch. Which
> > entirely explains any losage you see in the unrolling.
> >
> > There have been some bug fixes related to latch detection
> > recently -- some of them stupid. If you're not currently
> > using egcs cvs, give it a shot and see if it does better.
> >
>
Now that I have egcs1.1.2 building correctly, I'm back looking
at stream_d and loop unrolling issues. I grabbed the 'egcs'
tree from anonymous cvs and built it. When I try to do
-funroll-loops, it still does nothing to the streams C code.
So, the current cvs code, as of this afternoon, still doesn't
recognize the stream_d loops as needing to be unrolled. If you
use -funroll-all-loops, the code looks the same as egcs1.1.2.
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-24 5:02 ` Jay.Estabrook
@ 1999-03-24 15:49 ` Greg Lindahl
1999-03-24 18:16 ` Wes Bauske
0 siblings, 1 reply; 61+ messages in thread
From: Greg Lindahl @ 1999-03-24 15:49 UTC (permalink / raw)
To: axp-list
> Oh, and don't forget, there's also some kind of ESS sound chip as well, but
> that is behind the Cypress PCI-ISA bridge on PCI bus 0.
Does anyone remember if the IDE controller implied by all of this is
the same as the one on the PC164LX (supported well in 2.2.X), or the
PC164SX (not supported in 2.2, but there is a separately-available
driver), or something alltogether different? I can buy XP1000s without
a disk, and I'd rather put IDE on them, as long as I can get a driver
for it.
-- greg
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-24 2:20 ` Maurice Hilarius
@ 1999-03-24 17:56 ` Oleg Gusev
1999-03-24 20:09 ` Maurice Hilarius
0 siblings, 1 reply; 61+ messages in thread
From: Oleg Gusev @ 1999-03-24 17:56 UTC (permalink / raw)
To: axp-list
Maurice Hilarius wrote:
> As for the Intraserver "versions" this is simply in their ROM. If you have
> the Linux/NT version of an Intraserver SCSI card it does not work with
> their UNIX driver, to prevent piracy.
Is that the real reason ?
Oleg.
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-24 15:49 ` Greg Lindahl
@ 1999-03-24 18:16 ` Wes Bauske
0 siblings, 0 replies; 61+ messages in thread
From: Wes Bauske @ 1999-03-24 18:16 UTC (permalink / raw)
To: axp-list
Greg Lindahl wrote:
>
> > Oh, and don't forget, there's also some kind of ESS sound chip as well, but
> > that is behind the Cypress PCI-ISA bridge on PCI bus 0.
>
> Does anyone remember if the IDE controller implied by all of this is
> the same as the one on the PC164LX (supported well in 2.2.X), or the
> PC164SX (not supported in 2.2, but there is a separately-available
> driver), or something alltogether different? I can buy XP1000s without
> a disk, and I'd rather put IDE on them, as long as I can get a driver
> for it.
>
>
Bus 0, device 7, function 1:
IDE interface: Contaq 82C693 (rev 0).
Medium devsel. Fast back-to-back capable. IRQ 238. Master Capable. No bursts.
I/O at 0x1f0 [0x1f1].
I/O at 0x3f4 [0x3f5].
I/O at 0x1100 [0x1101].
Wes
^ permalink raw reply [flat|nested] 61+ messages in thread
* Re: XP1000 and Linux
1999-03-24 17:56 ` Oleg Gusev
@ 1999-03-24 20:09 ` Maurice Hilarius
0 siblings, 0 replies; 61+ messages in thread
From: Maurice Hilarius @ 1999-03-24 20:09 UTC (permalink / raw)
To: axp-list
With regards to your message at 06:56 PM 03-24-99 +0100, Oleg Gusev. Where
you stated:
>Maurice Hilarius wrote:
>> As for the Intraserver "versions" this is simply in their ROM. If you have
>> the Linux/NT version of an Intraserver SCSI card it does not work with
>> their UNIX driver, to prevent piracy.
>
>Is that the real reason ?
>
> Oleg.
That is what the Senior VP of Intraserver told me, as well as their tech
people.
The original versions of the cards used to exist without that ROM test, and
we simply stocked the basic version and when we sold a UNIX system with one
we contacted them and asked them to bill us for a driver license. Then one
day ( a little over a year ago) we went to do that, and when we installed
the UNIX SCSI driver it balked. I phoned and asked, and that is what they
told me. Seems some unscupulous people were pirating the use of the UNIX
driver, which has code in that Intraserver has to pay royalties on.
Best regards,
Maurice W. Hilarius NEW! Telephone: 01-780-456-9771
Hard Data Ltd. NEW! FAX: 01-780-456-9772
11060 - 166 Avenue email:maurice@harddata.com
Edmonton, AB, Canada - T5X 1Y3 http://www.harddata.com
^ permalink raw reply [flat|nested] 61+ messages in thread
end of thread, other threads:[~1999-03-24 20:24 UTC | newest]
Thread overview: 61+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
-- strict thread matches above, loose matches on Subject: below --
1999-03-20 8:27 XP1000 and Linux Thomas Leitner
1999-03-20 9:00 ` Wes Bauske
1999-03-20 10:40 ` Thomas Leitner
1999-03-21 0:42 ` Wes Bauske
1999-03-21 3:25 ` Wes Bauske
1999-03-21 19:40 ` Greg Lindahl
1999-03-21 20:43 ` Wes Bauske
1999-03-21 21:07 ` Greg Lindahl
1999-03-22 3:03 ` Wes Bauske
1999-03-22 3:18 ` Greg Lindahl
1999-03-24 0:57 ` Bill Broadley
1999-03-24 1:12 ` Greg Lindahl
1999-03-24 1:26 ` Bill Broadley
1999-03-24 3:13 ` Greg Lindahl
1999-03-24 4:19 ` Maurice Hilarius
1999-03-24 5:02 ` Jay.Estabrook
1999-03-24 15:49 ` Greg Lindahl
1999-03-24 18:16 ` Wes Bauske
1999-03-18 18:26 John Jemiolo
1999-03-18 20:06 ` Wes Bauske
1999-03-18 23:16 ` Wes Bauske
1999-03-18 16:05 Hoover, Tony
1999-03-18 17:18 ` Wes Bauske
1999-03-18 7:00 Wes Bauske
1999-03-18 7:48 ` Bill Broadley
1999-03-18 16:58 ` Wes Bauske
1999-03-18 17:18 ` Greg Lindahl
1999-03-18 20:01 ` Wes Bauske
1999-03-18 20:58 ` Greg Lindahl
1999-03-18 21:30 ` Wes Bauske
1999-03-19 20:34 ` Maurice Hilarius
1999-03-19 21:03 ` Greg Lindahl
1999-03-19 23:35 ` Wes Bauske
1999-03-20 5:37 ` Bill Roman
1999-03-24 3:27 ` Maurice Hilarius
1999-03-18 10:17 ` Matti Aarnio
1999-03-18 14:35 ` Greg Lindahl
1999-03-18 17:29 ` Jay.Estabrook
1999-03-24 2:20 ` Maurice Hilarius
1999-03-24 17:56 ` Oleg Gusev
1999-03-24 20:09 ` Maurice Hilarius
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox