| View previous topic :: View next topic |
| Author |
Message |
Vincent Diepeveen
Joined: 09 Mar 2006 Posts: 1738 Location: The Netherlands
|
Post subject: Re: Stockfish port to C# Complete Posted: Tue Mar 20, 2012 1:12 am |
|
|
| RoadWarrior wrote: |
| diep wrote: |
| p.s. some years ago when we compared some algorithmic code in C versus C#, then C# was factor 4 slower, so anything you get it faster than that here, is a big achievement, besides the huge work of porting SF to C#. |
My fledgling and relatively unoptimised C# engine Amaia is searching 3.8M nps on a single core. That's using 64-bit Windows on an i7 2600K over-clocked to 4.6 GHz. It may not be a speed demon, but that number meets my current performance budget quite comfortably. At some point I'll run SF on this hardware/software so that I can do a comparison.
The evaluation function includes material, mobility, PSTs, pawn structures, and king safety. There is no SMP or TT yet, and also no QS or extensions - all work in progress.
I haven't looked at the assembly code produced by the JIT compiler yet. When I do, I suspect that I'll find a few decent performance improvements. |
Mark, i was getting that 3 mln nps already at an oldie K7, a total inferior processor, and that was INCLUDING a qsearch, and from Diep i had cut'n pasted a few routines for eval, not too much of course yet sure it worked; qsearch of course slows you down BIGTIME.
Also inside the qsearch, which determines at beancounters the speed so much, it was using diep's way of knowing when to capture or not, which obviously is a routine not optimized for speed that much.
Realistically an optimized beancounter doing what you wrote at 4.6Ghz is gonna get nearly 10 mln nps or so.
Now one thing no one can speedup and that's branches of course.
Yet 500 cycles per node, realize Schach 3.0 already was 600 cycles per node at an oldie pentium...
Sure, that was in assembler...
Vincent |
|
| Back to top |
|
 |
|
| Subject |
Author |
Date/Time |
Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 9:13 pm |
Re: Stockfish port to C# Complete |
Jan Brouwer |
Thu Mar 15, 2012 9:29 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 9:45 pm |
Re: Stockfish port to C# Complete |
Jan Brouwer |
Thu Mar 15, 2012 10:51 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 11:04 pm |
Re: Stockfish port to C# Complete |
Mel Cooper |
Mon Mar 19, 2012 12:11 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 15, 2012 11:08 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 2:57 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 3:05 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:24 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 3:27 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:44 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 3:47 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:59 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 4:11 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 18, 2012 4:49 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 18, 2012 5:00 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 18, 2012 5:22 pm |
Re: Stockfish port to C# Complete |
Ronald de Man |
Sun Mar 18, 2012 5:53 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 7:01 pm |
Re: Stockfish port to C# Complete |
Matthew R. Brades |
Sun Mar 18, 2012 7:06 pm |
Re: Stockfish port to C# Complete |
Ronald de Man |
Sun Mar 18, 2012 7:10 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 18, 2012 10:31 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Mon Mar 19, 2012 3:55 am |
Re: Stockfish port to C# Complete |
Marco Costalba |
Mon Mar 19, 2012 7:42 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 19, 2012 8:00 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 19, 2012 8:03 am |
Re: Stockfish port to C# Complete |
Ronald de Man |
Mon Mar 19, 2012 7:41 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Mon Mar 19, 2012 4:27 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Tue Mar 20, 2012 1:12 am |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sat Mar 24, 2012 11:43 am |
Re: Stockfish port to C# Complete |
Gary |
Sat Mar 24, 2012 1:15 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sat Mar 24, 2012 3:28 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sat Mar 24, 2012 5:13 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 7:15 am |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sun Mar 25, 2012 10:40 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 25, 2012 9:50 am |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 25, 2012 10:14 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 25, 2012 3:23 pm |
Re: Stockfish port to C# Complete |
Marco Costalba |
Sun Mar 25, 2012 5:16 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 26, 2012 9:34 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Tue Mar 27, 2012 10:23 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 9:03 am |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 11:13 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 12:39 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 12:48 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 12:54 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 1:06 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Wed Mar 28, 2012 1:08 pm |
Re: Stockfish port to C# Complete |
Robert Hyatt |
Wed Mar 28, 2012 5:01 pm |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 5:19 pm |
GCC 4.7.0 versus intel c++ |
Vincent Diepeveen |
Fri Mar 30, 2012 12:15 am |
Re: GCC 4.7.0 versus intel c++ |
Jim Ablett |
Fri Mar 30, 2012 9:18 am |
Re: GCC 4.7.0 versus intel c++ |
Vincent Diepeveen |
Fri Mar 30, 2012 1:15 pm |
Re: Stockfish port to C# Complete |
Ricardo Barreira |
Wed Mar 28, 2012 2:46 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Sun Mar 25, 2012 11:03 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 12:31 pm |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Sun Mar 25, 2012 3:39 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 4:50 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Sun Mar 25, 2012 5:05 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 25, 2012 8:31 pm |
Re: Stockfish port to C# Complete |
Ted Wong |
Mon Mar 26, 2012 12:50 am |
Re: Stockfish port to C# Complete |
David Whitten |
Mon Mar 26, 2012 10:38 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Mon Mar 26, 2012 6:02 am |
Re: Stockfish port to C# Complete |
David Whitten |
Mon Mar 26, 2012 10:42 am |
Re: Stockfish port to C# Complete |
Vincent Diepeveen |
Mon Mar 26, 2012 9:59 pm |
Re: Stockfish port to C# Complete |
Mark Pearce |
Tue Mar 27, 2012 7:43 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Sun Mar 18, 2012 3:23 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Wed Mar 21, 2012 10:48 pm |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 22, 2012 4:19 am |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Thu Mar 22, 2012 6:51 am |
Re: Stockfish port to C# Complete |
David Whitten |
Thu Mar 22, 2012 3:19 pm |
Re: Stockfish port to C# Complete |
Balint Pfliegel |
Fri Mar 23, 2012 5:47 am |
Re: Stockfish port to C# Complete |
Jim Ablett |
Wed Mar 28, 2012 4:14 pm |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|