On Mon, 3 Jul 2000, Aditya Chugh wrote:
> Could you please elaborate on this statement in your previous reply
> "to send reasonable 200 OK replies"?
If you want an origin server to work with polyclt, the server must
respond with "200 OK" replies to polyclt requests. See RFC 2616 for the
"200 OK" response status definition. An off-the-shelf origin server
will probably reply with "404 Not Found" to every polyclt request
because such a server would try to match URLs in polyclt requests to
local files on server's disks. The match will fail unless you
pre-populate the server's disk space somehow or otherwise make the
server Polygraph-aware.
> Secondly I want to simulate client requests coming from different
> source IP addresses(when actually they come from a client process
> running a single homed host only) Could we simulate client requests
> from a Polyclt in such a way so as to make it appear that the
> different client requests come from different source IP addresses?(
> my idea is to first use ifconfig command to create multiple aliases
> for the IP address of the client's machine and then bind the sockets
> to different IP addresses [using the bind() call ] ).
This is supported. The PolyMix-2 workload uses the approach you
describe.
http://polygraph.ircache.net/Workloads/
http://bakeoff.ircache.net/N02/howto.txt
Note that some OS need to be tuned to support large number of aliases
efficiently. For FreeBSD tuning tips, see
http://polygraph.ircache.net/Tips/
> If this is not possible,then I would have to use multiple clients to
> communicate with one server.I hope that would not be a problem ?
This mode is also supported and used primarily when a single physical
box is not powerful enough to create the desired request stream.
Alex.
This archive was generated by hypermail 2b29 : Tue Jul 10 2001 - 12:00:13 MDT