Concurrency
Kuling, pt., 2010-08-06 19:47
- Kuling's blog
- Odpowiedz
- 13 odsłon
Kategorie:
Kuling, pt., 2010-08-06 19:19
http://content.dell.com/us/en/enterprise/d/large-business/thread-cores-which-you-need.aspx
- Kuling's blog
- Odpowiedz
- 14 odsłon
Kategorie:
Kuling, wt., 2010-08-03 13:12
Cytat:
Message passing’s major flaw is the inversion of control–it is a moral equivalent of gotos in un-structured programming (it’s about time somebody said that message passing is considered harmful). MP still has its applications and, used in moderation, can be quite handy; but PGAS offers a much more straightforward programming model–its essence being the separation of implementation from algorithm. The Platonic ideal would be for the language to figure out the best parallel implementation for a particular algorithm. Since this is still a dream, the next best thing is getting rid of the interleaving of the two in the same piece of code.
- Kuling's blog
- Odpowiedz
- 9 odsłon
Kategorie:
Kuling, wt., 2010-02-23 20:07
Cytat:
Example 1: Memory accesses and performance
Example 2: Impact of cache lines
Example 3: L1 and L2 cache sizes
Example 4: Instruction-level parallelism
Example 5: Cache associativity
Example 6: False cache line sharing
Example 7: Hardware complexities
http://igoro.com/archive/gallery-of-processor-cache-effects/
- Kuling's blog
- Odpowiedz
- 86 odsłon
Kategorie:
Kuling, wt., 2010-01-26 19:31
- Kuling's blog
- Odpowiedz
- 92 odsłony
Kategorie:
Kuling, wt., 2010-01-26 17:54
- Kuling's blog
- Odpowiedz
- 100 odsłon
Kategorie:
Kuling, czw., 2010-01-14 18:49
Cytat:
Overly aggressively admitting messages may seem like the right thing to do, until you’ve wedged yourself into some unforeseen inconsistent state. You can avoid this by making each message handler atomic; see Argus. But if you can't or don't have the discipline to do that, or aren't quite sure, you must not pump. You either avoid pumping altogether or you selectively pump messages that do not touch the state encapsulated by the pump. Or you lock access to state with a non-recursive lock and run the risk of deadlock.
http://www.bluebytesoftware.com/blog/2010/01/08/MusingOnMessagesAndBlocking.aspx
- Kuling's blog
- Odpowiedz
- 103 odsłony
Kategorie:
Kuling, wt., 2009-12-29 15:31
Cytat:
SleepEx(INFINITE, TRUE);
http://blogs.msdn.com/oldnewthing/archive/2006/05/03/589110.aspx
- Kuling's blog
- Odpowiedz
- 101 odsłon
Kategorie:
Kuling, wt., 2009-12-22 22:44
http://blogs.msdn.com/oldnewthing/archive/2004/06/29/168719.aspx
http://en.wikipedia.org/wiki/Reentrant_%28subroutine%29
- Kuling's blog
- Odpowiedz
- 154 odsłony
Kategorie:
Kuling, czw., 2009-11-12 18:32
Cytat:
Where possible, prefer structured lifetimes: ones that are local, nested, bounded, and deterministic. This is true no matter what kind of lifetime we're considering, including object lifetimes, thread or task lifetimes, lock lifetimes, or any other kind. Prefer scoped locking, using RAII lock-owning objects (C++, C# via using) or scoped language features (C# lock, Java synchronized). Prefer scoped tasks, wherever possible, particularly for divide-and-conquer and similar strategies where structuredness is natural. Unstructured lifetimes can be perfectly appropriate, of course, but we should be sure we need them because they always incur at least some cost in each of code complexity, code clarity and maintainability, and run-time performance. Where possible, avoid slippery spaghetti code, which becomes all the worse a nightmare to build and maintain when the lifetime issues are amplified by concurrency.
http://www.ddj.com/go-parallel/article/showArticle.jhtml?articleID=221601309
- Kuling's blog
- Odpowiedz
- 96 odsłon
Kategorie:
- 1
- 2
- 3
- 4
- 5
- 6
- następna ›
- ostatnia »
