Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Linux

Author: Vincent Diepeveen

Date: 12:46:18 08/22/99

Go up one level in this thread


On August 22, 1999 at 08:47:16, Andrew Williams wrote:

>On August 22, 1999 at 08:35:28, Frank Phillips wrote:
>
>>I have just ported my chess program to Linux (RedHat5.2) and compiled it with
>>egcs.  Sadly it is about 30 percent slower than under W98 compiled with MSVC++
>>5.  I have tried various compiler options, but plain and simple  -O -mpentium
>>seems about fastest on my K6.
>>
>
>On my K6-2 300, I use:
>	gcc -O6 -malign-functions=3
>
>Which is as fast as I can get it. I don't have Windows, so I can't compare.

For DIEP it all doesn't matter. gcc 2.7.2.3, gcc 2.95 , pgcc or
any other thing that runs on linux. It's all the same gcc compiler,
speedwise seen for DIEP.

It's all 7% slower than msvc 6.0

Best working is simply -O2 for DIEP. -mpentiumpro -march=pentiumpro
and all other optimizations don't help or slow it even down slightly.

Note that msvc 6.0 is about 1% faster than 5.0 for DIEP, so this
was also speedwise seen an improvement.

>
>Andrew Williams
>

>>The W98 version of my program relies on the vcinline.h code in crafty to do
>>PopCnt(), FirstOne() and LastOne().  Egcs (GNU assembler) does not seem to
>>understand MS assembly language, so I used x86.s to replace these functions for
>>the Linux version.  This does not seem to be main the problem, however, since
>>comparisons using boolean.c from crafty in place of vcinline.h and x86.s give
>>about the same advantage to W98/MSVC++.   Has anyone else had a similar
>>experience?
>>
>>Frank
>>
>>BTW if anyone knows where I can get an Xserver for an Ati Rage Fury (Rage 128)
>>AGP card please tell me.  I can then run Linux and KDE on my PII 450.

Linux never supports the newest things that quickly.

Just a few people are working (paid) fulltime on linux, don't forget that.
It's hard for them to be that quick!

A very good sold 3d agp card of 20$ which outperformed under NT
any $$$ PCI card i had seen by a huge factor didn't get support for a long
period of time. I solved my problem by buying a new video card that was
supported.

Vincent





This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.