Search found 50 matches

by Richard Vida
Mon Feb 11, 2013 3:08 pm
Forum: Programming and Technical Discussions
Topic: Multi-threaded memory access
Replies: 8
Views: 4534

Re: Multi-threaded memory access

According to http://software.intel.com/sites/product ... _guide.pdf, page 9, Intel Nehalem has a 512 entry TLB and a 32 entry DTLB for large pages (2Mb/4Mb) per core. One can conclude that
- it doesn't matter whether threads or processes are used since each thread running on a separate core has its ...
by Richard Vida
Sun Feb 10, 2013 2:50 pm
Forum: Programming and Technical Discussions
Topic: Multi-threaded memory access
Replies: 8
Views: 4534

Re: Multi-threaded memory access


1) Why does the memory access time depend on the amount of memory allocated?


TLB misses. Resolving a virtual address to a physical one can take up to 4 additional memory reads. Using large pages really helps a lot with larger hash sizes.

http://en.wikipedia.org/wiki/Translation_lookaside ...
by Richard Vida
Sun Feb 10, 2013 2:39 pm
Forum: Programming and Technical Discussions
Topic: Multi-threaded memory access
Replies: 8
Views: 4534

Re: Multi-threaded memory access


1) Why does the memory access time depend on the amount of memory allocated?


TLB misses. Resolving a virtual address to a physical one can take up to 4 additional memory reads. Using large pages really helps a lot with larger hash sizes.

http://en.wikipedia.org/wiki/Translation_lookaside ...
by Richard Vida
Wed Jan 30, 2013 12:57 am
Forum: Engines, GUIs, Books and Platforms
Topic: New Engine: Robodini 1.1 w32 & x64 !!!
Replies: 47
Views: 32014

Re: New Engine: Robodini 1.1 w32 & x64 !!!

Sorry for the confusion I unwillingly created.

Please read my post on talkchess:
http://www.talkchess.com/forum/viewtopic.php?t=47045
by Richard Vida
Wed Jan 16, 2013 6:34 pm
Forum: Programming and Technical Discussions
Topic: Bitboard data structure
Replies: 8
Views: 2839

Re: Bitboard data structure

Hamfer wrote: What is the better data structure for performance?
Performance-wise they are equivalent. For convenience IMO it is best to use an union of both.
by Richard Vida
Tue Nov 27, 2012 9:05 am
Forum: Programming and Technical Discussions
Topic: Ponder and UCI
Replies: 4
Views: 4646

Re: Ponder and UCI

geko wrote:thanks Richard,
in first example, why
position p1 moves a2a3 a7a6 ???
should it be position p1 moves a2a3
a7a6 is the expected value
No. With UCI you never ponder the opponents move. You ponder your next move (as if the opponent already played the predicted reply).
by Richard Vida
Mon Nov 26, 2012 1:27 pm
Forum: Programming and Technical Discussions
Topic: Ponder and UCI
Replies: 4
Views: 4646

Re: Ponder and UCI

as an example, is this a correct sequence of commands?
...
engine_1 -> bestmove a2a3 a7a6 ponderhit
engine_1 continues the search in ponder mode
engine_2 -> ponderhit
engine_1 plays a7a6, stops the ponder, continues the standard search and responds with bestmove b2b3
...

best regards
g ...
by Richard Vida
Sun Nov 25, 2012 11:26 am
Forum: Help, Suggestions, Etc.
Topic: wiki for programming principles
Replies: 2
Views: 25947

Re: wiki for programming principles

Terradon wrote:I do not know how other people think about it, but i just can't find all the pieces about chess programming all together at one place.
Hi,

Please take a look at this excellent site: http://chessprogramming.wikispaces.com/
by Richard Vida
Fri Sep 07, 2012 11:32 am
Forum: Engines, GUIs, Books and Platforms
Topic: Critter 1.6
Replies: 7
Views: 3415

Re: For Richard Vida

Carlos Ylich wrote:For Richard Life
How do I clear the session file? :roll:
Among UCI options there should be a button named "Clear SF". Or simply delete the file while Critter is not running.
by Richard Vida
Thu Aug 02, 2012 2:06 pm
Forum: Programming and Technical Discussions
Topic: Beginner: simple chess board representation
Replies: 1
Views: 1563

Re: Beginner: simple chess board representation

Javascript is quite slow no matter what you do, so I would suggest not going too fancy and stick with the "simpler = better" rule. Given that you do not intend to do any search, speed is not so essential. Just for generating legal moves I would go with the simple "int squares[64]" board ...