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
[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 
lan9118
[2015-01-07 16:21:31] Skip target drivers/pci/device_pd because it requires 
nova
[2015-01-07 16:21:31]   Library platform
[2015-01-07 16:21:31]   Library syscall
[2015-01-07 16:21:31]   Library config
[2015-01-07 16:21:31]   Library alarm
[2015-01-07 16:21:31]   Library cxx
[2015-01-07 16:21:31]   Library init_pd_args
[2015-01-07 16:21:31]   Library libc-stdlib
[2015-01-07 16:21:31]   Library libc-locale
[2015-01-07 16:21:31]   Library libc-string
[2015-01-07 16:21:31]   Library libc-inet
[2015-01-07 16:21:31]   Library libc-gdtoa
[2015-01-07 16:21:31]   Library libc-stdio
[2015-01-07 16:21:31]   Library libc-stdtime
[2015-01-07 16:21:31]   Library libc-regex
[2015-01-07 16:21:31]   Library ldso-startup
[2015-01-07 16:21:31]   Library libc-setjmp
[2015-01-07 16:21:31]   Library libc-compat
[2015-01-07 16:21:31]   Library timed_semaphore
[2015-01-07 16:21:31]   Library libc-gen
[2015-01-07 16:21:31]   Library libc-isc
[2015-01-07 16:21:31]   Library libc-nameser
[2015-01-07 16:21:31]   Library libc-resolv
[2015-01-07 16:21:31]   Library config_args
[2015-01-07 16:21:31]   Library libc-rpc
[2015-01-07 16:21:31]   Library libc-net
[2015-01-07 16:21:31]   Library startup
[2015-01-07 16:21:32]   Library base-common
[2015-01-07 16:21:32]   Library base
[2015-01-07 16:21:32]   Library lx_hybrid
[2015-01-07 16:21:32]   Program init/init
[2015-01-07 16:21:32]   Program drivers/pci/x86/pci_drv
[2015-01-07 16:21:32]   Program core/core
[2015-01-07 16:21:32]   Library timer
[2015-01-07 16:21:32]     COMPILE  version.o
[2015-01-07 16:21:32]   Program drivers/timer/timer
[2015-01-07 16:21:32]   Library ld
[2015-01-07 16:21:32]     LINK     core
[2015-01-07 16:21:32]   Program drivers/nic/linux/nic_drv
[2015-01-07 16:21:32]   Library libc
[2015-01-07 16:21:32]   Library lwip
[2015-01-07 16:21:32]   Library libc_lwip
[2015-01-07 16:21:32]   Library libc_lwip_nic_dhcp
[2015-01-07 16:21:32]   Library libm
[2015-01-07 16:21:32]   Program app/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] Genode 14.11-36-g659f6ff <local changes>
[2015-01-07 16:21:32] int main(): --- create local services ---
[2015-01-07 16:21:32] int main(): --- start init ---
[2015-01-07 16:21:32] int main(): transferred 17592186044415 MB to init
[2015-01-07 16:21:32] int main(): --- init created, waiting for exit 
condition ---
[2015-01-07 16:21:32] Could not allocate dataspace with size 4096
[2015-01-07 16:21:32] [init] upgrading quota donation for Env::CPU (8192 
bytes)
[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(): 
init_nic_dhcp()
[2015-01-07 16:21:32] [init -> netserver_genode] void init_nic_dhcp(): 
static network interface: ip_addr=10.0.2.55 netmask=255.255.255.0 
gateway=10.0.2.1 
[2015-01-07 16:21:32] [init -> netserver_genode] {anonymous}::Plugin::Plugin(): 
using the lwIP libc plugin
[2015-01-07 16:21:32] [init -> nic_drv] Could not open file 
"config"
[2015-01-07 16:21:32] [init -> nic_drv] Could not obtain config file
[2015-01-07 16:21:32] [init -> nic_drv] No config provided, using tap0
[2015-01-07 16:21:32] [init -> netserver_genode] void init_libc_lwip(): 
init_libc_lwip()
[2015-01-07 16:21:32] [init -> netserver_genode] DUMMY getpid(): 
getpid called, not implemented
[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] plugin()->open("") 
failed
[2015-01-07 16:21:32] Quota exceeded! amount=24576, size=4096, 
consumed=24576
[2015-01-07 16:21:32] [init -> netserver_genode] upgrading quota donation 
for Env::CPU (8192 bytes)
[2015-01-07 16:21:42] [init -> netserver_genode] DUMMY setitimer(): 
setitimer called, not implemented
[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] no plugin found for 
close(3)
[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(): 
setitimer called, not implemented
[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
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
genode-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to