Skip to content

Commit

Permalink
Compactor Blog Post Updates (#3)
Browse files Browse the repository at this point in the history
* goal rewording, renamed section to Test Scenario

* small grammatical error in Goal

* Update _posts/blog/2024-04-09-does-a-compactor-return-memory-to-OS.md

---------

Co-authored-by: Dom G <domgarguilo@apache.org>
  • Loading branch information
kevinrr888 and DomGarguilo authored Apr 10, 2024
1 parent 973373f commit b79804e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ author: Dominic Garguilo, Kevin Rathbun
---

## Goal
We need to determine if, once a compactor process is finished using memory, will it give the unused memory back to the OS?
We need to determine, once an Accumulo process is finished using memory, will the JVM release this unused memory back to the OS? To determine this, we will specifically be observing a Compactor process during out tests, but the findings should apply to any Accumulo Server process.

### Why does it matter?
### Test Scenario
There could be a scenario where the amount of memory on a machine limits the number of compactors that can be run. For example, on a machine with 32G of memory, if each compactor process uses 6G of memory, we can only "fit" 5 compactors on that machine (32/6=5.333). Since each compactor process only runs on a single core, we would only be utilizing 5 cores on that machine where we would like to be using as many as we can.

If the compactor process does not return the memory to the OS, then we are stuck with only using the following number of compactor processes:
Expand Down

0 comments on commit b79804e

Please sign in to comment.