Branch: refs/heads/lzo2
Home: https://github.com/kronosnet/kronosnet
Commit: d98fcc55e7011d680ff14ff4d67b78f3c048dd7b
https://github.com/kronosnet/kronosnet/commit/d98fcc55e7011d680ff14ff4d67b7…
Author: Ferenc Wágner <wferi(a)debian.org>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M configure.ac
M libknet/Makefile.am
Log Message:
-----------
build: work around broken pkg-config file in lzo2 version 2.10
In principle this isn't specific to BSD, though 2.10 is only packaged
for BSDs at the moment.
Signed-off-by: Ferenc Wágner <wferi(a)debian.org>
Branch: refs/heads/scale
Home: https://github.com/kronosnet/kronosnet
Commit: 875cfc2cbf7cc2ee373e47ba8adf1088694b28cc
https://github.com/kronosnet/kronosnet/commit/875cfc2cbf7cc2ee373e47ba8adf1…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/links.c
Log Message:
-----------
[stats] report correct MTU for loopback links
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 32c1634103584ff22d2b5b7a50275c76248eeada
https://github.com/kronosnet/kronosnet/commit/32c1634103584ff22d2b5b7a50275…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/handle.c
M libknet/internals.h
M libknet/threads_pmtud.c
M libknet/transport_udp.c
Log Message:
-----------
[PMTUd] Use kernel MTU information to determine next packet size during discovery
Using this information we can, for good links (*), determine and verify the link
MTU with 2 packets.
* good links means:
node X has MTU Y configured on a given interface. Any network object between node X
and destination is capable of handling MTU >= Y.
In no case the kernel will allow us to send packets > Y.
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 0f9ebd028508149af3bf5e30906ba764d084a880
https://github.com/kronosnet/kronosnet/commit/0f9ebd028508149af3bf5e30906ba…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/links.c
Log Message:
-----------
[PTMUd] by using a safe PMTU to init a link, we can shave down corosync membership creation by 25%
tested on a 9 node cluster with 2 links each node, going down from 4 seconds to 3 seconds
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 08c9be51577a4e4a9cca65c49e2a89239119b8f8
https://github.com/kronosnet/kronosnet/commit/08c9be51577a4e4a9cca65c49e2a8…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/internals.h
M libknet/threads_common.c
M libknet/threads_pmtud.c
Log Message:
-----------
[PMTUd] rename pmtud_running to pmtud_waiting
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: ccc2e694fa9c5312df9729ff432f2b37d385f7da
https://github.com/kronosnet/kronosnet/commit/ccc2e694fa9c5312df9729ff432f2…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/internals.h
M libknet/tests/knet_bench.c
M libknet/threads_pmtud.c
M libknet/transport_udp.c
Log Message:
-----------
[PTMUd] if any threads receives a EMSGSIZE outside of a PMTUD run, force PTMUd to run
Scenario:
node X has MTU Y on the interface and application is sending packets with size >= Y.
The interface MTU is suddenly reduced to < Y
Before this change, the kernel would be dropping packets till the next PMTUd run.
After this change, the PMTUd will be informed that it has to rerun (overriding
the pmtud_interval), reducing the packet drop to a minimum.
How to test:
force knet_bench to send 1500 size packets with ping_data (requires code change)
and start it.
reduce MTU on the interface from 1500 to 1300 (for example)
Notice an immediate trigger of PMTUd run in debug mode
Note: going up, from 1300 to 1500 will wait for the next PMTUd re-run as there
is no immediate way to detect this change unless we start listening to kernel
netlink sockets with libnl3 (investigation in progress but not critical enough atm).
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 40357a9bf39cc9fb6aedb41288357dac051dd1d2
https://github.com/kronosnet/kronosnet/commit/40357a9bf39cc9fb6aedb41288357…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/transport_udp.c
Log Message:
-----------
[PMTUd] make PMTUd force_run notification more quiet
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: 84773e2f777cb902015c8ca04bd61b7106b17415
https://github.com/kronosnet/kronosnet/commit/84773e2f777cb902015c8ca04bd61…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/threads_common.c
Log Message:
-----------
[PMTUd] if PMTUd is rescheduled, then enforce a new run
the usleep between each PMTUd run will give time to the other threads to grab the wrlock
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: dbf441587eb98b9d37aa048eeb4a9761557eb357
https://github.com/kronosnet/kronosnet/commit/dbf441587eb98b9d37aa048eeb4a9…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/threads_pmtud.c
Log Message:
-----------
[PMTUd] generate warning when there is a timeout receiving a response
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: e1e86bf65213aaa9b15c9d141f0561e4d37960a7
https://github.com/kronosnet/kronosnet/commit/e1e86bf65213aaa9b15c9d141f056…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/threads_pmtud.c
Log Message:
-----------
[PMTUd] amend warning message
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Compare: https://github.com/kronosnet/kronosnet/compare/b0ebf3b8e263...e1e86bf65213
Branch: refs/heads/master
Home: https://github.com/kronosnet/kronosnet
Commit: 82a7bc3d3c5824c3d0ece85ce3792eca11578e5c
https://github.com/kronosnet/kronosnet/commit/82a7bc3d3c5824c3d0ece85ce3792…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/crypto_openssl.c
Log Message:
-----------
[openssl] fix openssl1.0 crash by implementing documented locking callbacks
openssl < 1.1.0 do not support natively multithread applications and need
some extra help from the application itself to provide locking callbacks.
https://www.openssl.org/docs/man1.0.2/crypto/threads.htmlhttps://www.openssl.org/blog/blog/2017/02/21/threads/
to test this fix is necessary to use knet_bench or corosync with openssl
and lots of heavy load (perf benchmark) workload. Sooner or later
the application will crash with some random tracebacks.
after this patch, the crash cannot be reproduced anymore.
tested using 9 nodes x2 active/active links all running corosync + cpghum
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Commit: e863155612c8ca09b2af6c18b9044eaba376b107
https://github.com/kronosnet/kronosnet/commit/e863155612c8ca09b2af6c18b9044…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/crypto_openssl.c
Log Message:
-----------
Merge pull request #106 from kronosnet/openssl-fixes
[openssl] fix openssl1.0 crash by implementing documented locking cal…
Compare: https://github.com/kronosnet/kronosnet/compare/4d3686398d66...e863155612c8
Branch: refs/heads/openssl-fixes
Home: https://github.com/kronosnet/kronosnet
Commit: 82a7bc3d3c5824c3d0ece85ce3792eca11578e5c
https://github.com/kronosnet/kronosnet/commit/82a7bc3d3c5824c3d0ece85ce3792…
Author: Fabio M. Di Nitto <fdinitto(a)redhat.com>
Date: 2018-01-02 (Tue, 02 Jan 2018)
Changed paths:
M libknet/crypto_openssl.c
Log Message:
-----------
[openssl] fix openssl1.0 crash by implementing documented locking callbacks
openssl < 1.1.0 do not support natively multithread applications and need
some extra help from the application itself to provide locking callbacks.
https://www.openssl.org/docs/man1.0.2/crypto/threads.htmlhttps://www.openssl.org/blog/blog/2017/02/21/threads/
to test this fix is necessary to use knet_bench or corosync with openssl
and lots of heavy load (perf benchmark) workload. Sooner or later
the application will crash with some random tracebacks.
after this patch, the crash cannot be reproduced anymore.
tested using 9 nodes x2 active/active links all running corosync + cpghum
Signed-off-by: Fabio M. Di Nitto <fdinitto(a)redhat.com>