473,657 Members | 2,595 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Trace overhead

Does anyone know what kind of overhead is caused by enabling tracing in an
ASP.NET 1.1 app?

On my production servers I'd like to leave it enabled so I can view
trace.axd to get a feel for the activity and problems on my site, I'd leave
pageOutput="fal se". But I'm wondering what kind of extra load my servers
experience due to this. Any ideas?

I'm also curious how bumping up the requestLimit increases the overhead?
I'd like to use a value of 250 or more.

I haven't found any documentation on the overhead associated with tracing.

-Brett-
Nov 18 '05 #1
4 1551
The performance hit is considerable, but it won't render the app unusable.
In fact, if your server fully loaded, I doubt the users would even notice.
I've done performance testing with and without tracing, and tracing cuts my
requests/sec in half, but my normal usage is way lower than my stress
testing usage, so I wouldn't worry. Because you are considering tracing in
production, I'm assuming that this isn't a "if the site is slow, we lose $5
billion" application. After your 250 request threshold is reached, the
performance will increase again because tracing will be turned off.

Jeffrey Palermo

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:e2******** ******@TK2MSFTN GP11.phx.gbl...
Does anyone know what kind of overhead is caused by enabling tracing in an
ASP.NET 1.1 app?

On my production servers I'd like to leave it enabled so I can view
trace.axd to get a feel for the activity and problems on my site, I'd leave pageOutput="fal se". But I'm wondering what kind of extra load my servers
experience due to this. Any ideas?

I'm also curious how bumping up the requestLimit increases the overhead?
I'd like to use a value of 250 or more.

I haven't found any documentation on the overhead associated with tracing.

-Brett-

Nov 18 '05 #2
Performance on our site is definitely not the top concern, just the standard
'it should be reasonably fast'.

Thanks for the insight on your own performance testing.

I'm curious about your last comment. It was my understanding that the trace
request threshold was a rolling FIFO cache. You state that after 250
requests (assuming I set the limit at 250) it would stop tracing. Is this
true? I assumed it would just throw the top requests off the cache and keep
tracing. If what you're saying is true then the usefulness of it for me is
significantly reduced.

-Brett-

"Jeffrey Palermo" <je************ @yahoo.com> wrote in message
news:eb******** ******@TK2MSFTN GP10.phx.gbl...
The performance hit is considerable, but it won't render the app unusable.
In fact, if your server fully loaded, I doubt the users would even notice.
I've done performance testing with and without tracing, and tracing cuts my requests/sec in half, but my normal usage is way lower than my stress
testing usage, so I wouldn't worry. Because you are considering tracing in production, I'm assuming that this isn't a "if the site is slow, we lose $5 billion" application. After your 250 request threshold is reached, the
performance will increase again because tracing will be turned off.

Jeffrey Palermo

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:e2******** ******@TK2MSFTN GP11.phx.gbl...
Does anyone know what kind of overhead is caused by enabling tracing in an ASP.NET 1.1 app?

On my production servers I'd like to leave it enabled so I can view
trace.axd to get a feel for the activity and problems on my site, I'd

leave
pageOutput="fal se". But I'm wondering what kind of extra load my servers experience due to this. Any ideas?

I'm also curious how bumping up the requestLimit increases the overhead?
I'd like to use a value of 250 or more.

I haven't found any documentation on the overhead associated with tracing.
-Brett-


Nov 18 '05 #3
Yes, your fears are true. Test it out for yourself. Set the trace limit to
2, then hit your app. Only the first 2 requests will show up on trace.axd.
After the trace limit, it stops tracing.

Jeffrey Palermo

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Performance on our site is definitely not the top concern, just the standard 'it should be reasonably fast'.

Thanks for the insight on your own performance testing.

I'm curious about your last comment. It was my understanding that the trace request threshold was a rolling FIFO cache. You state that after 250
requests (assuming I set the limit at 250) it would stop tracing. Is this
true? I assumed it would just throw the top requests off the cache and keep tracing. If what you're saying is true then the usefulness of it for me is significantly reduced.

-Brett-

"Jeffrey Palermo" <je************ @yahoo.com> wrote in message
news:eb******** ******@TK2MSFTN GP10.phx.gbl...
The performance hit is considerable, but it won't render the app unusable.
In fact, if your server fully loaded, I doubt the users would even notice. I've done performance testing with and without tracing, and tracing cuts my
requests/sec in half, but my normal usage is way lower than my stress
testing usage, so I wouldn't worry. Because you are considering tracing

in
production, I'm assuming that this isn't a "if the site is slow, we lose

$5
billion" application. After your 250 request threshold is reached, the
performance will increase again because tracing will be turned off.

Jeffrey Palermo

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:e2******** ******@TK2MSFTN GP11.phx.gbl...
Does anyone know what kind of overhead is caused by enabling tracing in an ASP.NET 1.1 app?

On my production servers I'd like to leave it enabled so I can view
trace.axd to get a feel for the activity and problems on my site, I'd

leave
pageOutput="fal se". But I'm wondering what kind of extra load my servers experience due to this. Any ideas?

I'm also curious how bumping up the requestLimit increases the
overhead? I'd like to use a value of 250 or more.

I haven't found any documentation on the overhead associated with

tracing.
-Brett-



