1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00
No description
Find a file
Steffen Vogel 20d90dd9dd updated Makefile for new Doxygen setup
simplified dependency autogeneration

git-svn-id: https://zerberus.eonerc.rwth-aachen.de:8443/svn/s2ss/trunk@51 8ec27952-4edc-4aab-86aa-e87bb2611832
2014-06-05 09:35:27 +00:00
doc configured Doxygen for beatiful docs ;-) 2014-06-05 09:35:26 +00:00
etc smaller changes 2014-06-05 09:35:25 +00:00
include added realtime initialization 2014-06-05 09:35:23 +00:00
src smaller changes 2014-06-05 09:35:25 +00:00
.gitignore added new tools to send/receive data to/from stdin/out 2014-06-05 09:35:02 +00:00
Doxyfile configured Doxygen for beatiful docs ;-) 2014-06-05 09:35:26 +00:00
Makefile updated Makefile for new Doxygen setup 2014-06-05 09:35:27 +00:00
Readme added realtime initialization 2014-06-05 09:35:23 +00:00

S2SS Documentation
================================================================================

Contacts:
	Steffen Vogel <StVogel@eonerc.rwth-aachen.de>
	Marija Stevic <MStevic@eonerc.rwth-aachen.de>

 0. Compilation
 -------------------------------------------------------------------------------

	Install libraries including developement headers for:

	  - libconfig
	  - libnl-3
	  - libnl-route-3

	$ make

 1. Installation
--------------------------------------------------------------------------------


 2. Configuration
--------------------------------------------------------------------------------

	The s2ss server needs several capabilities(7) to run:

	  - CAP_NET_ADMIN to increase the socket priority
	  - CAP_SYS_NICE to set the realtime priority and cpu affinity
	  - CAP_IPC_LOC to lock pages for better realtime

 3. Examples
--------------------------------------------------------------------------------

	1. Send/Receive of random data:

	   $ ./random 1 4 100 | ./send 4 192.168.1.12:10200

	2. Ping/Pong Latency

	   $ ./test latency 192.168.1.12:10200
	

 A Operating System and Kernel
--------------------------------------------------------------------------------

	Kernel command line: isolcpus=[cpu_number]

	Map NIC IRQs	=> ???
	Map Tasks	=> taskset or sched_cpuaffinity
	Nice Task	=> Realtime Priority

	Linux RT-preemp: https://rt.wiki.kernel.org/index.php/Main_Page
		precompiled kernels: http://ccrma.stanford.edu/planetccrma/software/
			for Fedora 20 (https://fedoraproject.org/)