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

2569 commits

Author SHA1 Message Date
Dennis Potter
44f5d43513 Script now adds plot images directly in benchmark dir 2018-08-04 14:29:57 +02:00
Dennis Potter
3910fd958d Fixed formatting of text in graphes 2018-08-04 13:40:47 +02:00
Dennis Potter
77cc61f945 Changed benchmarking
* node-infiniband-benchmark.sh now regenerates the config file every
loop. Furthermore, it does not save the source log anymore but instead
routes the generated signal to a file node.
* evaluate_logs.ipynb is now able to evaluate the signal output.
Furthermore the analysis of signal times and missed signals is enhanced
in this commit.

The plot already looks pretty good, but the alignment of text in
matplotlib is terrible, so there is still some work to do.
2018-08-03 22:49:55 +02:00
Dennis Potter
cdadbe8bcc Changed precision of offset to nanoseconds for csv. Fixes #189 2018-08-02 16:25:07 +02:00
Dennis Potter
2b52366627 Added pthread_testcancel() to path. Fixes #186 2018-08-02 16:24:05 +02:00
Dennis Potter
f6ac2341cc Fixed integration tests and benchmarks for changes commited in
027555c34d
2018-08-02 11:31:11 +02:00
Dennis Potter
027555c34d Added flag in config to enable/disable connection fallback. Closes #188 2018-08-02 10:41:37 +02:00
Dennis Potter
9b45c08830 Added count for missed steps to evaluate script 2018-08-02 10:27:29 +02:00
Dennis Potter
aefe40dc35 Removed IMM mode. Replaced hard coded integers by constants 2018-08-01 18:26:42 +02:00
Sonja Kolen
a74644cea9 csv and villas.human formats: remove dynamic memory allocation 2018-08-01 16:45:54 +02:00
Sonja Kolen
9e5852233c Merge branch 'develop' of git.rwth-aachen.de:acs/public/villas/VILLASnode into develop 2018-08-01 14:42:40 +02:00
Sonja Kolen
796d3226be villas.human format: determine type of value (double or int) of received sample by checking for a dot in the value string 2018-08-01 14:42:30 +02:00
Sonja Kolen
f7a61e3f97 csv format: determine type of value (double or int) in received sample by checking for a dot in the value string 2018-08-01 14:40:50 +02:00
Sonja Kolen
89f4e9b768 json_format: fixed a bug, int values are now saved in the data.i field instead of data.f 2018-08-01 14:36:31 +02:00
Dennis Potter
0c2241d5ee Accidentally pushed incomplete test to repository 2018-08-01 10:47:42 +02:00
Dennis Potter
74592dcb05 Added checks to see how many samples got lost at send side
This check does not yet make sense. There must be a way to see how many
samples got lost at the send side, and how many got lost during
communication.
2018-08-01 00:26:12 +02:00
Dennis Potter
22dac2d0ae Added check for missed steps at source side
This is not completed yet and does not make complete sense yet. There
must be a way to check how many samples got lost at the send side, and
how many samples were lost on the channel.
2018-08-01 00:24:14 +02:00
Dennis Potter
1972d801f3 Added file format to csv and forwarded source node to .log file 2018-07-31 19:36:35 +02:00
Dennis Potter
399b2afb67 Added data process and plot function 2018-07-31 19:03:05 +02:00
Dennis Potter
90d8e25aec Moved benchmark shell script 2018-07-30 19:00:16 +02:00
Dennis Potter
381b0fc566 Initial version of evaluate script 2018-07-30 18:59:14 +02:00
Dennis Potter
8a7c96feae Added different tests which are automatically dispatched 2018-07-30 17:06:16 +02:00
Dennis Potter
3c0606740a Prepared intial version of benchmark script 2018-07-28 16:43:35 +02:00
Dennis Potter
54fd51269b Fixed typo 2018-07-28 16:43:14 +02:00
Dennis Potter
13c9066822 Accidentally deleted UDP mode, added it back 2018-07-28 15:18:10 +02:00
f6c91f4ac9 file: fix assertion raised in file_destroy() when node was never started (closes #186) 2018-07-26 16:38:26 +02:00
Dennis Potter
634beee1d1 Removed unused out section of target 2018-07-26 16:03:33 +02:00
Dennis Potter
b96a55237b Added pthread_testcancel() in ib_read()
As discussed in issue #186 and on IM. This function check every 2048th
cycle if the thread should be canceled.

This also removed the need for 'kill -9' in the integration test.
2018-07-26 15:46:41 +02:00
Dennis Potter
918a077245 Wrapped tests in a loop and used @include. Closes #168 2018-07-26 15:33:15 +02:00
Dennis Potter
ddc185d7cd Updated Infiniband configuration to be used with villas-node 2018-07-25 18:54:13 +02:00
Dennis Potter
c9871bfebb UDP improvements
This is related to 45ddebf5d1. I forgot to
add it to the commit.
2018-07-25 18:53:11 +02:00
Dennis Potter
45ddebf5d1 Performance improvement for UDP
Before this commit, the Infiniband node recreated the address handle for
the remote node during every cycle. Now, it only creates it directly
after it got ah_attr.
2018-07-25 18:51:28 +02:00
Dennis Potter
a92491ad30 Fixed minor bug 2018-07-25 18:50:58 +02:00
Dennis Potter
d4fc842900 Added condition which checks if Infiniband cards are present 2018-07-25 18:46:33 +02:00
Dennis Potter
50655d5d88 Added file node and UDP test 2018-07-25 18:34:23 +02:00
Dennis Potter
49a92ffeaf Made in and out section optional for file node
This is discussed in the comment section of commit
d0f4513122
2018-07-25 18:13:01 +02:00
Dennis Potter
8e37e41947 Removed unused node results 2018-07-25 16:31:09 +02:00
Dennis Potter
dfd694bdc2 Some small changes in default settings and warning 2018-07-25 16:22:34 +02:00
Dennis Potter
add8789e23 Added first version of integration test for Infiniband node 2018-07-25 14:48:23 +02:00
Dennis Potter
e843733317 Fixed memory_init() bug as described in #180 2018-07-25 13:22:50 +02:00
Dennis Potter
6b93b8839e Changed debug flag in node.c from LOG_NODES to LOG_NODE
Fixes #184.
2018-07-24 10:42:35 +02:00
Dennis Potter
f14ae5a9ef Moved call to memory_init() from api to super_node
Fixes #180.
2018-07-24 10:40:21 +02:00
Dennis Potter
eb80945699 Added missing curly bracket 2018-07-24 10:35:51 +02:00
Dennis Potter
df5ec2bcdf Added support for node type dependend memory types 2018-07-23 22:46:03 +02:00
Dennis Potter
a50de4e8e7 Changed size of receive and send pool
Before, this size was always 8192. Now it is only that big for
Infiniband type nodes.
2018-07-23 22:45:29 +02:00
Dennis Potter
dfa098f450 Merge branch 'develop' of git.rwth-aachen.de:acs/public/villas/VILLASnode into develop 2018-07-23 22:44:14 +02:00
Dennis Potter
427d715279 Fixed two minor bugs in Infiniband node 2018-07-23 16:52:38 +02:00
d0f4513122 file: implement in/out config sections 2018-07-23 16:07:47 +02:00
Dennis Potter
6296d4217e Added a few corrections for sample size
* Meta data was not included in the calculation which determines if
  sample should be send inline. This caused errors
* Meta data was not substracted from sample->length on receive side
2018-07-21 13:11:46 +02:00
Dennis Potter
64282b7134 Changed sequence type to uint64_t 2018-07-21 13:01:42 +02:00