libos-nuse / linux-libos-tools

userspace tools for linux libos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

profile slow base performance of NUSE

thehajime opened this issue · comments

From @thehajime on November 10, 2014 2:7

Copied from original issue: libos-nuse/net-next-nuse#4

commit 22e5069bb3b1b31304008bf7b6d4d4f981a01663 fixes inefficient poll() call issue.

  • ping (native)
    PING 192.168.209.1 (192.168.209.1) 56(84) bytes of data.
    64 bytes from 192.168.209.1: icmp_seq=1 ttl=64 time=0.224 ms
    64 bytes from 192.168.209.1: icmp_seq=2 ttl=64 time=0.300 ms
    64 bytes from 192.168.209.1: icmp_seq=3 ttl=64 time=0.304 ms
    64 bytes from 192.168.209.1: icmp_seq=4 ttl=64 time=0.239 ms
    64 bytes from 192.168.209.1: icmp_seq=5 ttl=64 time=0.231 ms
    64 bytes from 192.168.209.1: icmp_seq=6 ttl=64 time=0.217 ms
    ^C
    --- 192.168.209.1 ping statistics ---
    6 packets transmitted, 6 received, 0% packet loss, time 5004ms
    rtt min/avg/max/mdev = 0.217/0.252/0.304/0.039 ms
  • ping (NUSE)
    assign nuse interface nuse-eno16777736 IPv4 address 192.168.209.39
    PING 192.168.209.1 (192.168.209.1) 56(84) bytes of data.
    Warning: time of day goes back (-1414852632497358us), taking countermeasures.
    64 bytes from 192.168.209.1: icmp_seq=1 ttl=64 time=0.712 ms
    64 bytes from 192.168.209.1: icmp_seq=2 ttl=64 time=0.683 ms
    64 bytes from 192.168.209.1: icmp_seq=3 ttl=64 time=0.533 ms
    64 bytes from 192.168.209.1: icmp_seq=4 ttl=64 time=0.462 ms
    64 bytes from 192.168.209.1: icmp_seq=5 ttl=64 time=0.880 ms
    64 bytes from 192.168.209.1: icmp_seq=6 ttl=64 time=0.401 ms
    ^C
    --- 192.168.209.1 ping statistics ---
    6 packets transmitted, 6 received, 0% packet loss, time 5006ms
    rtt min/avg/max/mdev = 0.401/0.611/0.880/0.166 ms

still need to work on more..

- iperf (native)

Client connecting to 192.168.209.1, TCP port 2000

TCP window size: 85.0 KByte (default)

[ 3] local 192.168.209.251 port 51760 connected with 192.168.209.1 port 2000
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 2.09 GBytes 1.80 Gbits/sec

- iperf (NUSE)

Client connecting to 192.168.209.1, TCP port 2000

TCP window size: 45.0 KByte (default)

[ 3] local 192.168.209.39 port 54785 connected with 192.168.209.39 port 54785
[ ID] Interval Transfer Bandwidth
[ 3] 0.0-10.0 sec 158 MBytes 133 Mbits/sec

go ahead !