microsoft.public.dotnet.framework.performance Archive - February 2004
Post a message to this list
Messages
Page: 12
TCP/Binary Remoting and Perf Problems (8 replies)
microsoft.public.dotnet.framework.performance
Our deployement consists of web server (dual processor) and application server (dual processor). The ASP.NET web application makes remoting (Tcp/Binary) calls into a window service (our own) hosted on application server. During our load testing, we found that there is huge gap in time during cross machine call. We made sure the appliction server is not really taking all the time to servicing the r...
Getting file and directory counts (2 replies, VIP)
microsoft.public.dotnet.framework.performance
I'm trying to write an application which will count the number of files and folders on my hard drive (c:\). I have tried using the Directory class, using the GetDirectories method to recursively go through my folders and using GetFiles to count the files. public void getCounts(string directory) { string [] subDirs Directory.GetDirectories(directory); string [] files Directory.GetFiles(directory); ...
Optimising Lockbit Routine? (9 replies, VIP)
microsoft.public.dotnet.framework.performance
Hi, I'm having some problems getting the required speed for a small app i'm currently writting. I rewrote the getPixel() fucntion that i thought was my orginal bottle neck, but i'm still taking 5 6 minutes to calcualte the score of around 6000 points. Does anyone have any suggestions as to other problems that may be slowing down this function?? private int returnArgb(GraphicsPath linePath, Bitmap ...
workstation and server CLR kernel (2 replies, VIP)
microsoft.public.dotnet.framework.performance
We have a Windows service that's written in VB 6.0 using the Desware NT Service Toolkit. We call .NET Serviced Components through interop. The CLR kernel being used is the workstation kernel. However, we are on a multi proc xeon server and we feel that the garbage collection would work much better for us if the server kernel were used. Since we are calling CLR via interop, we find no way to contro...
huge memory usage (3 replies, VIP)
microsoft.public.dotnet.framework.performance
Hallo. I started a solution in VS.NET with template for C# windwos application. The solution has several projects: Artifacts BusinessRules Client ErrorLog Standardization .... ... .. When application is stared you can see only one form with 4 userControls included on it. Each user control contains: toolbas user control : 4 combo controls 2 buttons image user control: kodak image edit control 6 but...
About perf counters ... (2 replies, VIP)
microsoft.public.dotnet.framework.performance
Hello, I start to monitor my web application with some counters and alerts ... Sometimes, i cannot start the alert with one of these messages in the event log: "There are no child processes to wait for" (however, aspnet wp.exe is running) or "service cannot add any counter to log or alert Any idea ?? IIS5.1 / .NET 1.1 / aspnet wp.exe Thanks PJ
Reading the ACT results (2 replies)
microsoft.public.dotnet.framework.performance
All, As I perform more and more load testing, what kind of results should I be looking for? Scenario 1: Some of my pages start to come up really slow under a simulated load of 400 users but the Request Per Second are around 20. Scenario 2: Some of the pages come up fine under a simulated load of 400 users but the RPS is only 3 4. Should I only be paying attention to the concurrent users and how th...
Calling BinaryFormatter:Deserialize(Stream); Asynchronously (2 replies)
microsoft.public.dotnet.framework.performance
hi all SORRY FOR CROSSPOSTING: i did not know which group deals with this question! Question: i am looking to call the following function, ASYNCHRONOUSLY: Packet p (Packet)this. BinaryFormatter.Deserialize(this. Stream); Can it be done? assaf
Abysmal performance of throw/catch in VB.NET (4 replies, VIP)
microsoft.public.dotnet.framework.performance
Running on a fast machine, if I issue a throw of a user defined exception, it's 6 seconds before the catch in the calling code is called. I wrote an app with nothing but a throw/catch to make sure it wasn't some other problem. This can't be normal. Is there something I'm missing? Dan
why won't JIT inline this? (14 replies, VIP)
microsoft.public.dotnet.framework.performance
I have written a custom replacement for library function Math.Pow(double x, double y) for the specific condition of y being integer and 0. It is twice as fast as Math.Pow(), but I cannot get the compiler to inline compile it. I've tried many different approaches, but nothing seems to work. I am debugging in native mode, and I do see property get's inlined as I would expect. Any ideas? C# code, IL ...
responseRestartDeadlockInterval and responseDeadlockInterval (2 replies)
microsoft.public.dotnet.framework.performance
I am testing these settings on IIS 6.0 and am finding that they are ignored in their entirety. Documentation that I have read seems to indicate that these are the only process model settings which are followed. Any ideas? Chris
implement Garbage Collection (7 replies, VIP)
microsoft.public.dotnet.framework.performance
Hello, My question is about memory leak in .NET. Let's say that i have form that loads another form that contains a number of controls(eg datagrids). Form2 does nothing. No data are bound to controls. When i run the program i observe the memory usage in the taskbar and i can see that memory increases when form2 is shown and that is acceptable. when i close the form memory remains the same and when...
Debug vs. Release Executable size (9 replies)
microsoft.public.dotnet.framework.performance
I am developing an application using Windows forms, C# and Visual Studio.Net. The executable size remains the same whether I built the debug or release version. Is it normal? Am I missing something? Thanks for ur help. PR
Remoting Performance Over Gigabit Network (12 replies)
microsoft.public.dotnet.framework.performance
Hi All, We are doing a project where we are transfering file data via .net remoting on a TCP/Binary channel. We did initial benchmarks on a 100 mbit network and compared our file transfer to the standard windows transfer (map a drive from the remote machine and copy the file). The windows transfer acheived about 5 6 megabytes per second. Our .net remoting system acheived over 7 megabyts per second...
Reducing load on GC (21 replies, VIP)
microsoft.public.dotnet.framework.performance
Hi Im making a raytracer in c#. I tried profiling my app with optimizeit and found that after a short while, on average 60 80% of the total time is spent in the GC. Several times it goes for a while to 100%. I presume this is because i create a lot of temporary vectors and other classes in my calculations. Is there any way to help the GC so that it doesn't choke? And yes, i've tried to reduce the ...
Runtime and OS report different mem usage (2 replies)
microsoft.public.dotnet.framework.performance
Hi, I am working on a pure managed windows application that creates large byte arrays at run time. In fact it creates a 50M byte array when the application starts. public static byte[] buffer new byte[1024*1024*50]; I am using System.GC.GetTotalMemory() to monitor the memory usage. It is consistent with what I can imagine. The memory usage is a little bit above 50M. During runtime this application...
3D Points (structs vs classes) (17 replies, VIP)
microsoft.public.dotnet.framework.performance
When I have a 3 Dimensional Point is it better to use a class or a struct? I heard that if the size of the struct is greater than 16 bytes but in my feelings using a class for 3 double values (24 bytes) is overhead. In the app I've planned i would have thousands of 3DPoints, isn't it better to use structs in such a 3D engine? cody [Freeware, Games and Humor] www.deutronium.de.vu || www.deutronium....
prejit or jitman (9 replies, VIP)
microsoft.public.dotnet.framework.performance
Where can I find prejit.exe or jitman.exe file ? Jitman program enables selecting the jit method (econo jit etc.). Emil emil1983@op.pl
Too many oracle connections by using MS Data Access layer DAL (2 replies)
microsoft.public.dotnet.framework.performance
I am using Microsoft Application Data Application layer for Oracle to build multi tier web application. I am running into this problem of too many oracle connections opened by this DAL layer. I know DAL uses connection pooling but still there are too many connections open and application is being kicked out of oracle. Any suggestions ? Bahl
GC does not release memory...memory keeps growing! (26 replies, VIP)
microsoft.public.dotnet.framework.performance
Hi, I'm having a very very frustrating experience with the .NET. I've a simple crawler console application. The main objective of the crawler is to read a list of URLs and make HTTP calls to a web server and save the html files locally. I had setup perfmon to monitor the memory usage of the application. I found that the Gen 2 heap size keeps increasing and ultimately the system runs out of memory....
Framework 1.0 to 1.1 performance problem (2 replies)
microsoft.public.dotnet.framework.performance
Has anyone else experienced problems when converting applications from 1.0 to 1.1? I have an existing app that reads from a database and generates files. Once I loaded the new framework and IDE 2003 my app runs much slower. The old version ran in about 13 minutes and the new one run in about 2 hours! Again all I did was update the old app and recompile using the new 2003 IDE and framework 1.1. Aft...
Performance problem with framework 1.1 (3 replies, VIP)
microsoft.public.dotnet.framework.performance
Has anyone else experienced problems when converting applications from 1.0 to 1.1? I have an existing app that reads from a database and generates files. Once I loaded the new framework and IDE 2003 my app runs much slower. The old version ran in about 13 minutes and the new one run in about 2 hours! Again all I did was update the old app and recompile using the new 2003 IDE and framework 1.1. Aft...
Random Platform slowdown (2 replies)
microsoft.public.dotnet.framework.performance
Hi, I have a couple of applications written in .NET 1.1 with syncfusion components (if that matters) deployed on win 2k machines. At random, .NET apps seem to degrade in performance significantly. The performance degradation is permanent on that machine. Examples of slowdown: Drawing a main menu causes a 30 % cpu spike where it would normally cause something 10% Switching between tables being view...
Virtual Memory Leak? What's goin' on? (4 replies)
microsoft.public.dotnet.framework.performance
Hello all, I have several Web Applications running on a Windows 2000 Server machine. I feel very funstrated that the aspnet wp consumes tooo much virtual memory and keep recycling day after day. It looks very strange in the Task Manager: the amount of physical memory it consumes are keep, usually under 70MB, sometimes a little more, sometimes a little less, however, the amount of virtual memory it...
How to synchronize thread? (2 replies)
microsoft.public.dotnet.framework.performance
Hi, I'm developing multi thread program. My program always run the threads until client close the program. But a problem is thread function stop during my program is running cause there is some exception. I have timer that always checking all thread state of each threads, if they are stopped, my program will retry to start that stopped thread again. Would you please help me answer my question: 1. ...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification