| Measuring size of Session object (5 replies) |
| microsoft.public.dotnet.framework.performance |
| We are building an application that must be able to handle up to 60000 simultaneous users. Therefore I would like to know how much memory each of the users session object uses. Is there an easy way to measure the size of each Session object? |
|
| New MSIL Newsgroup (7 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Microsoft, Can I make a request for a newsgroup specific to MSIL? I have taken great interest in MSIL and have done a lot of reading into MSIL, and written, compiled and tested with success a few il programs. I'm sure this is a topic of interest to many people, as it is at the heart of .Net. If any of you readers/posters are also interested in an intermediate language specific newsgroup, please re... |
|
| native image gets invalid when time changes (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, I ngen'd an assembly, but I observed that the native image gets invalid if the system time of the machine is not correct (e.g. the bios battery is empty). I didn't find any indication on the msdn site that time is an issue for an native image to get invalid. Has anybody more information on this behavior? Is there a way to prevent it (workaround)? Regards Claus |
|
| VS.NET very slow Rebuild (3 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, I am working on a asp.net (C# 2003) solution which contains 4 projects. IIS and SQL Server are both on the same development machine and I am not using any remote debugging. But since yesterday rebuilding solution started taking 2 minutes instead of 5 seconds! OS is Windows XP pro with latest SPs and connected to NT4 Server domain. The only thing changed yesterday was changing my network passwo... |
|
| select sql is very large and slow (3 replies) |
| microsoft.public.dotnet.framework.performance |
| Dear all, i have a select statement that join many table and many records , so the time is very long, i use SELECT .... FROM X INNOR JOIN .......... WHAT OTHER IDEA CAN FASTER? help urgent |
|
| Request/Sec vs. Concurrent Requests (4 replies) |
| microsoft.public.dotnet.framework.performance |
| All, What is the difference between Requests/Sec counter under ASP.NET Applications and Concurrent Requests under ASP.NET? More importantly, which one should I pay more attention to? I am trying to performance test some new application framework changes, but the Requests/Sec are low considering the load and the machine's CPU utilization. Scenario: I am similuating 200 concurrent users with session... |
|
| clr hosting and startup time (7 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, Can clr hosting improve startup time? For now we simply start the managed exe from within an unmanaged controller application. If we load the clr before starting an app will it boost the startup performance? Thanks in advance, Claus |
|
| garbage collection experience? (4 replies) |
| microsoft.public.dotnet.framework.performance |
| I'm trying to determine if our application has a memory problem. We have had a situation where a production server wasn't configured properly (.NET Framework 1.0 Service Pack 2 wasn't installed and there was 512MB physical RAM on the server). The customer noticed that the application seemed not to respond for 15 20 minutes (while the task Manager showed the application taking 400 MB RAM (on a 512M... |
|
| Finding CPU % usage of a process (3 replies) |
| microsoft.public.dotnet.framework.performance |
| I have a doubt regarding the extraction of CPU % usage of a particular process at a particular point of time using the .NET framework. I see that there are only methods for extracting the total CPU usage time, privileged CPU usage time and user CPU usage time. And they are all in DateTime format. I want to convert them to % format. What is the algorithm I should use inorder to do that? |
|
| Sql Server 2000 slow (3 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hello, I have created a webservice deployed on a Windows 2003 server machine. Sql Server 2000 is also on the machine. I have tested with a given number of inserts into the database using the SqlConnection and related objects. I have also tested doing the same inserts with a legacy dll (delphi using ADO) and the dll gives twice the performance. Are there any known performance issues with .NET acces... |
|
| GC generation 2 heap problem (4 replies) |
| microsoft.public.dotnet.framework.performance |
| I have a server application that runs continuously on dotnet V1.1. It gradually uses memory until it reaches 600M to 700M and then it either hangs, or it starts returning memory errors. I have a call to GC.GetTotalMemory(true) in the code and it never returns more than 6M. Perfmon reports almost all of the memory being used in the generation 2 heap. I have used a .NET memory profiler, and it repor... |
|
| Methodbase.GetCurrentMethod performance overhead (4 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi All, Has anyone done any benchmarks with Methodbase.GetCurrentMethod? I would like to get an idea on the kind of overhead this imposes on the code. Basically, what I'm doing is passing the CurrentMethod to a centralised ExceptionHandler and want to get the name of the function that threw the error (as opposed to the function that is raising the error, which in this case is the exception handler... |
|
| BUG - System.DirectoryServices.DirectorySearcher.FindOne() not calling Dispose() (4 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| I have been having problems with RAM usage when finding LDAP nodes. In a lot of cases my code does a search that fails to find any nodes. Looking at the FindOne() code in "Reflector", I see that Dispose() is only called on the SearchResultCollection, if a node is found. Can someone in the ADSI teem look at this? For now I can use Find() as a workaround. public SearchResult FindOne() { SearchResult... |
|
| Memory leak (8 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi, I'm writing vb.net form to access data from database. When I load this form each time, it increases memory usage. I have already dispose objects when the form is unload. However, it cannot clear all used memory. Finally, the program is crash. Here is my code. How can I solve it? Thanks. tmp clsAdoCon.DefSqlConString "Provider Microsoft.Jet.OLEDB.4.0;Data Source C:\member.mdb" Dim m oledbAdapt ... |
|
| ThreadPool and IoCompletionPorts (17 replies) |
| microsoft.public.dotnet.framework.performance |
| Hello, I've read a lot about IoCompletionPorts in the "Inside Windows 2000" Books. But that all refers to Win32Api. In the .NET world I have only found one article on MSDN which has roughly one sentence about IoCompletionPorts. It states, that IoCompletionPorts are supported in the managed ThreadPool. Are there any more detailed sources about this? I have the following scenario: A .NET server appl... |
|
| rebase native images, please help (7 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi, I've some questions regarding rebasing. How does the process of ngen work which sets the base address? I observed that some native images have got the same base address. Will this harm the startup performance? I read an article which mandates that choosing the appriate base address can lead to a approximate 10 percent faster application startup http://msdn.microsoft.com/msdnmag/issues/0500/hoo... |
|
| Threads and garbage collection (18 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| Hi, I have an application that uses an api to receive call backs on the main UI thread. The application also has a system timer that will at a given time interval ascyncronously call a calculate method and then update the display of the form. However each time the garbage collection occours I stop receiving the api callbacks? I read that (http://www.dot-net-guru.com/247reference/msgs/47/236133.aspx) ... |
|
| CLR Profiler triggering VC++ debug library assert error (2 replies, VIP) |
| microsoft.public.dotnet.framework.performance |
| The CLR Profiler tool always crashes part way through when I use it to profile an app I'm developing. Outside of CLR Profiler, the app normally runs for about 20 minutes doing heavy text processing. With CLR Profiler it runs for about 2 5 minutes and then triggers an assert dialog in the underlying Visual C debug library. The relevant info from the assert dialog is: Message: Debug Assertion Failed... |
|
| Copy large dataset (3 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi i need to copy a large dataset to an other database I also wrote the dataset to an XML file, with a very huge performace difference. Any suggestions how to improve the write to the database? Result for xml fine 1 second, and to database 1 minute 52 My source: // Source database string strSource @"c:\dept.mdb" ; // Target database, empty, with one table string strTarget @"c:\empty.mdb" ; System.... |
|
| OOAD: Scalability VS Performance (5 replies) |
| microsoft.public.dotnet.framework.performance |
| This is a design / inheritance qus. I have class Task. This is a base class for some specific tasks Say WorkOrderTask : Task TimeSheetTask : Task Now Task has a function GetDetails() which gets all info about task. This makes a database call. I override this in the derived class. For implementing this in derived class i see following 2 approaches. Approach 1. WorkOrderTask .GetDetails() { Calls ba... |
|
| MSMQ and Sockets (7 replies) |
| microsoft.public.dotnet.framework.performance |
| I have a app that listens on a TCP Socket and sends all the incoming messages to a Queue. There is another thread that does a Receive on the MSMQ and so block waits until a message arrives. The Socket also does a Receive and block waits until a message arrives. Which is better a blocking Receive or a Asyncronous BeginReceive ? Its a background service and that all it does. Thanks for any info. |
|
| EndAccept takes 5 seconds to throw ObjectDisposedException (2 replies) |
| microsoft.public.dotnet.framework.performance |
| Hi, I am trying to close a socket on which I am listening. I know that this will cause the ObjectDisposedException to be thrown. The problem is that it takes 4 5 seconds for it to be thrown. Is this normal or could it be due to some other issue? Sample code for this is below. try { Socket listener (Socket) ar.AsyncState; Socket handler listener.EndAccept(ar); handler.BeginReceive( state.buffer, 0,... |
|