Author: Robert Hyatt
Date: 21:00:31 08/08/02
Go up one level in this thread
On August 07, 2002 at 17:44:23, Gian-Carlo Pascutto wrote: >On August 07, 2002 at 17:40:43, Bas Hamstra wrote: > >>In fact it is an intriguing problem. I wish I had a dual. > >So do I :) > >>On the other hand: I >>like tournaments best when the competitors are on roughly equal HW. Is it >>somehow possible to simulate a dual on a single? You have a dual? If not, how do >>you do it? > >I run on a single (Linux) and measure the slowdown. > >-- >GCP This is useless testing. You have two processes running and only one cpu. At any instant in time, one can hold a lock and the other can be spinning waiting on the lock. The process scheduler has no idea which process is doing real work (the one holding the lock) or which is spinning (the one waiting on the lock). So you burn cpu cycles needlessly. If you have an idle loop (as I do using 'thread pools') then the same problem happens there... the scheduler can't tell which is actually searching for a position where the others can help, and which are spinning waiting on work doing nothing useful...
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.