report - finished logarch
authorAdriana Draghici <adriana008@gmail.com>
Thu, 11 Feb 2010 19:04:08 +0000 (21:04 +0200)
committerAdriana Draghici <adriana008@gmail.com>
Thu, 11 Feb 2010 19:04:13 +0000 (21:04 +0200)
report/logarch.tex
report/report.bib
report/test.tex
report/test/server.tex

index f5e7443..93bb5e9 100644 (file)
@@ -1,11 +1,22 @@
 
+
+The previous stages of this project focused on creating a virtualized testing environment \cite{rdenv}
+and examining the performances of several BitTorrent clients, in order to choose the most appropriate
+ones for a live streaming peer-to-peer infrastructure. For each experimental session the status
+and logging information was gathered and stored but not parsed or analysed in any way. The automated testing environment was monitored using MonALISA \cite{mon}. The monitored information included system parameters like cpu load, wan traffic, ethernet interfaces traffic, number of connections and was stored in a farm corresponding to out project.\\
+We propose a new system for storing and analysing the logging data, that does not include MonALISA monitoring facilities, but
+a local database with a schema specific to our project. The database schema used by MonALISA to store the monitored information
+did not have the format necessary to our logging data. Our system includes several components, as depicted in figure \ref{fig:logarch}.
 \begin{figure}[h]
 \begin{center}
 \includegraphics[width = 6.6in, height = 2.0in]{img/Logarch.png}
 \end{center}
 \caption{}
+\label{fig:logarch}
 \end{figure}
 
+The following sections describe the details of the components we developed.
 
 \subsection{BitTorrent Messages}
 \input{logarch/bt.tex}
@@ -13,7 +24,6 @@
 \input{logarch/clients.tex}
 \subsection{Parsers}
 \input{logarch/parser.tex}
-
 \subsection{Database}\label{database}
 \input{database.tex}
 \subsection{GUI}
index d1c32cf..071cd86 100644 (file)
@@ -1,3 +1,14 @@
+@misc{rdeval,
+       title = {A BitTorrent Performance Evaluation Framework},
+       author = {Razvan Deaconescu and Razvan Rughinis and Nicolae Tapus},
+       year = {2009}   
+}
+@misc{rdenv,
+       title = {A Virtualized Testing Environment for BitTorrent Applications},
+       author = {Razvan Deaconescu and Razvan Rughinis and Nicolae Tapus},
+       year = {2009}   
+}
+
 @misc{rdeval,
        title = {A BitTorrent Performance Evaluation Framework},
        author = {Razvan Deaconescu and Razvan Rughinis and Nicolae Tapus},
@@ -34,4 +45,7 @@ title = {http://www.jejik.com/files/examples/daemon.py}
 }
 @misc{pickle,
 title = {http://docs.python.org/library/pickle.html}
-}
\ No newline at end of file
+}
+@misc{mon,
+title = {http://monalisa.cern.ch/monalisa.htm}
+}
index c4daa66..448d632 100644 (file)
@@ -28,7 +28,7 @@ The Commander communicates with the Server using the following types of messages
 We intend to extend this communication protocol with status messages sent by the Commander to check
 the BT client's progress.\\
 
-The messages with information stored in data structures are transmited serialized using \textit{pickle} module \cite{pickle}, Python's most common method to serialize/deserialize object data. 
+The messages with information stored in data structures are transmitted serialized using \textit{pickle} module \cite{pickle}, Python's most common method to serialize/deserialize object data. 
 
 \begin{figure}[h]
 \begin{center}
index 66f33d9..6e24841 100644 (file)
@@ -1,9 +1,9 @@
 
 The server application resides in a virtual machine on which several BT clients are installed. It
-is started by connecting remotely using ssh, and executes as a daemon process\cite{daemon1}.This server is written in Python, using modules for socket communication and process handling with functions similar to the ones from POSIX C. The daemon behaviour is obtained by using an open source implementation that can be found in \cite{daemon2}.\\
+is started by connecting remotely using ssh, and executes as a daemon process\cite{daemon1}.This server is written in Python, using modules for socket communication and process handling with functions similar to the ones from POSIX C. The daemon behavior is obtained by using an open source implementation that can be found in \cite{daemon2}.\\
 
 Using sockets, the server listens to connections initiated by the commander on a certain port, and
-after the exchange of messages is completed, it closes the connection. It also mantains a list of 
+after the exchange of messages is completed, it closes the connection. It also maintains a list of 
 process ids for all the BT Client that it started. \\
 
 In order to start the BitTorrent client the Server needs to create a command string to pass to the function