Browse by Tags

Tagged Content List
  • Blog Post: Efficient Buffer management – Reduced LOH allocation

    BufferPools http://kennyw.com/indigo/51 I’m going to talk about the internals of WCF Bufferpooling as it stands today. Kenny and Andrew already have a posts on bufferpooling that cover them at a higher level. Here I dive into how the bufferPool was optimized further for working with the large object...
  • Blog Post: How do I find all the ETW sessions on the machine?

    logman is your tool for this. Here is how you can query for all the sessions and also how to see values from a particular session. c:\> logman -ets Data Collector Set Type Status ------------------------------------------------------------------------------- AITEventLog Trace Running Audio Trace...
  • Blog Post: Are connections pools shared between ChannelFactories?

    NO!! You can find out about the connection Pool settings here and you can check Kenny’s post on how connection pooling works.
  • Blog Post: How to synchronize multiple threads?

    In certain load tests you want to make sure a bunch of threads reach a particular state before they proceed with the rest of the work. You cannot make sure that all threads execute a point simultaneously since the CPU scheduling would determine this. However you can move these threads to Ready. A ready...
  • Blog Post: How to throttle callbacks or completions?

    WCF enables throttling execution of operations but not their completions. This becomes and issue when a large number of outstanding operations complete almost simultaneously causing the callback on the client to be overwhelmed with completions.  Generally we don’t expect the client to issue of infinite...
  • Blog Post: How to collect stacks during context switches?

    With xperf being more and more adopted and with rich stackwalking capabilities, its only natural to use it for finding out bottlenecks and cause for switch out. Findout the ready thread information and what causes the threads to switch out and the associated stack that woke up when a thread switches...
  • Blog Post: How to optimize Message Copy using CreateBufferedCopy?

    Problem Statement Some broker implementations require creating a copy the message forwarding it over to the backend. The broker also might slightly modify things like addressing headers etc. on the message for proper message routing within the DMZ. The problem is that we see a very high CPU cost in creating...
  • Blog Post: Concurrent Receives - MaxPendingReceives

    Note: Cross posted from Sajay . Permalink One of the performance improvements we did with WCF 4.0 was to enable concurrent receives. This greatly helps scenarios where we need to do some kind of work like DB authentication with username passwords or custom channels that may need to log something....
Page 1 of 1 (8 items)