All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V3 0/2] limit xen vnic max queues number to online cpus number
@ 2015-10-23  9:42 Joe Jin
  2015-10-23  9:44 ` [PATCH V3 1/2] xen-netback: limit xen vif max queues number to online cpus Joe Jin
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Joe Jin @ 2015-10-23  9:42 UTC (permalink / raw)
  To: wei.liu2, Ian Campbell, Boris Ostrovsky, Konrad Rzeszutek Wilk,
	David S. Miller, Jan Beulich
  Cc: netdev, xen-devel

Currently xen vnic allowed to create lots of queues by set module param
max_queues(both netback and netfront), when queues number larger than
cpus number, it does not help for performance but need more cpu time.

This patchset limit netback and netfront max queues number to online
cpus number.

Joe Jin (2):
  xen-netback: limit xen vif max queues number to online cpus
  xen-netfront: limit vnic max_queues number to online cpus

---
Changes in v3:
  - Corrected the range info [1-CPUs].

Changes in v2:
  - Replace param_get_int to param_get_uint.
  - Use '%u' for unsigned int when print.
  - Replace EINVAL to ERANGE when out of range [0-CPUs].
  - Reset the perm of max_queues on sysfs to 0644.

 drivers/net/xen-netback/netback.c |   28 ++++++++++++++++++++++------
 drivers/net/xen-netfront.c        |   28 ++++++++++++++++++++++------
 2 files changed, 44 insertions(+), 12 deletions(-)

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [PATCH V3 0/2] limit xen vnic max queues number to online cpus number
@ 2015-10-23  9:42 Joe Jin
  0 siblings, 0 replies; 12+ messages in thread
From: Joe Jin @ 2015-10-23  9:42 UTC (permalink / raw)
  To: wei.liu2, Ian Campbell, Boris Ostrovsky, Konrad Rzeszutek Wilk,
	David S. Miller, Jan Beulich
  Cc: netdev, xen-devel

Currently xen vnic allowed to create lots of queues by set module param
max_queues(both netback and netfront), when queues number larger than
cpus number, it does not help for performance but need more cpu time.

This patchset limit netback and netfront max queues number to online
cpus number.

Joe Jin (2):
  xen-netback: limit xen vif max queues number to online cpus
  xen-netfront: limit vnic max_queues number to online cpus

---
Changes in v3:
  - Corrected the range info [1-CPUs].

Changes in v2:
  - Replace param_get_int to param_get_uint.
  - Use '%u' for unsigned int when print.
  - Replace EINVAL to ERANGE when out of range [0-CPUs].
  - Reset the perm of max_queues on sysfs to 0644.

 drivers/net/xen-netback/netback.c |   28 ++++++++++++++++++++++------
 drivers/net/xen-netfront.c        |   28 ++++++++++++++++++++++------
 2 files changed, 44 insertions(+), 12 deletions(-)

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

end of thread, other threads:[~2015-10-26 14:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-23  9:42 [PATCH V3 0/2] limit xen vnic max queues number to online cpus number Joe Jin
2015-10-23  9:44 ` [PATCH V3 1/2] xen-netback: limit xen vif max queues number to online cpus Joe Jin
2015-10-23  9:44 ` Joe Jin
2015-10-23  9:51   ` [Xen-devel] " Andrew Cooper
2015-10-23  9:51   ` Andrew Cooper
2015-10-26 14:54   ` Wei Liu
2015-10-26 14:54   ` Wei Liu
2015-10-23  9:45 ` [PATCH V3 2/2] xen-netfront: limit vnic max_queues " Joe Jin
2015-10-23  9:45 ` Joe Jin
2015-10-23  9:50 ` [Xen-devel] [PATCH V3 0/2] limit xen vnic max queues number to online cpus number Andrew Cooper
2015-10-23  9:50 ` Andrew Cooper
  -- strict thread matches above, loose matches on Subject: below --
2015-10-23  9:42 Joe Jin

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.