473,763 Members | 9,275 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Slow rendering and CPU bound application

I have an application that runs on ASP.NET. We have been working through
performance testing and it appears that at about 40-50 users, I start to get
CPU bound.

The application is a three form, ASP.NET 2.0 application. A login page, and
a main page, that is a frame with a header page, and the main page. On the
main page, there are two datagrids that pull data from a database. The
problem is that on one of the grids, the amount of rows may be high (I don't
think so, but 100-250). One the two grids, I bind a checkbox so that the
user can check each row, and then it is processed once the page is posted
back.

The problem that I have when there are 35 + users is that it apppears that
the rendering of the html for the web page is killing the processor. We have
moved around to different boxes in the test lab and find that using a bigger
processor helps, but in the end, it is still not quite what I would like to
see. To me, and the tests that we have done, it appears that the html
rendering of the datagrid is slowing down the processor. As the rows
increase, so does the render time. If the users are low, the processor seems
to keep up and kick the processes out with trouble. When it is a single
user, the page will return within a second max, no matter what is selected on
the page. However when we get out to the 40 or so, the page times can go
well over 100 seconds, which seems to not make a whole lot of sense, seeing
as each user should be in about a second each, so 40-60 would be more of what
I would expect. I would like to see that it is much less (less than 8-10),
but realize that might not be possible.

We have traced the applicaition and ran a bunch of perf mon stuff on it,
network traces, etc. Hard part is that the worker process is using most of
the cpu, so it is hard to determine what the real issue is. I have profiled
the code and am not sure what to do differently. Sure that there are things
that can be done, but not sure.

My initial problem is trying to figure out what the bottleneck is. How can I
tell if the page rendering is the issue (how asp.net is pumping out the html)
or if it is something that I can look to improve in the code. Utimately I am
certain it will be coding, right, but how to ID what is a limit of code
versus ASP.NET. In other words, how can I tell if no matter what I do, it
won't make the big return.

The load on the db server is nothing. Hardly moves over 4%. Memory usage on
the server is less than 150 MB and I have cached about all that I can. The
whole thing is less than 1500 lines, and have been through it a bunch of
times.

Is it realistic to think that ASP.NET should be able to support more than 75
users for a two page application with checkboxes? Help me, as I would think
it should without too much extra effort, but maybe I am off base?

Thanks
Jeff

Mar 9 '06 #1
0 1381

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
2643
by: Neil | last post by:
I previously posted re. this, but thought I'd try again with a summary of facts. I have an Access 2000 MDB with a SQL Server 7 back end. There is a view that is linked to the database via ODBC and has been in place for several years without any performance problems. Recently I added a couple of fields to the output of the view, and it became very slow when scrolling. When just opened in the database window, the linked view takes about...
1
2012
by: IkyL234 | last post by:
I'm using Access2000. I have just designed a database which seems to be operating very slow on a network. There are currently only a few records in it. Should I be compacting it now before it gets busy with usage ? The database has OLE bounded fields where pictures are linked to a network folder where the pictures are kept. Will this linking of pictures to respective records over time hinder the speed of the database ?
7
4944
by: wardy | last post by:
Hi, I'm hoping someone can lend me a hand....I've got a .NET Web app running on Windows 2000 IIS 5.0 linking to a SQL Server 2000 database. When the database is located on the same server as the web app, the pages render quickly - however, when I run the app with the database on its own server, the page rendering takes anywhere from 5-8 seconds, and when I enable tracing on the application, it appears to be the begin prerender event that...
5
2641
by: Dave A | last post by:
I am writing an ASP.NET tool that will allow the client to create their own online froms. ie the client can add tect boxes, text, drop downs,etc with absolutely no technical skill what so ever. The form can then be deployed to their intranet. The form designer is somewhat WYSIWYG but it contains a heap of 'edit', 'delete' and reordering buttons that are not seen when the form is acutally being used. I would love to have a preview...
4
4125
by: tobfon | last post by:
I'm creating a scientific visualization application with rather high demands on performance. I've created a nice rendering engine for it in C++/OpenGL and a python interface to the rendering engine. Now I'm looking to build a GUI in python with the rendering engine as an integrated window. I will most likely use wxPython for the GUI and I know it has support for adding an OpenGL canvas. After looking around in these groups and others it...
3
2198
by: UJ | last post by:
I had somebody (who was an idiot) tell me that tables are slow in rendering? That you shouldn't do things like tables inside of tables. Is that true? I think she didn't know what she was talking about but I just wanted to confirm with people. TIA - J.
2
4274
by: dev | last post by:
Several years ago I developed an Access 97 runtime application. I have rewritten this application using Visual Basic 6 with an Access 2003 database. When I run the VB application with the database on the same PC, the performance is good. When I move the database to a different PC on my two PC network, the performance is slow. This is not the case with the original Access 97 application; it performs fast regardless of where the...
4
6610
by: rubyhcurry | last post by:
Hello, I have a small application which acts like a wizard with 5 steps. I use a tab control, and 'back' and 'next' buttons to switch between the 5 tabs (1 tab page for each step). The components on each tab are very light (mostly labels and input fields) and my C# code (the actual program logic) is well optimized. I also use multi threading to separate the UI from the core of the app. The rendering of the each tab page when I click...
13
3457
by: eighthman11 | last post by:
using Access 2003 and sql server version 8.0 Hey everyone. Created a text box where the user types in an Inventory number and it takes them to that inventory number on the contimuous form. The form is based on a link table to sql server. Here is the code: Dim rst As DAO.Recordset Dim InventoryItem As String InventoryItem = "'" & "TextBoxValue" & "'"
0
9564
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9387
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10002
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7368
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3528
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2794
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.