Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Documentation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PathoJobs
Documentation
Wiki
Possibly problematic memory usage
Changes
Page history
New page
Templates
Clone repository
Update Possibly problematic memory usage
authored
1 year ago
by
Alex Wiens
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Possibly-problematic-memory-usage.md
+33
-1
33 additions, 1 deletion
Possibly-problematic-memory-usage.md
with
33 additions
and
1 deletion
Possibly-problematic-memory-usage.md
View page @
0c3ff8d5
...
...
@@ -19,4 +19,36 @@
*
Missing Data:
*
requested memory per job and node
*
used data per job and Node
\ No newline at end of file
*
used data per job and Node
High memory usage
```
Eingabe:
* Metrik mem_used im node scope
* Metadatum allocated_memory pro node
* Parameter threshold für einen node
Regel:
memory_used = mem_used.max('time')
mem_threshold = job.allocated_memory * threshold
highmem_nodes = memory_used > mem_threshold
highmem = highmem_nodes.any('all')
Ausgabe: highmem ist True
```
Memory Leak
```
Eingabe:
* Metrik mem_used im node scope
* Metadatum duration
* Metadatum allocated_memory pro node
Regel:
memory_slope = mem_used.slope()
memory_slope_avg = memory_slope.avg()
memory_leak = memory_slope_avg * job.duration > job.allocated_memory
Ausgabe: memory_leak ist True
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.