Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
snf-ganeti
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
itminedu
snf-ganeti
Commits
0a2a0d91
Commit
0a2a0d91
authored
17 years ago
by
Iustin Pop
Browse files
Options
Downloads
Patches
Plain Diff
Add information about the recommended Xen settings
Reviewed-by: imsnah
parent
8d519422
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/install.sgml
+52
-0
52 additions, 0 deletions
docs/install.sgml
with
52 additions
and
0 deletions
docs/install.sgml
+
52
−
0
View file @
0a2a0d91
...
...
@@ -192,6 +192,58 @@
</para>
</formalpara>
<sect3>
<title>
Xen settings
</title>
<para>
It's recommended that dom0 is restricted to a low amount of
memory (
<constant>
512MiB
</constant>
is reasonable) and that
memory ballooning is disabled in the file
<filename>
/etc/xen/xend-config.sxp
</filename>
by setting the
value
<literal>
dom0-min-mem
</literal>
to
<constant>
0
</constant>
, like this:
<computeroutput>
(dom0-min-mem 0)
</computeroutput>
</para>
<para>
For optimum performance when running both CPU and I/O
intensive instances, it's also recommended that the dom0 is
restricted to one CPU only, for example by booting with the
kernel parameter
<literal>
nosmp
</literal>
.
</para>
<formalpara>
<title>
Debian
</title>
<para>
Besides the balloning change which you need to set in
<filename>
/etc/xen/xend-config.sxp
</filename>
, you need to
set the memory and nosmp parameters in the file
<filename>
/boot/grub/menu.lst
</filename>
. You need to
modify the variable
<literal>
xenhopt
</literal>
to add
<userinput>
dom0_mem=512M
</userinput>
like this:
<screen>
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=dom0_mem=512M
</screen>
and the
<literal>
xenkopt
</literal>
needs to include the
<userinput>
nosmp
</userinput>
option like this:
<screen>
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=nosmp
</screen>
Any existing parameters can be left in place: it's ok to
have
<computeroutput>
xenkopt=console=tty0
nosmp
</computeroutput>
, for example. After modifying the
files, you need to run:
<screen>
/sbin/update-grub
</screen>
</para>
</formalpara>
</sect3>
<sect3>
<title>
Selecting the instance kernel
</title>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment