Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Compiling with GCC on Linux
@ 2003-03-23 10:56  DiskMan
  2003-03-23 11:40 ` Falk Hueffner
  0 siblings, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-23 10:56 UTC (permalink / raw)


I was wondering, whats the MAXIMUM optimization can I get with GCC running
on a Dec AlphaPC 164SX?

This is what I'm currently running:
CC="gcc" CFLAGS="-O3" CPPFLAGS="-O3 -I/usr/local/include/" ./configure

I was wondering, can I optimize SPECIFICALLY for the CPU using a switch
suchs mpentium? If so, what is it? I can't find it anywhere... thanks, Will
L G




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Compiling with GCC on Linux
  2003-03-23 10:56 Compiling with GCC on Linux  DiskMan
@ 2003-03-23 11:40 ` Falk Hueffner
  2003-03-23 14:11   ` Thanks for the prompt answer  DiskMan
  0 siblings, 1 reply; 50+ messages in thread
From: Falk Hueffner @ 2003-03-23 11:40 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> I was wondering, whats the MAXIMUM optimization can I get with GCC
> running on a Dec AlphaPC 164SX?
> 
> This is what I'm currently running:
> CC="gcc" CFLAGS="-O3" CPPFLAGS="-O3 -I/usr/local/include/" ./configure
> 
> I was wondering, can I optimize SPECIFICALLY for the CPU using a
> switch suchs mpentium? If so, what is it?

Yes, -mcpu=pca56.  Try also the script at
http://people.debian.org/~falk/gcc-arch, it will tell you this for
some architectures, including Alpha.

-- 
	Falk


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Thanks for the prompt answer
  2003-03-23 11:40 ` Falk Hueffner
@ 2003-03-23 14:11   `  DiskMan
  2003-03-23 19:48     ` Måns Rullgård
  0 siblings, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-23 14:11 UTC (permalink / raw)


I've been messing around with this for the last day or so after I noticed,
after compiling a program, the optimized version ran NOTICABLY faster...
About 20% or so. I didn't think optimizing would make that much of a
difference... Now I'm hooked, I'm going for the max. Right now I was
recomiling Samba with the following:

CC="gcc" CFLAGS="-g -O7 -pca56" CPPFLAGS="-O7 -I/usr/local/include/"
./configure

Didn't generate a single error or warning [;-) Oh, thanks for the script,
that will come in handy, not only on the alpha but other linux boxes as
well. Again, thank you... Will L G

"Falk Hueffner" <falk.hueffner@student.uni-tuebingen.de> wrote in message
news:87of42qpk7.fsf@student.uni-tuebingen.de...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > I was wondering, whats the MAXIMUM optimization can I get with GCC
> > running on a Dec AlphaPC 164SX?
> >
> > This is what I'm currently running:
> > CC="gcc" CFLAGS="-O3" CPPFLAGS="-O3 -I/usr/local/include/" ./configure
> >
> > I was wondering, can I optimize SPECIFICALLY for the CPU using a
> > switch suchs mpentium? If so, what is it?
>
> Yes, -mcpu=pca56.  Try also the script at
> http://people.debian.org/~falk/gcc-arch, it will tell you this for
> some architectures, including Alpha.
>
> -- 
> Falk




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Thanks for the prompt answer
  2003-03-23 14:11   ` Thanks for the prompt answer  DiskMan
@ 2003-03-23 19:48     ` Måns Rullgård
  2003-03-24  0:44       `  DiskMan
  0 siblings, 1 reply; 50+ messages in thread
From: Måns Rullgård @ 2003-03-23 19:48 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> I've been messing around with this for the last day or so after I noticed,
> after compiling a program, the optimized version ran NOTICABLY faster...
> About 20% or so. I didn't think optimizing would make that much of a
> difference... Now I'm hooked, I'm going for the max. Right now I was
> recomiling Samba with the following:
> 
> CC="gcc" CFLAGS="-g -O7 -pca56" CPPFLAGS="-O7 -I/usr/local/include/"
> ./configure

At least on Alpha, -O3 is the highest level of optimization.  A higher
number is equivalent to 3.

If you want the fastest code, you should use compaq's compiler, if it
can compile the code, i.e. it doesn't rely on strange gcc extensions.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Thanks for the prompt answer
  2003-03-23 19:48     ` Måns Rullgård
@ 2003-03-24  0:44       `  DiskMan
  2003-03-24  9:40         ` Atro Tossavainen
  2003-03-24 10:55         ` Måns Rullgård
  0 siblings, 2 replies; 50+ messages in thread
From:  DiskMan @ 2003-03-24  0:44 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1079 bytes --]

I was wondeing  gcc stated that "-07" was fine but when I timed several
programs, I noticed it was the same speed as with "-03"... I thought
Compaq's compiler was an optimized version of GCC???

"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1xn0jlamok.fsf@zaphod.guide...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > I've been messing around with this for the last day or so after I
noticed,
> > after compiling a program, the optimized version ran NOTICABLY faster...
> > About 20% or so. I didn't think optimizing would make that much of a
> > difference... Now I'm hooked, I'm going for the max. Right now I was
> > recomiling Samba with the following:
> >
> > CC="gcc" CFLAGS="-g -O7 -pca56" CPPFLAGS="-O7 -I/usr/local/include/"
> > ./configure
>
> At least on Alpha, -O3 is the highest level of optimization.  A higher
> number is equivalent to 3.
>
> If you want the fastest code, you should use compaq's compiler, if it
> can compile the code, i.e. it doesn't rely on strange gcc extensions.
>
> -- 
> M�ns Rullg�rd
> mru@users.sf.net




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Thanks for the prompt answer
  2003-03-24  0:44       `  DiskMan
@ 2003-03-24  9:40         ` Atro Tossavainen
  2003-03-24 10:55         ` Måns Rullgård
  1 sibling, 0 replies; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-24  9:40 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> I was wondeing  gcc stated that "-07" was fine but when I timed several
> programs, I noticed it was the same speed as with "-03"... I thought
> Compaq's compiler was an optimized version of GCC???

Compaq's compiler is a port of their Digital UNIX compiler to Linux.
Not much to do with gcc.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Thanks for the prompt answer
  2003-03-24  0:44       `  DiskMan
  2003-03-24  9:40         ` Atro Tossavainen
@ 2003-03-24 10:55         ` Måns Rullgård
  2003-03-24 14:24           `  DiskMan
                             ` (2 more replies)
  1 sibling, 3 replies; 50+ messages in thread
From: Måns Rullgård @ 2003-03-24 10:55 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> I was wondeing  gcc stated that "-07" was fine but when I timed several
> programs, I noticed it was the same speed as with "-03"... I thought
> Compaq's compiler was an optimized version of GCC???

Compaq's ccc is their own product.  To get the best results, compile
your stuff with 'ccc -O3 -fast'.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Thanks for the prompt answer
  2003-03-24 10:55         ` Måns Rullgård
