- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- netperf question - how to add to makefile
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 11:04 AM
тАО02-01-2010 11:04 AM
Looking at the documentation I see ..
If you want to test this.. recomple ...after adding -DDO_UNIX to the makefile.
I looked through the makefile (which is clear as mud to me.) Can someone tell me what it means to add this to the makefile?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 11:20 AM
тАО02-01-2010 11:20 AM
Re: netperf question - how to add to makefile
> clear as mud to me.) [...]
Hey. Mud, shmud. I can't see it at all from
where I'm sitting.
Lacking useful psychic powers, I might look
for something like
CFLAGS=
and try adding " -DDO_UNIX" to that stuff.
If you'd like more details from non-psychics,
then you might try providing some useful info
on which to base them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 11:41 AM
тАО02-01-2010 11:41 AM
Re: netperf question - how to add to makefile
I was just about to congratulate you on your psychic powers because there was a line in the makefile that read:
CFLAGS =
I modified it to CFLAGS = "-DDO_UNIX"
and ran the make command. it complied and ran without errors
But then I got:
rx8n0vm0 # /usr/local/bin/netperf -t DG_STREAM
The test you requested is unknown to this netperf.
Please verify that you have the correct test name,
and that test family has been compiled into this netperf.
rx8n0vm0 # cat Makefile |wc -l
557
rx8n0vm0 #
The Makefile is 557 lines long and I don't speak makefile so I wasn't sure what would be useful to include in the question.
I'm thinking that there was a bunch of folks that may have already donwloaded the netperf and had already modified the makefile so someone might be able to tell me what line to look for and how to modify it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 12:25 PM
тАО02-01-2010 12:25 PM
Re: netperf question - how to add to makefile
> netperf [...]
You can hope. With my weak psychic powers, I
don't know whence you got "the netperf", so I
can't tell you what's in your file, or how
you should be trying to use the resulting
program.
> 557
You could attach the thing to a posting here,
but a pointer to the source kit which you're
using might be more valuable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 12:32 PM
тАО02-01-2010 12:32 PM
Re: netperf question - how to add to makefile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 01:08 PM
тАО02-01-2010 01:08 PM
Re: netperf question - how to add to makefile
# /usr/local/bin/netperf -t DG_STREAM
The test you requested is unknown to this netperf.
Please verify that you have the correct test name,
and that test family has been compiled into this netperf.
#
The Makefile is attached
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 01:16 PM
тАО02-01-2010 01:16 PM
Re: netperf question - how to add to makefile
I downloaded and installed the netperf4_hpux_depenences and then the
netperf-2.4.5.tar.gz. Once that was all extracted, I ran the ./configure script that creates the Makefile.
02/16/2007 12:00AM 1,815 README.txt
10/18/2005 12:00AM 610 SVN_access_available.txt
06/12/2009 12:00AM Directory archive
01/30/2006 12:00AM Directory experimental
01/19/2010 05:36PM Directory misc
06/12/2009 12:00AM 960,609 netperf-2.4.5.tar.bz2
06/12/2009 12:00AM 1,238,976 netperf-2.4.5.tar.gz
06/12/2009 12:00AM 1,319,657 netperf-2.4.5.zip
04/18/2006 12:00AM 591,421 netperf-4.0.0rc2.tar.gz
04/18/2006 12:00AM 657,390 netperf-4.0.0rc2.zip
03/20/2003 12:00AM 35,808 netperf4_design.txt
03/18/2003 12:00AM 25,518 netperf4_design_0.5.txt
03/30/2006 12:00AM 9,626,815 netperf4_hpux_dependencies.tar.gz
11/28/2001 12:00AM 112,707 pocketperf_002.zip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 02:58 PM
тАО02-01-2010 02:58 PM
SolutionOutput from "uname -a" is seldom wasted.
> [...] running the commands in the INSTALL
> file [...]
As a general rule, a useful problem
description will include a transcript showing
the actual commands used (with their output),
rather than a vague description.
> I got the bits from [...]
Ok. I'd guess that "the
netperf4_hpux_depenences" has more to do with
netperf-4* than with netperf-2.4.5.tar.gz,
but it could be harmless.
> CC = cc
> build = ia64-hp-hpux11.23
Those are interesting. (My gcc gets annoyed
by the (lame) multiple inclusions of
config.h (re-)defining HAVE_BZERO. The
bundled "cc" (all I have from HP) is
happier.)
> Looking at the documentation I see ..
Looking at _which_ documentation?
dyi # find . -exec grep DO_UNIX {} \; -print
CFLAGS += -DDEBUG_LOG_FILE=\"/dev/null\" -DDO_FIRST_BURST -DDO_UNIX
./src/Makefile.uw
I don't know what Makefile.uw is, or why I'd
care what's in it.
I got a program (and a fair number of
compiler warnings) by doing this:
dyi # uname -a
HP-UX dyi B.11.31 U ia64 4235313755 unlimited-user license
[Different, I know.]
dyi # CC=cc ./configure
dyi # gmake
Then:
dyi # src/netperf -t DG_STREAM
establish control: are you sure there is a netserver listening on localhost at p
ort 12865?
establish_control could not establish the control connection from 0.0.0.0 port 0
address family AF_UNSPEC to localhost port 12865 address family AF_UNSPEC
which looks better than what you got, but if
I run a netserver, then I get what you got.
dyi # src/netserver
Starting netserver at port 12865
Starting netserver at hostname 0.0.0.0 port 12865 and family AF_UNSPEC
dyi # src/netperf -t DG_STREAM
The test you requested is unknown to this netperf.
Please verify that you have the correct test name,
and that test family has been compiled into this netperf.
According to "doc/netperf.info":
The DG_STREAM test is only present if netperf was configured with
`--enable-unix=yes'. The remote netserver must have also been
configured with `--enable-unix=yes'.
Now, there's no evidence that "--enable-unix"
is a valid option but, on the other hand, as
"./configure --help" suggests:
dyi # gmake clean # And kill off the old netserver process...
dyi # CC=cc ./configure --enable-unixdomain=yes
dyi # gmake
dyi # ./src/netserver
dyi # src/netperf -t DG_STREAM
DG UNIDIRECTIONAL SEND TEST
Socket Message Elapsed Messages
Size Size Time Okay Errors Throughput
bytes bytes secs # # 10^6bits/sec
dg_send: data send error: Message too long
At this point, I'd tend to declare the whole
thing a pile of sloppy code with bad
documentation, but I may be overly harsh.
Perhaps a complaint to the perpetrators would
get you further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 03:02 PM
тАО02-01-2010 03:02 PM
Re: netperf question - how to add to makefile
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 03:06 PM
тАО02-01-2010 03:06 PM
Re: netperf question - how to add to makefile
*) Unix domain socket tests are compiled-in with --enable-unix=yes at configure time.