Programowanie
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
- 6 odsłon
Venkman is the code name for Mozilla's JavaScript Debugger. Venkman aims to provide a powerful JavaScript debugging environment for Gecko-based browsers namely Firefox 3.x, the Netscape 7.x series of browsers, Netscape 9.x series, Mozilla Seamonkey 1.x and Mozilla Seamonkey 2.x. It does not include Gecko-based browsers such as K-Meleon 1.x, Galeon 2.x and Netscape 8.x. The debugger is available as an add-on package in XPI format. Venkman JavaScript Debugger has been provided as part of the Mozilla install distribution since October 3rd 2001.
- Kuling's blog
- Odpowiedz
- 14 odsłon
Applications should also take care to avoid filling the cache with data that isn't needed. Remember, the cache is very small compared to main memory and every unnecessary data byte in the cache is taking up space that could be used beneficially by more relevant data. One simple way to avoid wasting cache space is to use smaller data types when possible. For example, a data structure might include an integer numeric field that ranges in value between 1 and 1000. Often a 32-bit INT would be used to store this value, but in this case that is overkill; a SHORT (two bytes) would work as well, and take up half the space.
http://developer.amd.com/documentation/articles/pages/PerformanceOptimizationofWindowsApplicationsonAMDProcessors2.aspx.aspx
- Kuling's blog
- Odpowiedz
- 11 odsłon
http://channel9.msdn.com/shows/Going+Deep/Silviu-Calinoiu-Inside-Windows-7-Fault-Tolerant-Heap/
http://msdn.microsoft.com/en-us/library/dd744764%28VS.85%29.aspx
- Kuling's blog
- Odpowiedz
- 18 odsłon
- Kuling's blog
- Odpowiedz
- 15 odsłon
- Kuling's blog
- Odpowiedz
- 18 odsłon
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
- 20 odsłon
1. Set _NT_SYMBOL_PATH to something similiar
_NT_SYMBOL_PATH=srv*d:\pdb_cache*http://msdl.microsoft.com/download/symbols
2. Download LiveKd v 3.12 or higher
http://technet.microsoft.com/en-us/sysinternals/bb897415.aspx
3. Download and install WinDbg (6.11 or higher version)
http://www.microsoft.com/whdc/devtools/debugging/installx86.mspx#b
4. Copy livekd to directory of WinDbg
(C:\Program Files\Debugging Tools for Windows (x86))
5. Run
livekd -w
6. Have a fun
P.S. If you have problems then temporary disable firewall to allow download symbols from Microsoft symbols server.
http://forum.sysinternals.com/forum_posts.asp?TID=13501&PN=3
- Kuling's blog
- Odpowiedz
- 29 odsłon
SleepEx(INFINITE, TRUE);
http://blogs.msdn.com/oldnewthing/archive/2006/05/03/589110.aspx
- Kuling's blog
- Odpowiedz
- 27 odsłon
http://blogs.msdn.com/oldnewthing/archive/2004/06/29/168719.aspx
http://en.wikipedia.org/wiki/Reentrant_%28subroutine%29
- Kuling's blog
- Odpowiedz
- 29 odsłon
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- …
- następna ›
- ostatnia »