@ 2003-03-24 14:24           `  DiskMan
  2003-03-24 14:39           ` Received and Error with Compaq CCC and Samba 2.8.x  DiskMan
  2003-03-24 14:48           ` Oh, if you're wondering .... PHP Compiles without a hitch *hmmm*  DiskMan
  2 siblings, 0 replies; 50+ messages in thread
From:  DiskMan @ 2003-03-24 14:24 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 957 bytes --]

I was doing some reading after installing Compaq CCC, they say it supports
03,04,05... Older verssions has problems with anything over -03 though... I
was running 6.5.9 and the latest they had at their site was 6.3.9...so I
might be able to get by with it... Thanks for the tip, I had the Compaq CCC
files on cd (after downloading several months ago) and never got around to
installing... Your words of incouragement prompted me [;-) Will L G


"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1x4r5t11aa.fsf@zaphod.guide...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > I was wondeing  gcc stated that "-07" was fine but when I timed several
> > programs, I noticed it was the same speed as with "-03"... I thought
> > Compaq's compiler was an optimized version of GCC???
>
> Compaq's ccc is their own product.  To get the best results, compile
> your stuff with 'ccc -O3 -fast'.
>
> -- 
> M�ns Rullg�rd
> mru@users.sf.net




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-24 10:55         ` Måns Rullgård
  2003-03-24 14:24           `  DiskMan
@ 2003-03-24 14:39           `  DiskMan
  2003-03-25  8:23             ` Atro Tossavainen
  2003-03-24 14:48           ` Oh, if you're wondering .... PHP Compiles without a hitch *hmmm*  DiskMan
  2 siblings, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-24 14:39 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2530 bytes --]

Bummer, I received the following error while compiling Samba 2.8.x

