Skip to content

Commit 0d8b7f5

Browse files
authored
update
1 parent 17842d7 commit 0d8b7f5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

support/azure/azure-kubernetes/availability-performance/high-memory-consumption-disk-intensive-applications.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This article helps you to identity and avoid high memory consumed by disk-intens
2020

2121
When an disk-intensive application running on a pod perform frequent filesystem operations, high memory consumption might occur.
2222

23-
The following table outlines the common symptoms of memory saturation:
23+
The following table outlines the common symptoms of high memory consumption:
2424

2525
| Symptom | Description |
2626
| --- | --- |
@@ -85,9 +85,7 @@ To inspect the memory statistics of the [cgroup](https://www.kernel.org/doc/html
8585

8686
`cAdvisor` uses `memory.current` and `inactive_file` to compute the working set metric. You can replicate the calculation using the following formula:
8787

88-
working_set = (memory.current - inactive_file) / 1048576
89-
= (10645012480 - 10256207872) / 1048576
90-
= 370 MB
88+
`working_set = (memory.current - inactive_file) / 1048576 = (10645012480 - 10256207872) / 1048576 = 370 MB`
9189

9290
### Step 3: Determine kernel and application memory consumption
9391

@@ -99,7 +97,7 @@ The following table describes some memory segments:
9997
| file | Amount of memory used to cache filesystem data, including tmpfs and shared memory. |
10098
| `slab` | Amount of memory used for storing data structures in the Linux kernel. |
10199

102-
In this case, the `anon` represents 5197824 bytes which is not even close to the total amount reported by the working set metric. The `slab` memory segment used by the Linux kernel represents 354682456 bytes, which is almost all the memory reported by working set metric on the pod.
100+
In the [Step 2](#step-2-inspect-pod-memory-statistics), the `anon` represents 5197824 bytes which is not even close to the total amount reported by the working set metric. The `slab` memory segment used by the Linux kernel represents 354682456 bytes, which is almost all the memory reported by working set metric on the pod.
103101

104102
### Step 4: Drop the kernel cache on a debugger pod
105103

0 commit comments

Comments
 (0)