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

1106 commits

Author SHA1 Message Date
7b5f2157b0 refactor: do not use global loggers 2019-01-17 20:28:20 +01:00
af09f06030 revert refactoring 2019-01-14 19:07:57 +01:00
70faba9fd9 web: only issue a single call to lws_write() per LWS_*_WRITABLE callback 2019-01-14 10:08:12 +01:00
8f7c8ae71e update copyright year to 2019 2019-01-13 00:42:39 +01:00
8052b15377 websocket: add workaround for C++ port 2019-01-12 19:05:09 +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
772003983d memory: move initialization of hugepages to hugepage.c 2018-12-04 10:46:02 +01:00
6d79075ee2 socket: increase buffer size to maximum MTU for UDP and IP layers 2018-12-04 10:39:31 +01:00
a1dce81361 queue: fix races 2018-12-04 00:31:21 +01:00
b882617243 api: improve handling of socket descriptors 2018-12-02 03:21:27 +01:00
eab8f1cad7 api: use C++ queues 2018-12-02 03:20:51 +01:00
a5211e1138 queue_signalled: inherit from Queue 2018-12-02 03:18:33 +01:00
0c1427dcbe cosmetics 2018-12-02 03:17:12 +01:00
caf3e45960 workaround for C-compatability 2018-12-02 03:11:31 +01:00
47023f0c3e add missing files 2018-11-30 21:40:48 +01:00
9bda0fdfd5 api: check version 2018-11-30 21:40:36 +01:00
eb0849b081 websocket: fix missing include 2018-11-30 21:36:26 +01:00
d91f2a9f96 cpp: port queue_signalled 2018-11-30 21:36:26 +01:00
fc63bf083b remove old logging code 2018-11-30 21:36:26 +01:00
14c989f7b2 io: move io_mode into non-anonymous enum 2018-11-30 21:35:14 +01:00
3c11acb8b5 cpp: ported web and api 2018-11-30 21:33:56 +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
32ffab7632 config_helper: allow json_load_cli() to be called with constant arguments 2018-11-30 20:58:15 +01:00
708ea877f1 moved code to new VILLAScommon repo 2018-11-30 20:58:15 +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
f60bf3f0f5 api: return state as string 2018-11-27 18:06:35 +01:00
88b1ec7850 web: fix lws_callback_on_writable() on macOS caused by multithreading issues 2018-11-23 21:00:20 +02:00
84aff14eed api: refactor "command" => "action" 2018-11-23 21:00:19 +02:00
22eefc7590 websockets: fix proken detection of libwebsockets 2018-11-23 21:00:19 +02:00
b21227bb3b memory: speedup hugepage memory allocations 2018-11-23 21:00:19 +02:00
d3949d62ce node: indicate which callback are optional 2018-11-23 21:00:19 +02:00
a088c116f0 node: added support for pause/resume and restart node instances 2018-11-23 21:00:18 +02: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
irismarie
4600fb0dbd compile on arm architecture, closes #214 2018-11-21 17:13:11 +00:00
Marvin Klimke
a1e43c7f00 add plugin frame for rtp node
using nanomsg as a template
2018-11-16 16:07:47 +01:00
38be4ef255 config: compile time detection of cache line size for aarch64 (fixes #214) 2018-11-14 21:14:52 +01:00
b4e467d634 do not include tsc.h on non x86 archs (closes #211) 2018-11-14 17:08:23 +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
d2a7107aaa raw: fix raw format without fake headers 2018-10-30 10:57:50 +01:00