<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/tools/oping, branch 0.11.9</title>
<subtitle>Ouroboros main repository</subtitle>
<id>http://133.ip-51-38-114.eu/cgit/ouroboros/atom?h=0.11.9</id>
<link rel='self' href='http://133.ip-51-38-114.eu/cgit/ouroboros/atom?h=0.11.9'/>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/'/>
<updated>2018-06-13T11:39:55+00:00</updated>
<entry>
<title>lib: Use macros for all time utility functions</title>
<updated>2018-06-13T11:39:55+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-06-13T11:18:10+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=47c922f1360990f2da8363aafa0798551a2128ef'/>
<id>urn:sha1:47c922f1360990f2da8363aafa0798551a2128ef</id>
<content type='text'>
This replaces the time utility functions with macros. This avoids
using library functions in the tools and also slightly speeds up the
implementation.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>tools: Add quiet option to oping</title>
<updated>2018-06-06T09:17:42+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-06-06T08:07:02+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=e6ce5160d4de293e69e7d97ddc380ccbc59f16d5'/>
<id>urn:sha1:e6ce5160d4de293e69e7d97ddc380ccbc59f16d5</id>
<content type='text'>
This adds a --quiet -Q option to oping so it will only print the
statistics summary. Also fixes a division by 0 if duration is
specified with interval 0.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>tools: Support qosspecs in oping</title>
<updated>2018-06-05T17:53:41+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-06-05T16:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=ee9bfbed3726140d5601521de7ce8d003c453fb5'/>
<id>urn:sha1:ee9bfbed3726140d5601521de7ce8d003c453fb5</id>
<content type='text'>
The oping tool can now select a qos spec to use. Allowed specs are
predefined an chosen using "raw", "best", "video" or "voice".

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>tools: Allow specifying duration for oping</title>
<updated>2018-06-05T14:42:58+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-06-05T14:34:23+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=df526d95a9e4d7c251713c50436d88546c33c2f0'/>
<id>urn:sha1:df526d95a9e4d7c251713c50436d88546c33c2f0</id>
<content type='text'>
This adds a -d, --duration option to oping. Now all durations can be
specified in milliseconds (ms, default), seconds (s), minutes (m),
hours (h), or days(d).

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>tools: Add out-of-order statistics to oping</title>
<updated>2018-06-05T13:59:01+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-06-05T13:55:31+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=6a44d1437bf4cd57f1783942f5d8f5c7c9a1cd74'/>
<id>urn:sha1:6a44d1437bf4cd57f1783942f5d8f5c7c9a1cd74</id>
<content type='text'>
This adds out-of-order statistics to the oping tool. A packet is
considered out-of-order if its sequence number is lower than the
highest sequence number already received.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>tools: Add timestamp option to oping</title>
<updated>2018-06-01T16:19:57+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@ugent.be</email>
</author>
<published>2018-06-01T14:56:51+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=22b3bdbe0e82b3a58d963a344e9227aa7c35e05a'/>
<id>urn:sha1:22b3bdbe0e82b3a58d963a344e9227aa7c35e05a</id>
<content type='text'>
This adds a timestamp option to oping, similar to the one in regular
ping and rinaperf, so that we can more easily correlate time and
latency.

Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
</content>
</entry>
<entry>
<title>tools: Fix memleaks as reported by cppcheck</title>
<updated>2018-05-25T16:30:24+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@ugent.be</email>
</author>
<published>2018-05-25T15:14:49+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=b11972e2920a0e7641c3a84fad56cd82c093ed0c'/>
<id>urn:sha1:b11972e2920a0e7641c3a84fad56cd82c093ed0c</id>
<content type='text'>
This fixes two memleaks which were reported by cppcheck.

Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
</content>
</entry>
<entry>
<title>tools: Disable partial reads in oping</title>
<updated>2018-05-07T15:55:07+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-05-07T15:43:18+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=f57748cace780875adb92a1bb61e0b12550e052d'/>
<id>urn:sha1:f57748cace780875adb92a1bb61e0b12550e052d</id>
<content type='text'>
The oping tool was using a 1500 byte buffer, but didn't account for
partial reads when sending 1500 byte packets. This disables the
partial reads.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>tools: Use non-blocking read in servers</title>
<updated>2018-03-16T11:05:40+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-03-15T20:14:41+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=4e775400564cc02b51978dc2671c126ff8da5e9d'/>
<id>urn:sha1:4e775400564cc02b51978dc2671c126ff8da5e9d</id>
<content type='text'>
The oping and ocbr servers were using non-blocking read/writes. This
caused writes to fail on high-performance tests if the buffer got
full, instead of waiting for a slot in the buffer. The write failure
caused the server to quit. This fixes the tools by setting the I/O to
blocking write and non-blocking read.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
<entry>
<title>lib: Use PTHREAD_COND_CLOCK for blocking reads</title>
<updated>2018-03-10T12:01:23+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@ugent.be</email>
</author>
<published>2018-03-10T10:53:31+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=9b6fdc1c2abe85008610063d800edf80e5011a4d'/>
<id>urn:sha1:9b6fdc1c2abe85008610063d800edf80e5011a4d</id>
<content type='text'>
The rbuff uses the PTHREAD_COND_CLOCK for its condition variables, but
the flow_read was passing a time it got from the CLOCK_REALTIME_COARSE
clock. This causes the blocking reads not to timeout correctly.

The oping was updated to detect server timeouts and finish gracefully.

Signed-off-by: Dimitri Staessens &lt;dimitri.staessens@ugent.be&gt;
Signed-off-by: Sander Vrijders &lt;sander.vrijders@ugent.be&gt;
</content>
</entry>
</feed>
