POV-Ray : Newsgroups : povray.off-topic : "What every programmer should know about RAM" : Re: "What every programmer should know about RAM" Server Time
1 Oct 2024 11:29:31 EDT (-0400)
  Re: "What every programmer should know about RAM"  
From: Warp
Date: 21 Apr 2008 18:29:47
Message: <480d155a@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Actually, there is. Look up Lamport's "baker's algorithm."  Weird stuff.

  Mutual exclusion in software is always a bottleneck, especially if
it needs to be executed a lot. This is the reason why, for example,
developing lock-free data containers has been so fervously studied
in the gaming industry. (There's about 16 milliseconds between frames
to calculate everything that needs to be calculated to create the
next frame, eg. physics and AI, and basically none of this time can
be spent in mutual exclusion locks. Software locks can cause a very
considerable overhead in such situations and are basically out of
question.)

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.