Nov 18 '05 #4
Wow, that is hugely dissapointing. To me that severly limits the usefulness
of tracing.

I am surprised there isn't at least an option to enable it to act as a FIFO
cache.

-Brett-

"Jeffrey Palermo" <je************ @yahoo.com> wrote in message
news:O9******** ********@TK2MSF TNGP11.phx.gbl. ..
Yes, your fears are true. Test it out for yourself. Set the trace limit to 2, then hit your app. Only the first 2 requests will show up on trace.axd. After the trace limit, it stops tracing.

Jeffrey Palermo

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
Performance on our site is definitely not the top concern, just the

standard
'it should be reasonably fast'.

Thanks for the insight on your own performance testing.

I'm curious about your last comment. It was my understanding that the

trace
request threshold was a rolling FIFO cache. You state that after 250
requests (assuming I set the limit at 250) it would stop tracing. Is this
true? I assumed it would just throw the top requests off the cache and

keep
tracing. If what you're saying is true then the usefulness of it for me

is
significantly reduced.

-Brett-

"Jeffrey Palermo" <je************ @yahoo.com> wrote in message
news:eb******** ******@TK2MSFTN GP10.phx.gbl...
The performance hit is considerable, but it won't render the app unusable. In fact, if your server fully loaded, I doubt the users would even notice. I've done performance testing with and without tracing, and tracing cuts my
requests/sec in half, but my normal usage is way lower than my stress
testing usage, so I wouldn't worry. Because you are considering
tracing
in
production, I'm assuming that this isn't a "if the site is slow, we
lose $5
billion" application. After your 250 request threshold is reached,

the performance will increase again because tracing will be turned off.

Jeffrey Palermo

"Brett Robichaud" <br************ @nospam.yahoo.c om> wrote in message
news:e2******** ******@TK2MSFTN GP11.phx.gbl...
> Does anyone know what kind of overhead is caused by enabling tracing

in
an
> ASP.NET 1.1 app?
>
> On my production servers I'd like to leave it enabled so I can view
> trace.axd to get a feel for the activity and problems on my site, I'd leave
> pageOutput="fal se". But I'm wondering what kind of extra load my

servers
> experience due to this. Any ideas?
>
> I'm also curious how bumping up the requestLimit increases the

overhead? > I'd like to use a value of 250 or more.
>
> I haven't found any documentation on the overhead associated with

tracing.
>
> -Brett-
>
>



Nov 18 '05 #5

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

Similar topics

2
337
by: Thorsten Tarrach | last post by:
Hallo, The best thing would be to implement a trace call in every procedure to write an entry in the log file: If MySwitch.TraceVerbose() then trace.writeline("Procedure xyz started with Parameters ...") Unfortuantelly is this a lot of work. Is there an easier way to implement a good tracing? How is tracing done in professional applications? Thanks, Thorsten
0
1090
by: Gregg | last post by:
I'm trying to strike a balance between tracing detail and application performance. Clearly, if I have an EventLogTraceListener or TextWriterTraceListener activated, performance will degrade because of the related IO. However, if I have no trace listeners running (i.e. TraceListenerCollection is empty, including removal of DefaultTraceListener) what is the performance overhead since effectively Trace.WriteLine has no place to write? I...
9
4413
by: Joe Rattz | last post by:
I can't seem to get to trace.axd. I have turned tracing on in web.config. Here is how I currently have i configured: <trace enabled="true" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="false" />
16
2253
by: Ricky W. Hunt | last post by:
Is there a way to watch a variables value in real-time without running in break mode? It seems you should just be able to give VB a list of variables/objects that you could see at any time without having to step through the program. I guess you could write spawn a second, non-MDI form and figure out some way to send updated values to it every time a certain value changes. But that would be heck of a lot of work. Does VB have any function...
1
2039
by: John Bailo | last post by:
I wrote a simple test program, console, that does one thing: log DateTime.Now to a trace file. I thought it would be lickety-split, but it's taking more than 10 minutes to write 1 million lines. I looked at the trace and it's doing about 20 lines per second. That's very slow.
4
4673
by: kplkumar | last post by:
This is what my supervisor is looking for. We want runtime debugging/trace logging. In other words, we want to log every method that was executed, perhaps the variables in it as well - everytime the method is executed. This should be such that it can be turned on/off in a configuration file. This way it will help us locate the error exactly where it occured and when and all variables related to it.
0
1042
by: Aryan | last post by:
Hi All, My application was working fine and giving me proper trace messages, but now all of sudden it started showing expcetion as "Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException:...
1
3172
by: ofirmgr | last post by:
im trying to understand how the profiler works. so i started 2 profilers,one listen to another and I saw the profiler is running: exec sp_trace_create @P1 output, 1, NULL, NULL, NULL which means @tracefile = NULL so where from the profiler read the results?!
10
1465
by: DoB | last post by:
As in the subject... What is an overhead cost conneted with using the /d:TRACE switch? The Trace class is a convenient and configurable logger, but it requires the executable to be built with the /d:TRACE switch. Is using of the switch heavy in terms of size and performance of the executable? Is it better to write my own logger class if I want it to be used in the release build? DoB
0
8305
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,...
1
8503
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,...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6163
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
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4301
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
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
1950
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1607
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.