Netperf - faild error
Christian Helmuth
christian.helmuth at ...1...
Wed Jan 7 16:23:21 CET 2015
Does the original "make run/netperf_lwip" work on base-linux in your
setup? Running it on my host produces the attached log. As you may
recognize by the time stamps, it takes some time to finish...
Greets
--
Christian Helmuth
Genode Labs
http://www.genode-labs.com/ · http://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
-------------- next part --------------
[2015-01-07 16:21:29] using run script /plain/krishna/src/genode/genode.git/repos/base-linux/run/env
[2015-01-07 16:21:29] using run script /plain/krishna/src/genode/genode.git/repos/ports/run/netperf_lwip.run
[2015-01-07 16:21:29] spawn netperf-2.6.0 -V
[2015-01-07 16:21:29] Netperf version 2.6.0
[2015-01-07 16:21:29] building targets: core init drivers/pci drivers/timer drivers/nic app/netperf/lwip
[2015-01-07 16:21:29] spawn make core init drivers/pci drivers/timer drivers/nic app/netperf/lwip
[2015-01-07 16:21:30] checking library dependencies...
[2015-01-07 16:21:31] Skip target drivers/nic/lan9118 because it requires [00;33mlan9118[0m
[2015-01-07 16:21:31] Skip target drivers/pci/device_pd because it requires [00;33mnova[0m
[2015-01-07 16:21:31] [00;33m Library [0mplatform
[2015-01-07 16:21:31] [00;33m Library [0msyscall
[2015-01-07 16:21:31] [00;33m Library [0mconfig
[2015-01-07 16:21:31] [00;33m Library [0malarm
[2015-01-07 16:21:31] [00;33m Library [0mcxx
[2015-01-07 16:21:31] [00;33m Library [0minit_pd_args
[2015-01-07 16:21:31] [00;33m Library [0mlibc-stdlib
[2015-01-07 16:21:31] [00;33m Library [0mlibc-locale
[2015-01-07 16:21:31] [00;33m Library [0mlibc-string
[2015-01-07 16:21:31] [00;33m Library [0mlibc-inet
[2015-01-07 16:21:31] [00;33m Library [0mlibc-gdtoa
[2015-01-07 16:21:31] [00;33m Library [0mlibc-stdio
[2015-01-07 16:21:31] [00;33m Library [0mlibc-stdtime
[2015-01-07 16:21:31] [00;33m Library [0mlibc-regex
[2015-01-07 16:21:31] [00;33m Library [0mldso-startup
[2015-01-07 16:21:31] [00;33m Library [0mlibc-setjmp
[2015-01-07 16:21:31] [00;33m Library [0mlibc-compat
[2015-01-07 16:21:31] [00;33m Library [0mtimed_semaphore
[2015-01-07 16:21:31] [00;33m Library [0mlibc-gen
[2015-01-07 16:21:31] [00;33m Library [0mlibc-isc
[2015-01-07 16:21:31] [00;33m Library [0mlibc-nameser
[2015-01-07 16:21:31] [00;33m Library [0mlibc-resolv
[2015-01-07 16:21:31] [00;33m Library [0mconfig_args
[2015-01-07 16:21:31] [00;33m Library [0mlibc-rpc
[2015-01-07 16:21:31] [00;33m Library [0mlibc-net
[2015-01-07 16:21:31] [00;33m Library [0mstartup
[2015-01-07 16:21:32] [00;33m Library [0mbase-common
[2015-01-07 16:21:32] [00;33m Library [0mbase
[2015-01-07 16:21:32] [00;33m Library [0mlx_hybrid
[2015-01-07 16:21:32] [01;33m Program [0minit/init
[2015-01-07 16:21:32] [01;33m Program [0mdrivers/pci/x86/pci_drv
[2015-01-07 16:21:32] [01;33m Program [0mcore/core
[2015-01-07 16:21:32] [00;33m Library [0mtimer
[2015-01-07 16:21:32] COMPILE version.o
[2015-01-07 16:21:32] [01;33m Program [0mdrivers/timer/timer
[2015-01-07 16:21:32] [00;33m Library [0mld
[2015-01-07 16:21:32] LINK core
[2015-01-07 16:21:32] [01;33m Program [0mdrivers/nic/linux/nic_drv
[2015-01-07 16:21:32] [00;33m Library [0mlibc
[2015-01-07 16:21:32] [00;33m Library [0mlwip
[2015-01-07 16:21:32] [00;33m Library [0mlibc_lwip
[2015-01-07 16:21:32] [00;33m Library [0mlibc_lwip_nic_dhcp
[2015-01-07 16:21:32] [00;33m Library [0mlibm
[2015-01-07 16:21:32] [01;33m Program [0mapp/netperf/lwip/netserver_lwip
[2015-01-07 16:21:32] genode build completed
[2015-01-07 16:21:32] spawn ./core
[2015-01-07 16:21:32] [32mGenode 14.11-36-g659f6ff <local changes>[0m
[2015-01-07 16:21:32] int main(): [33m--- create local services ---[0m
[2015-01-07 16:21:32] int main(): [33m--- start init ---[0m
[2015-01-07 16:21:32] int main(): [33mtransferred 17592186044415 MB to init[0m
[2015-01-07 16:21:32] int main(): [33m--- init created, waiting for exit condition ---[0m
[2015-01-07 16:21:32] [31mCould not allocate dataspace with size 4096[0m
[2015-01-07 16:21:32] [init] [32mupgrading quota donation for Env::CPU (8192 bytes)[0m
[2015-01-07 16:21:32] [init] parent provides
[2015-01-07 16:21:32] [init] service "ROM"
[2015-01-07 16:21:32] [init] service "RAM"
[2015-01-07 16:21:32] [init] service "IRQ"
[2015-01-07 16:21:32] [init] service "IO_MEM"
[2015-01-07 16:21:32] [init] service "IO_PORT"
[2015-01-07 16:21:32] [init] service "CAP"
[2015-01-07 16:21:32] [init] service "PD"
[2015-01-07 16:21:32] [init] service "RM"
[2015-01-07 16:21:32] [init] service "CPU"
[2015-01-07 16:21:32] [init] service "LOG"
[2015-01-07 16:21:32] [init] service "SIGNAL"
[2015-01-07 16:21:32] [init] child "timer"
[2015-01-07 16:21:32] [init] RAM quota: 884736
[2015-01-07 16:21:32] [init] ELF binary: timer
[2015-01-07 16:21:32] [init] priority: 0
[2015-01-07 16:21:32] [init] provides service Timer
[2015-01-07 16:21:32] [init] child "nic_drv"
[2015-01-07 16:21:32] [init] RAM quota: 4030464
[2015-01-07 16:21:32] [init] ELF binary: nic_drv
[2015-01-07 16:21:32] [init] priority: 0
[2015-01-07 16:21:32] [init] provides service Nic
[2015-01-07 16:21:32] [init] child "netserver_genode"
[2015-01-07 16:21:32] [init] RAM quota: 33390592
[2015-01-07 16:21:32] [init] ELF binary: netserver_lwip
[2015-01-07 16:21:32] [init] priority: 0
[2015-01-07 16:21:32] [init -> nic_drv] --- Linux/tap NIC driver started ---
[2015-01-07 16:21:32] [init] child "nic_drv" announces service "Nic"
[2015-01-07 16:21:32] [init] child "timer" announces service "Timer"
[2015-01-07 16:21:32] [init -> netserver_genode] void init_nic_dhcp(): [33minit_nic_dhcp()
[2015-01-07 16:21:32] [0m[init -> netserver_genode] void init_nic_dhcp(): [33mstatic network interface: ip_addr=10.0.2.55 netmask=255.255.255.0 gateway=10.0.2.1 [0m
[2015-01-07 16:21:32] [init -> netserver_genode] {anonymous}::Plugin::Plugin(): [33musing the lwIP libc plugin
[2015-01-07 16:21:32] [0m[init -> nic_drv] [31mCould not open file "config"[0m
[2015-01-07 16:21:32] [init -> nic_drv] [31mCould not obtain config file[0m
[2015-01-07 16:21:32] [init -> nic_drv] [32mNo config provided, using tap0[0m
[2015-01-07 16:21:32] [init -> netserver_genode] void init_libc_lwip(): [33minit_libc_lwip()
[2015-01-07 16:21:32] [0m[init -> netserver_genode] DUMMY getpid(): [33mgetpid called, not implemented[0m
[2015-01-07 16:21:32] [init -> netserver_genode] Starting netserver with host 'IN(6)ADDR_ANY' port '12865' and family AF_INET
[2015-01-07 16:21:32]
[2015-01-07 16:21:32] ---------------------------- TCP_STREAM -----------------------
[2015-01-07 16:21:32] spawn netperf-2.6.0 -H 10.0.2.55 -P 1 -v 2 -t TCP_STREAM -c -C -- -m 1024
[2015-01-07 16:21:32] MIGRATED TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.0.2.55 () port 0 AF_INET
[2015-01-07 16:21:32] [init -> netserver_genode] netperf: get_sock_buffer: getsockopt SO_SNDBUF: errno 42
[2015-01-07 16:21:32] [init -> netserver_genode] [31mplugin()->open("") failed[0m
[2015-01-07 16:21:32] [34mQuota exceeded! amount=24576, size=4096, consumed=24576[0m
[2015-01-07 16:21:32] [init -> netserver_genode] [32mupgrading quota donation for Env::CPU (8192 bytes)[0m
[2015-01-07 16:21:42] [init -> netserver_genode] DUMMY setitimer(): [33msetitimer called, not implemented[0m
[2015-01-07 16:21:42] Recv Send Send Utilization Service Demand
[2015-01-07 16:21:42] Socket Socket Message Elapsed Send Recv Send Recv
[2015-01-07 16:21:42] Size Size Size Time Throughput local remote local remote
[2015-01-07 16:21:42] bytes bytes bytes secs. 10^6bits/s % S % U us/KB us/KB
[2015-01-07 16:21:42]
[2015-01-07 16:21:42] 131072 16384 1024 10.04 128.20 64.83 -1.00 165.707 -0.639
[2015-01-07 16:21:42]
[2015-01-07 16:21:42] Alignment Offset Bytes Bytes Sends Bytes Recvs
[2015-01-07 16:21:42] Local Remote Local Remote Xfered Per Per
[2015-01-07 16:21:42] Send Recv Send Recv Send (avg) Recv (avg)
[2015-01-07 16:21:42] 8 8 0 0 160894976 1024.00 157124 12383.20 12993
[2015-01-07 16:21:42]
[2015-01-07 16:21:42] Maximum
[2015-01-07 16:21:42] Segment
[2015-01-07 16:21:42] Size (bytes)
[2015-01-07 16:21:42] 1448
[2015-01-07 16:21:42]
[2015-01-07 16:21:42] calculation: overall bytes / size per packet / time = packets per second
[2015-01-07 16:21:42] 160894976 Bytes / 1024 Bytes / 10.04 s = 15650 packets/s
[2015-01-07 16:21:42]
[2015-01-07 16:21:42] ! PERF: TCP_STREAM 128.20 MBit/s ok
[2015-01-07 16:21:42]
[2015-01-07 16:21:42] ---------------------------- TCP_MAERTS -----------------------
[2015-01-07 16:21:42] spawn netperf-2.6.0 -H 10.0.2.55 -P 1 -v 2 -t TCP_MAERTS -c -C -- -m 1024
[2015-01-07 16:21:42] [init -> netserver_genode] [31mno plugin found for close(3)[0m
[2015-01-07 16:21:42] MIGRATED TCP MAERTS TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 10.0.2.55 () port 0 AF_INET
[2015-01-07 16:21:42] [init -> netserver_genode] netperf: get_sock_buffer: getsockopt SO_SNDBUF: errno 42
[2015-01-07 16:22:03] [init -> netserver_genode] DUMMY setitimer(): [33msetitimer called, not implemented[0m
[2015-01-07 16:22:03] [init -> netserver_genode] Assertion "already writing or closing" failed at line 866 in /plain/krishna/src/genode/genode.git/contrib/lwip-8efd6dcd9b82e1b12a85fce9971ab8cd4898d6e0/src/lib/lwip/src/api/api_msg.c
[2015-01-07 16:22:03] Recv Send Send Utilization Service Demand
[2015-01-07 16:22:03] Socket Socket Message Elapsed Recv Send Recv Send
[2015-01-07 16:22:03] Size Size Size Time Throughput local remote local remote
[2015-01-07 16:22:03] bytes bytes bytes secs. 10^6bits/s % S % U us/KB us/KB
[2015-01-07 16:22:03]
[2015-01-07 16:22:03] 131072 16384 1024 10.00 136.77 71.83 -1.00 172.091 -0.599
[2015-01-07 16:22:03]
[2015-01-07 16:22:03] Alignment Offset Bytes Bytes Recvs Bytes Sends
[2015-01-07 16:22:03] Local Remote Local Remote Xfered Per Per
[2015-01-07 16:22:03] Recv Send Recv Send Recv (avg) Send (avg)
[2015-01-07 16:22:03] 8 8 0 0 170964387 2173.85 78646 4096.00 41881
[2015-01-07 16:22:03]
[2015-01-07 16:22:03] Maximum
[2015-01-07 16:22:03] Segment
[2015-01-07 16:22:03] Size (bytes)
[2015-01-07 16:22:03] 1448
[2015-01-07 16:22:03]
[2015-01-07 16:22:03] calculation: overall bytes / size per packet / time = packets per second
[2015-01-07 16:22:03] 170964387 Bytes / 1024 Bytes / 10.00 s = 16696 packets/s
[2015-01-07 16:22:03]
[2015-01-07 16:22:03] ! PERF: TCP_MAERTS 136.77 MBit/s ok
[2015-01-07 16:22:03]
[2015-01-07 16:22:03] Test succeeded
More information about the users
mailing list