ChessUSA.com TalkChess.com
Hosted by Your Move Chess & Games
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Lazy SMP >4 Thread Slowdown
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions Flat
View previous topic :: View next topic  
Author Message
Ronald de Man



Joined: 28 Feb 2012
Posts: 3707

PostPost subject: Re: Lazy SMP >4 Thread Slowdown    Posted: Wed Nov 29, 2017 10:20 am Reply to topic Reply with quote

Shared cache lines. Use per-thread node counters, etc.

Are you using locked instructions or heavily accessed atomic variables?

On Linux, use "perf c2c" to find the cache lines that are shared, either because of a real shared variable or because of falsely shared variables (thread-specific ones that happen to sit in the same cache line).
_________________
https://github.com/syzygy1/tb
Back to top
View user's profile Send private message
Display posts from previous:   
Subject Author Date/Time
Lazy SMP >4 Thread Slowdown Can Cetin Wed Nov 29, 2017 1:41 am
      Re: Lazy SMP >4 Thread Slowdown...NUMA? Srdja Matovic Wed Nov 29, 2017 6:41 am
            Re: Lazy SMP >4 Thread Slowdown...NUMA? Can Cetin Wed Nov 29, 2017 6:46 am
      Re: Lazy SMP >4 Thread Slowdown Richard Delorme Wed Nov 29, 2017 6:41 am
      Re: Lazy SMP >4 Thread Slowdown Ronald de Man Wed Nov 29, 2017 10:20 am
      Re: Lazy SMP >4 Thread Slowdown Dann Corbit Wed Nov 29, 2017 4:02 pm
            Re: Lazy SMP >4 Thread Slowdown Can Cetin Wed Nov 29, 2017 6:20 pm
Post new topic    TalkChess.com Forum Index -> Computer Chess Club: Programming and Technical Discussions

 
Jump to:  
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




Powered by phpBB © 2001, 2005 phpBB Group
Enhanced with Moby Threads