« Previous Next »

Thread: .Net Remoting extremely slow under IIs7

Last post 11-05-2009 11:43 AM by anilr. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 10-07-2009, 7:43 AM

    • Abhi-LA
    • Not Ranked
    • Joined on 10-07-2009, 11:30 AM
    • Posts 5

    .Net Remoting extremely slow under IIs7

    I deployed my .Net 2.0 (binary,http) Remoting service application on a new 16 core , 8 GB RAM server. The server is 64 bit, and the application is compiled under Any CPU option. Most of the IIS7 settings are default. The app pool is classis .Net 2.0.

    I am running a basic one request-at-a-time remoting client to test the application.The requests are being processed extremely slow. I dont see CPU being used more than 1% on any core. and memory usage is 100 MB for the w3wp process

    I run this same application code in production under IIS6, on a 4 core server, with 4GB RAM, the application processes millions of queries a day.

    I added some cutom profiling to code and the entire processing of a single request is done within less than 100 milliseconds but the overall response time is more than a second. So I have a feeling its the serialization of the request and response thats taking another 900 ms.

    Has anybody tested .Net remoting with IIS7, any special settings needed to get this working?

    This is really frustrating as we invested in buying new hardware and installed Windows Server 2008. Any help from Microsoft professionals will be greatly appreciated.

    Thanks, Abhi

  • 10-07-2009, 12:49 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: .Net Remoting extremely slow under IIs7

    Can you try collecting some failed request traces for the requests on IIS7 - they should probably pinpoint where the delay is happening.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-07-2009, 1:25 PM In reply to

    • Abhi-LA
    • Not Ranked
    • Joined on 10-07-2009, 11:30 AM
    • Posts 5

    Re: .Net Remoting extremely slow under IIs7

    Hi Anilr,

    I looked at the failed request trace, I am not able to pin point anything there. all entries seem to have (0 ms) time duration but the overall request is calculated to take more than 1 seconds. Is there a way to attach the file here or send using an email so that other people reading the post can read and suggest.

    Any help will be appreciated.

    Thanks, Abhinav

  • 10-07-2009, 2:12 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: .Net Remoting extremely slow under IIs7

    You can e-mail me a couple of the trace logs at anil (dot) ruia (at) microsoft (dot) com

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 10-07-2009, 2:41 PM In reply to

    • Abhi-LA
    • Not Ranked
    • Joined on 10-07-2009, 11:30 AM
    • Posts 5

    Re: .Net Remoting extremely slow under IIs7

    I have sent you some logs. Thanks for the help.

    Abhi

  • 10-09-2009, 9:32 PM In reply to

    • Abhi-LA
    • Not Ranked
    • Joined on 10-07-2009, 11:30 AM
    • Posts 5

    Re: .Net Remoting extremely slow under IIs7

     Hi Anil, I was wondering if you got a chance to look at the logs? Thanks A.

  • 10-12-2009, 9:54 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: .Net Remoting extremely slow under IIs7

    I do not seem to have received it - what was the from address on the e-mail?

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 11-04-2009, 9:36 AM In reply to

    • Abhi-LA
    • Not Ranked
    • Joined on 10-07-2009, 11:30 AM
    • Posts 5

    Re: .Net Remoting extremely slow under IIs7

    asarna at leisurelink dot com is the from address. I sent you the logs couple of times. Servers are unusable to us due to this problem please help in this regard. Thanks
  • 11-05-2009, 11:43 AM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 6:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: .Net Remoting extremely slow under IIs7

    I found your e-mail sitting in junk folder and have replied to it.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
Page 1 of 1 (9 items)
Microsoft Communities