[root@kcnetwork source]# make >> make_log
cc: Warning: /usr/include/glob.h, line 201: In this declaration, parameter 4
has a different type than specified in an earlier declaration of this
function. (mismatparam)
extern int glob64 __P ((__const char *__restrict __pattern, int __flags,
-----------^
cc: Error: /usr/include/glob.h, line 201: In this declaration, the type of
"glob64" is not compatible with the type of a previous declaration of
"glob64" at line number 186 in file /usr/include/glob.h. (notcompat)
extern int glob64 __P ((__const char *__restrict __pattern, int __flags,
-----------^
cc: Warning: /usr/include/glob.h, line 205: In this declaration, parameter 1
has a different type than specified in an earlier declaration of this
function. (mismatparam)
extern void globfree64 __P ((glob64_t *__pglob));
------------^
cc: Error: /usr/include/glob.h, line 205: In this declaration, the type of
"globfree64" is not compatible with the type of a previous declaration of
"globfree64" at line number 191 in file /usr/include/glob.h. (notcompat)
extern void globfree64 __P ((glob64_t *__pglob));
------------^
cc: Warning: smbd/server.c, line 450: In this statement, the referenced type
of the pointer value "&rlp" is "struct rlimit", which is not compatible with
"struct rlimit64". (ptrmismatch)
                getrlimit(RLIMIT_CORE, &rlp);
---------------------------------------^
cc: Warning: smbd/server.c, line 452: In this statement, the referenced type
of the pointer value "&rlp" is "struct rlimit", which is not compatible with
"const struct rlimit64". (ptrmismatch)
                setrlimit(RLIMIT_CORE, &rlp);
---------------------------------------^
cc: Warning: smbd/server.c, line 453: In this statement, the referenced type
of the pointer value "&rlp" is "struct rlimit", which is not compatible with
"struct rlimit64". (ptrmismatch)
                getrlimit(RLIMIT_CORE, &rlp);
---------------------------------------^


"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1x4r5t11aa.fsf@zaphod.guide...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > I was wondeing  gcc stated that "-07" was fine but when I timed several
> > programs, I noticed it was the same speed as with "-03"... I thought
> > Compaq's compiler was an optimized version of GCC???
>
> Compaq's ccc is their own product.  To get the best results, compile
> your stuff with 'ccc -O3 -fast'.
>
> -- 
> M�ns Rullg�rd
> mru@users.sf.net




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Oh, if you're wondering .... PHP Compiles without a hitch *hmmm*
  2003-03-24 10:55         ` Måns Rullgård
  2003-03-24 14:24           `  DiskMan
  2003-03-24 14:39           ` Received and Error with Compaq CCC and Samba 2.8.x  DiskMan
@ 2003-03-24 14:48           `  DiskMan
  2003-03-25  1:25             ` Måns Rullgård
  2 siblings, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-24 14:48 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

N/T

"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1x4r5t11aa.fsf@zaphod.guide...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > I was wondeing  gcc stated that "-07" was fine but when I timed several
> > programs, I noticed it was the same speed as with "-03"... I thought
> > Compaq's compiler was an optimized version of GCC???
>
> Compaq's ccc is their own product.  To get the best results, compile
> your stuff with 'ccc -O3 -fast'.
>
> -- 
> M�ns Rullg�rd
> mru@users.sf.net




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Oh, if you're wondering .... PHP Compiles without a hitch *hmmm*
  2003-03-24 14:48           ` Oh, if you're wondering .... PHP Compiles without a hitch *hmmm*  DiskMan
@ 2003-03-25  1:25             ` Måns Rullgård
  2003-03-25  7:24               `  DiskMan
  0 siblings, 1 reply; 50+ messages in thread
From: Måns Rullgård @ 2003-03-25  1:25 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> Oh, if you're wondering .... PHP Compiles without a hitch *hmmm*

Have you ever heard of "portable code"?

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Oh, if you're wondering .... PHP Compiles without a hitch *hmmm*
  2003-03-25  1:25             ` Måns Rullgård
@ 2003-03-25  7:24               `  DiskMan
  2003-03-25 14:35                 ` GCC vs. ccc Måns Rullgård
  0 siblings, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-25  7:24 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 468 bytes --]

FUNNY [;-) I'm just surprised how much fast programs run after using
Compaq's compiler... jez, its like night and day. About a 30% boost in
speed!  Will LG

"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1xr88wz17e.fsf@zaphod.guide...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > Oh, if you're wondering .... PHP Compiles without a hitch *hmmm*
>
> Have you ever heard of "portable code"?
>
> -- 
> M�ns Rullg�rd
> mru@users.sf.net




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-24 14:39           ` Received and Error with Compaq CCC and Samba 2.8.x  DiskMan
@ 2003-03-25  8:23             ` Atro Tossavainen
  2003-03-26  2:53               `  DiskMan
  0 siblings, 1 reply; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-25  8:23 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> Bummer, I received the following error while compiling Samba 2.8.x

Just compile Samba with gcc.  You won't lose any performance.  The
processor is easily fast enough to fill your network if your disks
can supply data fast enough.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* GCC vs. ccc
  2003-03-25  7:24               `  DiskMan
@ 2003-03-25 14:35                 ` Måns Rullgård
  2003-03-25 16:29                   ` Torsten Zirzlaff
  2003-03-26  2:57                   `  DiskMan
  0 siblings, 2 replies; 50+ messages in thread
From: Måns Rullgård @ 2003-03-25 14:35 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> FUNNY [;-) I'm just surprised how much fast programs run after using
> Compaq's compiler... jez, its like night and day. About a 30% boost in
> speed!  Will LG

Which versions of GCC have you tried?  For integer computations I
don't see much difference between ccc and gcc 3.2 with architecture
specific optimizations.  The default compiler in most distributions
will generate code that will run on any Alpha cpu.  The ev5 and up
have byte and word memory accesses that improve speed quite a bit.

For floating point code, ccc still beats gcc with 30-100%.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-25 14:35                 ` GCC vs. ccc Måns Rullgård
@ 2003-03-25 16:29                   ` Torsten Zirzlaff
  2003-03-25 21:30                     ` Måns Rullgård
  2003-03-26 12:00                     ` Atro Tossavainen
  2003-03-26  2:57                   `  DiskMan
  1 sibling, 2 replies; 50+ messages in thread
From: Torsten Zirzlaff @ 2003-03-25 16:29 UTC (permalink / raw)


mru@users.sourceforge.net (M�ns Rullg�rd) writes:

[deletia]
> 
> Which versions of GCC have you tried?  For integer computations I
> don't see much difference between ccc and gcc 3.2 with architecture
> specific optimizations.  The default compiler in most distributions
> will generate code that will run on any Alpha cpu.  The ev5 and up
> have byte and word memory accesses that improve speed quite a bit.

  Well, it might so, but the integer perfomance lags quite behind
comparable x86 processors.

   I had found that the dnetc client for alpha is hideously slow. An
EV56 500MHz seems to be 10 times slower as an AMD K6 2+ 500MHz. Which
seems quite astonishing to me.

  In real life the Alpha outperforms this old x86 box.
 
> For floating point code, ccc still beats gcc with 30-100%.

  If you could use floats a bit more. 

> -- 
> M�ns Rullg�rd
> mru@users.sf.net

Ciao

  Torsten

-- 
s-mail: Neckarstr. 120                                         Torsten Zirzlaff
        70190 Stuttgart
        Germany                            e-mail :  zirzlaff@nienor.s.bawue.de
phone: +49 711 285 19 40                             torsten@zirzlaff.de
data:  +49 711 286 40 57/9                           t.zirzlaff@caa.de 
mobil: +49 174 857 56 77

+-----------------------------------------------------------------------------+
|  The shortest unit of time in the universe is the New York Second, defined  |
|  as the period of time between the traffic lights turning green and the cab |
|  behind you honking. -- Terry Pratchett 'Lords and Ladies'                  |
+-----------------------------------------------------------------------------+
 


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-25 16:29                   ` Torsten Zirzlaff
@ 2003-03-25 21:30                     ` Måns Rullgård
  2003-03-26  0:26                       ` Torsten Zirzlaff
  2003-03-26  2:50                       ` GCC vs. ccc  DiskMan
  2003-03-26 12:00                     ` Atro Tossavainen
  1 sibling, 2 replies; 50+ messages in thread
From: Måns Rullgård @ 2003-03-25 21:30 UTC (permalink / raw)


Torsten Zirzlaff <t.zirzlaff@caa.de> writes:

> > Which versions of GCC have you tried?  For integer computations I
> > don't see much difference between ccc and gcc 3.2 with architecture
> > specific optimizations.  The default compiler in most distributions
> > will generate code that will run on any Alpha cpu.  The ev5 and up
> > have byte and word memory accesses that improve speed quite a bit.
> 
>   Well, it might so, but the integer perfomance lags quite behind
> comparable x86 processors.
> 
>    I had found that the dnetc client for alpha is hideously slow. An
> EV56 500MHz seems to be 10 times slower as an AMD K6 2+ 500MHz. Which
> seems quite astonishing to me.

The K6 is very primitive compared to Alpha, so those numbers seem a
bit strange.  Is there something weird going on?

>   In real life the Alpha outperforms this old x86 box.

That's what it's usually like.

> > For floating point code, ccc still beats gcc with 30-100%.
> 
>   If you could use floats a bit more. 

In the high performance computing area floating point is the usual
thing.  That is the market that the Alpha originally targeted.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-25 21:30                     ` Måns Rullgård
@ 2003-03-26  0:26                       ` Torsten Zirzlaff
  2003-03-26  8:37                         ` Måns Rullgård
  2003-03-26 12:07                         ` Atro Tossavainen
  2003-03-26  2:50                       ` GCC vs. ccc  DiskMan
  1 sibling, 2 replies; 50+ messages in thread
From: Torsten Zirzlaff @ 2003-03-26  0:26 UTC (permalink / raw)


mru@users.sourceforge.net (M�ns Rullg�rd) writes:

[deletia]> 
> The K6 is very primitive compared to Alpha, so those numbers seem a
> bit strange.  Is there something weird going on?

  I do not know. I use the dnetc v2.9003-480-CTR-03012902 for Linux
(Linux 2.4.19) on the EV56 and get a avarage output of 81,004 keys/s.
On the AMD K6-3+
dnetc v2.9003-481-CTR-03020623 for Linux (Linux 2.2.19)

with an avarage output of 702,690 keys/s. Both run the RC5-72
problem. This sounds really weird to me.

> >   In real life the Alpha outperforms this old x86 box.
> 
> That's what it's usually like.

  Yup :).
 
> > > For floating point code, ccc still beats gcc with 30-100%.
> > 
> >   If you could use floats a bit more. 
> 
> In the high performance computing area floating point is the usual
> thing.  That is the market that the Alpha originally targeted.

  Well, I had the single precision in mind and not double
precision. Nevertheless the floating point performance is quite
good. Alas, SSE2 seems to be the choice of future number crunching.
 
> -- 
> M�ns Rullg�rd
> mru@users.sf.net

Ciao

        Torsten

-- 
s-mail: Neckarstr. 120                                         Torsten Zirzlaff
        70190 Stuttgart
        Germany                            e-mail :  zirzlaff@nienor.s.bawue.de
phone: +49 711 285 19 40                             torsten@zirzlaff.de
mobil: +49 174 857 56 77
data:  +49 711 286 40 57/9                 

+-----------------------------------------------------------------------------+
|  The shortest unit of time in the universe is the New York Second, defined  |
|  as the period of time between the traffic lights turning green and the cab |
|  behind you honking. -- Terry Pratchett 'Lords and Ladies'                  |
+-----------------------------------------------------------------------------+


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-25 21:30                     ` Måns Rullgård
  2003-03-26  0:26                       ` Torsten Zirzlaff
@ 2003-03-26  2:50                       `  DiskMan
  2003-03-26  8:36                         ` Måns Rullgård
  1 sibling, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-26  2:50 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]

Alpha's run pretty sweet from my point of view, I just wish mine supported
AGP and that's about it. If you check my Seti times, you will notice, the
Alpha runs equivalent to a Pentium III 1ghz (faster than the Pent IV 1.1ghz)
and the Alpha is a 533mhz running an unoptimized Seti client!

http://setiathome.ssl.berkeley.edu/stats/team/team_89045.html

All three of my computers (Will L G - ***) are running the text version...

"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1xd6kft9qf.fsf@manganonaujakasit.e.kth.se...
> Torsten Zirzlaff <t.zirzlaff@caa.de> writes:
>
> > > Which versions of GCC have you tried?  For integer computations I
> > > don't see much difference between ccc and gcc 3.2 with architecture
> > > specific optimizations.  The default compiler in most distributions
> > > will generate code that will run on any Alpha cpu.  The ev5 and up
> > > have byte and word memory accesses that improve speed quite a bit.
> >
> >   Well, it might so, but the integer perfomance lags quite behind
> > comparable x86 processors.
> >
> >    I had found that the dnetc client for alpha is hideously slow. An
> > EV56 500MHz seems to be 10 times slower as an AMD K6 2+ 500MHz. Which
> > seems quite astonishing to me.
>
> The K6 is very primitive compared to Alpha, so those numbers seem a
> bit strange.  Is there something weird going on?
>
> >   In real life the Alpha outperforms this old x86 box.
>
> That's what it's usually like.
>
> > > For floating point code, ccc still beats gcc with 30-100%.
> >
> >   If you could use floats a bit more.
>
> In the high performance computing area floating point is the usual
> thing.  That is the market that the Alpha originally targeted.
>
> -- 
> M�ns Rullg�rd
> mru@users.sf.net




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-25  8:23             ` Atro Tossavainen
@ 2003-03-26  2:53               `  DiskMan
  2003-03-26 12:09                 ` Atro Tossavainen
  0 siblings, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-26  2:53 UTC (permalink / raw)


I went ahead and did that... I wanted to see what the Compaq compiler could
do though... Right now, with gcc, I can shell out about 75mbs. Somewhat
above Samba.org's claim of 40mbs as being the average...

"Atro Tossavainen" <Atro.Tossavainen+news@helsinki.finland.invalid> wrote in
message news:pgzllz3q2g8.fsf@kruuna.Helsinki.FI...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > Bummer, I received the following error while compiling Samba 2.8.x
>
> Just compile Samba with gcc.  You won't lose any performance.  The
> processor is easily fast enough to fill your network if your disks
> can supply data fast enough.
>
> -- 
> Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
> Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
> +358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my
own.
> < URL : http : / / www . helsinki . fi / %7E atossava / >
>
> File attachments NOT welcome unless agreed to beforehand.




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-25 14:35                 ` GCC vs. ccc Måns Rullgård
  2003-03-25 16:29                   ` Torsten Zirzlaff
@ 2003-03-26  2:57                   `  DiskMan
  1 sibling, 0 replies; 50+ messages in thread
From:  DiskMan @ 2003-03-26  2:57 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 834 bytes --]

I was running GCC 3.2 and CCC 6.5.9...

"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1x1y0vwm3n.fsf_-_@manganonaujakasit.e.kth.se...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > FUNNY [;-) I'm just surprised how much fast programs run after using
> > Compaq's compiler... jez, its like night and day. About a 30% boost in
> > speed!  Will LG
>
> Which versions of GCC have you tried?  For integer computations I
> don't see much difference between ccc and gcc 3.2 with architecture
> specific optimizations.  The default compiler in most distributions
> will generate code that will run on any Alpha cpu.  The ev5 and up
> have byte and word memory accesses that improve speed quite a bit.
>
> For floating point code, ccc still beats gcc with 30-100%.
>
> -- 
> M�ns Rullg�rd
> mru@users.sf.net




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-26  2:50                       ` GCC vs. ccc  DiskMan
@ 2003-03-26  8:36                         ` Måns Rullgård
  0 siblings, 0 replies; 50+ messages in thread
From: Måns Rullgård @ 2003-03-26  8:36 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> Alpha's run pretty sweet from my point of view, I just wish mine supported
> AGP and that's about it. If you check my Seti times, you will notice, the
> Alpha runs equivalent to a Pentium III 1ghz (faster than the Pent IV 1.1ghz)
> and the Alpha is a 533mhz running an unoptimized Seti client!

SETI uses floating point, I think, but Alphas are faster for integers
too, especially 64-bit.  The only thing pentium has in favor is mmx.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-26  0:26                       ` Torsten Zirzlaff
@ 2003-03-26  8:37                         ` Måns Rullgård
  2003-03-26 13:15                           ` Antti Järvinen
  2003-03-26 12:07                         ` Atro Tossavainen
  1 sibling, 1 reply; 50+ messages in thread
From: Måns Rullgård @ 2003-03-26  8:37 UTC (permalink / raw)


Torsten Zirzlaff <zirzlaff@nienor.s.bawue.de> writes:

> > The K6 is very primitive compared to Alpha, so those numbers seem a
> > bit strange.  Is there something weird going on?
> 
>   I do not know. I use the dnetc v2.9003-480-CTR-03012902 for Linux
> (Linux 2.4.19) on the EV56 and get a avarage output of 81,004 keys/s.
> On the AMD K6-3+
> dnetc v2.9003-481-CTR-03020623 for Linux (Linux 2.2.19)
> 
> with an avarage output of 702,690 keys/s. Both run the RC5-72
> problem. This sounds really weird to me.

Is that program specially optimized for x86 with mmx or something?
That could explain things.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-25 16:29                   ` Torsten Zirzlaff
  2003-03-25 21:30                     ` Måns Rullgård
@ 2003-03-26 12:00                     ` Atro Tossavainen
  1 sibling, 0 replies; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-26 12:00 UTC (permalink / raw)


Torsten Zirzlaff <t.zirzlaff@caa.de> writes:

>    I had found that the dnetc client for alpha is hideously slow. An
> EV56 500MHz seems to be 10 times slower as an AMD K6 2+ 500MHz. Which
> seems quite astonishing to me.

At least with RC5, the existence of a certain type of rotate instruction
meant that x86 and PowerPC would perform much better in this contest than
any other processor type.

<URL:http://lists.distributed.net/hypermail/rc5.Mar1998/0351.html>

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-26  0:26                       ` Torsten Zirzlaff
  2003-03-26  8:37                         ` Måns Rullgård
@ 2003-03-26 12:07                         ` Atro Tossavainen
  2003-03-26 12:31                           ` Måns Rullgård
  1 sibling, 1 reply; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-26 12:07 UTC (permalink / raw)


Torsten Zirzlaff <zirzlaff@nienor.s.bawue.de> writes:

>   I do not know. I use the dnetc v2.9003-480-CTR-03012902 for Linux
> (Linux 2.4.19) on the EV56 and get a avarage output of 81,004 keys/s.
> On the AMD K6-3+
> dnetc v2.9003-481-CTR-03020623 for Linux (Linux 2.2.19)
> with an avarage output of 702,690 keys/s. Both run the RC5-72
> problem. This sounds really weird to me.

RC5 makes heavy use of "rotate left" which is one instruction on x86
and PPC and requires several instructions on all other platforms.

>   Well, I had the single precision in mind and not double
> precision. Nevertheless the floating point performance is quite
> good. Alas, SSE2 seems to be the choice of future number crunching.

<URL:http://n0cgi.distributed.net/faq/cache/264.html>

PowerPC G4 AltiVec doesn't seem to be doing too bad if RC5 is anything
to go by.  Athlon, which is the next best option, requires 290 clock
cycles for a key, the AltiVec enabled PPC client requires only 110.

A gigahertz PPC G4 would therefore crunch over 9 million keys per
second whereas one of those Athlon XP 1900+'s in that Linux cluster
over there would only do 5,5 million...

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-26  2:53               `  DiskMan
@ 2003-03-26 12:09                 ` Atro Tossavainen
  2003-03-26 12:34                   ` Måns Rullgård
  2003-03-26 13:39                   `  DiskMan
  0 siblings, 2 replies; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-26 12:09 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> I went ahead and did that... I wanted to see what the Compaq compiler could
> do though... Right now, with gcc, I can shell out about 75mbs. Somewhat
> above Samba.org's claim of 40mbs as being the average...

Can't find a reference to that claim.  URL please?

With file serving, everything is dependent on how fast your network is
and how fast your disks are.  CPU performance is usually not an issue
at all.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-26 12:07                         ` Atro Tossavainen
@ 2003-03-26 12:31                           ` Måns Rullgård
  2003-03-26 13:41                             ` Atro Tossavainen
  2003-03-27  1:05                             ` i386's are RISC CPU's  DiskMan
  0 siblings, 2 replies; 50+ messages in thread
From: Måns Rullgård @ 2003-03-26 12:31 UTC (permalink / raw)


Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid> writes:

> PowerPC G4 AltiVec doesn't seem to be doing too bad if RC5 is anything
> to go by.  Athlon, which is the next best option, requires 290 clock
> cycles for a key, the AltiVec enabled PPC client requires only 110.

That supports what I've said for a long time: that x86 is a dead end,
and the sooner everyone realizes it, the better.  IMHO, it's wasted
time and money to continue development of the crap when there are
excellent alternatives that could be boosted way past any present-day
pentium, given the same amount of resources.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-26 12:09                 ` Atro Tossavainen
@ 2003-03-26 12:34                   ` Måns Rullgård
  2003-03-26 13:44                     ` Atro Tossavainen
  2003-03-26 13:39                   `  DiskMan
  1 sibling, 1 reply; 50+ messages in thread
From: Måns Rullgård @ 2003-03-26 12:34 UTC (permalink / raw)


Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid> writes:

> > I went ahead and did that... I wanted to see what the Compaq compiler could
> > do though... Right now, with gcc, I can shell out about 75mbs. Somewhat
> > above Samba.org's claim of 40mbs as being the average...
> 
> Can't find a reference to that claim.  URL please?
> 
> With file serving, everything is dependent on how fast your network is
> and how fast your disks are.  CPU performance is usually not an issue
> at all.

It all depends on the particular combination of hardware.  A
pentium-100 would have trouble serving 50 MB/s, even if the disks were
capable of it.  Don't forget that all data has to be check summed, and
does take a few cycles per byte, at least.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-26  8:37                         ` Måns Rullgård
@ 2003-03-26 13:15                           ` Antti Järvinen
  0 siblings, 0 replies; 50+ messages in thread
From: Antti Järvinen @ 2003-03-26 13:15 UTC (permalink / raw)


mru@users.sourceforge.net (M�ns Rullg�rd) writes:
> Is that program specially optimized for x86 with mmx or something?
> That could explain things.

I think RC5 benefits pretty much from MMX, entirely another thing is 
that as majority of boxen running dnetc are intel the amount of 
hand-made optimization put into that intel-specific code is just
enormous and shows very well in results. 

-- 
Antti J�rvinen, costello@iki.fi
            "concerto for two faggots and orchestra" 


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-26 12:09                 ` Atro Tossavainen
  2003-03-26 12:34                   ` Måns Rullgård
@ 2003-03-26 13:39                   `  DiskMan
  2003-03-26 14:38                     ` Atro Tossavainen
  1 sibling, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-26 13:39 UTC (permalink / raw)


If you ever been to Samba.org you would be aware that it's pretty basic and
generally, when ever they have an update, the frontpage is renewed.

The speed claim was something I found sometime ago with a prior version.
That was about a year or so ago. What prompted them to make the statement
was simple, numerous people complained about the slow speed... If you want
to view some perf stats, take a look at:

http://setiathome.ssl.berkeley.edu/stats/team/team_89045.html

Keep in mind, if you go to the main page and check out stats sorted by cpu,
you will notice one glaring fact... The fastest Alphas process one Seti WU
in 20min... The FASTEST AMD/Intel are in the area of 3hrs... I 'think' the
fastest Alpha currently out, it something like 800mhz... I know there were
rumors about them releasing a 12000mhz model but I don't think that idea
ever bore fruit..

PS On the link I provided, please keep in mind that they're ALL running the
same text client version except for member #4, he's using the screen
saver... Also keep in mind, the versions for the i386 are optimized for
their respective cpu's wild the Alpha version isn't...


"Atro Tossavainen" <Atro.Tossavainen+news@helsinki.finland.invalid> wrote in
message news:pgzu1dqfhwt.fsf@kruuna.Helsinki.FI...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > I went ahead and did that... I wanted to see what the Compaq compiler
could
> > do though... Right now, with gcc, I can shell out about 75mbs. Somewhat
> > above Samba.org's claim of 40mbs as being the average...
>
> Can't find a reference to that claim.  URL please?
>
> With file serving, everything is dependent on how fast your network is
> and how fast your disks are.  CPU performance is usually not an issue
> at all.
>
> -- 
> Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
> Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
> +358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my
own.
> < URL : http : / / www . helsinki . fi / %7E atossava / >
>
> File attachments NOT welcome unless agreed to beforehand.




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-26 12:31                           ` Måns Rullgård
@ 2003-03-26 13:41                             ` Atro Tossavainen
  2003-03-26 13:46                               ` Måns Rullgård
  2003-03-27  0:55                               `  DiskMan
  2003-03-27  1:05                             ` i386's are RISC CPU's  DiskMan
  1 sibling, 2 replies; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-26 13:41 UTC (permalink / raw)


mru@users.sourceforge.net (Mᅵns Rullgᅵrd) writes:

>> PowerPC G4 AltiVec doesn't seem to be doing too bad if RC5 is anything
>> to go by.  Athlon, which is the next best option, requires 290 clock
>> cycles for a key, the AltiVec enabled PPC client requires only 110.
> 
> That supports what I've said for a long time: that x86 is a dead end,

(All RISC machines require far more than 290 cycles for the same task...)

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-26 12:34                   ` Måns Rullgård
@ 2003-03-26 13:44                     ` Atro Tossavainen
  2003-03-26 13:59                       `  DiskMan
  0 siblings, 1 reply; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-26 13:44 UTC (permalink / raw)


mru@users.sourceforge.net (Mᅵns Rullgᅵrd) writes:

> It all depends on the particular combination of hardware.  A
> pentium-100 would have trouble serving 50 MB/s, even if the disks were
> capable of it.

Yes.  You can attach that Intel PRO/1000 to a PCI-based Pentium 100,
but you won't be able to get much use out of it...

If your network only goes up to 10 MB/s (100 Mbps) who cares?

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-26 13:41                             ` Atro Tossavainen
@ 2003-03-26 13:46                               ` Måns Rullgård
  2003-03-26 14:39                                 ` Atro Tossavainen
  2003-03-27  0:55                               `  DiskMan
  1 sibling, 1 reply; 50+ messages in thread
From: Måns Rullgård @ 2003-03-26 13:46 UTC (permalink / raw)


Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid> writes:

> >> PowerPC G4 AltiVec doesn't seem to be doing too bad if RC5 is anything
> >> to go by.  Athlon, which is the next best option, requires 290 clock
> >> cycles for a key, the AltiVec enabled PPC client requires only 110.
> > 
> > That supports what I've said for a long time: that x86 is a dead end,
> 
> (All RISC machines require far more than 290 cycles for the same task...)

Who said RISC?  Well, this is col.alpha...  Anyway, it's not only
instruction count that matters, it's also how fast intructions
execute, and penalty for mispredicted branches etc.  IA32 is inferior
in most aspects, except raw clock speed.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-26 13:44                     ` Atro Tossavainen
@ 2003-03-26 13:59                       `  DiskMan
  2003-03-26 14:39                         ` Atro Tossavainen
  0 siblings, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-26 13:59 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]

He does have a point, that's one of the reasons I like 3com NIC's. The cpu
load is next to nothing regardless of the speed of the cpu... It's almost
entirely hardware while NIC's such as Linksys are largely software... You
can put a 3com on a 486, and it will come damn close to filling a 100mbs
pipe... try that with a Intel or worse, a Linksys...

"Atro Tossavainen" <Atro.Tossavainen+news@helsinki.finland.invalid> wrote in
message news:pgzel4ufdj2.fsf@kruuna.Helsinki.FI...
> mru@users.sourceforge.net (M�ns Rullg�rd) writes:
>
> > It all depends on the particular combination of hardware.  A
> > pentium-100 would have trouble serving 50 MB/s, even if the disks were
> > capable of it.
>
> Yes.  You can attach that Intel PRO/1000 to a PCI-based Pentium 100,
> but you won't be able to get much use out of it...
>
> If your network only goes up to 10 MB/s (100 Mbps) who cares?
>
> -- 
> Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
> Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
> +358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my
own.
> < URL : http : / / www . helsinki . fi / %7E atossava / >
>
> File attachments NOT welcome unless agreed to beforehand.




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-26 13:39                   `  DiskMan
@ 2003-03-26 14:38                     ` Atro Tossavainen
  0 siblings, 0 replies; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-26 14:38 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> If you ever been to Samba.org you would be aware that it's pretty basic and
> generally, when ever they have an update, the frontpage is renewed.
> 
> http://setiathome.ssl.berkeley.edu/stats/team/team_89045.html

I can't see the Samba connection w.r.t. SETI@home.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-26 13:59                       `  DiskMan
@ 2003-03-26 14:39                         ` Atro Tossavainen
  2003-03-26 16:13                           ` Måns Rullgård
  0 siblings, 1 reply; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-26 14:39 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> He does have a point, that's one of the reasons I like 3com NIC's. The cpu
> load is next to nothing regardless of the speed of the cpu...

My experience is that 3Com are crap.  We get plenty of oomph out of Intels.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-26 13:46                               ` Måns Rullgård
@ 2003-03-26 14:39                                 ` Atro Tossavainen
  0 siblings, 0 replies; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-26 14:39 UTC (permalink / raw)


mru@users.sourceforge.net (Mᅵns Rullgᅵrd) writes:

> > (All RISC machines require far more than 290 cycles for the same task...)
> 
> Who said RISC?  Well, this is col.alpha...  Anyway, it's not only
> instruction count that matters,

We're not talking instruction count, we're talking cycles.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-26 14:39                         ` Atro Tossavainen
@ 2003-03-26 16:13                           ` Måns Rullgård
  2003-03-27  8:44                             ` Atro Tossavainen
  0 siblings, 1 reply; 50+ messages in thread
From: Måns Rullgård @ 2003-03-26 16:13 UTC (permalink / raw)


Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid> writes:

> > He does have a point, that's one of the reasons I like 3com NIC's. The cpu
> > load is next to nothing regardless of the speed of the cpu...
> 
> My experience is that 3Com are crap.  We get plenty of oomph out of Intels.

I prefer Tulip series chips.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: GCC vs. ccc
  2003-03-26 13:41                             ` Atro Tossavainen
  2003-03-26 13:46                               ` Måns Rullgård
@ 2003-03-27  0:55                               `  DiskMan
  1 sibling, 0 replies; 50+ messages in thread
From:  DiskMan @ 2003-03-27  0:55 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 987 bytes --]

The Mac runs a Motorola RISC processor? Hmmmm, at 110...

"Atro Tossavainen" <Atro.Tossavainen+news@helsinki.finland.invalid> wrote in
message news:pgzfzpafdnj.fsf@kruuna.Helsinki.FI...
> mru@users.sourceforge.net (M�ns Rullg�rd) writes:
>
> >> PowerPC G4 AltiVec doesn't seem to be doing too bad if RC5 is anything
> >> to go by.  Athlon, which is the next best option, requires 290 clock
> >> cycles for a key, the AltiVec enabled PPC client requires only 110.
> >
> > That supports what I've said for a long time: that x86 is a dead end,
>
> (All RISC machines require far more than 290 cycles for the same task...)
>
> -- 
> Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
> Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
> +358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my
own.
> < URL : http : / / www . helsinki . fi / %7E atossava / >
>
> File attachments NOT welcome unless agreed to beforehand.




^ permalink raw reply	[flat|nested] 50+ messages in thread

* i386's are RISC CPU's
  2003-03-26 12:31                           ` Måns Rullgård
  2003-03-26 13:41                             ` Atro Tossavainen
@ 2003-03-27  1:05                             `  DiskMan
  2003-03-27  1:09                               ` Måns Rullgård
  1 sibling, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-27  1:05 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1186 bytes --]

ALL modern i386 CPU's offered by Intel, Cyrix, IBM, and AMD run a RISC core
with CISC emulation... It's been that way for several years now...

IBM's NEXTGEN i586
http://www.cpu-collection.de/?lev0=company&lev1=NexGen&lev2=Nx586

Intel Pentium Pro: RISC Core:
http://haxor.dk/articles/intel.html

Altera Nios Processor (i386):
http://www.e-insite.net/ednmag/index.asp?layout=article&articleid=CA47178

"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1xllz2ia18.fsf@plopp.e.kth.se...
> Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid> writes:
>
> > PowerPC G4 AltiVec doesn't seem to be doing too bad if RC5 is anything
> > to go by.  Athlon, which is the next best option, requires 290 clock
> > cycles for a key, the AltiVec enabled PPC client requires only 110.
>
> That supports what I've said for a long time: that x86 is a dead end,
> and the sooner everyone realizes it, the better.  IMHO, it's wasted
> time and money to continue development of the crap when there are
> excellent alternatives that could be boosted way past any present-day
> pentium, given the same amount of resources.
>
> -- 
> M�ns Rullg�rd
> mru@users.sf.net




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: i386's are RISC CPU's
  2003-03-27  1:05                             ` i386's are RISC CPU's  DiskMan
@ 2003-03-27  1:09                               ` Måns Rullgård
  2003-03-27  4:17                                 `  DiskMan
  2003-03-27  5:53                                 ` Christopher Browne
  0 siblings, 2 replies; 50+ messages in thread
From: Måns Rullgård @ 2003-03-27  1:09 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> > > PowerPC G4 AltiVec doesn't seem to be doing too bad if RC5 is anything
> > > to go by.  Athlon, which is the next best option, requires 290 clock
> > > cycles for a key, the AltiVec enabled PPC client requires only 110.
> >
> > That supports what I've said for a long time: that x86 is a dead end,
> > and the sooner everyone realizes it, the better.  IMHO, it's wasted
> > time and money to continue development of the crap when there are
> > excellent alternatives that could be boosted way past any present-day
> > pentium, given the same amount of resources.
> 
> ALL modern i386 CPU's offered by Intel, Cyrix, IBM, and AMD run a RISC core
> with CISC emulation... It's been that way for several years now...
> 
> IBM's NEXTGEN i586
> http://www.cpu-collection.de/?lev0=company&lev1=NexGen&lev2=Nx586
> 
> Intel Pentium Pro: RISC Core:
> http://haxor.dk/articles/intel.html
> 
> Altera Nios Processor (i386):
> http://www.e-insite.net/ednmag/index.asp?layout=article&articleid=CA47178

So why do we have to use the horrible emulation layer.  They should at
least add some way of switching it so you get access to the bare
metal.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: i386's are RISC CPU's
  2003-03-27  1:09                               ` Måns Rullgård
@ 2003-03-27  4:17                                 `  DiskMan
  2003-03-27 14:38                                   ` Måns Rullgård
  2003-03-27  5:53                                 ` Christopher Browne
  1 sibling, 1 reply; 50+ messages in thread
From:  DiskMan @ 2003-03-27  4:17 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1828 bytes --]

I agree with ya, when the new AMD 64bit CPU's roll out for the Desktop, I'm
getting me one!

From the way I understand it, the main reason they all rolled over to RISC
cores was simple, they wanted to boost the CPU clock speeds and it was the
easiest way to do it. The reason they kept the CISC emulator? For backward
compatibility for i368 software...

You have to keep in mind on the "Desktop Front", MHZ is everything... the
end all, be all.

"M�ns Rullg�rd" <mru@users.sourceforge.net> wrote in message
news:yw1x65q58vjy.fsf@zaphod.guide...
> " DiskMan" <nobody@thewheel.com> writes:
>
> > > > PowerPC G4 AltiVec doesn't seem to be doing too bad if RC5 is
anything
> > > > to go by.  Athlon, which is the next best option, requires 290 clock
> > > > cycles for a key, the AltiVec enabled PPC client requires only 110.
> > >
> > > That supports what I've said for a long time: that x86 is a dead end,
> > > and the sooner everyone realizes it, the better.  IMHO, it's wasted
> > > time and money to continue development of the crap when there are
> > > excellent alternatives that could be boosted way past any present-day
> > > pentium, given the same amount of resources.
> >
> > ALL modern i386 CPU's offered by Intel, Cyrix, IBM, and AMD run a RISC
core
> > with CISC emulation... It's been that way for several years now...
> >
> > IBM's NEXTGEN i586
> > http://www.cpu-collection.de/?lev0=company&lev1=NexGen&lev2=Nx586
> >
> > Intel Pentium Pro: RISC Core:
> > http://haxor.dk/articles/intel.html
> >
> > Altera Nios Processor (i386):
> >
http://www.e-insite.net/ednmag/index.asp?layout=article&articleid=CA47178
>
> So why do we have to use the horrible emulation layer.  They should at
> least add some way of switching it so you get access to the bare
> metal.
>
> -- 
> M�ns Rullg�rd
> mru@users.sf.net




^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: i386's are RISC CPU's
  2003-03-27  1:09                               ` Måns Rullgård
  2003-03-27  4:17                                 `  DiskMan
@ 2003-03-27  5:53                                 ` Christopher Browne
  2003-03-27 14:33                                   ` Måns Rullgård
  1 sibling, 1 reply; 50+ messages in thread
From: Christopher Browne @ 2003-03-27  5:53 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 595 bytes --]

