[netperf-talk] question about DLPI transfer performance
Rick Jones
rick.jones2 at hp.com
Wed Aug 2 09:31:38 PDT 2006
william wrote:
> hi, folks :
> When I use netperf to measure DLPI's transfer performance, I got a error
> below.
> And I didn't have this file -- /dev/dlpi.
> What can I do?
> My OS is SOLARIS.
>
> /usr/local/bin # ./netperf -H 11.0.1.105 -t DLCO_STREAM
> DLPI CO STREAM TEST
> Recv Send Send
> Window Window Message Elapsed
> Size Size Size Time Throughput
> frames frames bytes secs. 10^6bits/sec
>
> netperf: dl_open: open of /dev/dlpi failed, errno = 2
> netperf: send_dlpi_co_stream: dlpi stream data descriptor: No such file
> or directory
This is stretching my dimm memory as I've not done much with the DLPI
tests in ages, but IIRC by default, netperf tries to open /dev/dlpi -
which you can see is not working since the error is emitted, and IIRC an
errno of 2 (which you can verify with grep on errno.h) is ENOENT -
basically there is no /dev/dlpi file on your system.
So, netperf has a test-specific option to specify a different file -
which I would guess in your case would be /dev/bge or /dev/ce or
/dev/ipge etc etc. I do not recall the specific option letter, but if
you add a test-specific "-h" you should get the test-specific usage
output which should list it. That or look at the getopt() loop in
nettest_dlpi.c
happy benchmarking,
rick jones
More information about the netperf-talk
mailing list