tomcucinotta / distwalk

Distributed processing emulation tool
GNU General Public License v3.0
1 stars 4 forks source link

add multiple probability distribution options to dw_client #20

Closed tomcucinotta closed 9 months ago

tomcucinotta commented 11 months ago

The client currently only supports specification of fixed or exponentially distributed processing times, inter-arrival times, and send or reply packet sizes. However, there is very little ability to specify different combinations of these parameters at the moment, especially if using chains of multiple commands to be executed on different hosts using the FORWARD. We should allow for a richer set of distributions, e.g.:

tomcucinotta commented 10 months ago

With commit c13e598d, the client is allowed to specify for inter-arrival times, packet-size, response-packet size, computation times, either:

for example, for the -C option specifying computation times:

The baseline code in distrib.c should allow easily to plug additional syntaxes for additional probability distributions.

May need some more testing, especially when used in conjunction with the rate control options (ramp and samples from file).

tomcucinotta commented 9 months ago

this is done, supporting all distributions identified above, except the random sampling from experimental PMF, which can actually be emulated (alongside other arbitrary distributions) creating a file with a trace of the desired distribution, then using the "file:" syntax.