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:20 +00:00
doc added some dia figures to visualize the path concept 2014-06-05 09:34:33 +00:00
etc renamed configuration file 2014-06-05 09:35:01 +00:00
include removed obsolete declaration 2014-06-05 09:35:19 +00:00
src using node_* functions for tools 2014-06-05 09:35:18 +00:00
.gitignore added new tools to send/receive data to/from stdin/out 2014-06-05 09:35:02 +00:00
Makefile using node_* functions for tools 2014-06-05 09:35:18 +00:00
Readme added some infos to the Readme file 2014-06-05 09:35:20 +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

 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/)