11.07.2015 Views

System Introspection for System Analysis on Mobile Devices

System Introspection for System Analysis on Mobile Devices

System Introspection for System Analysis on Mobile Devices

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 7.1: Latency of receiving data <strong>on</strong> the mobile device - Theresults of sending the different pattern with a delay of100ms is plotted. For each pattern 200 messages weresend to the client.101.34ms) <strong>on</strong> the mobile device and 284.99 (STDEV 144.74ms) <strong>on</strong> the laptopusing a frequency of 100ms such data may <strong>on</strong>ly be used <str<strong>on</strong>g>for</str<strong>on</strong>g> observati<strong>on</strong> withoutexpecting actual data. Using lower frequencies like 500ms or 1000ms seems notto reduce the latency.However several peaks can be observed in the plots of the results. For eachtest the robot was running the same internal processes active even if the probeis not attached to the robot software. To communicate both c<strong>on</strong>trolling laptopsuse the network of the plat<str<strong>on</strong>g>for</str<strong>on</strong>g>m. Observing the network devices <strong>on</strong> bothlaptops showed a usage of over 50% network usage used <str<strong>on</strong>g>for</str<strong>on</strong>g> communicati<strong>on</strong>between these laptops. One reas<strong>on</strong> <str<strong>on</strong>g>for</str<strong>on</strong>g> peaks occurring in the plotted data canbe the load <strong>on</strong> the network bandwidth. Whenever the bandwidth is used upby the exchange of messages c<strong>on</strong>sumes more time. Also a comparis<strong>on</strong> of thetime of sending between two messages showed that the probe <str<strong>on</strong>g>for</str<strong>on</strong>g>wards the messagewith the defined delay. Each message is <str<strong>on</strong>g>for</str<strong>on</strong>g>warded to the communicati<strong>on</strong>server. Running as own process a processes running in parallel (e.g. receivingdata over the network interface) can interrupt the process of dispatching messagesand result in a time delay. On the client side the process priority caninfluence the processing of incoming messages as well. On the mobile deviceeach process underlies the c<strong>on</strong>trol of the operati<strong>on</strong> system which also c<strong>on</strong>trolsthe network interface. But even with the peaks the overall latency is nearlyc<strong>on</strong>stant. No message got lost between the probe and the client. Regardingthe questi<strong>on</strong>s announced in the goal the results indicate that the payload influencesthe latency. Bigger payloads produce a higher latency. For smallerpayloads the delay is nearly c<strong>on</strong>stant even <str<strong>on</strong>g>for</str<strong>on</strong>g> faster message exchange. Alsothe results of the different clients are similar which indicates that the latency58

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!