Skip to content

Commit 00107f5

Browse files
committed
some edits
Signed-off-by: Hannah Hunter <[email protected]>
1 parent b55985c commit 00107f5

File tree

2 files changed

+10
-14
lines changed

2 files changed

+10
-14
lines changed

articles/azure-monitor/snapshot-debugger/snapshot-debugger-troubleshoot.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,26 +114,22 @@ However, you may experience small CPU, memory, and I/O overhead associated with
114114

115115
**When an exception is thrown in your application:**
116116

117-
_Snapshot creation_
118-
Creating a signature for the problem type and deciding whether to create a snapshot adds a very small CPU and memory overhead.
119-
120-
_Deoptimization_
121-
If de-optimization is enabled, there is an overhead for re-JITting the method that threw the exception. This will be incurred the next time that method executes. Depending on the size of the method, this could be between 1ms and 100ms of CPU time.
117+
- Creating a signature for the problem type and deciding whether to create a snapshot adds a very small CPU and memory overhead.
118+
- If de-optimization is enabled, there is an overhead for re-JITting the method that threw the exception. This will be incurred the next time that method executes. Depending on the size of the method, this could be between 1ms and 100ms of CPU time.
122119

123120
**If the exception handler decides to create a snapshot:**
124121

125-
_Process snapshot creation_
126-
Creating the process snapshot takes about half a second (P50=0.3s, P90=1.2s, P95=1.9s) during which time, the thread that threw the exception is paused. Other threads are not blocked.
122+
- Creating the process snapshot takes about half a second (P50=0.3s, P90=1.2s, P95=1.9s) during which time, the thread that threw the exception is paused. Other threads are not blocked.
127123

128-
_Converting to a minidump and uploading_
124+
- Converting the process snapshot to a minidump and uploading it to Application Insights takes several minutes.
125+
- Convert: P50=63s, P90=187s, P95=275s.
126+
- Upload: P50=31s, P90=75s, P95=98s.
129127

130-
Converting the process snapshot to a minidump and uploading it to Application Insights takes several minutes.
131-
- Convert: P50=63s, P90=187s, P95=275s.
132-
- Upload: P50=31s, P90=75s, P95=98s.
128+
This is done in Snapshot Uploader, which runs in a separate process. The Snapshot Uploader process runs at below normal CPU priority and uses low priority I/O.
133129

134-
This is done in Snapshot Uploader, which runs in a separate process. The Snapshot Uploader process runs at below normal CPU priority and uses low priority I/O.
130+
The minidump is first written to disk and the amount of disk spaced is roughly the same as the working set of the original process. Writing the minidump can induce page faults as memory is read.
135131

136-
The minidump is first written to disk and the amount of disk spaced is roughly the same as the working set of the original process. Writing the minidump can induce page faults as memory is read. The minidump is compressed during upload which consumes both CPU and memory in the Snapshot Uploader process. The CPU, memory and disk overhead for this will be proportional to the size of the process snapshot. Snapshot Uploader processes snapshots serially.
132+
The minidump is compressed during upload, which consumes both CPU and memory in the Snapshot Uploader process. The CPU, memory, and disk overhead for this is be proportional to the size of the process snapshot. Snapshot Uploader processes snapshots serially.
137133

138134
**When `TrackException` is called:**
139135

articles/azure-monitor/snapshot-debugger/snapshot-debugger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ However, you may experience small CPU, memory, and I/O overhead associated with
5858

5959
There is **no additional cost** for storing data captured by Snapshot Debugger.
6060

61-
[Learn more details regarding the Snapshot Debugger overhead.](./snapshot-debugger-troubleshoot.md)
61+
[See example scenarios in which you may experience Snapshot Debugger overhead.](./snapshot-debugger-troubleshoot.md#snapshot-debugger-overhead-scenarios)
6262

6363
## Prerequisites for using Snapshot Debugger
6464

0 commit comments

Comments
 (0)