drmK

Help!

This thing is driving me crazy.

I have been trying to come up with a basic performance test on the WCF.

I have implemented already 4 different samples, and the best performace I can get is around 1000 messages per second with a 100% CPU load wich is pathetic.

Did try the WCF samples \TechnologySamples\Basic\Binding\Net\Tcp\ sample as well - still I get the same performace.

What is wrong here

There is a guy claiming 2,000,000 messages per second in this scenario. here :

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=1490825&SiteID=1

Did compile his test with a little modifications - still getting puny performance.

Any ideas highly appreciated!!



Re: Windows Communication Foundation (Indigo) WCF speed issues

Dave Cliffe - MSFT

One thing to try is the serviceThrottling behavior. Here is the sample where we demonstrate its usage:

http://msdn2.microsoft.com/en-us/library/ms751436.aspx

Hope this helps,

-- Dave





Re: Windows Communication Foundation (Indigo) WCF speed issues

drmK

Hello,

thanks for the suggestion. I did try changing the throtlling behaviour of my test service - and there seems to be no change. The problem I am experiencing is not the CPU load itself, as the CPU vs requests ratio.

In case someone has a sample where a service and client(s) are communicating at 10,000+ msgs per second on 1 machine, please post a link or the sample itself.

I am using small messages or direct calls so its not a bandwith issue - the load under testing is very small - max 70KB/s.





Re: Windows Communication Foundation (Indigo) WCF speed issues

Dave Cliffe - MSFT

Are you hosting your service in IIS Are you using any security options Message security

Could this simply be a hardware issue The performance can vary quite drastically with different hardware setups.

-- Dave





Re: Windows Communication Foundation (Indigo) WCF speed issues

R

I also have same problem.i ahve created one wcf which retrruns one dataset and one to update the database with object passed from the client.but it is very slow.no other functinality is there.could any one plz help me finding out the reason.

i also want to know about the

1)debugging tools and techniques available for wcf services

2)how to diaplay the address of the service in service page with public domain name instead of machine name i have changed by writing it in webconfig file as base address but no use.it is diaplaying with suystem name

plz help





Re: Windows Communication Foundation (Indigo) WCF speed issues

drmK

I am using the provided WCF sample, WCF samples package, this one :

"TechnologySamples\Basic\Binding\Net\Tcp\Default\CS\NetTcp.sln"

This one runs 2 console application agains one another. I added some behaviour throttlind to the config for those, for the throtling test.

Security options are by default, so there is some security added - the one that comes by default with the netTcpBinding. Messages are simple calls, nothing fancy.

I highly doubt hardware issue, as this is a moder machine I am testing on - 3GHz P4, 1GB ram, etc.





Re: Windows Communication Foundation (Indigo) WCF speed issues

Dave Cliffe - MSFT

drmK: I would check out this thread for some optimizations you can do for the NetTcpBinding. In particular, turning off transport security makes a huge impact (it is on by default).

http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=407526&SiteID=1

-- Dave





Re: Windows Communication Foundation (Indigo) WCF speed issues

Dave Cliffe - MSFT

R:

For 1), I would check out our end-to-end tracing and logging. Using the Service Trace Viewer tool helps immensely. Here's some information:

http://msdn2.microsoft.com/en-us/library/ms733025.aspx

http://msdn2.microsoft.com/en-us/library/ms751526.aspx

For 2), I saw your post on another thread, so I'll try to help you there.

-- Dave