1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
Commit graph

444 commits

Author SHA1 Message Date
fc0a4e2c0a uldaq: first session of bug fixing 2019-02-09 21:21:12 +00:00
4f6aea8bf2 file: refactor FILE_EOF_EXIT -> FILE_EOF_STOP 2019-02-06 15:09:44 +01:00
6d486bcee8 rtp: add logging for AIMD state 2019-01-28 12:34:40 +01:00
317077fa93 rtp: use macros for rtp header length 2019-01-28 10:53:01 +01:00
ca62bcc714 rtp: use preallocated buffer in rtp_write() 2019-01-28 09:57:47 +01:00
Marvin Klimke
9216b1fbd6 [WIP] Parse RTCP sender report.
Obtain fraction of lost RTP packets to feed AIMD rate control.
2019-01-25 17:26:08 +01:00
25fb713213 rtp: test and bug fixing for RTP network emulation support 2019-01-23 14:16:53 +01:00
4533e0ab12 netem: fix defines and includes 2019-01-21 22:14:41 +01:00
8190227776 netem: move intialization of Netem support into node instead of socket class 2019-01-21 15:50:18 +01:00
3b0cca73e3 rtp: added initial implementation for AIMD 2019-01-21 13:10:55 +01:00
49fe632bbc rtp: added hooks for rate throttling via RTCP 2019-01-21 12:12:47 +01:00
af09f06030 revert refactoring 2019-01-14 19:07:57 +01:00
8f7c8ae71e update copyright year to 2019 2019-01-13 00:42:39 +01:00
029ccd2e09 Merge branch 'node-uldaq' into develop 2019-01-09 17:02:43 +01:00
99cae8903d rtp: use signalled queue for thread synchronization 2019-01-07 15:22:38 +01:00
d18d786801 refactor: list_* -> vlist_* 2019-01-07 10:28:55 +01:00
5b443aeff4 Merge branch 'node-rtp' into develop 2019-01-07 10:20:02 +01:00
Marvin Klimke
434e1e5c1d [WIP] Prepare for RTCP sessions
add second pair of local/remote addresses
add receive handler for RTCP packets
2018-12-20 08:25:13 +01:00
Marvin Klimke
22b42a8d88 [WIP] Use thread save queue instead of mutexes for data exchange
worker thread pushes received data in queue, main thread pulls data on request from queue.
2018-12-13 18:50:18 +01:00
Marvin Klimke
2575688951 [WIP] add pthread syncronization to re_main thread
rtp receive handler writes data to mutex protected memory and indicates the amount of data written.
main thread polls on the thread and gets the data respecting the mutex.
2018-12-07 15:15:24 +01:00
6d79075ee2 socket: increase buffer size to maximum MTU for UDP and IP layers 2018-12-04 10:39:31 +01:00
caf3e45960 workaround for C-compatability 2018-12-02 03:11:31 +01:00
eb0849b081 websocket: fix missing include 2018-11-30 21:36:26 +01:00
677f8b2aa2 socket: fix compilation without libnl3 2018-11-30 21:00:53 +01:00
30576ba7ad refactoring: move config to villas/node/config.h 2018-11-30 21:00:53 +01:00
987a59a5aa cpp: ported SuperNode 2018-11-30 20:46:59 +01:00
06ef762ad9 socket: use pre-allocated buffers to avoid dynamic allocations and syscalls in critical path 2018-11-30 20:33:11 +01:00
Marvin Klimke
2ea4b65b58 [WIP] first approach to rtp_write function. 2018-11-28 18:12:06 +01:00
Marvin Klimke
29a24d354e implement rtp_print and rtp_reverse
also begin of rtp_start
add libre rtp socket and flag for rtcp in struct rtp
2018-11-22 17:53:07 +01:00
Marvin Klimke
dc81c8fd8c first version of rtp node parse method
use individual libre includes to avoid naming conflicts.
use libre's struct sa to store socket addresses.
2018-11-22 07:18:27 +01:00
Marvin Klimke
a1e43c7f00 add plugin frame for rtp node
using nanomsg as a template
2018-11-16 16:07:47 +01:00
Dennis Potter
0819207c55 Fixed bug which improved latency about 33%.
An ugly workaround was removed in 3c33696265 and 159cefb14d. Besides making the code a little cleaner, it was expected that this would improve latency. However, it did not.

Cause for this was a bug that disabled inline messages for all messages. This is fixed in this commit. Now, the anticipated latency improvement can be seen. Compared to 159cefb14d, the latency for samples with 16 values or less is up to 33% better.

Furthermore, the check for signaling is fixed and some typos are fixed.
2018-11-02 12:46:12 +01:00
40521cf5dd socket: enable raw socket only on linux and if libnl3-route was found (closes #210) 2018-10-31 10:38:43 +01:00
Dennis Potter
159cefb14d Added periodic signalling which is necessary in implementation without additional buffer 2018-10-21 12:35:21 +02:00
Dennis Potter
3c33696265 Removed signaling for inline messages. Fixes #206
This should decrease the time that is spent in the write-function a little bit and made an extra buffer obsolete.
2018-10-20 17:05:52 +02:00
e0a02c74f5 loopback: add option for queue sync mode 2018-10-17 16:12:16 +02:00
Dennis Potter
1328f190ad Removed obsolete BUSY/EVENT flag from Infiniband node 2018-10-14 01:54:54 +02:00
Dennis Potter
ed3a27fefd Fixed wrong meta data correction and added macros for sample size 2018-10-11 14:18:30 +02:00
badca85662 wip 2018-10-04 03:00:14 +02:00
Manuel Pitz
c837b4bebc uldaq: add sample configuratioen for ul201
uldaq: fix missing samples by not using the uldaq counter. this may create race iussues
2018-09-26 23:28:53 +02:00
Manuel Pitz
7a12497804 update start index 2018-09-25 21:46:42 +02:00
0ba65c3ae1 uldaq: make use of events to signal availability of new data 2018-09-25 20:27:01 +02:00
c9a9359c24 uldaq: removed obsolete variables 2018-09-25 12:57:07 +02:00
f383bc767f uldaq: rename some fields in struct uldaq 2018-09-25 09:55:38 +02:00
Manuel Pitz
a87a89d96c nodetype:uldaq started integration for example 2018-09-25 09:39:15 +02:00
Manuel Pitz
ef68037087 nodetype:uldaq started integration for example 2018-09-24 22:43:44 +02:00
d21e80e543 uldaq: added struct uldaq and started working on intializaiton 2018-09-24 22:28:51 +02:00
Manuel Pitz
4703aaebc5 nodetype:uldaq started integration for example 2018-09-24 21:30:57 +02:00
d35971c26c refactor: update copyright years 2018-08-20 18:40:03 +02:00
0e52475c81 signal_generator: adapt to new signal code and separate node-type configuration into in/out sections 2018-08-20 18:28:13 +02:00