[netperf-talk] question about DLPI transfer performance
william
William.Zheng at Sun.COM
Thu Aug 3 00:39:47 PDT 2006
Rick Jones ÒÑдÈë:
>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
>
>
Thanks Rick:
As you said, I add a option to specify a different file.
But I got another error:
/usr/local/bin # ./netperf -H 11.0.1.105 -t DLCO_STREAM -- -D /dev/xge
DLPI CO STREAM TEST
Recv Send Send
Window Window Message Elapsed
Size Size Size Time Throughput
frames frames bytes secs. 10^6bits/sec
put_control: acknowledgement error wanted 6 got 5
dl_error_primitive: 11
dl_errno: 4
dl_unix_errno 22
netperf: dl_open: could not send control message, errno = 0
netperf: send_dlpi_co_stream: dlpi stream data descriptor: Error 0
/usr/local/bin # ./netperf -H 11.0.1.105 -t DLCO_STREAM -- -D /dev/xge0
DLPI CO STREAM TEST
Recv Send Send
Window Window Message Elapsed
Size Size Size Time Throughput
frames frames bytes secs. 10^6bits/sec
put_control: acknowledgement error wanted 6 got 5
dl_error_primitive: 11
dl_errno: 9
dl_unix_errno 0
netperf: dl_open: could not send control message, errno = 0
netperf: send_dlpi_co_stream: dlpi stream data descriptor: Error 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.netperf.org/pipermail/netperf-talk/attachments/20060803/fe9b20e0/attachment.htm
More information about the netperf-talk
mailing list