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
2014-06-05 09:35:25 +00:00
doc added some dia figures to visualize the path concept 2014-06-05 09:34:33 +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
Makefile added realtime initialization 2014-06-05 09:35:23 +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/)