[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [Xen-users] Xen bridging issue.



On 09/08/2015 01:06 PM, Wei Liu wrote:
On Tue, Sep 08, 2015 at 12:59:39PM +0300, johnny Strom wrote:
On 09/08/2015 12:13 PM, Wei Liu wrote:
  xenstore-ls/local/domain/$DOMID/
Here is the output of xenstore-ls only one network card is working.

xenstore-ls  /local/domain/1

[...]
  vif = ""
   0 = ""
    backend = "/local/domain/0/backend/vif/1/0"
    backend-id = "0"
    state = "4"
    handle = "0"
    mac = "00:16:3e:ee:aa:aa"
    multi-queue-num-queues = "17"
OK so the number of queues is 17. You probably don't need that many
queues.

Set module parameter "xenvif_max_queues" of netback to something like 4
should work around the problem for you.

Hello

I tried to set it to 4 in  /etc/modprobe.d/xen_netback.conf

rmmod xen_netback

modprobe -v xen_netback
insmod /lib/modules/3.16.0-4-amd64/kernel/drivers/net/xen-netback/xen-netback.ko xenvif_max_queues=4



But it is still the same issue..

Is xenvif_max_queues supported in Linux kernel 3.16?

modinfo -p xen_netback

separate_tx_rx_irq: (bool)
rx_drain_timeout_msecs: (uint)
rx_stall_timeout_msecs: (uint)
max_queues:Maximum number of queues per virtual interface (uint)
fatal_skb_slots: (uint)



Here is how it looks after I set it to 4...


xenstore-ls  /local/domain/3

vm = "/vm/56850be4-4ca4-4ae7-b7c7-b4e6f9336bd2"
name = "test-debian-jessie"
cpu = ""
 0 = ""
  availability = "online"
 1 = ""
  availability = "online"
 2 = ""
  availability = "online"
 3 = ""
  availability = "online"
 4 = ""
  availability = "online"
 5 = ""
  availability = "online"
 6 = ""
  availability = "online"
 7 = ""
  availability = "online"
 8 = ""
  availability = "online"
 9 = ""
  availability = "online"
 10 = ""
  availability = "online"
 11 = ""
  availability = "online"
 12 = ""
  availability = "online"
 13 = ""
  availability = "online"
 14 = ""
  availability = "online"
 15 = ""
  availability = "online"
 16 = ""
  availability = "online"
 17 = ""
  availability = "online"
 18 = ""
  availability = "online"
 19 = ""
  availability = "online"
 20 = ""
  availability = "online"
 21 = ""
  availability = "online"
 22 = ""
  availability = "online"
 23 = ""
  availability = "online"
 24 = ""
  availability = "online"
 25 = ""
  availability = "online"
 26 = ""
  availability = "online"
 27 = ""
  availability = "online"
 28 = ""
  availability = "online"
 29 = ""
  availability = "online"
 30 = ""
  availability = "online"
 31 = ""
  availability = "online"
 32 = ""
  availability = "online"
 33 = ""
  availability = "online"
 34 = ""
  availability = "online"
 35 = ""
  availability = "online"
 36 = ""
  availability = "online"
 37 = ""
  availability = "online"
 38 = ""
  availability = "online"
 39 = ""
  availability = "online"
memory = ""
 static-max = "4194304"
 target = "4194305"
 videoram = "-1"
device = ""
 suspend = ""
  event-channel = ""
 vbd = ""
  51713 = ""
   backend = "/local/domain/0/backend/qdisk/3/51713"
   backend-id = "0"
   state = "4"
   virtual-device = "51713"
   device-type = "disk"
   protocol = "x86_64-abi"
   ring-ref = "8"
   event-channel = "243"
   feature-persistent = "1"
  51714 = ""
   backend = "/local/domain/0/backend/qdisk/3/51714"
   backend-id = "0"
   state = "4"
   virtual-device = "51714"
   device-type = "disk"
   protocol = "x86_64-abi"
   ring-ref = "9"
   event-channel = "244"
   feature-persistent = "1"
 vif = ""
  0 = ""
   backend = "/local/domain/0/backend/vif/3/0"
   backend-id = "0"
   state = "4"
   handle = "0"
   mac = "00:16:3e:ee:aa:aa"
   multi-queue-num-queues = "17"
   queue-0 = ""
    tx-ring-ref = "8960"
    rx-ring-ref = "8961"
    event-channel-tx = "245"
    event-channel-rx = "246"
   queue-1 = ""
    tx-ring-ref = "8962"
    rx-ring-ref = "8963"
    event-channel-tx = "247"
    event-channel-rx = "248"
   queue-2 = ""
    tx-ring-ref = "8964"
    rx-ring-ref = "8965"
    event-channel-tx = "249"
    event-channel-rx = "250"
   queue-3 = ""
    tx-ring-ref = "8966"
    rx-ring-ref = "8967"
    event-channel-tx = "251"
    event-channel-rx = "252"
   queue-4 = ""
    tx-ring-ref = "8968"
    rx-ring-ref = "8969"
    event-channel-tx = "253"
    event-channel-rx = "254"
   queue-5 = ""
    tx-ring-ref = "8970"
    rx-ring-ref = "8971"
    event-channel-tx = "255"
    event-channel-rx = "256"
   queue-6 = ""
    tx-ring-ref = "8972"
    rx-ring-ref = "8973"
    event-channel-tx = "257"
    event-channel-rx = "258"
   queue-7 = ""
    tx-ring-ref = "8974"
    rx-ring-ref = "8975"
    event-channel-tx = "259"
    event-channel-rx = "260"
   queue-8 = ""
    tx-ring-ref = "8976"
    rx-ring-ref = "8977"
    event-channel-tx = "261"
    event-channel-rx = "262"
   queue-9 = ""
    tx-ring-ref = "8978"
    rx-ring-ref = "8979"
    event-channel-tx = "263"
    event-channel-rx = "264"
   queue-10 = ""
    tx-ring-ref = "8980"
    rx-ring-ref = "8981"
    event-channel-tx = "265"
    event-channel-rx = "266"
   queue-11 = ""
    tx-ring-ref = "8982"
    rx-ring-ref = "8983"
    event-channel-tx = "267"
    event-channel-rx = "268"
   queue-12 = ""
    tx-ring-ref = "8984"
    rx-ring-ref = "8985"
    event-channel-tx = "269"
    event-channel-rx = "270"
   queue-13 = ""
    tx-ring-ref = "8986"
    rx-ring-ref = "8987"
    event-channel-tx = "271"
    event-channel-rx = "272"
   queue-14 = ""
    tx-ring-ref = "8988"
    rx-ring-ref = "8989"
    event-channel-tx = "273"
    event-channel-rx = "274"
   queue-15 = ""
    tx-ring-ref = "8990"
    rx-ring-ref = "8991"
    event-channel-tx = "275"
    event-channel-rx = "276"
   queue-16 = ""
    tx-ring-ref = "8992"
    rx-ring-ref = "8993"
    event-channel-tx = "277"
    event-channel-rx = "278"
   request-rx-copy = "1"
   feature-rx-notify = "1"
   feature-sg = "1"
   feature-gso-tcpv4 = "1"
   feature-gso-tcpv6 = "1"
   feature-ipv6-csum-offload = "1"
  1 = ""
   backend = "/local/domain/0/backend/vif/3/1"
   backend-id = "0"
   state = "1"
   handle = "1"
   mac = "00:16:3e:ec:a7:b5"
control = ""
 shutdown = ""
 platform-feature-multiprocessor-suspend = "1"
 platform-feature-xs_reset_watches = "1"
data = ""
domid = "3"
store = ""
 port = "1"
 ring-ref = "34073524"
console = ""
 backend = "/local/domain/0/backend/console/3/0"
 backend-id = "0"
 limit = "1048576"
 type = "xenconsoled"
 output = "pty"
 tty = "/dev/pts/1"
 port = "2"
 ring-ref = "16977979"
image = ""
 device-model-pid = "7247"





Wei.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.