Search found 846 matches

by phhnguyen
Tue Sep 27, 2011 12:36 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Engine sacrificing pieces!
Replies: 15
Views: 3114

Re: Engine sacrificing pieces!

Can you try to search little bit deeper? Say 6 or 7 instead of default 5?
(In main function, change the line:
max_depth = 6;
)

I think the main problem is the search depth is too small.
by phhnguyen
Sat Mar 05, 2011 12:28 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Perft 12 in progress
Replies: 49
Views: 7430

Re: Perft 12 in progress

I am wondering why your perft 12 is still hard when you have been using transposition table? If Paul Byrne spent few months of computing I guess you need only few days (if not few hours) with the help of that table. What am I missing here? I have been managing to compute perft 12 too but for Xiangqi...
by phhnguyen
Wed Feb 23, 2011 12:46 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: WinBoard 4.5.1 released
Replies: 8
Views: 2178

Re: WinBoard 4.5.1 released

I guess this must be a problem of the NSIS installer. Under older windows the menu links and folders are deleted without problem, but I don't have anything in the installer script that tells it to do that. The script provides macros for adding start-menu items, and when I use them, it seems to auto...
by phhnguyen
Tue Feb 22, 2011 10:43 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: WinBoard 4.5.1 released
Replies: 8
Views: 2178

Re: WinBoard 4.5.1 released

Thanks Muller for the new version. Just few quick problems: - Uninstall in Win7: after uninstalling (successfully), the WinBoard group still remains with all file icons (but none can be run) in Windows menu - Use Xiangqi pieces for displaying (Western) chess pieces. For previous versions, I usually ...
by phhnguyen
Sat Feb 19, 2011 2:47 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Attack and mobility evaluation in chess variants
Replies: 7
Views: 1824

Re: Attack and mobility evaluation in chess variants

... In a normal chess program, I would re-use the information from the mobility evaluation. However, for chess variants, I can't in general assume that pieces move in the same way as they capture. A clear example is the cannon in Chinese chess, which moves as a rook, but needs to leap over an inter...
by phhnguyen
Sat Feb 05, 2011 8:15 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Have Crafty's threads never gone to sleep?
Replies: 10
Views: 1733

Re: Have Crafty's threads never gone to sleep?

2 cores is something like 1.7x to 1.8x faster (for Crafty) averaged over a lot of positions. That is pretty significant in terms of additional speed. I have been testing my program on a laptop with a Core 2 Duo CPU. I use two threads for computing. The program runs with a small set of 20 positions ...
by phhnguyen
Tue Feb 01, 2011 12:25 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Have Crafty's threads never gone to sleep?
Replies: 10
Views: 1733

Re: Have Crafty's threads never gone to sleep?

Another wondering:

My computer uses Intel Core I7 CPU. The CPU is a quad-core processors but can run as 8 hyper-threaded cores.

Question: How many threads can I use effectively with Crafty? Is it OK if all hyper threaded cores (or all 8 threads) run with 100% power?
by phhnguyen
Tue Feb 01, 2011 12:01 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Have Crafty's threads never gone to sleep?
Replies: 10
Views: 1733

Re: Have Crafty's threads never gone to sleep?

Still confuse. For n cores, how many threads do you use for searching? n or n-1 or less? Just worry about "spare" power for io thread (to read commands from xboard) and for OS system. Should we reserve 1 core for them (io thread and system)? (If yes, it seems that 2 cores system is not very efficien...
by phhnguyen
Mon Jan 31, 2011 3:11 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Have Crafty's threads never gone to sleep?
Replies: 10
Views: 1733

Re: Have Crafty's threads never gone to sleep?

How can you solve the problem of non-ponder mode? Delete all threads?
by phhnguyen
Mon Jan 31, 2011 2:32 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Have Crafty's threads never gone to sleep?
Replies: 10
Views: 1733

Have Crafty's threads never gone to sleep?

My smp program is still so buggy and one of the problems is when its threads go to sleep (by calling function WaitForSingleObject) and then I have to wake them up later (sometimes they sleep forever, sometime they wake up suddenly :( ). Thus I take a look to Crafty code and feel amazing to see its t...