Re: How to create separated address spaces when running multiple client processes
Pavel Kazlenka <[email protected]> Thu, 08 May 2014 11:05:42 +0300
| Newsgroups | gmane.comp.web.web-polygraph.user |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format.
--===============1656402492==
Content-Type: multipart/alternative;
boundary="------------010302040600010203070604"
This is a multi-part message in MIME format.
--------------010302040600010203070604
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi Jacky,
You don't need separate workloads for each client process.
Instead, you may
1) in a common for all clients (and, possibly, server) workloads put the
addresses of all clients:
/
Bench B = {
peak_req_rate = 300/sec;
client_side = {
max_agent_load = 1/sec; // estimated load produced by one Robot
addr_space = [ 'lo::10.0.1-10.1-250' ];
hosts = [ '172.16.0.1-3' ]; // three client-side hosts or partitions
};
server_side = { ... };
};
/2) Run each client with different -fake_hosts options, e.g. :
polygraph-client --config workload.pg --fake_hosts 10.0.1.1-5 <other
options>
polygraph-client --config workload.pg --fake_hosts 10.0.1.6-10 <other
options>
Please see details of fake_hosts option at
http://www.web-polygraph.org/docs/reference/options.html
Best wishes,
Pavel
On 05/05/2014 07:57 PM, unjc email wrote:
> Hello there,
>
> I run into a cpu-bound issue in the webpolygraph client machine. I
> want to run multiple client processes in the client machine. I want
> to know how to configure the robots so that each process has its own
> address spaces?
>
> For example,
>
> Client1 Robots: 10.0.1.1 to 10.0.1.5
> Client2 Robots: 10.0.1.6 to 10.0.1.10
> ...
> /
>
> Bench B = {
> peak_req_rate = 300/sec;
> client_side = {
> max_agent_load = 1/sec; // estimated load produced by one Robot
> addr_space = [ 'lo::10.0.1-5.1-250' ];
> hosts = [ '172.16.0.1-3' ]; // three client-side hosts or partitions
> };
> server_side = { ... };
> };
>
> /
>
>
> Do I have to prepare separated workloads (.pg files) for each client
> process in the same box?
>
>
> Thanks,
> Jacky
>
>
> _______________________________________________
> Users mailing list
> Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
> http://www.web-polygraph.org/mailman/listinfo/users
--------------010302040600010203070604
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Jacky,<br>
<br>
You don't need separate workloads for each client process.<br>
Instead, you may<br>
1) in a common for all clients (and, possibly, server) workloads
put the addresses of all clients:<br>
<br>
<em style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium"><small>
<pre>Bench B = {
peak_req_rate = 300/sec;
client_side = {
max_agent_load = 1/sec; // estimated load produced by one Robot
addr_space = [ 'lo::10.0.1-10.1-250' ];
hosts = [ '172.16.0.1-3' ]; // three client-side hosts or partitions
};
server_side = { ... };
};</pre>
</small></em>2) Run each client with different -fake_hosts
options, e.g. :<br>
<br>
polygraph-client --config workload.pg --fake_hosts 10.0.1.1-5
<other options><br>
polygraph-client --config workload.pg --fake_hosts 10.0.1.6-10
<other options><br>
<br>
Please see details of fake_hosts option at
<a class="moz-txt-link-freetext" href="http://www.web-polygraph.org/docs/reference/options.html">http://www.web-polygraph.org/docs/reference/options.html</a><br>
<br>
Best wishes,<br>
Pavel<br>
<br>
On 05/05/2014 07:57 PM, unjc email wrote:<br>
</div>
<blockquote
cite="mid:CAG8sZZAJQ9Jcc-ksJxorJzMEM4CYfa1_h88dKa190WU56VXM1g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org"
type="cite">
<div dir="ltr">Hello there,
<div><br>
</div>
<div>I run into a cpu-bound issue in the webpolygraph client
machine. I want to run multiple client processes in the client
machine. I want to know how to configure the robots so that
each process has its own address spaces? </div>
<div><br>
</div>
<div>For example, <br>
</div>
<div><br>
</div>
<div>Client1 Robots: 10.0.1.1 to 10.0.1.5</div>
<div>Client2 Robots: 10.0.1.6 to 10.0.1.10<br>
</div>
<div>...</div>
<div><em style="color:rgb(0,0,0);font-family:'Times New
Roman';font-size:medium"><small>
<blockquote>
<pre>Bench B = {
peak_req_rate = 300/sec;
client_side = {
max_agent_load = 1/sec; // estimated load produced by one Robot
addr_space = [ 'lo::10.0.1-5.1-250' ];
hosts = [ '172.16.0.1-3' ]; // three client-side hosts or partitions
};
server_side = { ... };
};</pre>
</blockquote>
</small></em></div>
<div><br>
</div>
<div><br>
</div>
<div>Do I have to prepare separated workloads (.pg files) for
each client process in the same box? </div>
<div><br>
</div>
<div> </div>
<div><br>
</div>
<div>
Thanks, </div>
<div>Jacky</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]">Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]</a>
<a class="moz-txt-link-freetext" href="http://www.web-polygraph.org/mailman/listinfo/users">http://www.web-polygraph.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>
--------------010302040600010203070604--
--===============1656402492==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Users mailing list
Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
http://www.web-polygraph.org/mailman/listinfo/users
--===============1656402492==--