xen-users
Re: [Xen-users] Dom0 NETTX, NETRX always are 0
I've not found out the clue yet...
It seems like that the xen-3.4.1's xentop catch Dom0's NW I/O from vif0.0.
Check out the xentop source in xen3.4.1,
/usr/src/xen-3.4.1/tools/xenstat/libxenstat/src/xenstat_linux.c
you will find the code that tells me the xentop catch NW traffic from vif.
---------------------------------------------------------
int ret = fscanf(priv->procnetdev,
"vif%u.%u:%llu%llu%llu%llu%*u%*u%*u%*u"
"%llu%llu%llu%llu%*u%*u%*u%*u\n",
&domid, &net.id,
&net.tbytes, &net.tpackets, &net.terrs,
&net.tdrop,
&net.rbytes, &net.rpackets, &net.rerrs,
&net.rdrop);
---------------------------------------------------------
But in my xen-3.4.1 env, Dom0's bridge name is eth0, but it does NOT
attached to vif0.0. This is what the brctl showing.
--------------------------------------------------------
[root@host_new scripts]# brctl show
bridge name bridge id STP enabled interfaces
eth0 8000.003013e3e302 no peth0
--------------------------------------------------------
In another host, it running on xen-3.1.0, bridge named xenbr0 was attached
to peth0 as well as vif0.0. So, I got correct NW I/O for Dom0.
---------------------------------------------------------
[root@host_old ~]# brctl show
bridge name bridge id STP enabled interfaces
xenbr0 8000.feffffffffff no peth0
vif0.0
----------------------------------------------------------
I just use the default /etc/xen/xend-config.sxp, there xen bridge was
really set to xen bridge mode, the same as it in xen-3.1.0's same config
file.
------------------------------
...
(network-script network-bridge)
...
(vif-script vif-bridge)
...
------------------------------
Here is the difference between xen3.1.0 and xen3.4.1.
-----------------------------
◎host_old(=Xen3.1.0)
##
# To bridge network traffic, like this:
#
# dom0: fake eth0 -> vif0.0 -+
# |
# bridge -> real eth0 -> the network
# |
# domU: fake eth0 -> vifN.0 -+
#
# use
#
# (network-script network-bridge)
◎host_new(=Xen3.4.1)
##
# To bridge network traffic, like this:
#
# dom0: ----------------- bridge -> real eth0 -> the network
# |
# domU: fake eth0 -> vifN.0 -+
#
# use
#
# (network-script network-bridge)
-------------------------------
What's wrong with me?
Any advice is appriciated.
> Thank you! Fujar.
>
>>
>>
>>> In Host2's xentop, I got the DomU's NETRX and DomU's CPU as well as
>>> Dom0's high load during netperf running. It means DomU accturally received
>>> the packats from Host1's Dom0.
>>>
>>>
>>
>>
>>> But packat sender Host1's CPU changed this way : 0.4%->71.6%->100.5
>>> (because it with 2 vcpus)
>>> I could not get packats sending out from Host1. The NETTX no changes
>>> anymore 0->0->0.
>>>
>>>
>> Is Host1 a HVM (fully virtualized) domU?
>>
>>
>>
> Host1 and Host2 are para-virtualized Dom0.
> The TTVM is DomU running at Host2.
> All of them running at a local network.
>
>
>
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-users] Dom0 NETTX, NETRX alway are 0, 明石 れい
- Re: [Xen-users] Dom0 NETTX, NETRX alway are 0, Fajar A. Nugraha
- Re: [Xen-users] Dom0 NETTX, NETRX alway are 0, 明石 れい
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0,
明石 れい <=
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0, Fajar A. Nugraha
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0, 明石 れい
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0, Fajar A. Nugraha
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0, 明石 れい
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0, Fajar A. Nugraha
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0, Pasi Kärkkäinen
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0, Fajar A. Nugraha
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0, 明石 れい
- Re: [Xen-users] Dom0 NETTX, NETRX always are 0, Fajar A. Nugraha
|
|
|