>>> On 1/23/2009 at  1:58 PM, Alan Altmark <[email protected]> wrote: 
-snip-
> A mystery indeed.  As Pieter suggested, seeing the output of QUERY NIC
> DETAILS would be edifying.

s390a13:~ # ifconfig
bond0     Link encap:Ethernet  HWaddr 02:00:00:00:00:06
          inet addr:10.10.220.13  Bcast:10.10.255.255  Mask:255.255.0.0
          inet6 addr: fe80::ff:fe00:6/64 Scope:Link
          UP BROADCAST RUNNING MASTER MULTICAST  MTU:1500  Metric:1
          RX packets:190 errors:0 dropped:0 overruns:0 frame:0
          TX packets:187 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:28619 (27.9 Kb)  TX bytes:18672 (18.2 Kb)

eth1      Link encap:Ethernet  HWaddr 02:00:00:00:00:06
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:188 errors:0 dropped:0 overruns:0 frame:0
          TX packets:94 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:28478 (27.8 Kb)  TX bytes:10282 (10.0 Kb)

eth2      Link encap:Ethernet  HWaddr 02:00:00:00:00:06
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:141 (141.0 b)  TX bytes:8390 (8.1 Kb)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:70 errors:0 dropped:0 overruns:0 frame:0
          TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:5432 (5.3 Kb)  TX bytes:5432 (5.3 Kb)

s390a13:~ # modprobe vmcp
s390a13:~ # vmcp q nic details
Adapter 0800  Type: QDIO      Name: UNASSIGNED  Devices: 3
  Port 0 MAC: 02-00-00-00-00-06  VSWITCH: SYSTEM VSW1
      RX Packets: 20565      Discarded: 281        Errors: 0
      TX Packets: 9312       Discarded: 0          Errors: 0
      RX Bytes: 18777364             TX Bytes: 3259316
  Connection Name: HALLOLE   State: Session Established
      Device: 0800  Unit: 000   Role: CTL-READ
      Device: 0801  Unit: 001   Role: CTL-WRITE
      Device: 0802  Unit: 002   Role: DATA
      Options: Ethernet Broadcast
        Unicast MAC Addresses:
          02-00-00-00-00-06
        Multicast MAC Addresses:
          01-00-5E-00-00-01 IP: 224.0.0.1
          01-00-5E-00-01-16 IP: 224.0.1.22
          01-00-5E-7F-FF-FD IP: 224.127.255.253
          33-33-00-00-00-01 IP: FF02::1
          33-33-FF-00-00-06 IP: FF02::FF00:6
Adapter 0900  Type: QDIO      Name: UNASSIGNED  Devices: 3
  Port 0 MAC: 02-00-00-00-00-0C  VSWITCH: SYSTEM VSW1
      RX Packets: 6          Discarded: 7          Errors: 0
      TX Packets: 246        Discarded: 0          Errors: 0
      RX Bytes: 472                  TX Bytes: 33372
  Connection Name: HALLOLE   State: Session Established
      Device: 0900  Unit: 000   Role: CTL-READ
      Device: 0901  Unit: 001   Role: CTL-WRITE
      Device: 0902  Unit: 002   Role: DATA
      Options: Ethernet
        Unicast MAC Addresses:
          02-00-00-00-00-06 IP: 10.10.220.13
        Multicast MAC Addresses:
          01-00-5E-00-00-01 IP: 224.0.0.1
          01-00-5E-00-01-16 IP: 224.0.1.22
          01-00-5E-7F-FF-FD IP: 224.127.255.253
          33-33-00-00-00-01 IP: FF02::1
          33-33-FF-00-00-06 IP: FF02::FF00:6

As you can see the "Port 0 MAC" values are different, but the "Unicast MAC" 
addresses are the same.  But, only the 900 device has an IP address assigned to 
it.  After sending a 14MB file from this guest, the statistics for the two 
interfaces show this:
eth1      Link encap:Ethernet  HWaddr 02:00:00:00:00:06
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:7543 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6087 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:648827 (633.6 Kb)  TX bytes:7779899 (7.4 Mb)

eth2      Link encap:Ethernet  HWaddr 02:00:00:00:00:06
          UP BROADCAST RUNNING SLAVE MULTICAST  MTU:1500  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6087 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2414 (2.3 Kb)  TX bytes:7763120 (7.4 Mb)

As I said, the number of bytes (and in this case packets) are spread pretty 
evenly.  The stats from the VSWITCH perspective are now:
Adapter 0800  Type: QDIO      Name: UNASSIGNED  Devices: 3
  Port 0 MAC: 02-00-00-00-00-06  VSWITCH: SYSTEM VSW1
      RX Packets: 27573      Discarded: 281        Errors: 0
      TX Packets: 15178      Discarded: 0          Errors: 0
      RX Bytes: 19403387             TX Bytes: 11014068

Adapter 0900  Type: QDIO      Name: UNASSIGNED  Devices: 3
  Port 0 MAC: 02-00-00-00-00-0C  VSWITCH: SYSTEM VSW1
      RX Packets: 20         Discarded: 7          Errors: 0
      TX Packets: 6107       Discarded: 0          Errors: 0
      RX Bytes: 2808                 TX Bytes: 7765331

If you subtract the "starting values" of bytes transmitted from these, then 
those are  also spread pretty evenly.  Further statistical analysis  is left as 
an exercise for the reader (or perhaps the developer).  :)


Mark Post

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to