230 likes | 318 Views
TDMA Networks – Final Report. V. 1.3 Analysis tool (p. 2-5) Results Analysis ( p.6-7) Methods and outcomes ( P.8-22) Optimal configurations ( P.23). Results Analyzer Tool. Analyzer is destined to group given tables within file according to specific criteria
E N D
TDMA Networks – Final Report V. 1.3 Analysis tool (p. 2-5) Results Analysis (p.6-7) Methods and outcomes (P.8-22) Optimal configurations (P.23)
Results Analyzer Tool • Analyzer is destined to group given tables within file according to specific criteria • It opens the input file reads it content and creates sub-files according to criteria • It Opens those files again and group it results into multiple tables • The results will reside in folder "Output"
Criteria • Given Excel cvs file with the column accordingly: • NumServers, Clients4Server, SlotSize, ServerSlots, ClentSlots, FileSize, AvgTime • It will create an Excel cvs file for each (NumServers, SlotSize, ServerSlots) Which will contain the following data: • For EACH client slots number a TABLE with columns: • ClientNum, BandWidth (KB/SEC) • Where bandwidth is calculated as follows: • bandwidth = Average of (clientNum *FileSize/AvgTime)
Output Format Example: Output file(NumServers=1, SlotSize=200, ServerSlots=2) Input file . . . . . . . . .
Remarks • Reduces data size • Produces final bandwidth tables • Good for working with large files • Creating/updating output files is done in parallel to reading input file • Source code/executable is supplied • Run command: • Java –jar analyzer.jar <input file name>
Results – Analysis Methods • Basic graphs: • For each specific: • Servers number • Server slots number • Slot size • Given: • A table of the values (clients numbers, Average bandwidth, clients slots number) • The graph data consists of clients numbers Grouped by client slots number.
Optimal Slot Size • Method: • Group tables by slot size • Calculate Average bandwidth for each clients number; the result would be N tables containing values (client number (ID), Average bandwidth) where N = Number of tested slots sizes • Create a table of the with the values (slot size, bandwidth), for each slot size the bandwidth is the average of all values in relevant table
Optimal Slot Size • Approach tactic: • For each servers number • For each server slots number • Calculate table containing average bandwidth for each slot size • Calculate average bandwidth overall slots number • For each table (each for slot size) calculate average bandwidth • EXAMPLE
Clients optimal slots number • Method: • Group tables by server numbers and server slot size • The average bandwidth for a given clients number is the average of its bandwidth for every slot size • Group the resulted tables by clients slots number. • The Graph consists of multiple graphs one for each client slot number
Server’s optimal slots number • Method: • For each servers number • For each table group results by slots number • Group tables by slot size • For each slots size, for each slots number calculate average bandwidth: • Create table for each slots number • Tables created number = number of different slots number • Create a table: • Number of rows = number of different slots number • Each entry contains the appropriate table overall average
Conclusions – Optimal Configuration • Optimal slot size = 125 ms (statically) • Measured max time for a single packet ~ 61 ms • Clients slots number = 1 (statically) , ideally it shouldn’t matter • Clients number servers number • Clients number ~ server slots number (the previous results let us know for sure) • Servers number = X • server slots number ~ efficiency