Performance differences Remoting with http and binary
by TWF4eA » Fri, 27 Oct 2006 14:31:02 GMT
I use .Net Framework 1.1 with Remoting channel= http and formatter=binary.
The remoting server components are hosted as webservice in IIS.
The client application is a WinForms application for file upload and download
I have serveral performance differences, why ?
The quantity of data is say 1 GB downloaded and uploaded in smaller blocks
(< 30 MB)
On my Network (Slow Server):
Upload and download performance is nearly identical for 1 GB it needs 20
minutes
On the the customer network (Notebooks and Desktops are connected on the
same network socket):
When the client (Desktop or Notebook) uploads 1 GB of data it needs 10
minutes.
When a client (Notebook) downloads 1 GB it needs 20 minutes When a client
(Desktop) downloads 1 GB it needs 60 minutes
The problem is the bad performance of the desktop machines.
The hardware of the desktops is faster than the notebooks.
Answers to any of this questions is delighted
Which Network-Settings affect the performance for this remoting
configuration ?
How can different services on notebook and desktop affect the performance ?
Can any remoting settings for the client influence the performance ?
How does this remoting configuration access the network ?
Any other idea or experience ?
Thanks Max
Re: Performance differences Remoting with http and binary
by Spam Catcher » Sat, 28 Oct 2006 03:40:07 GMT
=?Utf-8?B?TWF4eA==?= < XXXX@XXXXX.COM > wrote in
There might be network congestion on the Desktop LAN segment?
Have you tried running a bandwidth test between the server and the
desktops?
Re: Performance differences Remoting with http and binary
by TWF4eA » Sat, 28 Oct 2006 04:13:01 GMT
The network support team tested the network and says the network is in good
condition. With a different network cards on the desktop the download needs
40 minutes an nobody knows why and what setting can influence this.
Re: Performance differences Remoting with http and binary
by Spam Catcher » Sat, 28 Oct 2006 10:15:27 GMT
=?Utf-8?B?TWF4eA==?= < XXXX@XXXXX.COM > wrote in
The card could be faulty... or come with poorly written drivers. That could
account for some of the performance difference.
I would run some independent performance tests using a utility like TTCP...
if the results are consistent with your remoting issues, then you have a
problem with the network card. Perhaps the card is faulty... or the drivers
are poorly written.
Re: Performance differences Remoting with http and binary
by TWF4eA » Sun, 29 Oct 2006 00:17:01 GMT
The tests are made with 3 different desktops and 3 different Notebooks, each
with Network cards of the same type
Thanks for your effords, I am glad to get additional advices
Max
Similar Threads:
1.Performance differences with http channel and binary formatter
I use .Net Framework 1.1 with Remoting channel= http and formatter=binary.
The remoting server components are hosted as webservice in IIS.
The client application is a WinForms application for file upload and download
I have serveral performance differences, why ?
The quantity of data is say 1 GB downloaded and uploaded in smaller blocks
(< 30 MB)
On my Network:
Upload and download performance is nearly identical for 1 GB it needs 20
minutes
On the the customer network (Notebook and Desktop are connected on the same
network socket):
When the client (Desktop or Notebook) uploads 1 GB large quantity of data it
needs 10 minutes.
When a client (Notebook) downloads 1 GB it needs 20 minutes
When a client (Desktop) downloads 1 GB itneeds 60 minutes
The problem is the bad performance of the desktop machines.
The hardware of the desktops is faster than the notebooks.
Which Network-Settings affect the performance for this remoting
configuration ?
How can started services affect the performance ?
Can any remoting settings for the client influence the performance ?
Any other idea or experience ?
2.Remoting performance binary over HTTP
3.Remoting Performance http - binary
I use .Net Framework 1.1 with Remoting channel= http and formatter=binary.
The remoting server components are hosted as webservice in IIS.
The client application is a WinForms application for file upload and download
I have serveral performance differences, why ?
The quantity of data is say 1 GB downloaded and uploaded in smaller blocks
(< 30 MB)
On my Network (Slow Server):
Upload and download performance is nearly identical for 1 GB it needs 20
minutes
On the the customer network (Notebooks and Desktops are connected on the same
network socket):
When the client (Desktop or Notebook) uploads 1 GB of data it
needs 10 minutes.
When a client (Notebook) downloads 1 GB it needs 20 minutes
When a client (Desktop) downloads 1 GB it needs 60 minutes
The problem is the bad performance of the desktop machines.
The hardware of the desktops is faster than the notebooks.
Answers to any of this questions is delighted
Which Network-Settings affect the performance for this remoting
configuration ?
How can different services on notebook and desktop affect the performance ?
Can any remoting settings for the client influence the performance ?
Can a network-sniffer give hints for the problem, which tool can I use and
how ?
How does this remoting configuration access the network ?
Any other idea or experience ?
Thanks Max
4.End of Stream encountered...Binary Formatter with HTTP Remoting
I have an application that remotes bitmap images stored as byte arrays. It
works for the first few calls but then I get a SerializationException: End if
Stream encountered before parsing was completed. I am using the HTTP channel
with a binary formatter over SSL and hosted in IIS. The IIS logs show HTTP
response code 500 - Internal Server Error followed by a 400 - Bad Request. I
will try and get more details but wanted to post now in case someone here can
notice something obvious that I am overlooking.
This is my web.config:
<system.runtime.remoting>
<application>
<service>
<wellknown mode="SingleCall" type="com.MyCompany.MyRemotedClass,
CommonRemoted" objectUri="MyRemotedClass.rem" />
</service>
<channels>
<channel ref="http">
<serverProviders>
<formatter ref="binary" />
</serverProviders>
</channel>
</channels>
</application>
<customErrors mode='off' />
</system.runtime.remoting>
This is my client config:
<system.runtime.remoting>
<application>
<client>
<wellknown type="com.MyCompany.MyRemotedClass, CommonRemoted"
url="https://mywebsite/MyRemotedClass.rem" />
</client>
<channels>
<channel ref="http">
<clientProviders>
<formatter ref="binary" />
</clientProviders>
</channel>
</channels>
</application>
</system.runtime.remoting>
Thanks
5.COM Interop & HTTP Binary Remoting
6. COM Interop - HTTP Binary Remoting
7. Why configure Soap formatter for HTTP Binary Remoting - .NET Framework 1.1