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

2505 commits

Author SHA1 Message Date
Dennis Potter
e2061e58fc Events are now monitored in a separate thread. The segmentation faults we saw earlier were caused because we exited ib_start before we created a protection domain, which is used by memory_allocation 2018-07-07 12:49:22 +02:00
Dennis Potter
bde7dd69d7 Merge branch 'develop' of git.rwth-aachen.de:acs/public/villas/VILLASnode into develop 2018-07-06 14:47:28 +02:00
Dennis Potter
e91ea7a225 Remove villas.pb-c.c and villas.pb-c.h from repository and do a minor update to .gitignore. Closes #162 2018-07-06 14:47:11 +02:00
26541bae79 log: fix logging to syslog 2018-07-06 14:13:01 +02:00
9e15dfdc34 log: only show indention markers in console logs, not files 2018-07-06 14:12:48 +02:00
Dennis Potter
2bf122991c Started to convert the RDMA_CM_EVENT loop to a separate thread and added a new state to the node. This commit is still broken 2018-07-05 18:26:32 +02:00
Dennis Potter
43dc305fde Placed sanity checks to a separate function ib_check. Closes #151 2018-07-05 15:30:33 +02:00
Dennis Potter
b2fcfdca9d Checked all tools for the presence of log_parse() 2018-07-05 14:40:32 +02:00
Dennis Potter
f976ce5418 Added debug messages with different verbosity levels 2018-07-05 13:57:25 +02:00
Dennis Potter
781f405a48 Adhered to coding style 2018-07-04 19:04:08 +02:00
b84210b91d cmake: add support for infiniband node-type 2018-07-04 17:50:26 +02:00
fb4c39f19a memory: update file haeders 2018-07-04 17:27:45 +02:00
4d09482fdb Merge branch 'infiniband' into develop
# Conflicts:
#	Makefile
#	Makefile.config
#	Makefile.help
#	lib/Makefile.villas-ext.inc
#	lib/Makefile.villas.inc
#	lib/memory.c
#	lib/nodes/Makefile.inc
2018-07-04 16:50:36 +02:00
92e4b61e2e add assertion to check that the node-type has been started before starting the node 2018-07-04 16:38:06 +02:00
Dennis Potter
08682bec9b Added LOG_IB 2018-07-04 16:34:08 +02:00
8cd1b93225 cmake: fix linking of libiec61850 on Ubuntu 2018-07-04 16:27:43 +02:00
Dennis Potter
86363f06da Added better handling for FLUSH_ERRs of receive work queue 2018-07-04 15:37:25 +02:00
Dennis Potter
8f52d167f5 Fixed wrong directory in include of ib.h 2018-07-04 15:26:22 +02:00
Dennis Potter
51519c06df Implemented new memory system implementation in infiniband node 2018-07-04 15:15:24 +02:00
d64b650f58 cmake: link against imported target for libprotobuf-c 2018-07-04 15:14:02 +02:00
6ecac46b4e cmake: fix detection protobuf 2018-07-04 15:09:22 +02:00
d9e041a525 cmake: fix detection of libwebsockets 2018-07-04 15:09:08 +02:00
5bb7404cd8 allow compilation against older libcurl versions 2018-07-04 15:08:48 +02:00
dc3421a3ed memory: improve error message when executed without super-user privs (closes #157) 2018-07-04 12:15:24 +02:00
Dennis Potter
070e2c2bde Quick work around. api init function uses memory_type_heap, so the hash table needs to be initialized. This happens in memory_init() 2018-07-04 11:59:52 +02:00
Dennis Potter
f3a5b81649 Merge branch 'infiniband-memory' into infiniband 2018-07-04 10:50:21 +02:00
Dennis Potter
5a6b9120be Fixed incompatible integer to pointer conversion returning 'int' from a function with result type 'struct memory_allocation *' 2018-07-04 10:39:13 +02:00
e4f3a83c49 several fixes to silence the c++ compiler 2018-07-03 20:43:05 +02:00
1026539a4b Merge branch 'cmake' into develop
# Conflicts:
#	lib/Makefile.villas.inc
2018-07-03 18:30:21 +02:00
Dennis Potter
1c2c210f13 Fixed two minor compilation errors 2018-07-03 18:28:21 +02:00
fc6f63b192 cmake: change sub-libraries to be statically linked 2018-07-03 18:25:15 +02:00
54c9964f6c cmake: improve handling of protofbuf outputs 2018-07-03 18:24:20 +02:00
Dennis Potter
0470ebda33 Fixed indentations 2018-07-03 18:01:49 +02:00
Dennis Potter
a825009457 Removed bugs with regard to the zero-copy implementation. This commit is able to send -r 5000 -l 50000 with villas pipe. With a higher -r, the source throws errors that there aren't any receive WRs, so probably pipe doesn't fill up the WRs fast enough 2018-07-03 17:39:06 +02:00
b35a60e038 cmake: add missing library dependency to libvillas 2018-07-03 15:13:32 +02:00
da8124e472 memory: use hash_table to store allocation metadata 2018-07-02 19:00:55 +02:00
45b121d884 infiniband: do not build memory allocator if node is not acticated 2018-07-02 16:05:05 +02:00
Dennis Potter
669d75a666 Basic implementation of zero-copying is done. The is still a problem with rread = hook_read_list. It doesn't return anything after the fourth read 2018-07-02 16:03:16 +02:00
bb70be0b2c memory: refactored memory subsystem 2018-07-02 15:57:56 +02:00
93750a2bcd Merge branch 'develop' into infiniband-memory 2018-07-02 13:09:24 +02:00
8e252bbb4b hash_table: added simple hash table with linked lists 2018-07-02 13:07:45 +02:00
b9f463ebee node: extend struct node_type with a new function pointer for checking node configuration 2018-07-02 10:59:45 +02:00
f500cfa1e6 memory: update link and explanation of munmap() on hugepages 2018-07-02 10:51:27 +02:00
Dennis Potter
c055010be1 ib_write() now takes data directly from the super pool instead of copying it. ib_read() still copies data and the code needs cleanup after zero-copy is implemented 2018-07-01 12:56:03 +02:00
Dennis Potter
c70dbe2263 Resolved memory_ib related compile and link errors 2018-06-30 18:20:30 +02:00
0a4f1a3731 cmake: add install targets and several other cpack improvments 2018-06-30 01:29:45 +02:00
c01393bc82 infiniband: add new memory type 2018-06-29 17:37:10 +02:00
9ecdb54832 node: add new function node_memtype() to get node specific memory allocators 2018-06-29 17:32:07 +02:00
9094941b4c cmake: add more CMakeLists.txt 2018-06-29 14:36:50 +02:00
c16c53ffb9 test_rtt: fix compiler warnings 2018-06-29 14:36:50 +02:00