Bug 22047 - Auto-Balloning für Dom0 abschalten
Auto-Balloning für Dom0 abschalten
Status: CLOSED WONTFIX
Product: UCS
Classification: Unclassified
Component: Virtualization - Xen
UCS 2.4
Other Linux
: P5 enhancement (vote)
: ---
Assigned To: Bugzilla Mailingliste
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-03-31 10:49 CEST by Tim Petersen
Modified: 2023-06-28 10:46 CEST (History)
2 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Petersen univentionstaff 2011-03-31 10:49:05 CEST
Es sollte einmal geprüft werden, ob dies irgendwelche Nachteile mitzieht.
Ansonsten würde ich dafür plädieren dies zum Schutz der Dom0 standardmäßig zu deaktivieren und/oder per UCS konfigurierbar zu machen.

Aus der /etc/xen/xend-config.sxp:

# Whether to enable auto-ballooning of dom0 to allow domUs to be created.
# If enable-dom0-ballooning = no, dom0 will never balloon out.
(enable-dom0-ballooning yes)
Comment 1 Philipp Hahn univentionstaff 2011-03-31 16:07:49 CEST
Die Idee hinter dom0-Ballooning ist, daß zunächst mal die dom0 allen freien Speicher bekommt und diesen sinnvoll für die Prozesse der dom0 nutzen kann. Erst wenn(!) dann domUs gestartet werden, muß der Speicher freigeräumt werden und steht ab dann nur noch exklusiv für diese domU zur Verfügung.

Wenn man dom0_ballooning ausschaltet, muß man auch gleichzeitig dem dom0-Speicher per "dom0_mem=..." begrenzen (siehe Bug #20013), da ansonsten aller Speicher durch die dom0 belegt wird und damit natürlich dann auch kein Speicher für irgendeine domU zur Verfügung steht.
Solange die domUs nicht laufen, liegt der Speicher also vollkommen brach und wird nicht benutzt, weder für Caching noch für sonst was anderes.
Comment 2 Stefan Gohmann univentionstaff 2014-02-18 21:29:17 CET
This issue has been filed against the UCS version "unstable" which does not really exist. Please change the version value.
Comment 3 Philipp Hahn univentionstaff 2014-02-19 09:08:27 CET
1. I know of at least one big customer, which explicitly sets the dom0 max mem.
2. There'e 2 other bugs, where the dom0 crashes with OOM: Bug #25993, Bug #34118
3. The dom0-mem depends on what other services run on that host - generally not a good idea.
Comment 4 Stefan Gohmann univentionstaff 2016-04-25 07:52:14 CEST
This issue has been filed against UCS 2.4.

UCS 2.4 is out of maintenance and many UCS components have vastly changed in
later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug".
In this case please provide detailed information on how this issue is affecting
you.