<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/lib/tests, branch 0.2</title>
<subtitle>Ouroboros main repository</subtitle>
<id>http://133.ip-51-38-114.eu/cgit/ouroboros/atom?h=0.2</id>
<link rel='self' href='http://133.ip-51-38-114.eu/cgit/ouroboros/atom?h=0.2'/>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/'/>
<updated>2016-06-29T14:04:19+00:00</updated>
<entry>
<title>lib, ipcpd: removed du_buff and pci</title>
<updated>2016-06-29T14:04:19+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-29T13:54:23+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=d85f211d53a0cb35a756d0c44a2b28807eff4e5d'/>
<id>urn:sha1:d85f211d53a0cb35a756d0c44a2b28807eff4e5d</id>
<content type='text'>
Fixes #3
</content>
</entry>
<entry>
<title>lib/test: removed the test for the shm_du_map</title>
<updated>2016-05-09T14:57:47+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-09T14:57:47+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=9f401b25899c84e6d0636d848ba8bf8520e64d47'/>
<id>urn:sha1:9f401b25899c84e6d0636d848ba8bf8520e64d47</id>
<content type='text'>
The test had a synchronisation issue. Due to rebuild of the shm_du_map
for random access, there was also a hack in the shm_du_map
specifically to run this test. Because of this hack, the decision was
made to drop this test.
</content>
</entry>
<entry>
<title>irmd: flow allocation and fast path</title>
<updated>2016-05-07T14:11:09+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-05-07T14:11:09+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=eb9f44379d5316e7f7e9311d7a66d2041eca743a'/>
<id>urn:sha1:eb9f44379d5316e7f7e9311d7a66d2041eca743a</id>
<content type='text'>
This commit has a first implementation of flow allocation (the "slow
path") and read/write (the "fast path") for ouroboros. It provides
basic but unstable communications over the shared memory.

It required a lot of changes all over the stack, and fixes a number of
previously undetected issues.

This PR still need heavy revision regarding data model, locking and
cleanup.

lib/dev: modifications to the API. It now uses an ap_init() call to
set the AP name and sets the Instance ID to the pid of the process. It
also binds the AP to the shared memory and creates tables for mappings
in the fast path. A call to ap_fini() releases the resources.

lib/shm_ap_rbuff: added ring buffer for data exchange between
processes in the fast path. It passes an index in the shm_du_map.

lib/shm_du_map: rewrote API to work with calls from dev.c. Garbage
collector added. Tests updated to new API.

ipcpd/ipcp-data: removed everything related to flows, as these are
universal for all ap's and kept in ap_data (dev.c), or similar structs
for shim ipcps.

shim-udp: added flow allocator and read/write functions and shm
elements.

irmd: revised data model and structures necessary for flow allocation.

tools: echo updated to new dev.h API.

messaging system was updated to comply with new flow allocation
messages. All exchanges use pid and port_id to bootstrap the fast
path.
</content>
</entry>
<entry>
<title>Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be-build</title>
<updated>2016-04-01T13:01:51+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-04-01T13:01:51+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=65591e5211fb3c44450c52d7534918902e0760d5'/>
<id>urn:sha1:65591e5211fb3c44450c52d7534918902e0760d5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: Cleanup of tests build</title>
<updated>2016-04-01T13:00:56+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-31T22:55:23+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=3d859bb9a75932a6cffdd37466d510b479c9aa71'/>
<id>urn:sha1:3d859bb9a75932a6cffdd37466d510b479c9aa71</id>
<content type='text'>
</content>
</entry>
<entry>
<title>lib, irmd: Update communication with IRMd</title>
<updated>2016-03-30T16:02:25+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-03-30T15:25:30+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=08941177f030b77fb44238a7e589322d2e0fcaa2'/>
<id>urn:sha1:08941177f030b77fb44238a7e589322d2e0fcaa2</id>
<content type='text'>
All messages sent to the IRMd now also get a reply back with the
result of the operation.
</content>
</entry>
<entry>
<title>lib/ipcpd: fixed logging mistake</title>
<updated>2016-03-25T10:50:35+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-25T10:50:35+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=30da4c65b62b5642f3f603b883e695ce2df2e50b'/>
<id>urn:sha1:30da4c65b62b5642f3f603b883e695ce2df2e50b</id>
<content type='text'>
logs should be included in source, not in header
</content>
</entry>
<entry>
<title>lib: Shared Memory</title>
<updated>2016-03-24T19:51:55+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-24T19:51:55+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=0dd4526f5c75f23aba886bee2d9850a70aa67ca8'/>
<id>urn:sha1:0dd4526f5c75f23aba886bee2d9850a70aa67ca8</id>
<content type='text'>
Updated tests. Added code to drop a corner case (packet where the tail
PCI would cross the edge of the ring buffer) because solving this very
rare case is not worth the performance hit on the ringbuffer the extra
code would incur. This means the ringbuffer might drop a very small
percentage of packets.
</content>
</entry>
<entry>
<title>lib: updated shm_du_map to be a hybrid ring buffer</title>
<updated>2016-03-19T22:17:44+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-19T18:07:55+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=a9bd08bf09c7baa9254a4b63aacb6bbb23f85f07'/>
<id>urn:sha1:a9bd08bf09c7baa9254a4b63aacb6bbb23f85f07</id>
<content type='text'>
Elements must be created/destroyed in order, but IPCPs can access PCI
while the PDU is in the ring buffer.
Test updated, no more waits are needed.
</content>
</entry>
<entry>
<title>lib: shared memory map</title>
<updated>2016-03-19T12:53:52+00:00</updated>
<author>
<name>Dimitri Staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-03-19T12:40:03+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=7712e3ea9fc6772b47f593acbe3088cae01c16d2'/>
<id>urn:sha1:7712e3ea9fc6772b47f593acbe3088cae01c16d2</id>
<content type='text'>
The shared memory map will allow passing SDU's between IPCPs
efficiently. It is a single block of managed memory. SDU's are stored
in a shm_du_buff datastructure, which is a list of blocks inside the
shared memory region. The mechanism for passing SDU's is not yet
implemented and could be either within the region or using another
local IPC mechanism.

The following things are configured at compile time:

SHM_FILE_NAME         : the name. Default is "ouroboros_du_map".
SHM_DU_BUFF_BLOCK_SIZE: size of a block inside the shared memory
                        region. Default is the pagesize of the system.
SHM_DU_MAP_SIZE       : the approximate size in bytes of the shared
                        memory map. The actual filesize may differ by
                        a small margin. Default is 4MB.
</content>
</entry>
</feed>
