| Proxy should be updated... |
Monday, August 24, 2009
No connection could be made because the target machine actively refused it...
| Just a self-reminder... Could be caused by WCF security configurations. Either set Binding→Security→Mode→None or if Mode is Transport - then add Windows credentials of user running the service in security config section. |
Sunday, August 16, 2009
Wednesday, August 12, 2009
The server has rejected the client credentials - WCF Exception
| Control Panel→Administrative Tools→Local Security Policy→Local Policies→User Rights Assignment→Access this computer from the network Now add Authenticated Users if your services runs as an application or Network Service if it's service. |
Monday, July 27, 2009
Google Books stickers
| Google giveaway Google Books stickers here: https://services.google.com/fb/forms/tendaysingooglebooks/ |
Sunday, July 26, 2009
How to: Update Windows driver from command line
devcon status "PCI\VEN_8086&DEV_24D5&SUBSYS_80F31043&REV_02" Please note that you should include driver ID in "quotation marks" and use part of string up to REV_02 (revision part).
Use driver ID from line in the end of that section, but only up to and including" "Revision" part, e.g. PCI\VEN_8086&DEV_24D5&SUBSYS_80F31043&REV_02\3&267A616A&0&EA devcon update "c:\windows\inf\oem0.inf" "PCI\VEN_8086&DEV_24D5&SUBSYS_80F31043&REV_02" |
Monday, July 20, 2009
TBB Performance
| My colleague who is working on optimization of quantitative calculations and plays around with Intel's thread building blocks (TBB) shared with me interesting performance results. Let's say you trying to do a simple math operation, e.g. sum numbers in arrays A and B into correspondent cells of array S. The intuitive guess would be that this is exactly type of operation that would benefit form running it in parallel on few threads/processors. Well, it's not and here are results (test was executed on two Intel's core Dell laptop): As you may see - running it using a straight loop is around four times faster than running it using TBB (selecting manual splitting of 1000 pieces) and around eight times faster (almost order of magnitude!) than running it using TBB and letting it employ automatic splitting heuristic. Our guess is that processor is perfectly fine-tuned for such types of task (locality of reference, L2 cache, optimistic pre-fetching of commands from pipe etc). If you employ few processors you introduce "coordination overhead" and pay performance price for it. It seems that TBB would provide performance benefits for tasks of a certain complexity balance - more complicated than described here, but still not "too complicate" so that coordination overhead is not too high... Here is the code if you want to check it out. |
Subscribe to:
Posts (Atom)