Skip to contentSkip to conversation

docs: Correct docs for extra_guest_irqs command line option

PATCH Superseded Andrew Cooper 2 participants 3 messages Jul 31, 2013

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 docs: Correct docs for extra_guest_irqs command line option

CC Ian Campbell <[email protected]>
CC Ian Jackson <[email protected]>

---
Changes for v2:
* Spelling
* Clarification about the effects of optional parameters

---
 docs/misc/xen-command-line.markdown |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
docs/misc/xen-command-line.markdown +8 -2
index 708ffc2..775a018 100644
@@ -485,9 +485,15 @@ disable it (edid=no). This option should not normally be required
 except for debugging purposes.
 
 ### extra\_guest\_irqs
-> `= <number>`
+> `= [<domU number>][,<dom0 number>]`
 
-Increase the number of PIRQs available for the guest. The default is 32. 
+> Default: `32,256`
+
+Change the number of PIRQs available for guests.  The optional first number is
+common for all domUs, while the optional second number (preceded by a comma)
+is for dom0.  The numbers for domains are only changed if the option is
+specified.  For example to change dom0 without changing domU, use
+`extra_guest_irqs=,512`
 
 ### flask\_enabled
 > `= <integer>`
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 21 lines · Andrew Cooper
CC Ian Campbell <[email protected]>
CC Ian Jackson <[email protected]>

---
Changes for v2:
* Spelling
* Clarification about the effects of optional parameters

---
 docs/misc/xen-command-line.markdown |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
docs/misc/xen-command-line.markdown +0 -1
index 708ffc2..775a018 100644
@@ -485,9 +485,15 @@ disable it (edid=no). This option should not normally be required
 except for debugging purposes.
 
 ### extra\_guest\_irqs
-> `= <number>`

docs/misc/xen-command-line.markdown disable it (edid=no). This option should not normally be required · line 496

Quoted 10 lines
docs/misc/xen-command-line.markdown +8 -1
+> `= [<domU number>][,<dom0 number>]`
 
-Increase the number of PIRQs available for the guest. The default is 32. 
+> Default: `32,256`
+
+Change the number of PIRQs available for guests.  The optional first number is
+common for all domUs, while the optional second number (preceded by a comma)
+is for dom0.  The numbers for domains are only changed if the option is
+specified.  For example to change dom0 without changing domU, use
+`extra_guest_irqs=,512`

So the effect of extra_guest_irqs=512 is to change only domU and not dom0?

Perhaps:

"The numbers for domains are only changed if the option is specified." => "Changing the setting for domU has no impact on dom0 and vice versa."

Ian.

#2 lore raw
Quoted 24 lines · Ian Campbell
Quoted 23 lines · Andrew Cooper
CC Ian Campbell <[email protected]>
CC Ian Jackson <[email protected]>

---
Changes for v2:
* Spelling
* Clarification about the effects of optional parameters

---
 docs/misc/xen-command-line.markdown |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
docs/misc/xen-command-line.markdown +1 -1
index 708ffc2..775a018 100644
@@ -485,9 +485,15 @@ disable it (edid=no). This option should not normally be required
 except for debugging purposes.
 
 ### extra\_guest\_irqs
-> `= <number>`
+> `= [<domU number>][,<dom0 number>]`
 
Quoted 10 lines

docs/misc/xen-command-line.markdown disable it (edid=no). This option should not normally be required · line 496

Quoted 8 lines
docs/misc/xen-command-line.markdown +7 -1
-Increase the number of PIRQs available for the guest. The default is 32. 
+> Default: `32,256`
+
+Change the number of PIRQs available for guests.  The optional first number is
+common for all domUs, while the optional second number (preceded by a comma)
+is for dom0.  The numbers for domains are only changed if the option is
+specified.  For example to change dom0 without changing domU, use
+`extra_guest_irqs=,512`

So the effect of extra_guest_irqs=512 is to change only domU and not dom0?

Correct. There used to be no split between dom0 and domU, but with larger platforms and "interrupt-per-vcpu" becoming common with 10G network cards, 32 just didn't cut it for dom0.

I noticed this documentation bug as we now have a server where 256 is insufficient for dom0.

Quoted 9 lines

Perhaps:

"The numbers for domains are only changed if the option is specified." => "Changing the setting for domU has no impact on dom0 and vice versa."

Ian.

I would hope that it in implicit that domU != dom0, but I guess being clearer is better. v3 on its way.

~Andrew