In the last exciting episode, mru@users.sourceforge.net (M�ns Rullg�rd) wrote:
> So why do we have to use the horrible emulation layer.  They should at
> least add some way of switching it so you get access to the bare
> metal.

Heading to bare metal means having to rewrite the code generator and
redeploy /all/ the code every time you get a new CPU because it's got
a new instruction set.
-- 
output = ("cbbrowne" "@cbbrowne.com")
http://www3.sympatico.ca/cbbrowne/x.html
"I think fish is nice, but then I think that rain  is wet, so who am I
to judge?"  -- Ruler of the Universe, HHGTTG


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-26 16:13                           ` Måns Rullgård
@ 2003-03-27  8:44                             ` Atro Tossavainen
  2003-03-27 14:43                               ` Måns Rullgård
  0 siblings, 1 reply; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-27  8:44 UTC (permalink / raw)


mru@users.sourceforge.net (Mᅵns Rullgᅵrd) writes:

>> My experience is that 3Com are crap.  We get plenty of oomph out of Intels.
> 
> I prefer Tulip series chips.

You mean the ones that can't properly autonegotiate duplex on 100 Mbps
and/or don't even get connected at all with Motorola CyberSURFR cable
modems...?  I had to take out the Tulip from my XL 266 and replace
with anything else.  Whenever the XP1000 and PW433 at work are rebooted,
I have to force duplex manually.  (The switches are HP Procurve and
everything else is autonegotiating just fine.)

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: i386's are RISC CPU's
  2003-03-27  5:53                                 ` Christopher Browne
@ 2003-03-27 14:33                                   ` Måns Rullgård
  0 siblings, 0 replies; 50+ messages in thread
From: Måns Rullgård @ 2003-03-27 14:33 UTC (permalink / raw)


Christopher Browne <cbbrowne@acm.org> writes:

> > So why do we have to use the horrible emulation layer.  They should at
> > least add some way of switching it so you get access to the bare
> > metal.
> 
> Heading to bare metal means having to rewrite the code generator and
> redeploy /all/ the code every time you get a new CPU because it's got
> a new instruction set.

The Alpha has had basically the same instruction set for 10 years.
The difference is that it was well designed to begin with, unlike x86.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: i386's are RISC CPU's
  2003-03-27  4:17                                 `  DiskMan
@ 2003-03-27 14:38                                   ` Måns Rullgård
  0 siblings, 0 replies; 50+ messages in thread
From: Måns Rullgård @ 2003-03-27 14:38 UTC (permalink / raw)


" DiskMan" <nobody@thewheel.com> writes:

> I agree with ya, when the new AMD 64bit CPU's roll out for the Desktop, I'm
> getting me one!
> 
> From the way I understand it, the main reason they all rolled over to RISC
> cores was simple, they wanted to boost the CPU clock speeds and it was the
> easiest way to do it. The reason they kept the CISC emulator? For backward
> compatibility for i368 software...

I don't mind using an emulator for running old programs, but the
emulator need not be in hardware.  How many programs do you use that
run in 16-bit mode on x86?  Any fairly well-written program can be
compiled for any processor and just work.  Wait, I forgot about the
Bad Programmer...

> You have to keep in mind on the "Desktop Front", MHZ is everything... the
> end all, be all.

I know it too well.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-27  8:44                             ` Atro Tossavainen
@ 2003-03-27 14:43                               ` Måns Rullgård
  2003-03-28  9:25                                 ` Atro Tossavainen
  0 siblings, 1 reply; 50+ messages in thread
