> On Aug. 27, 2014, 4:01 p.m., Dominic Hamon wrote: > > src/net-bench/main.cpp, line 166 > > <https://reviews.apache.org/r/25124/diff/1/?file=670615#file670615line166> > > > > it might be worth (for a future version) allowing this to be a random > > string of user-defined length and also tracking statistics for bytes > > sent/received. > > Niklas Nielsen wrote: > Good point - we would need to install message handlers accordingly > though. I would categorize it as future work :-) Want a TODO in place?
sure. i was also going to suggest using the libprocess metrics library to get access to the counters through an endpoint, but that's almost certainly overkill. as an aside, the numbers you get are similar to some theoretical upper-bound numbers we saw when testing the rate limiting framework. that suggests that 1. your methodology is sound and 2. that libprocess is the bottleneck rather than the communication up the stack to mesos. - Dominic ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/25124/#review51716 ----------------------------------------------------------- On Aug. 27, 2014, 3:49 p.m., Niklas Nielsen wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/25124/ > ----------------------------------------------------------- > > (Updated Aug. 27, 2014, 3:49 p.m.) > > > Review request for mesos, Benjamin Hindman and Ben Mahler. > > > Repository: mesos-git > > > Description > ------- > > Added libprocess connection throughput stress test (basically two libprocess > programs sending messsages back and forth). > One end is multihomed so we can scale the number of clients. One client will > issue multiple "concurrent" messages (messages sent before waiting for > acknowledgement). > > The motivation is to stress test libprocess communication and get an idea on > theoretical throughput / scale-properties for increase slave-fanout. > > > Diffs > ----- > > src/Makefile.am 40b9f6b > src/net-bench/main.cpp PRE-CREATION > > Diff: https://reviews.apache.org/r/25124/diff/ > > > Testing > ------- > > Server: > > $ ./src/mesos-net-bench > WARNING: Logging before InitGoogleLogging() is written to STDERR > I0827 15:48:01.605250 259977216 main.cpp:111] Running server at > (1)@10.0.0.224:53492 > I0827 15:48:13.617341 259977216 main.cpp:135] 14628.2 requests / second > I0827 15:48:14.617578 258367488 main.cpp:135] 13886.7 requests / second > I0827 15:48:15.617683 257830912 main.cpp:135] 8677.19 requests / second > I0827 15:48:16.617771 257830912 main.cpp:135] 8304.19 requests / second > > > Client: > > $ ./build/src/mesos-net-bench --server="(1)@10.0.0.224:53492" > WARNING: Logging before InitGoogleLogging() is written to STDERR > I0827 15:48:12.624887 124162048 main.cpp:115] Connecting to server at > (1)@10.0.0.224:53492... > > > Thanks, > > Niklas Nielsen > >
