Is this group still alive?

36 views
Skip to first unread message

Ron Peacetree

unread,
Feb 25, 2015, 2:06:38 AM2/25/15
to edax-r...@googlegroups.com
I want to discuss improving edax.   Hopefully there is someone paying attention so a conversation is possible?

Cyrano

unread,
Feb 25, 2015, 4:43:12 AM2/25/15
to edax-r...@googlegroups.com
I listen 😎

Envoyé de mon iPhone

Le 25 févr. 2015 à 08:06, Ron Peacetree <rjp...@earthlink.net> a écrit :

I want to discuss improving edax.   Hopefully there is someone paying attention so a conversation is possible?

--
You received this message because you are subscribed to the Google Groups "Edax Reversi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to edax-reversi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Edax

unread,
Feb 25, 2015, 10:01:52 AM2/25/15
to edax-r...@googlegroups.com
Le 25/02/2015 08:06, Ron Peacetree a écrit :
I want to discuss improving edax.   Hopefully there is someone paying attention so a conversation is possible?
--
You received this message because you are subscribed to the Google Groups "Edax Reversi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to edax-reversi...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

The group is not dead, although not very active (my fault, as Edax development is not very active either). As I am the main programmer of Edax, I am ok to discuss on improving Edax. However I do not guarantee to include anything in a future version of Edax.

--
Richard

Ron Peacetree

unread,
Feb 25, 2015, 10:08:21 AM2/25/15
to edax-r...@googlegroups.com
Enough time has passed since the original design of edax in ~1998 that there have been some significant changes in HW architecture:
=as of this writing, one can buy commodity systems (albeit servers at present) that support 1-2 TeraBytes of RAM
=1+ TeraByte SSDs with ~RAM speed IO paths (SATA Express) are now reality.
=GPU functionality is becoming much more tightly integrated to CPUs
=GPUs are far better general purpose computing devices than they were even 2 years ago
=HW support for transactional memory
=HW support for automated fine grain parallelism

All of the above suggests that it might be time to see if the performance of edax could be significantly improved:
=support for transposition tables up to 1+ TB
=seeing if the magic bitboard code can better leverage the GPU infrastructure
=seeing where else move generation and evaluation could be improved by the HW changes

The laptop i'm writing this on is an i7-4860HQ with 32GB of RAM and a nVidia GeForce GTX 980M running Win 8.1
the "stock" Edax 4.3.2 distro routinely searches 20-40M nps with peaks of 50-65M nps on this system.
(hash-table-size 30, n-tasks 4, level 32 or 34)

With larger transposition tables and improvements I think could be made to the engine, edax might be able to routinely do 100+ M nps searches and search 40-42 plies reasonably efficiently.  Especially on HW better than my laptop ;-)

So I'm looking for people who know the edax architecture and source well to talk to about how to improve edax along the lines I'm suggesting.

Hope the long post was worth reading
Ron Peacetree 

Edax

unread,
Feb 25, 2015, 6:37:04 PM2/25/15
to edax-r...@googlegroups.com
Le 25/02/2015 16:08, Ron Peacetree a écrit :
> Enough time has passed since the original design of edax in ~1998 that
> there have been some significant changes in HW architecture:
I do not think there is a single line of Edax 1.0 (the 1998 version) in
Edax 4.x. Edax has been rewritten from scratch between each major
version. It does take into account some recent changes in hardware
architecture: 64 bit instructions, multi-core CPU, etc. that were not
available (at a reasonable price) in 1998.
> =as of this writing, one can buy commodity systems (albeit servers at
> present) that support 1-2 TeraBytes of RAM
> =1+ TeraByte SSDs with ~RAM speed IO paths (SATA Express) are now reality.
They won't replace ram. RAM is still ~1000x faster than SSD for access
time.
> =GPU functionality is becoming much more tightly integrated to CPUs
> =GPUs are far better general purpose computing devices than they were
> even 2 years ago
> =HW support for transactional memory
> =HW support for automated fine grain parallelism
All this is very recent (in Haswell CPU or higher), and sometimes buggy
(transactional memory on the first Haswell or Broadwell CPU).

>
> All of the above suggests that it might be time to see if the
> performance of edax could be significantly improved:
> =support for transposition tables up to 1+ TB
That's easy to do, but, considering the transposition table size,
/bigger/ does not mean /better/.

> =seeing if the magic bitboard code can better leverage the GPU
> infrastructure

Probably not. As far as I know, it is still very slow to switch between
GPU & CPU. It means you cannot have the move generator on the GPU & the
search in the CPU.

> =seeing where else move generation and evaluation could be improved by
> the HW changes
move generation can benefit of some new instructions available in the
Haswell, for example with the following code :
https://code.google.com/r/okuharaandroid-edax-reversi/source/browse/src/flip_avx.c

>
> The laptop i'm writing this on is an i7-4860HQ with 32GB of RAM and a
> nVidia GeForce GTX 980M running Win 8.1
> the "stock" Edax 4.3.2 distro routinely searches 20-40M nps with peaks
> of 50-65M nps on this system.
> (hash-table-size 30, n-tasks 4, level 32 or 34)
A few tricks to run Edax faster:
- Try a smaller hash-table-size (25 should be near optimal for level
32-34) & n-tasks 8.
- Try to recompile Edax (stock Edax is optimized for generic CPU, if you
recompile it, it will be optimized for yourown cpu).
- Avoid windows (10% slower than Linux or Mac OS/X).

> With larger transposition tables and improvements I think could be
> made to the engine, edax might be able to routinely do 100+ M nps
> searches and search 40-42 plies reasonably efficiently. Especially on
> HW better than my laptop ;-)
When solving fforum 40-59, Edax reaches 140 MNPS on my computer
(i7-2600k at 4Ghz).

--
Richard


Reply all
Reply to author
Forward
0 new messages