From: Måns Rullgård @ 2003-03-27 14:43 UTC (permalink / raw)


Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid> writes:

> > I prefer Tulip series chips.
> 
> You mean the ones that can't properly autonegotiate duplex on 100 Mbps
> and/or don't even get connected at all with Motorola CyberSURFR cable
> modems...?  I had to take out the Tulip from my XL 266 and replace
> with anything else.  Whenever the XP1000 and PW433 at work are rebooted,
> I have to force duplex manually.  (The switches are HP Procurve and
> everything else is autonegotiating just fine.)

My Miata works perfectly with a DLink switch, as does a 21040 card in
my sx164.

You could try to give the option full_duplex=0 to the tulip module.
It might help you.  The '0' means that the first tulip card should use
full duplex.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-27 14:43                               ` Måns Rullgård
@ 2003-03-28  9:25                                 ` Atro Tossavainen
  2003-03-28 10:59                                   ` Måns Rullgård
  0 siblings, 1 reply; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-28  9:25 UTC (permalink / raw)


mru@users.sourceforge.net (Mᅵns Rullgᅵrd) writes:

> You could try to give the option full_duplex=0 to the tulip module.
> It might help you.  The '0' means that the first tulip card should use
> full duplex.

I don't think the cable modem does full duplex.  The XP1000 and PW433
are running Tru64.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-28  9:25                                 ` Atro Tossavainen
@ 2003-03-28 10:59                                   ` Måns Rullgård
  2003-03-28 12:19                                     ` Atro Tossavainen
  0 siblings, 1 reply; 50+ messages in thread
