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

Re: [Xen-users] Unable to do run httperf with VM as server.



Also, I am not able to do an ssh or scp into VM. (but from VM to any other host is ok). I think ports of VM are not reachable. But I am able to do ping successfully. Any help debugging/suggestions please?
----------------------------
Thanks & Regards
Mohit Dhingra 



On 15 February 2012 16:56, Mohit Dhingra <mohitdhingras@xxxxxxxxx> wrote:
Hello,

I have Xen as my hypervisor , with OpenSUSE 11.4 in Dom0, and 2 VMs with OpenSUSE.

I am getting a wierd error while running httperf, when VM is my server. I am able to ping to that particular VM, from Dom0, as well as some other host on the LAN.



Dom0

cadlab:~/Downloads # ifconfig
eth0      Link encap:Ethernet  HWaddr 70:71:BC:62:73:7A 
          inet addr:10.112.10.50  Bcast:10.112.10.255  Mask:255.255.255.0
          inet6 addr: fe80::7271:bcff:fe62:737a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:405375063 errors:0 dropped:4 overruns:0 frame:0
          TX packets:605723275 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:111883683916 (106700.5 Mb)  TX bytes:55601641566 (53025.8 Mb)

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:96881 errors:0 dropped:0 overruns:0 frame:0
          TX packets:96881 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:185642468 (177.0 Mb)  TX bytes:185642468 (177.0 Mb)

peth0     Link encap:Ethernet  HWaddr 70:71:BC:62:73:7A 
          inet6 addr: fe80::7271:bcff:fe62:737a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:405386913 errors:0 dropped:1028 overruns:0 frame:0
          TX packets:605730601 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:111891942956 (106708.4 Mb)  TX bytes:55602371113 (53026.5 Mb)
          Interrupt:20 Memory:e5100000-e5120000

vif2.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:743 errors:0 dropped:0 overruns:0 frame:0
          TX packets:104057 errors:0 dropped:5 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:48211 (47.0 Kb)  TX bytes:11103582 (10.5 Mb)

vif5.0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF 
          inet6 addr: fe80::fcff:ffff:feff:ffff/64 Scope:Link
          UP BROADCAST RUNNING PROMISC MULTICAST  MTU:1500  Metric:1
          RX packets:150 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24673 errors:0 dropped:13 overruns:0 carrier:0
          collisions:0 txqueuelen:32
          RX bytes:12514 (12.2 Kb)  TX bytes:2544548 (2.4 Mb)

cadlab:~/Downloads # xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0  6012     8     r-----  37881.6
opensuse11                                   5  1024     1     -b----     35.1
opensuse11-clone                             2  1024     1     -b----     52.8

cadlab:~/Downloads # xm console 5


________________________
VM
_______________________
linux-g9jl:/home/vm1 # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:16:3E:71:11:C6 
          inet addr:10.112.19.251  Bcast:10.112.19.255  Mask:255.255.255.0
          inet6 addr: fe80::216:3eff:fe71:11c6/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:24537 errors:0 dropped:524 overruns:0 frame:0
          TX packets:149 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2529435 (2.4 Mb)  TX bytes:14498 (14.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:10040 errors:0 dropped:0 overruns:0 frame:0
          TX packets:10040 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2031212 (1.9 Mb)  TX bytes:2031212 (1.9 Mb)



------------------------------------------------------------------------------------------------------------------------------------------------------------------
>From DomU to itself,
linux-g9jl:/home/vm1 # httperf --server 10.112.19.251 \
> --num-conns=1000 \
> --rate=100 \
> --timeout=1
httperf --timeout=1 --client=0/1 --server=10.112.19.251 --port=80 --uri=/ --rate=100 --send-buffer=4096 --recv-buffer=16384 --num-conns=1000 --num-calls=1
httperf: warning: open file limit > FD_SETSIZE; limiting max. # of open files to FD_SETSIZE
Maximum connect burst length: 1

Total: connections 1000 requests 1000 replies 1000 test-duration 9.991 s

Connection rate: 100.1 conn/s (10.0 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 0.5 avg 0.5 max 2.1 median 0.5 stddev 0.1
Connection time [ms]: connect 0.0
Connection length [replies/conn]: 1.000

Request rate: 100.1 req/s (10.0 ms/req)
Request size [B]: 66.0

Reply rate [replies/s]: min 100.0 avg 100.0 max 100.0 stddev 0.0 (1 samples)
Reply time [ms]: response 0.5 transfer 0.0
Reply size [B]: header 254.0 content 1050.0 footer 2.0 (total 1306.0)
Reply status: 1xx=0 2xx=0 3xx=0 4xx=1000 5xx=0

CPU time [s]: user 2.49 system 6.98 (user 24.9% system 69.9% total 94.8%)
Net I/O: 133.9 KB/s (1.1*10^6 bps)

Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0


------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

From Dom0
cadlab:~/Downloads # httperf --timeout=1 --client=0/1 --server=10.112.19.251 --port=80 --uri=/ --rate=100 --send-buffer=4096 --recv-buffer=16384 --num-conns=1000 --num-calls=1
httperf --timeout=1 --client=0/1 --server=10.112.19.251 --port=80 --uri=/ --rate=100 --send-buffer=4096 --recv-buffer=16384 --num-conns=1000 --num-calls=1
Maximum connect burst length: 1

Total: connections 1000 requests 0 replies 0 test-duration 10.991 s

Connection rate: 91.0 conn/s (11.0 ms/conn, <=101 concurrent connections)
Connection time [ms]: min 0.0 avg 0.0 max 0.0 median 0.0 stddev 0.0
Connection time [ms]: connect 0.0
Connection length [replies/conn]: 0.000

Request rate: 0.0 req/s (0.0 ms/req)
Request size [B]: 0.0

Reply rate [replies/s]: min 0.0 avg 0.0 max 0.0 stddev 0.0 (2 samples)
Reply time [ms]: response 0.0 transfer 0.0
Reply size [B]: header 0.0 content 0.0 footer 0.0 (total 0.0)
Reply status: 1xx=0 2xx=0 3xx=0 4xx=0 5xx=0

CPU time [s]: user 4.23 system 6.74 (user 38.5% system 61.3% total 99.8%)
Net I/O: 0.0 KB/s (0.0*10^6 bps)

Errors: total 1000 client-timo 1000 socket-timo 0 connrefused 0 connreset 0
Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0

------------------------------------------------------------------------------------------------------------------------------------------------------
I am getting all timeouts, same is the case with netperf. (0 Bandwidth from Dom0 or some other host)
I am using ovs as bridge, instead of the the bridge that Xen created.

----------------------------
Thanks & Regards
Mohit Dhingra 
+919611190435


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

 


Rackspace

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