Umar Farooq
21f5ca3dff
Merge branch 'gtnet_features' into 'develop'
...
Endianess setting for GTNET-SKT header
Hi there,
I did a bit of rework on Umar's work.
This unveiled some more severe bugs (my faults).
So, I am quite happy that this kind of code review helps everybody :-)
As last time, I assign this MR to @umar.farooq. Have a look over it, and merge if you are happy.
See merge request !8
2016-11-07 14:56:59 +01:00
d67821dda4
Merge branch 'feature-better-websockets' into feature-mpmc-queue
2016-10-30 23:49:52 -04:00
3d22238976
make pool initialisation more robust by allowing non-pow2 pool sizes (we will use the next bigger power-of-2 for the internal queue)
2016-10-30 23:01:14 -04:00
287e5727fb
fix block size calculation for memory pool
2016-10-30 23:00:17 -04:00
248a6638da
these hooks do not use HOOK_{INIT,DEINIT} to lets return early to not fail the assertion
2016-10-30 22:57:58 -04:00
0d58df66e7
fixed segmentation fault in villas-pipe
2016-10-30 22:57:05 -04:00
3d694cf4d9
add possibility to print histogram in different verbosity levels
2016-10-30 22:56:41 -04:00
c0d5bbb47b
add a couple of NULL pointer checks for bucket-less histograms
2016-10-30 22:55:12 -04:00
693329cb68
use hist_cnt_t throughout the histogram code
2016-10-30 22:54:20 -04:00
510aec7630
added constructor and destructor methods to hook_storage() management
2016-10-30 22:52:33 -04:00
fe90cce778
Merge branch 'gtnet_features' into feature-mpmc-queue
2016-10-30 22:05:46 -04:00
800e71bb96
proper return codes for incorrect CLI arguments
2016-10-30 22:05:29 -04:00
3e93dfe17c
Merge branch 'develop' into feature-mpmc-queue
2016-10-30 21:42:28 -04:00
08aef8e87a
Merge branch 'cleanups' into 'develop'
...
readd Git commit hash to version string
See merge request !10
2016-10-31 02:32:32 +01:00
14fc2b356d
Merge branch 'feature-tests2' into 'develop'
...
Unit tests for memory, utils and pool
See merge request !9
2016-10-31 02:25:18 +01:00
2ca9193c85
still not robust enough (Criterion cr_assert_ calls show high latency :-S)
2016-10-30 21:21:07 -04:00
1cede55db5
make timer unit test more robust
2016-10-30 21:14:48 -04:00
cbf74f931c
make sure we have enough huge pages reserved for CI tests
2016-10-30 20:58:27 -04:00
c0875fdafa
readd Git commit hash to version string
2016-10-30 20:27:24 -04:00
6c23cd23d3
add 'git submodule sync' to CI script to update changed .gitmodules
2016-10-30 20:25:08 -04:00
f2bdba06d0
fix submodule url for upstream bleeding branch
2016-10-30 20:07:47 -04:00
1cfa7f05d9
added missing defines
2016-10-30 20:04:17 -04:00
c0645ab839
use latest Criterion version for some required bug fixes
2016-10-30 20:00:09 -04:00
0d366fb556
speedup of unit tests (see https://github.com/Snaipe/Criterion/issues/172 )
2016-10-30 20:00:09 -04:00
4e7011bba6
added unit tests for pool
2016-10-30 20:00:09 -04:00
7baffe66c0
move munmap() workaround to from unit test to memory_free_hugepage()
2016-10-30 20:00:09 -04:00
f13c6c14e4
added unit tests for memory functions
2016-10-30 20:00:09 -04:00
d50f5ea694
added unit tests for utils
2016-10-30 20:00:09 -04:00
8926685aaf
beautify debug outputs
2016-10-30 17:11:40 -04:00
d6e4ab5d2f
severe bug fix: msg_swap() did not correctly swapped the values (just the header)
2016-10-30 17:11:12 -04:00
7dec04edfc
added new setting to example config, updated documentation
2016-10-30 17:10:20 -04:00
1bcd0f9ae2
moved "endian" setting to socket node-type: other node-types do not have the sense of endianess (e.g. file node-type)
2016-10-30 16:58:45 -04:00
c8d6c63d95
bug fix: handle failed allocation of huge pages correctly (returns MAP_FAILED instead of NULL)
2016-10-30 16:54:39 -04:00
e2d47698ed
fixed severe bug: argument order for pool_init() was swapped!
2016-10-30 16:52:53 -04:00
d0c72c06ea
added missing include for LOG2_CEIL()
2016-10-30 16:52:11 -04:00
893c723385
readded check for correct queue size (accidentally removed)
2016-10-30 15:39:05 -04:00
fb30c16d2b
improved check for correct queue length
2016-10-30 15:21:46 -04:00
83d91ae221
added LOG2_CEIL
2016-10-30 15:01:12 -04:00
Umar Farooq
4745a799ff
Add endianness setting in config file to nodes
2016-10-27 19:25:29 +02:00
Umar Farooq
8d7e0074ad
Initial test and addition of queue síze fix
2016-10-27 17:47:13 +02:00
efdc5cdff3
added sample_{alloc,free}
2016-10-22 20:47:36 -04:00
d5c844f18d
added LOG2_CEIL
2016-10-22 20:44:18 -04:00
f82fc64990
removed two unused functions
2016-10-22 20:43:55 -04:00
5ba5164c1a
added new tool to run hook functions with villas-pipe and villas-signal
2016-10-22 20:43:36 -04:00
a9363dad44
entangle hook and statistic collection system
2016-10-22 20:42:05 -04:00
bee825ae30
generate json object from histogram
2016-10-22 20:38:31 -04:00
d2347102f8
fix path to hotdogs
2016-10-22 20:37:29 -04:00
9813d2a6c2
use hard coded names for usage info
2016-10-22 20:37:02 -04:00
Umar Farooq
edd58f9fd2
Merge branch 'feature-socket-fake-header' into 'develop'
...
Make "fake" header option for gtnet-skt mode configurable per node
This change makes the "fake" header mode runtime-configurable for each individual node.
We do not use the the compile-time option anymore.
Please look at `etc/example.conf` on how to use it.
@umar.farooq Could you do a quick review and merge this request to the develop branch?
Just look at my changes for a second and press the green button below if you are happy :D
See merge request !6
2016-10-22 19:29:35 +02:00
1ca719ac6f
use a better name for the new field and added a comment explaining its pupose
2016-10-22 12:11:34 -04:00