From: Måns Rullgård @ 2003-03-28 10:59 UTC (permalink / raw)


Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid> writes:

> > You could try to give the option full_duplex=0 to the tulip module.
> > It might help you.  The '0' means that the first tulip card should use
> > full duplex.
> 
> I don't think the cable modem does full duplex.

I thought you were complaining that you didn't get full duplex by
default.

> The XP1000 and PW433 are running Tru64.

The, strictly, this is the wrong NG, but look at your ewa0* settings
in SRM?

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-28 10:59                                   ` Måns Rullgård
@ 2003-03-28 12:19                                     ` Atro Tossavainen
  2003-03-28 12:23                                       ` Måns Rullgård
  0 siblings, 1 reply; 50+ messages in thread
From: Atro Tossavainen @ 2003-03-28 12:19 UTC (permalink / raw)


mru@users.sourceforge.net (Mᅵns Rullgᅵrd) writes:

> I thought you were complaining that you didn't get full duplex by
> default.

Whatever the computers pick is wrong.  It appears to be quite random,
and it seems to depend on the phase of the moon and all such things
whether forcing full or half duplex will fix the problem du jour...

> The, strictly, this is the wrong NG, but look at your ewa0* settings
> in SRM?

Have to do that the next time I get to reboot them, but I doubt it
will have any effect.  Thanks anyway.

-- 
Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
+358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
< URL : http : / / www . helsinki . fi / %7E atossava / >

File attachments NOT welcome unless agreed to beforehand.


^ permalink raw reply	[flat|nested] 50+ messages in thread

* Re: Received and Error with Compaq CCC and Samba 2.8.x
  2003-03-28 12:19                                     ` Atro Tossavainen
@ 2003-03-28 12:23                                       ` Måns Rullgård
  0 siblings, 0 replies; 50+ messages in thread
From: Måns Rullgård @ 2003-03-28 12:23 UTC (permalink / raw)


Atro Tossavainen <Atro.Tossavainen+news@helsinki.finland.invalid> writes:

> > The, strictly, this is the wrong NG, but look at your ewa0* settings
> > in SRM?
> 
> Have to do that the next time I get to reboot them, but I doubt it
> will have any effect.  Thanks anyway.

Pay special attention to ewa0_mode.  The command 'set ewa0_mode'  will
give a list of valid modes.

-- 
M�ns Rullg�rd
mru@users.sf.net


^ permalink raw reply	[flat|nested] 50+ messages in thread

end of thread, other threads:[~2003-03-28 12:23 UTC | newest]

Thread overview: 50+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-23 10:56 Compiling with GCC on Linux  DiskMan
2003-03-23 11:40 ` Falk Hueffner
2003-03-23 14:11   ` Thanks for the prompt answer  DiskMan
2003-03-23 19:48     ` Måns Rullgård
2003-03-24  0:44       `  DiskMan
2003-03-24  9:40         ` Atro Tossavainen
2003-03-24 10:55         ` Måns Rullgård
2003-03-24 14:24           `  DiskMan
2003-03-24 14:39           ` Received and Error with Compaq CCC and Samba 2.8.x  DiskMan
2003-03-25  8:23             ` Atro Tossavainen
2003-03-26  2:53               `  DiskMan
2003-03-26 12:09                 ` Atro Tossavainen
2003-03-26 12:34                   ` Måns Rullgård
2003-03-26 13:44                     ` Atro Tossavainen
2003-03-26 13:59                       `  DiskMan
2003-03-26 14:39                         ` Atro Tossavainen
2003-03-26 16:13                           ` Måns Rullgård
2003-03-27  8:44                             ` Atro Tossavainen
2003-03-27 14:43                               ` Måns Rullgård
2003-03-28  9:25                                 ` Atro Tossavainen
2003-03-28 10:59                                   ` Måns Rullgård
2003-03-28 12:19                                     ` Atro Tossavainen
2003-03-28 12:23                                       ` Måns Rullgård
2003-03-26 13:39                   `  DiskMan
2003-03-26 14:38                     ` Atro Tossavainen
2003-03-24 14:48           ` Oh, if you're wondering .... PHP Compiles without a hitch *hmmm*  DiskMan
2003-03-25  1:25             ` Måns Rullgård
2003-03-25  7:24               `  DiskMan
2003-03-25 14:35                 ` GCC vs. ccc Måns Rullgård
2003-03-25 16:29                   ` Torsten Zirzlaff
2003-03-25 21:30                     ` Måns Rullgård
2003-03-26  0:26                       ` Torsten Zirzlaff
2003-03-26  8:37                         ` Måns Rullgård
2003-03-26 13:15                           ` Antti Järvinen
2003-03-26 12:07                         ` Atro Tossavainen
2003-03-26 12:31                           ` Måns Rullgård
2003-03-26 13:41                             ` Atro Tossavainen
2003-03-26 13:46                               ` Måns Rullgård
2003-03-26 14:39                                 ` Atro Tossavainen
2003-03-27  0:55                               `  DiskMan
2003-03-27  1:05                             ` i386's are RISC CPU's  DiskMan
2003-03-27  1:09                               ` Måns Rullgård
2003-03-27  4:17                                 `  DiskMan
2003-03-27 14:38                                   ` Måns Rullgård
2003-03-27  5:53                                 ` Christopher Browne
2003-03-27 14:33                                   ` Måns Rullgård
2003-03-26  2:50                       ` GCC vs. ccc  DiskMan
2003-03-26  8:36                         ` Måns Rullgård
2003-03-26 12:00                     ` Atro Tossavainen
2003-03-26  2:57                   `  DiskMan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox