Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / May 2005

Tip: Looking for answers? Try searching our database.

Speed problem running application outside Visual Studio

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Juan Carlos Rico Gil - 02 May 2005 17:03 GMT
I am developping a 'Web Service with Data Server Access' benchmarking
application. The Web Service and the Data Server are located remote in my
network. The benchmarking (client) application runs on XP Professional,
localy. It is developped with Visual Studio, Enterprise Edition. It creates
and runs 8 threads to simulate users concurrency and apply load to the Web
Service during around 1 minute.

The problem is: when I run the client under Visual Studio, the process is 4
times quicker than if I run it outside Visual Studio, for example from my
desktop. And if I run the client from a Server 2003 Machine, I get again the
Visual Studio result, 4 times quicker.

The .exe file is in all cases exactly the same. In the 2 local tests, under
VS and outside VS, the .exe file is even exactly the same file, in the same
directory.

The machines loads is near null outside the tests periods, even running from
Visual Studio. So the only load is my application, the Web Service and the
Data Server.

The cpu load is very low, in the problematic case: around 10%. Under VS, the
cpu load is around 60% (limited by the remote Web Service and Data
processes). Under Server 2003 the load is 100%, as all processes (Client,
Web Service and Data) run on the same machine.

So something limits my application under XP Professional, outside Visual
Studio.

Does somebody know where this come from?

The aplication has a possibility to access the data directly, providing a
comparison with the Web Service. This time the load reached is identical in
all 3 cases (local VS, local outside VS, Server 2003), and of course the
process is much quicker than with Web Service (3.3 times quicker), so no
problem.

The only apparent difference between the two situations (Web Service /
Direct Access) seems to be related to the threads... But why?

Is there something I can do to correct this?
Juan Carlos Rico Gil - 03 May 2005 15:05 GMT
I have solved the problem without knowing exactly how. This is what I have
done:
- Uninstallation of .Net Framework
- Reinstallation of .Net Framework
- Installation of .Net SDK
- Installation of ISAPI filter in IIS local to XP Professional machine
- Testing changes in .Net Configuration
- Leaving .Net Configuration as it was previously
After all that:
- Speed was still low, as before
- The Web Services installed in my local IIS did not work
Then I stopped the XP computer. Later I restarted and:
- Everything worked fine
- Speed was very hight: 6408 Web Services users capacity with 1s mean
response time delay in service, from queueing theory.
- Direct access (Standard Client/Server option) was still twice as good as
that: 13321 users capacity with the same 1s mean response delay.

Why all this trouble? Does the IIS ISAPI filter change something to general
comunications between client and the server?

Juan Carlos Rico Gil
Rico Gil Software

>I am developping a 'Web Service with Data Server Access' benchmarking
>application. The Web Service and the Data Server are located remote in my
[quoted text clipped - 36 lines]
>
> Is there something I can do to correct this?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.