all groups > dotnet performance > may 2005
threaded application not using all processors
Posted by cbenmichael NO[at]SPAM yahoo.com at 5/30/2005 10:22:38 AM
I have written a server application, that will eventually be deployed
as a windows service. Currently, I am testing it as a console
application. I have a main thread that gets requests using remoting,
and then spawns worker threads (currently limited to 4), which run a
long running non-linear... more >>
StringDictionary v.s. Hashtable
Posted by Marlon at 5/26/2005 9:14:39 AM
When working with strings does the StringDictionary give any performance
advantage over HashTable?
Does any know if StringDictionary and HashTable use the same algorithm to
perform searches?
... more >>
Huge string arrays in C#
Posted by Emil _ DK at 5/24/2005 3:04:02 PM
Hi guys
What would be the most effcient way to use a huge in-memory string array?
I have a need for around 1.000.000+ strings of more or less the same size;
30-120 bytes each. I do not know the size in advance.
The code adds rapidly strings to the array, so access to the array should be
t... more >>
Performance issue with client server application
Posted by Lakshmi Nayak at 5/22/2005 11:33:48 PM
We have a typical client server windows application
written in C#. The ADO .Net provider(third party, not
microsoft) resides on the client workstation and
communicates to the database server over the network. Data
from the server is fetched using ADO.Net and then mapped
into application e... more >>
httpcontext.current.application["tag"] VS Configuration.Appsetting
Posted by sahridhayan at 5/20/2005 6:18:05 AM
hi all
i just want to know which approach is the best..
i frequently access some variable informations..
i have virtualdirectory (hosted remoting in IIS) i have appsettings.. keys
and values
which approach is the best in accessing the key and values..
System.web.httpcontext.current... more >>
Possible to throttle WinForm application CPU usage?
Posted by Paul at 5/19/2005 1:29:15 PM
I have a long-running process that I need to run on a client's server,
and they keep having to reboot because the application is eating up too
many server resources.
Is there any way to throttle the CPU usage on the application to only
use X% of the CPU? Ideally I would want to run at 40% or s... more >>
Private variable not set in Transacted Class
Posted by Ismail Ahmed via .NET 247 at 5/17/2005 12:18:24 AM
I declare a private variable of type string in a Transacted Class whenever I use it to save some string it always have the nothing or not initialize I tried it to initialize in the constructor but result is the same code is given below
Imports System
Imports System.Data
Imports System.Data.Sql... more >>
why Socket is faster than TcpClient?
Posted by Ricardo Quintanilla at 5/16/2005 1:23:39 PM
i had a problem whom i do not know how to explain.
i was using a TcpClient (System.Net.Sockets.TcpClient) object to send and
receive data to an AS400 socket. Two months ago it started to work slowly,
about 4 seconds between send and receive. In our production environment with
hundreds of tr... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Need Help on Performance Testing
Posted by Murali Raju via .NET 247 at 5/15/2005 5:33:58 AM
Hi!
I would like to simulate the Client/Server Desktop application=
for 100 users=2E I would like to know that which tool is ideal to=
test the same=2E I would appreciate, if anybody can guide me on=
this for the same as soon as possible=2E Below I am giving our=
Environment=2E
OS:- Window... more >>
aspnet_wp.exe
Posted by Embee S via .NET 247 at 5/15/2005 4:53:14 AM
(Type your message here)
when i run a project, which pulls data from DB2/AS400 and creates=
an xml file and then passes to a crystalreport to export to pdf,=
the aspnet_wp=2Eexe process is using my 99 % oa CPU=2E it pull a=
bulk amount of data and the size of the xml file is more than 5=
mb... more >>
detecting Memory leaks
Posted by G Dean Blake at 5/14/2005 5:33:02 PM
I have a web app that has some memory leaks. In the .aspx.vb modules I
use...
Dim objInfo As ProcessInfo = ProcessModelInfo.GetCurrentProcessInfo and then
interrogate PeakMemoryUsed and this helps. However, I have some business
components that the web app uses - classes that inherit from
... more >>
concurrency/perf problem?
Posted by Matias Woloski at 5/13/2005 12:16:47 PM
I have the following code which is running in every Page_Load of my ASP.Net
app.
It basically will add rows to a table upto MAX_CACHED_ITEMS and then will
flush all the cached items to the database.
Do you foresee any concurrency problem? or any performance problem?
private object lockObjec... more >>
System.Resources.ResourceManager GetString
Posted by Glass Half Full at 5/13/2005 10:29:03 AM
I have a method that uses the GetString method from the ResourceManager as
shown in the following code snippet below.
------
System.Resources.ResourceManager rm = new
System.Resources.ResourceManager("embedded resx name",
System.Reflection.Assembly.GetExecutingAssembly());
rm.IgnoreCa... more >>
Performance OleDbDataAdapter.Update() and status?
Posted by Michael Brockhoff at 5/10/2005 12:00:00 AM
Hello NG,
i have here a functon wich I use to restore a certain state of
a DataTable. Its working but you might find some points where i could get better performance.
With MS SQL Server this funktion is fast enough for me (it takes for a DataTable with 10000 Rows about 1-2
seconds...
But if... more >>
Randomly IIS locks up the web application
Posted by JJcuzz at 5/5/2005 8:29:43 AM
Hello everyone,
I have searched around and could not find any solution for my problem.
I realize the once in a while or when I upload some upgraded dll and I
refresh the screen, I get a NullReference Exception on my web
application. I dont think it is anything directed to my code, beucase I
... more >>
Does the JIT optimize ^2 int divides as bit shifts?
Posted by Colin Reid at 5/4/2005 10:06:06 AM
I'm doing a bunch of x/2 calculations in a tight loop where x is an int. Does
that automatically get optimized as >>1? Is there a difference between /2 and
>>1 when working with ints?
I prefer the readability of /2 but will use >>1 if it's slightly faster.... more >>
substitute for nested select query
Posted by DC Gringo at 5/3/2005 10:32:22 AM
I have a series of select queries that use the nesting method but are
creating such a huge query that the server can't handle it. The IN section
in some cases are so large that I can't even troubleshoot it in Query
Analyzer because it's larger than 64k. Is there another way to write:
SELE... more >>
Fast String Processing in .NET
Posted by rawCoder at 5/2/2005 12:00:00 AM
Hi,
Consider a server which receives delimiter based string data from client.
It needs to process this data very fast.
Now if its built in C++, one obvious idea would be to put the string on heap
as char* and then pass the pointer around, delimiter separated fields will
be accessed via po... more >>
Heap performance?
Posted by Bae,Hyun-jik at 5/2/2005 12:00:00 AM
Just by guessing, I think .net memory heap should be faster than Win32 heap,
because .net memory heap is newer than Win32 heap architecture and have a
performance requirement that should be capable of high count of new and
delete operation.
Is there any rough comparison information? Please ... more >>
|