Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: AMD A64 X2 DUALCORE (more)

Author: Gian-Carlo Pascutto

Date: 08:46:24 08/06/05

Go up one level in this thread


On August 06, 2005 at 10:55:04, Robert Hyatt wrote:

>BTW, I don't see how _any_ thread approach can be "much higher performance"
>since they all revolve around the clone() system call and kernel process
>scheduler.  Perhaps the barriers, locks, and stuff are significantly more
>efficient, but then I don't use any of that whatsoever in Crafty anyway.  I
>start threads, and then use inline locks and nothing else from a thread library
>at all, other than what the "control thread" does...  It is going to be
>"history" real soon, hopefully this weekend. :)

Basically, Linux 2.6 has special kernel thread acceleration, and the new thread
libraries can make use of that.

Search a bit for

LinuxThreads vs. NGPT vs. NPTL

It's fascinating reading if you are into that kind of stuff.

--
GCP



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.