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
Niklas Eiling
f588e4419d
config: remove unnecessary includes and add conditional compilation to config_helper.h
2018-10-24 10:04:21 -04:00
a1fc8fe017
memory: add new function to get memory type from flag
2018-10-21 13:05:24 +01:00
Dennis Potter
159cefb14d
Added periodic signalling which is necessary in implementation without additional buffer
2018-10-21 12:35:21 +02:00
c753fbf6f6
tsc: remove always_inline attribute
2018-10-21 10:33:48 +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
7c6406ef7b
tsc: inline calls to tsc_now()
2018-10-20 16:44:01 +02:00
83ca82204c
timing: added new function to compare timestamps
2018-10-20 15:36:27 +02:00
b55186d16c
avoid redefinition of standard macros
2018-10-19 13:43:01 +02:00
d335837525
get rid of LIST_INIT
2018-10-19 13:41:50 +02:00
e0a02c74f5
loopback: add option for queue sync mode
2018-10-17 16:12:16 +02:00
Dennis Potter
09c5d0bb49
Changed default flag back to TIMERFD
2018-10-16 01:07:57 +02:00
Dennis Potter
1109a82581
Fixed errors from 65ee460953
that broke compilation with RDTSC flag
2018-10-16 01:00:31 +02:00