All of lore.kernel.org
 help / color / mirror / Atom feed
* [Patch v2] docs: Correct docs for extra_guest_irqs command line option
@ 2013-07-31 13:35 Andrew Cooper
  2013-07-31 13:39 ` Ian Campbell
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Cooper @ 2013-07-31 13:35 UTC (permalink / raw)
  To: Xen-devel; +Cc: Andrew Cooper, Ian Jackson, Ian Campbell

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>

---
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(-)

diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
index 708ffc2..775a018 100644
--- a/docs/misc/xen-command-line.markdown
+++ b/docs/misc/xen-command-line.markdown
@@ -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>`
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Patch v2] docs: Correct docs for extra_guest_irqs command line option
  2013-07-31 13:35 [Patch v2] docs: Correct docs for extra_guest_irqs command line option Andrew Cooper
@ 2013-07-31 13:39 ` Ian Campbell
  2013-07-31 13:43   ` Andrew Cooper
  0 siblings, 1 reply; 3+ messages in thread
From: Ian Campbell @ 2013-07-31 13:39 UTC (permalink / raw)
  To: Andrew Cooper; +Cc: Ian Jackson, Xen-devel

On Wed, 2013-07-31 at 14:35 +0100, Andrew Cooper wrote:
> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
> CC: Ian Campbell <Ian.Campbell@citrix.com>
> CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
> 
> ---
> 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(-)
> 
> diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
> index 708ffc2..775a018 100644
> --- a/docs/misc/xen-command-line.markdown
> +++ b/docs/misc/xen-command-line.markdown
> @@ -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`

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch v2] docs: Correct docs for extra_guest_irqs command line option
  2013-07-31 13:39 ` Ian Campbell
@ 2013-07-31 13:43   ` Andrew Cooper
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cooper @ 2013-07-31 13:43 UTC (permalink / raw)
  To: Ian Campbell; +Cc: Ian Jackson, Xen-devel

On 31/07/13 14:39, Ian Campbell wrote:
> On Wed, 2013-07-31 at 14:35 +0100, Andrew Cooper wrote:
>> Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
>> CC: Ian Campbell <Ian.Campbell@citrix.com>
>> CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
>>
>> ---
>> 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(-)
>>
>> diff --git a/docs/misc/xen-command-line.markdown b/docs/misc/xen-command-line.markdown
>> index 708ffc2..775a018 100644
>> --- a/docs/misc/xen-command-line.markdown
>> +++ b/docs/misc/xen-command-line.markdown
>> @@ -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`
> 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.

>
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-31 13:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-31 13:35 [Patch v2] docs: Correct docs for extra_guest_irqs command line option Andrew Cooper
2013-07-31 13:39 ` Ian Campbell
2013-07-31 13:43   ` Andrew Cooper

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.