f50e449373
refactoring in the stats system to fix some compiler errors
2016-11-08 00:27:28 -05:00
baaa809b90
remove STATS_INVALID as it is too specific for the socket node-type
2016-11-08 00:26:56 -05:00
1d3bb7c730
some cleanups in the hook system
2016-11-08 00:26:06 -05:00
fab53b0302
further steps to implement websocket client functionality
2016-11-08 00:24:57 -05:00
15e7e78e04
mark samples with source node
2016-11-07 22:20:09 -05:00
9e13b06a59
get first working version of web socket node-type with MPMC queues
2016-11-07 22:19:30 -05:00
735f08f551
more improvements to make statistic subsystem extensible
2016-11-07 22:18:26 -05:00
b23484550f
major rewrite with MPMC queues
2016-11-07 22:17:45 -05:00
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
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
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
3e93dfe17c
Merge branch 'develop' into feature-mpmc-queue
2016-10-30 21:42:28 -04:00
7baffe66c0
move munmap() workaround to from unit test to memory_free_hugepage()
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
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
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
f82fc64990
removed two unused functions
2016-10-22 20:43:55 -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
d4e6204e8e
fixed for rate
2016-10-20 21:17:20 -04:00
982cd91d63
simplified path_init / prepare logic
2016-10-20 21:16:01 -04:00
de1058cbd6
merging path_write() into path_run()
2016-10-20 18:05:56 -04:00
69a16b2ac7
added a couple of states to the path FSM
2016-10-20 18:04:18 -04:00
64ee734dc2
remove fixed-rate sending (will be replaced by new register node-type)
2016-10-20 18:01:06 -04:00
3159729cff
add new header type to socket node-type for making "fake" header in gtnet-skt mode configurable
2016-10-20 09:06:29 -04:00
e95c50a827
some fixes for memory pool
2016-10-20 08:36:49 -04:00
5de7e7c77d
add debug statements to memory functions
2016-10-20 08:36:49 -04:00
8852748242
rdtscp => rdtsc
2016-10-20 08:36:49 -04:00
3839262d8d
mpmc_queue => queue
2016-10-20 08:36:49 -04:00
ff48249389
fix sequence numbers for gtnet-skt
2016-10-19 01:56:00 -04:00
af22c7d0c4
Merge branch 'develop' into bug_fixes
2016-10-19 01:44:36 -04:00
7a7b36e678
some fixes for memory pool
2016-10-19 01:35:41 -04:00
6e13d5a895
add debug statements to memory functions
2016-10-19 01:34:27 -04:00
cf59a485ab
rdtscp => rdtsc
2016-10-19 01:25:05 -04:00
Umar Farooq
a5d50ea756
Add manual sequence numbers for GTNET w/o header as temp solution
2016-10-17 16:28:43 +02:00