]> p2p-next.cs.pub.ro Git - cs-p2p-next.git/commitdiff
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 f5e74436a677b2e90972fcd8e4abf130f3e304f1..93bb5e96e89a7e94893edca91fec97cd762bd0c1 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 d1c32cfe575d514f6120229069dfaea0c73ebe9e..071cd8643983a48ce9206a505e2c67b9ead0be64 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 c4daa662bbe771f430b7651b0caa7834116c18dd..448d63222f0eb317317afff2b0f09b0258f5fa7b 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 66f33d928db337d74fbb0cde451913f6956e7f31..6e2484122336a57a9970905a7b98528969574d31 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