performance windows services

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: freddy parra (freddyparra_at_discussions.microsoft.com)
Date: 03/04/05


Date: Fri, 4 Mar 2005 15:39:03 -0800

Hi

We are using a VB.NET dll to execute a process (load and validate a file).
Sending process from a Windows Application, its load rate is 16000 to 18000
regs/min.

The same process is sended as a thread from a windows service (also
developed in VB.NET) and load
rate decreases a lot. File size is a factor that decreases performance. Rate
falls to 50% - 20% of inicial medition.

Windows services use normal threads (no pooled threads). When each thread
finishes work, notifies the
results to the service and this writes the trace.

The dll process is

Load Dataset from disc.
Load File Format from SQL 2000 Database to VB 6.0 object.
Read each line from file, break line and insert segments in dataset table as
the format says.
Validate data in dataset. If there are errors, the load fails generating
notification and end process.
Insert dataset rows in sql server temporary tables.
Validate data completion, refussing registers with data not allowed using
Stored Procedures.
Insert temporary data into final tables (using same sql server).
Notificate results process.

Service and dll .NET use other dlls made in VB 6.0, however this is not done
frequently.

Thanks for your help.



Relevant Pages

  • Re: BadImageFormatException was unhandled
    ... I have a solution with many projects and a substantial reference tree. ... I have a Windows Application project that will build but not run. ... An attempt was made to load ... Otherwise, the 64 bit main exe cannot load any 32bit DLL, include the DLL which uses managed C++ and it calls the win API, or other natvie C 32bit DLL. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Search path in LoadLibrary problem ...
    ... He's saying that the DLL is implicitly linked. ... rather than a.dll calling LoadLibrary() to load b.dll. ... Result of "LoadLibrary" is failed, because a.dll windows OS found, ... I think the MSDN pretty well documents the behaviour of the dynamic loader ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: loading oratcl from starkit
    ... This works fine in some windows 2000, but fail in some windows 2000 ... The script fail when it try to load the oratcl44.dll, ... the dll were not copied into c:\temp. ...
    (comp.lang.tcl)
  • Re: TWAPI + HELP
    ... Could not load dll twapicallback.dll ... Most likely there is a Windows .dll needed by ... the twapi dll and the windows dll is not being found. ...
    (comp.lang.tcl)
  • Re: Turkeys and dynamic linking
    ... > Windows, you have real savings. ... terms of sharing dll code. ... If Windows can load the library there, ... able to put those libraries at the same place in each process. ...
    (freebsd-current)