From 4ebc2f44dcdc2691e20814c006c75add49ffc1de Mon Sep 17 00:00:00 2001 From: Jaume Nin Date: Mon, 21 Nov 2011 18:48:14 +0100 Subject: [PATCH] First draft of the profiling results. Validation and second reading pending --- src/lte/doc/Makefile | 5 +- .../doc/source/figures/propagationModel.eps | 1106 +++++++++++++++++ .../{memoryUsage.eps => runningTime10s.eps} | 668 +++++----- src/lte/doc/source/figures/simulationTime.eps | 666 ++++------ src/lte/doc/source/lte-profiling.rst | 135 +- 5 files changed, 1849 insertions(+), 731 deletions(-) create mode 100644 src/lte/doc/source/figures/propagationModel.eps rename src/lte/doc/source/figures/{memoryUsage.eps => runningTime10s.eps} (75%) diff --git a/src/lte/doc/Makefile b/src/lte/doc/Makefile index c8c2a8e0f..5a622822e 100644 --- a/src/lte/doc/Makefile +++ b/src/lte/doc/Makefile @@ -20,8 +20,9 @@ GRAPHS_EPS = \ $(FIGURES)/lte-mcs-index.eps \ $(FIGURES)/lenaThrTestCase1.eps \ $(FIGURES)/lenaThrTestCase2.eps \ - $(FIGURES)/simulationTime.eps \ - $(FIGURES)/memoryUsage.eps + $(FIGURES)/runningTime10s.eps \ + $(FIGURES)/propagationModel.eps \ + $(FIGURES)/simulationTime.eps # rescale pdf figures as necessary $(FIGURES)/testbed.pdf_width = 5in diff --git a/src/lte/doc/source/figures/propagationModel.eps b/src/lte/doc/source/figures/propagationModel.eps new file mode 100644 index 000000000..d907bb3a6 --- /dev/null +++ b/src/lte/doc/source/figures/propagationModel.eps @@ -0,0 +1,1106 @@ +%!PS-Adobe-2.0 EPSF-2.0 +%%Title: propagationModel.eps +%%Creator: gnuplot 4.4 patchlevel 0 +%%CreationDate: Mon Nov 21 18:16:41 2011 +%%DocumentFonts: (atend) +%%BoundingBox: 50 50 410 302 +%%EndComments +%%BeginProlog +/gnudict 256 dict def +gnudict begin +% +% The following true/false flags may be edited by hand if desired. +% The unit line width and grayscale image gamma correction may also be changed. +% +/Color false def +/Blacktext false def +/Solid false def +/Dashlength 1 def +/Landscape false def +/Level1 false def +/Rounded false def +/ClipToBoundingBox false def +/TransparentPatterns false def +/gnulinewidth 5.000 def +/userlinewidth gnulinewidth def +/Gamma 1.0 def +% +/vshift -46 def +/dl1 { + 10.0 Dashlength mul mul + Rounded { currentlinewidth 0.75 mul sub dup 0 le { pop 0.01 } if } if +} def +/dl2 { + 10.0 Dashlength mul mul + Rounded { currentlinewidth 0.75 mul add } if +} def +/hpt_ 31.5 def +/vpt_ 31.5 def +/hpt hpt_ def +/vpt vpt_ def +Level1 {} { +/SDict 10 dict def +systemdict /pdfmark known not { + userdict /pdfmark systemdict /cleartomark get put +} if +SDict begin [ + /Title (propagationModel.eps) + /Subject (gnuplot plot) + /Creator (gnuplot 4.4 patchlevel 0) + /Author (jnin) +% /Producer (gnuplot) +% /Keywords () + /CreationDate (Mon Nov 21 18:16:41 2011) + /DOCINFO pdfmark +end +} ifelse +/doclip { + ClipToBoundingBox { + newpath 50 50 moveto 410 50 lineto 410 302 lineto 50 302 lineto closepath + clip + } if +} def +% +% Gnuplot Prolog Version 4.4 (January 2010) +% +%/SuppressPDFMark true def +% +/M {moveto} bind def +/L {lineto} bind def +/R {rmoveto} bind def +/V {rlineto} bind def +/N {newpath moveto} bind def +/Z {closepath} bind def +/C {setrgbcolor} bind def +/f {rlineto fill} bind def +/Gshow {show} def % May be redefined later in the file to support UTF-8 +/vpt2 vpt 2 mul def +/hpt2 hpt 2 mul def +/Lshow {currentpoint stroke M 0 vshift R + Blacktext {gsave 0 setgray show grestore} {show} ifelse} def +/Rshow {currentpoint stroke M dup stringwidth pop neg vshift R + Blacktext {gsave 0 setgray show grestore} {show} ifelse} def +/Cshow {currentpoint stroke M dup stringwidth pop -2 div vshift R + Blacktext {gsave 0 setgray show grestore} {show} ifelse} def +/UP {dup vpt_ mul /vpt exch def hpt_ mul /hpt exch def + /hpt2 hpt 2 mul def /vpt2 vpt 2 mul def} def +/DL {Color {setrgbcolor Solid {pop []} if 0 setdash} + {pop pop pop 0 setgray Solid {pop []} if 0 setdash} ifelse} def +/BL {stroke userlinewidth 2 mul setlinewidth + Rounded {1 setlinejoin 1 setlinecap} if} def +/AL {stroke userlinewidth 2 div setlinewidth + Rounded {1 setlinejoin 1 setlinecap} if} def +/UL {dup gnulinewidth mul /userlinewidth exch def + dup 1 lt {pop 1} if 10 mul /udl exch def} def +/PL {stroke userlinewidth setlinewidth + Rounded {1 setlinejoin 1 setlinecap} if} def +% Default Line colors +/LCw {1 1 1} def +/LCb {0 0 0} def +/LCa {0 0 0} def +/LC0 {1 0 0} def +/LC1 {0 1 0} def +/LC2 {0 0 1} def +/LC3 {1 0 1} def +/LC4 {0 1 1} def +/LC5 {1 1 0} def +/LC6 {0 0 0} def +/LC7 {1 0.3 0} def +/LC8 {0.5 0.5 0.5} def +% Default Line Types +/LTw {PL [] 1 setgray} def +/LTb {BL [] LCb DL} def +/LTa {AL [1 udl mul 2 udl mul] 0 setdash LCa setrgbcolor} def +/LT0 {PL [] LC0 DL} def +/LT1 {PL [4 dl1 2 dl2] LC1 DL} def +/LT2 {PL [2 dl1 3 dl2] LC2 DL} def +/LT3 {PL [1 dl1 1.5 dl2] LC3 DL} def +/LT4 {PL [6 dl1 2 dl2 1 dl1 2 dl2] LC4 DL} def +/LT5 {PL [3 dl1 3 dl2 1 dl1 3 dl2] LC5 DL} def +/LT6 {PL [2 dl1 2 dl2 2 dl1 6 dl2] LC6 DL} def +/LT7 {PL [1 dl1 2 dl2 6 dl1 2 dl2 1 dl1 2 dl2] LC7 DL} def +/LT8 {PL [2 dl1 2 dl2 2 dl1 2 dl2 2 dl1 2 dl2 2 dl1 4 dl2] LC8 DL} def +/Pnt {stroke [] 0 setdash gsave 1 setlinecap M 0 0 V stroke grestore} def +/Dia {stroke [] 0 setdash 2 copy vpt add M + hpt neg vpt neg V hpt vpt neg V + hpt vpt V hpt neg vpt V closepath stroke + Pnt} def +/Pls {stroke [] 0 setdash vpt sub M 0 vpt2 V + currentpoint stroke M + hpt neg vpt neg R hpt2 0 V stroke + } def +/Box {stroke [] 0 setdash 2 copy exch hpt sub exch vpt add M + 0 vpt2 neg V hpt2 0 V 0 vpt2 V + hpt2 neg 0 V closepath stroke + Pnt} def +/Crs {stroke [] 0 setdash exch hpt sub exch vpt add M + hpt2 vpt2 neg V currentpoint stroke M + hpt2 neg 0 R hpt2 vpt2 V stroke} def +/TriU {stroke [] 0 setdash 2 copy vpt 1.12 mul add M + hpt neg vpt -1.62 mul V + hpt 2 mul 0 V + hpt neg vpt 1.62 mul V closepath stroke + Pnt} def +/Star {2 copy Pls Crs} def +/BoxF {stroke [] 0 setdash exch hpt sub exch vpt add M + 0 vpt2 neg V hpt2 0 V 0 vpt2 V + hpt2 neg 0 V closepath fill} def +/TriUF {stroke [] 0 setdash vpt 1.12 mul add M + hpt neg vpt -1.62 mul V + hpt 2 mul 0 V + hpt neg vpt 1.62 mul V closepath fill} def +/TriD {stroke [] 0 setdash 2 copy vpt 1.12 mul sub M + hpt neg vpt 1.62 mul V + hpt 2 mul 0 V + hpt neg vpt -1.62 mul V closepath stroke + Pnt} def +/TriDF {stroke [] 0 setdash vpt 1.12 mul sub M + hpt neg vpt 1.62 mul V + hpt 2 mul 0 V + hpt neg vpt -1.62 mul V closepath fill} def +/DiaF {stroke [] 0 setdash vpt add M + hpt neg vpt neg V hpt vpt neg V + hpt vpt V hpt neg vpt V closepath fill} def +/Pent {stroke [] 0 setdash 2 copy gsave + translate 0 hpt M 4 {72 rotate 0 hpt L} repeat + closepath stroke grestore Pnt} def +/PentF {stroke [] 0 setdash gsave + translate 0 hpt M 4 {72 rotate 0 hpt L} repeat + closepath fill grestore} def +/Circle {stroke [] 0 setdash 2 copy + hpt 0 360 arc stroke Pnt} def +/CircleF {stroke [] 0 setdash hpt 0 360 arc fill} def +/C0 {BL [] 0 setdash 2 copy moveto vpt 90 450 arc} bind def +/C1 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 0 90 arc closepath fill + vpt 0 360 arc closepath} bind def +/C2 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 90 180 arc closepath fill + vpt 0 360 arc closepath} bind def +/C3 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 0 180 arc closepath fill + vpt 0 360 arc closepath} bind def +/C4 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 180 270 arc closepath fill + vpt 0 360 arc closepath} bind def +/C5 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 0 90 arc + 2 copy moveto + 2 copy vpt 180 270 arc closepath fill + vpt 0 360 arc} bind def +/C6 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 90 270 arc closepath fill + vpt 0 360 arc closepath} bind def +/C7 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 0 270 arc closepath fill + vpt 0 360 arc closepath} bind def +/C8 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 270 360 arc closepath fill + vpt 0 360 arc closepath} bind def +/C9 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 270 450 arc closepath fill + vpt 0 360 arc closepath} bind def +/C10 {BL [] 0 setdash 2 copy 2 copy moveto vpt 270 360 arc closepath fill + 2 copy moveto + 2 copy vpt 90 180 arc closepath fill + vpt 0 360 arc closepath} bind def +/C11 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 0 180 arc closepath fill + 2 copy moveto + 2 copy vpt 270 360 arc closepath fill + vpt 0 360 arc closepath} bind def +/C12 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 180 360 arc closepath fill + vpt 0 360 arc closepath} bind def +/C13 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 0 90 arc closepath fill + 2 copy moveto + 2 copy vpt 180 360 arc closepath fill + vpt 0 360 arc closepath} bind def +/C14 {BL [] 0 setdash 2 copy moveto + 2 copy vpt 90 360 arc closepath fill + vpt 0 360 arc} bind def +/C15 {BL [] 0 setdash 2 copy vpt 0 360 arc closepath fill + vpt 0 360 arc closepath} bind def +/Rec {newpath 4 2 roll moveto 1 index 0 rlineto 0 exch rlineto + neg 0 rlineto closepath} bind def +/Square {dup Rec} bind def +/Bsquare {vpt sub exch vpt sub exch vpt2 Square} bind def +/S0 {BL [] 0 setdash 2 copy moveto 0 vpt rlineto BL Bsquare} bind def +/S1 {BL [] 0 setdash 2 copy vpt Square fill Bsquare} bind def +/S2 {BL [] 0 setdash 2 copy exch vpt sub exch vpt Square fill Bsquare} bind def +/S3 {BL [] 0 setdash 2 copy exch vpt sub exch vpt2 vpt Rec fill Bsquare} bind def +/S4 {BL [] 0 setdash 2 copy exch vpt sub exch vpt sub vpt Square fill Bsquare} bind def +/S5 {BL [] 0 setdash 2 copy 2 copy vpt Square fill + exch vpt sub exch vpt sub vpt Square fill Bsquare} bind def +/S6 {BL [] 0 setdash 2 copy exch vpt sub exch vpt sub vpt vpt2 Rec fill Bsquare} bind def +/S7 {BL [] 0 setdash 2 copy exch vpt sub exch vpt sub vpt vpt2 Rec fill + 2 copy vpt Square fill Bsquare} bind def +/S8 {BL [] 0 setdash 2 copy vpt sub vpt Square fill Bsquare} bind def +/S9 {BL [] 0 setdash 2 copy vpt sub vpt vpt2 Rec fill Bsquare} bind def +/S10 {BL [] 0 setdash 2 copy vpt sub vpt Square fill 2 copy exch vpt sub exch vpt Square fill + Bsquare} bind def +/S11 {BL [] 0 setdash 2 copy vpt sub vpt Square fill 2 copy exch vpt sub exch vpt2 vpt Rec fill + Bsquare} bind def +/S12 {BL [] 0 setdash 2 copy exch vpt sub exch vpt sub vpt2 vpt Rec fill Bsquare} bind def +/S13 {BL [] 0 setdash 2 copy exch vpt sub exch vpt sub vpt2 vpt Rec fill + 2 copy vpt Square fill Bsquare} bind def +/S14 {BL [] 0 setdash 2 copy exch vpt sub exch vpt sub vpt2 vpt Rec fill + 2 copy exch vpt sub exch vpt Square fill Bsquare} bind def +/S15 {BL [] 0 setdash 2 copy Bsquare fill Bsquare} bind def +/D0 {gsave translate 45 rotate 0 0 S0 stroke grestore} bind def +/D1 {gsave translate 45 rotate 0 0 S1 stroke grestore} bind def +/D2 {gsave translate 45 rotate 0 0 S2 stroke grestore} bind def +/D3 {gsave translate 45 rotate 0 0 S3 stroke grestore} bind def +/D4 {gsave translate 45 rotate 0 0 S4 stroke grestore} bind def +/D5 {gsave translate 45 rotate 0 0 S5 stroke grestore} bind def +/D6 {gsave translate 45 rotate 0 0 S6 stroke grestore} bind def +/D7 {gsave translate 45 rotate 0 0 S7 stroke grestore} bind def +/D8 {gsave translate 45 rotate 0 0 S8 stroke grestore} bind def +/D9 {gsave translate 45 rotate 0 0 S9 stroke grestore} bind def +/D10 {gsave translate 45 rotate 0 0 S10 stroke grestore} bind def +/D11 {gsave translate 45 rotate 0 0 S11 stroke grestore} bind def +/D12 {gsave translate 45 rotate 0 0 S12 stroke grestore} bind def +/D13 {gsave translate 45 rotate 0 0 S13 stroke grestore} bind def +/D14 {gsave translate 45 rotate 0 0 S14 stroke grestore} bind def +/D15 {gsave translate 45 rotate 0 0 S15 stroke grestore} bind def +/DiaE {stroke [] 0 setdash vpt add M + hpt neg vpt neg V hpt vpt neg V + hpt vpt V hpt neg vpt V closepath stroke} def +/BoxE {stroke [] 0 setdash exch hpt sub exch vpt add M + 0 vpt2 neg V hpt2 0 V 0 vpt2 V + hpt2 neg 0 V closepath stroke} def +/TriUE {stroke [] 0 setdash vpt 1.12 mul add M + hpt neg vpt -1.62 mul V + hpt 2 mul 0 V + hpt neg vpt 1.62 mul V closepath stroke} def +/TriDE {stroke [] 0 setdash vpt 1.12 mul sub M + hpt neg vpt 1.62 mul V + hpt 2 mul 0 V + hpt neg vpt -1.62 mul V closepath stroke} def +/PentE {stroke [] 0 setdash gsave + translate 0 hpt M 4 {72 rotate 0 hpt L} repeat + closepath stroke grestore} def +/CircE {stroke [] 0 setdash + hpt 0 360 arc stroke} def +/Opaque {gsave closepath 1 setgray fill grestore 0 setgray closepath} def +/DiaW {stroke [] 0 setdash vpt add M + hpt neg vpt neg V hpt vpt neg V + hpt vpt V hpt neg vpt V Opaque stroke} def +/BoxW {stroke [] 0 setdash exch hpt sub exch vpt add M + 0 vpt2 neg V hpt2 0 V 0 vpt2 V + hpt2 neg 0 V Opaque stroke} def +/TriUW {stroke [] 0 setdash vpt 1.12 mul add M + hpt neg vpt -1.62 mul V + hpt 2 mul 0 V + hpt neg vpt 1.62 mul V Opaque stroke} def +/TriDW {stroke [] 0 setdash vpt 1.12 mul sub M + hpt neg vpt 1.62 mul V + hpt 2 mul 0 V + hpt neg vpt -1.62 mul V Opaque stroke} def +/PentW {stroke [] 0 setdash gsave + translate 0 hpt M 4 {72 rotate 0 hpt L} repeat + Opaque stroke grestore} def +/CircW {stroke [] 0 setdash + hpt 0 360 arc Opaque stroke} def +/BoxFill {gsave Rec 1 setgray fill grestore} def +/Density { + /Fillden exch def + currentrgbcolor + /ColB exch def /ColG exch def /ColR exch def + /ColR ColR Fillden mul Fillden sub 1 add def + /ColG ColG Fillden mul Fillden sub 1 add def + /ColB ColB Fillden mul Fillden sub 1 add def + ColR ColG ColB setrgbcolor} def +/BoxColFill {gsave Rec PolyFill} def +/PolyFill {gsave Density fill grestore grestore} def +/h {rlineto rlineto rlineto gsave closepath fill grestore} bind def +% +% PostScript Level 1 Pattern Fill routine for rectangles +% Usage: x y w h s a XX PatternFill +% x,y = lower left corner of box to be filled +% w,h = width and height of box +% a = angle in degrees between lines and x-axis +% XX = 0/1 for no/yes cross-hatch +% +/PatternFill {gsave /PFa [ 9 2 roll ] def + PFa 0 get PFa 2 get 2 div add PFa 1 get PFa 3 get 2 div add translate + PFa 2 get -2 div PFa 3 get -2 div PFa 2 get PFa 3 get Rec + gsave 1 setgray fill grestore clip + currentlinewidth 0.5 mul setlinewidth + /PFs PFa 2 get dup mul PFa 3 get dup mul add sqrt def + 0 0 M PFa 5 get rotate PFs -2 div dup translate + 0 1 PFs PFa 4 get div 1 add floor cvi + {PFa 4 get mul 0 M 0 PFs V} for + 0 PFa 6 get ne { + 0 1 PFs PFa 4 get div 1 add floor cvi + {PFa 4 get mul 0 2 1 roll M PFs 0 V} for + } if + stroke grestore} def +% +/languagelevel where + {pop languagelevel} {1} ifelse + 2 lt + {/InterpretLevel1 true def} + {/InterpretLevel1 Level1 def} + ifelse +% +% PostScript level 2 pattern fill definitions +% +/Level2PatternFill { +/Tile8x8 {/PaintType 2 /PatternType 1 /TilingType 1 /BBox [0 0 8 8] /XStep 8 /YStep 8} + bind def +/KeepColor {currentrgbcolor [/Pattern /DeviceRGB] setcolorspace} bind def +<< Tile8x8 + /PaintProc {0.5 setlinewidth pop 0 0 M 8 8 L 0 8 M 8 0 L stroke} +>> matrix makepattern +/Pat1 exch def +<< Tile8x8 + /PaintProc {0.5 setlinewidth pop 0 0 M 8 8 L 0 8 M 8 0 L stroke + 0 4 M 4 8 L 8 4 L 4 0 L 0 4 L stroke} +>> matrix makepattern +/Pat2 exch def +<< Tile8x8 + /PaintProc {0.5 setlinewidth pop 0 0 M 0 8 L + 8 8 L 8 0 L 0 0 L fill} +>> matrix makepattern +/Pat3 exch def +<< Tile8x8 + /PaintProc {0.5 setlinewidth pop -4 8 M 8 -4 L + 0 12 M 12 0 L stroke} +>> matrix makepattern +/Pat4 exch def +<< Tile8x8 + /PaintProc {0.5 setlinewidth pop -4 0 M 8 12 L + 0 -4 M 12 8 L stroke} +>> matrix makepattern +/Pat5 exch def +<< Tile8x8 + /PaintProc {0.5 setlinewidth pop -2 8 M 4 -4 L + 0 12 M 8 -4 L 4 12 M 10 0 L stroke} +>> matrix makepattern +/Pat6 exch def +<< Tile8x8 + /PaintProc {0.5 setlinewidth pop -2 0 M 4 12 L + 0 -4 M 8 12 L 4 -4 M 10 8 L stroke} +>> matrix makepattern +/Pat7 exch def +<< Tile8x8 + /PaintProc {0.5 setlinewidth pop 8 -2 M -4 4 L + 12 0 M -4 8 L 12 4 M 0 10 L stroke} +>> matrix makepattern +/Pat8 exch def +<< Tile8x8 + /PaintProc {0.5 setlinewidth pop 0 -2 M 12 4 L + -4 0 M 12 8 L -4 4 M 8 10 L stroke} +>> matrix makepattern +/Pat9 exch def +/Pattern1 {PatternBgnd KeepColor Pat1 setpattern} bind def +/Pattern2 {PatternBgnd KeepColor Pat2 setpattern} bind def +/Pattern3 {PatternBgnd KeepColor Pat3 setpattern} bind def +/Pattern4 {PatternBgnd KeepColor Landscape {Pat5} {Pat4} ifelse setpattern} bind def +/Pattern5 {PatternBgnd KeepColor Landscape {Pat4} {Pat5} ifelse setpattern} bind def +/Pattern6 {PatternBgnd KeepColor Landscape {Pat9} {Pat6} ifelse setpattern} bind def +/Pattern7 {PatternBgnd KeepColor Landscape {Pat8} {Pat7} ifelse setpattern} bind def +} def +% +% +%End of PostScript Level 2 code +% +/PatternBgnd { + TransparentPatterns {} {gsave 1 setgray fill grestore} ifelse +} def +% +% Substitute for Level 2 pattern fill codes with +% grayscale if Level 2 support is not selected. +% +/Level1PatternFill { +/Pattern1 {0.250 Density} bind def +/Pattern2 {0.500 Density} bind def +/Pattern3 {0.750 Density} bind def +/Pattern4 {0.125 Density} bind def +/Pattern5 {0.375 Density} bind def +/Pattern6 {0.625 Density} bind def +/Pattern7 {0.875 Density} bind def +} def +% +% Now test for support of Level 2 code +% +Level1 {Level1PatternFill} {Level2PatternFill} ifelse +% +/Symbol-Oblique /Symbol findfont [1 0 .167 1 0 0] makefont +dup length dict begin {1 index /FID eq {pop pop} {def} ifelse} forall +currentdict end definefont pop +/MFshow { + { dup 5 get 3 ge + { 5 get 3 eq {gsave} {grestore} ifelse } + {dup dup 0 get findfont exch 1 get scalefont setfont + [ currentpoint ] exch dup 2 get 0 exch R dup 5 get 2 ne {dup dup 6 + get exch 4 get {Gshow} {stringwidth pop 0 R} ifelse }if dup 5 get 0 eq + {dup 3 get {2 get neg 0 exch R pop} {pop aload pop M} ifelse} {dup 5 + get 1 eq {dup 2 get exch dup 3 get exch 6 get stringwidth pop -2 div + dup 0 R} {dup 6 get stringwidth pop -2 div 0 R 6 get + show 2 index {aload pop M neg 3 -1 roll neg R pop pop} {pop pop pop + pop aload pop M} ifelse }ifelse }ifelse } + ifelse } + forall} def +/Gswidth {dup type /stringtype eq {stringwidth} {pop (n) stringwidth} ifelse} def +/MFwidth {0 exch { dup 5 get 3 ge { 5 get 3 eq { 0 } { pop } ifelse } + {dup 3 get{dup dup 0 get findfont exch 1 get scalefont setfont + 6 get Gswidth pop add} {pop} ifelse} ifelse} forall} def +/MLshow { currentpoint stroke M + 0 exch R + Blacktext {gsave 0 setgray MFshow grestore} {MFshow} ifelse } bind def +/MRshow { currentpoint stroke M + exch dup MFwidth neg 3 -1 roll R + Blacktext {gsave 0 setgray MFshow grestore} {MFshow} ifelse } bind def +/MCshow { currentpoint stroke M + exch dup MFwidth -2 div 3 -1 roll R + Blacktext {gsave 0 setgray MFshow grestore} {MFshow} ifelse } bind def +/XYsave { [( ) 1 2 true false 3 ()] } bind def +/XYrestore { [( ) 1 2 true false 4 ()] } bind def +end +%%EndProlog +gnudict begin +gsave +doclip +50 50 translate +0.050 0.050 scale +0 setgray +newpath +(Helvetica) findfont 140 scalefont setfont +1.000 UL +LTb +1.000 UL +LTa +854 448 M +6135 0 V +stroke +LTb +854 448 M +63 0 V +6072 0 R +-63 0 V +stroke +770 448 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 0)] +] -46.7 MRshow +1.000 UL +LTb +1.000 UL +LTa +854 969 M +6135 0 V +stroke +LTb +854 969 M +63 0 V +6072 0 R +-63 0 V +stroke +770 969 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 500)] +] -46.7 MRshow +1.000 UL +LTb +1.000 UL +LTa +854 1491 M +6135 0 V +stroke +LTb +854 1491 M +63 0 V +6072 0 R +-63 0 V +stroke +770 1491 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 1000)] +] -46.7 MRshow +1.000 UL +LTb +1.000 UL +LTa +854 2012 M +6135 0 V +stroke +LTb +854 2012 M +63 0 V +6072 0 R +-63 0 V +stroke +770 2012 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 1500)] +] -46.7 MRshow +1.000 UL +LTb +1.000 UL +LTa +854 2534 M +6135 0 V +stroke +LTb +854 2534 M +63 0 V +6072 0 R +-63 0 V +stroke +770 2534 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 2000)] +] -46.7 MRshow +1.000 UL +LTb +1.000 UL +LTa +854 3055 M +84 0 V +2247 0 R +3804 0 V +stroke +LTb +854 3055 M +63 0 V +6072 0 R +-63 0 V +stroke +770 3055 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 2500)] +] -46.7 MRshow +1.000 UL +LTb +1.000 UL +LTa +854 3576 M +84 0 V +2247 0 R +3804 0 V +stroke +LTb +854 3576 M +63 0 V +6072 0 R +-63 0 V +stroke +770 3576 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 3000)] +] -46.7 MRshow +1.000 UL +LTb +1.000 UL +LTa +854 4098 M +84 0 V +2247 0 R +3804 0 V +stroke +LTb +854 4098 M +63 0 V +6072 0 R +-63 0 V +stroke +770 4098 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 3500)] +] -46.7 MRshow +1.000 UL +LTb +1.000 UL +LTa +854 4619 M +6135 0 V +stroke +LTb +854 4619 M +63 0 V +6072 0 R +-63 0 V +stroke +770 4619 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 4000)] +] -46.7 MRshow +1.000 UL +LTb +1.000 UL +LTa +854 448 M +0 4171 V +stroke +LTb +854 448 M +0 63 V +0 4108 R +0 -63 V +stroke +854 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 0)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +1844 448 M +0 2428 V +0 1680 R +0 63 V +stroke +LTb +1844 448 M +0 63 V +0 4108 R +0 -63 V +stroke +1844 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 5)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +2833 448 M +0 2428 V +0 1680 R +0 63 V +stroke +LTb +2833 448 M +0 63 V +0 4108 R +0 -63 V +stroke +2833 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 10)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +3823 448 M +0 4171 V +stroke +LTb +3823 448 M +0 63 V +0 4108 R +0 -63 V +stroke +3823 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 15)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +4812 448 M +0 4171 V +stroke +LTb +4812 448 M +0 63 V +0 4108 R +0 -63 V +stroke +4812 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 20)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +5802 448 M +0 4171 V +stroke +LTb +5802 448 M +0 63 V +0 4108 R +0 -63 V +stroke +5802 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 25)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +6791 448 M +0 4171 V +stroke +LTb +6791 448 M +0 63 V +0 4108 R +0 -63 V +stroke +6791 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 30)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTb +854 4619 N +854 448 L +6135 0 V +0 4171 V +-6135 0 V +Z stroke +LCb setrgbcolor +196 2533 M +currentpoint gsave translate -270 rotate 0 0 moveto +[ [(Helvetica) 140.0 0.0 true true 0 (Running time [s])] +] -46.7 MCshow +grestore +LTb +LCb setrgbcolor +3921 98 M +[ [(Helvetica) 140.0 0.0 true true 0 (Number of UEs per eNodeB)] +] -46.7 MCshow +LTb +3921 4829 M +[ [(Helvetica) 140.0 0.0 true true 0 (Simulation time = 10 s)] +] -46.7 MCshow +1.000 UP +1.000 UL +LTb +% Begin plot #1 +1.000 UP +2.000 UL +LT0 +0.00 0.00 0.00 C LCb setrgbcolor +2618 4486 M +[ [(Helvetica) 140.0 0.0 true true 0 (4 eNodeB - Friis)] +] -46.7 MRshow +LT0 +0.00 0.00 0.00 C 2702 4486 M +399 0 V +1052 466 M +792 24 V +989 30 V +990 31 V +989 31 V +990 32 V +989 16 V +1052 466 Pls +1844 490 Pls +2833 520 Pls +3823 551 Pls +4812 582 Pls +5802 614 Pls +6791 630 Pls +2901 4486 Pls +% End plot #1 +% Begin plot #2 +1.000 UP +2.000 UL +LT1 +1.00 0.00 0.00 C LCb setrgbcolor +2618 4346 M +[ [(Helvetica) 140.0 0.0 true true 0 (4 eNodeB - Building)] +] -46.7 MRshow +LT1 +1.00 0.00 0.00 C 2702 4346 M +399 0 V +1052 466 M +792 25 V +989 32 V +990 33 V +989 35 V +990 35 V +989 17 V +1052 466 Crs +1844 491 Crs +2833 523 Crs +3823 556 Crs +4812 591 Crs +5802 626 Crs +6791 643 Crs +2901 4346 Crs +% End plot #2 +% Begin plot #3 +1.000 UP +2.000 UL +LT2 +0.00 0.00 1.00 C LCb setrgbcolor +2618 4206 M +[ [(Helvetica) 140.0 0.0 true true 0 (8 eNodeB - Friis)] +] -46.7 MRshow +LT2 +0.00 0.00 1.00 C 2702 4206 M +399 0 V +1052 478 M +792 64 V +989 77 V +990 86 V +989 82 V +990 91 V +989 59 V +1052 478 Star +1844 542 Star +2833 619 Star +3823 705 Star +4812 787 Star +5802 878 Star +6791 937 Star +2901 4206 Star +% End plot #3 +% Begin plot #4 +1.000 UP +1.000 UL +LT3 +1.00 0.65 0.00 C LCb setrgbcolor +2618 4066 M +[ [(Helvetica) 140.0 0.0 true true 0 (8 eNodeB - Building)] +] -46.7 MRshow +LT3 +1.00 0.65 0.00 C 2702 4066 M +399 0 V +1052 482 M +792 68 V +989 93 V +990 104 V +989 111 V +990 121 V +989 66 V +1052 482 Box +1844 550 Box +2833 643 Box +3823 747 Box +4812 858 Box +5802 979 Box +6791 1045 Box +2901 4066 Box +% End plot #4 +% Begin plot #5 +1.000 UP +1.000 UL +LT4 +0.00 1.00 0.00 C LCb setrgbcolor +2618 3926 M +[ [(Helvetica) 140.0 0.0 true true 0 (12 eNodeB - Friis)] +] -46.7 MRshow +LT4 +0.00 1.00 0.00 C 2702 3926 M +399 0 V +1052 489 M +792 112 V +989 144 V +990 170 V +989 165 V +990 170 V +989 123 V +1052 489 BoxF +1844 601 BoxF +2833 745 BoxF +3823 915 BoxF +4812 1080 BoxF +5802 1250 BoxF +6791 1373 BoxF +2901 3926 BoxF +% End plot #5 +% Begin plot #6 +1.000 UP +1.000 UL +LT5 +0.75 0.50 1.00 C LCb setrgbcolor +2618 3786 M +[ [(Helvetica) 140.0 0.0 true true 0 (12 eNodeB - Building)] +] -46.7 MRshow +LT5 +0.75 0.50 1.00 C 2702 3786 M +399 0 V +1052 503 M +792 134 V +989 199 V +990 229 V +989 243 V +990 265 V +989 140 V +1052 503 Circle +1844 637 Circle +2833 836 Circle +3823 1065 Circle +4812 1308 Circle +5802 1573 Circle +6791 1713 Circle +2901 3786 Circle +% End plot #6 +% Begin plot #7 +1.000 UP +1.000 UL +LT6 +1.00 1.00 0.00 C LCb setrgbcolor +2618 3646 M +[ [(Helvetica) 140.0 0.0 true true 0 (14 eNodeB - Friis)] +] -46.7 MRshow +LT6 +1.00 1.00 0.00 C 2702 3646 M +399 0 V +1052 492 M +792 143 V +989 199 V +990 220 V +989 207 V +990 220 V +989 158 V +1052 492 CircleF +1844 635 CircleF +2833 834 CircleF +3823 1054 CircleF +4812 1261 CircleF +5802 1481 CircleF +6791 1639 CircleF +2901 3646 CircleF +% End plot #7 +% Begin plot #8 +1.000 UP +1.000 UL +LT7 +1.00 0.75 0.75 C LCb setrgbcolor +2618 3506 M +[ [(Helvetica) 140.0 0.0 true true 0 (14 eNodeB - Building)] +] -46.7 MRshow +LT7 +1.00 0.75 0.75 C 2702 3506 M +399 0 V +1052 515 M +792 178 V +989 272 V +990 309 V +989 327 V +990 355 V +989 186 V +1052 515 TriU +1844 693 TriU +2833 965 TriU +3823 1274 TriU +4812 1601 TriU +5802 1956 TriU +6791 2142 TriU +2901 3506 TriU +% End plot #8 +% Begin plot #9 +1.000 UP +1.000 UL +LT8 +1.00 0.00 1.00 C LCb setrgbcolor +2618 3366 M +[ [(Helvetica) 140.0 0.0 true true 0 (18 eNodeB - Friis)] +] -46.7 MRshow +LT8 +1.00 0.00 1.00 C 2702 3366 M +399 0 V +1052 515 M +792 223 V +989 300 V +990 318 V +989 314 V +990 316 V +989 273 V +1052 515 TriUF +1844 738 TriUF +2833 1038 TriUF +3823 1356 TriUF +4812 1670 TriUF +5802 1986 TriUF +6791 2259 TriUF +2901 3366 TriUF +% End plot #9 +% Begin plot #10 +1.000 UP +2.000 UL +LT0 +0.00 0.00 0.00 C LCb setrgbcolor +2618 3226 M +[ [(Helvetica) 140.0 0.0 true true 0 (18 eNodeB - Building)] +] -46.7 MRshow +LT0 +0.00 0.00 0.00 C 2702 3226 M +399 0 V +1052 542 M +792 294 V +989 458 V +990 495 V +989 521 V +990 565 V +989 341 V +1052 542 Pls +1844 836 Pls +2833 1294 Pls +3823 1789 Pls +4812 2310 Pls +5802 2875 Pls +6791 3216 Pls +2901 3226 Pls +% End plot #10 +% Begin plot #11 +1.000 UP +2.000 UL +LT1 +1.00 0.00 0.00 C LCb setrgbcolor +2618 3086 M +[ [(Helvetica) 140.0 0.0 true true 0 (22 eNodeB - Friis)] +] -46.7 MRshow +LT1 +1.00 0.00 0.00 C 2702 3086 M +399 0 V +1052 538 M +792 306 V +989 424 V +990 445 V +989 428 V +990 452 V +989 379 V +1052 538 Crs +1844 844 Crs +2833 1268 Crs +3823 1713 Crs +4812 2141 Crs +5802 2593 Crs +6791 2972 Crs +2901 3086 Crs +% End plot #11 +% Begin plot #12 +1.000 UP +2.000 UL +LT2 +0.00 0.00 1.00 C LCb setrgbcolor +2618 2946 M +[ [(Helvetica) 140.0 0.0 true true 0 (22 eNodeB - Building)] +] -46.7 MRshow +LT2 +0.00 0.00 1.00 C 2702 2946 M +399 0 V +1052 573 M +792 445 V +989 677 V +990 732 V +989 781 V +990 846 V +989 546 V +1052 573 Star +1844 1018 Star +2833 1695 Star +3823 2427 Star +4812 3208 Star +5802 4054 Star +6791 4600 Star +2901 2946 Star +% End plot #12 +1.000 UL +LTb +854 4619 N +854 448 L +6135 0 V +0 4171 V +-6135 0 V +Z stroke +1.000 UP +1.000 UL +LTb +stroke +grestore +end +showpage +%%Trailer +%%DocumentFonts: Helvetica diff --git a/src/lte/doc/source/figures/memoryUsage.eps b/src/lte/doc/source/figures/runningTime10s.eps similarity index 75% rename from src/lte/doc/source/figures/memoryUsage.eps rename to src/lte/doc/source/figures/runningTime10s.eps index ff44fdabf..f96239c4f 100644 --- a/src/lte/doc/source/figures/memoryUsage.eps +++ b/src/lte/doc/source/figures/runningTime10s.eps @@ -1,7 +1,7 @@ %!PS-Adobe-2.0 EPSF-2.0 -%%Title: ../figures/memoryUsage.eps -%%Creator: gnuplot 4.2 patchlevel 6 -%%CreationDate: Fri May 27 14:35:30 2011 +%%Title: runningTime10s.eps +%%Creator: gnuplot 4.4 patchlevel 0 +%%CreationDate: Mon Nov 21 12:51:37 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments @@ -9,8 +9,8 @@ /gnudict 256 dict def gnudict begin % -% The following 6 true/false flags may be edited by hand if required -% The unit line width may also be changed +% The following true/false flags may be edited by hand if desired. +% The unit line width and grayscale image gamma correction may also be changed. % /Color false def /Blacktext false def @@ -19,9 +19,11 @@ gnudict begin /Landscape false def /Level1 false def /Rounded false def +/ClipToBoundingBox false def /TransparentPatterns false def /gnulinewidth 5.000 def /userlinewidth gnulinewidth def +/Gamma 1.0 def % /vshift -46 def /dl1 { @@ -42,18 +44,26 @@ systemdict /pdfmark known not { userdict /pdfmark systemdict /cleartomark get put } if SDict begin [ - /Title (../figures/memoryUsage.eps) + /Title (runningTime10s.eps) /Subject (gnuplot plot) - /Creator (gnuplot 4.2 patchlevel 6 ) - /Author (Nicola Baldo,,,) + /Creator (gnuplot 4.4 patchlevel 0) + /Author (jnin) % /Producer (gnuplot) % /Keywords () - /CreationDate (Fri May 27 14:35:30 2011) + /CreationDate (Mon Nov 21 12:51:37 2011) /DOCINFO pdfmark end } ifelse +/doclip { + ClipToBoundingBox { + newpath 50 50 moveto 410 50 lineto 410 302 lineto 50 302 lineto closepath + clip + } if +} def % -% Gnuplot Prolog Version 4.2 (August 2006) +% Gnuplot Prolog Version 4.4 (January 2010) +% +%/SuppressPDFMark true def % /M {moveto} bind def /L {lineto} bind def @@ -63,6 +73,7 @@ end /Z {closepath} bind def /C {setrgbcolor} bind def /f {rlineto fill} bind def +/Gshow {show} def % May be redefined later in the file to support UTF-8 /vpt2 vpt 2 mul def /hpt2 hpt 2 mul def /Lshow {currentpoint stroke M 0 vshift R @@ -425,17 +436,18 @@ currentdict end definefont pop { 5 get 3 eq {gsave} {grestore} ifelse } {dup dup 0 get findfont exch 1 get scalefont setfont [ currentpoint ] exch dup 2 get 0 exch R dup 5 get 2 ne {dup dup 6 - get exch 4 get {show} {stringwidth pop 0 R} ifelse }if dup 5 get 0 eq + get exch 4 get {Gshow} {stringwidth pop 0 R} ifelse }if dup 5 get 0 eq {dup 3 get {2 get neg 0 exch R pop} {pop aload pop M} ifelse} {dup 5 get 1 eq {dup 2 get exch dup 3 get exch 6 get stringwidth pop -2 div dup 0 R} {dup 6 get stringwidth pop -2 div 0 R 6 get show 2 index {aload pop M neg 3 -1 roll neg R pop pop} {pop pop pop pop aload pop M} ifelse }ifelse }ifelse } ifelse } - forall} bind def + forall} def +/Gswidth {dup type /stringtype eq {stringwidth} {pop (n) stringwidth} ifelse} def /MFwidth {0 exch { dup 5 get 3 ge { 5 get 3 eq { 0 } { pop } ifelse } {dup 3 get{dup dup 0 get findfont exch 1 get scalefont setfont - 6 get stringwidth pop add} {pop} ifelse} ifelse} forall} bind def + 6 get Gswidth pop add} {pop} ifelse} ifelse} forall} def /MLshow { currentpoint stroke M 0 exch R Blacktext {gsave 0 setgray MFshow grestore} {MFshow} ifelse } bind def @@ -451,6 +463,7 @@ end %%EndProlog gnudict begin gsave +doclip 50 50 translate 0.050 0.050 scale 0 setgray @@ -460,399 +473,492 @@ newpath LTb 1.000 UL LTa -686 448 M -6304 0 V +854 448 M +6135 0 V stroke LTb -686 448 M +854 448 M 63 0 V -6241 0 R +6072 0 R -63 0 V stroke -602 448 M +770 448 M [ [(Helvetica) 140.0 0.0 true true 0 ( 0)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -686 1001 M -6304 0 V +854 1282 M +6135 0 V stroke LTb -686 1001 M +854 1282 M 63 0 V -6241 0 R +6072 0 R -63 0 V stroke -602 1001 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 1)] +770 1282 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 500)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -686 1554 M -6304 0 V +854 2116 M +6135 0 V stroke LTb -686 1554 M +854 2116 M 63 0 V -6241 0 R +6072 0 R -63 0 V stroke -602 1554 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 2)] +770 2116 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 1000)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -686 2107 M -6304 0 V +854 2951 M +6135 0 V stroke LTb -686 2107 M +854 2951 M 63 0 V -6241 0 R +6072 0 R -63 0 V stroke -602 2107 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 3)] +770 2951 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 1500)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -686 2660 M -6304 0 V -stroke -LTb -686 2660 M -63 0 V -6241 0 R --63 0 V -stroke -602 2660 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 4)] -] -46.7 MRshow -1.000 UL -LTb -1.000 UL -LTa -686 3213 M -6304 0 V -stroke -LTb -686 3213 M -63 0 V -6241 0 R --63 0 V -stroke -602 3213 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 5)] -] -46.7 MRshow -1.000 UL -LTb -1.000 UL -LTa -686 3766 M -6304 0 V -stroke -LTb -686 3766 M -63 0 V -6241 0 R --63 0 V -stroke -602 3766 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 6)] -] -46.7 MRshow -1.000 UL -LTb -1.000 UL -LTa -686 4319 M +854 3785 M 84 0 V -1659 0 R -4561 0 V +1323 0 R +4728 0 V stroke LTb -686 4319 M +854 3785 M 63 0 V -6241 0 R +6072 0 R -63 0 V stroke -602 4319 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 7)] +770 3785 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 2000)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -686 4872 M -6304 0 V +854 4619 M +6135 0 V stroke LTb -686 4872 M +854 4619 M 63 0 V -6241 0 R +6072 0 R -63 0 V stroke -602 4872 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 8)] +770 4619 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 2500)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -686 448 M -0 4424 V +854 448 M +0 4171 V stroke LTb -686 448 M +854 448 M 0 63 V -0 4361 R +0 4108 R 0 -63 V stroke -686 308 M +854 308 M [ [(Helvetica) 140.0 0.0 true true 0 ( 0)] ] -46.7 MCshow 1.000 UL LTb 1.000 UL LTa -1737 448 M -0 3731 V -0 630 R +1844 448 M +0 2848 V +0 1260 R 0 63 V stroke LTb -1737 448 M +1844 448 M 0 63 V -0 4361 R +0 4108 R 0 -63 V stroke -1737 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 2)] +1844 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 5)] ] -46.7 MCshow 1.000 UL LTb 1.000 UL LTa -2787 448 M -0 4424 V +2833 448 M +0 4171 V stroke LTb -2787 448 M +2833 448 M 0 63 V -0 4361 R +0 4108 R 0 -63 V stroke -2787 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 4)] -] -46.7 MCshow -1.000 UL -LTb -1.000 UL -LTa -3838 448 M -0 4424 V -stroke -LTb -3838 448 M -0 63 V -0 4361 R -0 -63 V -stroke -3838 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 6)] -] -46.7 MCshow -1.000 UL -LTb -1.000 UL -LTa -4889 448 M -0 4424 V -stroke -LTb -4889 448 M -0 63 V -0 4361 R -0 -63 V -stroke -4889 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 8)] -] -46.7 MCshow -1.000 UL -LTb -1.000 UL -LTa -5939 448 M -0 4424 V -stroke -LTb -5939 448 M -0 63 V -0 4361 R -0 -63 V -stroke -5939 308 M +2833 308 M [ [(Helvetica) 140.0 0.0 true true 0 ( 10)] ] -46.7 MCshow 1.000 UL LTb 1.000 UL LTa -6990 448 M -0 4424 V +3823 448 M +0 4171 V stroke LTb -6990 448 M +3823 448 M 0 63 V -0 4361 R +0 4108 R 0 -63 V stroke -6990 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 12)] +3823 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 15)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +4812 448 M +0 4171 V +stroke +LTb +4812 448 M +0 63 V +0 4108 R +0 -63 V +stroke +4812 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 20)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +5802 448 M +0 4171 V +stroke +LTb +5802 448 M +0 63 V +0 4108 R +0 -63 V +stroke +5802 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 25)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +6791 448 M +0 4171 V +stroke +LTb +6791 448 M +0 63 V +0 4108 R +0 -63 V +stroke +6791 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 30)] ] -46.7 MCshow 1.000 UL LTb 1.000 UL LTb -686 4872 N -686 448 L -6304 0 V -0 4424 V --6304 0 V +854 4619 N +854 448 L +6135 0 V +0 4171 V +-6135 0 V Z stroke LCb setrgbcolor -280 2660 M -currentpoint gsave translate 90 rotate 0 0 moveto -[ [(Helvetica) 140.0 0.0 true true 0 (Memory usage [MB])] +196 2533 M +currentpoint gsave translate -270 rotate 0 0 moveto +[ [(Helvetica) 140.0 0.0 true true 0 (Running time [s])] ] -46.7 MCshow grestore LTb LCb setrgbcolor -3838 98 M -[ [(Helvetica) 140.0 0.0 true true 0 (Number of eNBs)] +3921 98 M +[ [(Helvetica) 140.0 0.0 true true 0 (Number of UEs per eNodeB)] ] -46.7 MCshow LTb +3921 4829 M +[ [(Helvetica) 140.0 0.0 true true 0 (Simulation time = 10 s - Friis Model)] +] -46.7 MCshow 1.000 UP 1.000 UL LTb -1.500 UP +% Begin plot #1 +1.000 UP 2.000 UL -LT2 -0.63 0.13 0.94 C LTb -1337 4704 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 1 UE per eNB)] -] -46.7 MLshow -LT2 -0.63 0.13 0.94 C 854 4704 M +LT0 +0.00 0.00 0.00 C LCb setrgbcolor +1694 4486 M +[ [(Helvetica) 140.0 0.0 true true 0 (1 eNodeB)] +] -46.7 MRshow +LT0 +0.00 0.00 0.00 C 1778 4486 M 399 0 V -1211 2218 M -526 166 V -525 110 V -525 166 V -526 166 V -525 166 V -525 110 V -526 166 V -525 166 V -525 166 V -526 166 V -525 111 V -1211 2218 Pls -1737 2384 Pls -2262 2494 Pls -2787 2660 Pls -3313 2826 Pls -3838 2992 Pls -4363 3102 Pls -4889 3268 Pls -5414 3434 Pls -5939 3600 Pls -6465 3766 Pls -6990 3877 Pls -1054 4704 Pls -1.500 UP +1052 461 M +792 8 V +989 9 V +990 10 V +989 10 V +990 9 V +989 5 V +1052 461 Pls +1844 469 Pls +2833 478 Pls +3823 488 Pls +4812 498 Pls +5802 507 Pls +6791 512 Pls +1977 4486 Pls +% End plot #1 +% Begin plot #2 +1.000 UP 2.000 UL LT1 -1.00 0.00 0.00 C LTb -1337 4494 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 5 UE per eNB)] -] -46.7 MLshow +1.00 0.00 0.00 C LCb setrgbcolor +1694 4346 M +[ [(Helvetica) 140.0 0.0 true true 0 (2 eNodeB)] +] -46.7 MRshow LT1 -1.00 0.00 0.00 C 854 4494 M +1.00 0.00 0.00 C 1778 4346 M 399 0 V -1211 2218 M -526 166 V -525 165 V -525 166 V -526 166 V -525 166 V -525 221 V -526 166 V -525 166 V -525 221 V -526 332 V -525 111 V -1211 2218 Crs -1737 2384 Crs -2262 2549 Crs -2787 2715 Crs -3313 2881 Crs -3838 3047 Crs -4363 3268 Crs -4889 3434 Crs -5414 3600 Crs -5939 3821 Crs -6465 4153 Crs -6990 4264 Crs -1054 4494 Crs -1.500 UP +1052 466 M +792 17 V +989 20 V +990 21 V +989 21 V +990 22 V +989 9 V +1052 466 Crs +1844 483 Crs +2833 503 Crs +3823 524 Crs +4812 545 Crs +5802 567 Crs +6791 576 Crs +1977 4346 Crs +% End plot #2 +% Begin plot #3 +1.000 UP 2.000 UL -LT3 -0.00 0.00 1.00 C LTb -1337 4284 M -[ [(Helvetica) 140.0 0.0 true true 0 (10 UE per eNB)] -] -46.7 MLshow -LT3 -0.00 0.00 1.00 C 854 4284 M +LT2 +0.00 0.00 1.00 C LCb setrgbcolor +1694 4206 M +[ [(Helvetica) 140.0 0.0 true true 0 (4 eNodeB)] +] -46.7 MRshow +LT2 +0.00 0.00 1.00 C 1778 4206 M 399 0 V -1211 2328 M -526 166 V -525 166 V -525 221 V -526 111 V -525 221 V -525 332 V -526 166 V -525 221 V -525 276 V -526 222 V -525 166 V -1211 2328 Star -1737 2494 Star -2262 2660 Star -2787 2881 Star -3313 2992 Star -3838 3213 Star -4363 3545 Star -4889 3711 Star -5414 3932 Star -5939 4208 Star -6465 4430 Star -6990 4596 Star -1054 4284 Star +1052 476 M +792 39 V +989 49 V +990 49 V +989 49 V +990 52 V +989 26 V +1052 476 Star +1844 515 Star +2833 564 Star +3823 613 Star +4812 662 Star +5802 714 Star +6791 740 Star +1977 4206 Star +% End plot #3 +% Begin plot #4 +1.000 UP +1.000 UL +LT3 +1.00 0.65 0.00 C LCb setrgbcolor +1694 4066 M +[ [(Helvetica) 140.0 0.0 true true 0 (6 eNodeB)] +] -46.7 MRshow +LT3 +1.00 0.65 0.00 C 1778 4066 M +399 0 V +1052 483 M +792 70 V +989 83 V +990 86 V +989 86 V +990 98 V +989 47 V +1052 483 Box +1844 553 Box +2833 636 Box +3823 722 Box +4812 808 Box +5802 906 Box +6791 953 Box +1977 4066 Box +% End plot #4 +% Begin plot #5 +1.000 UP +1.000 UL +LT4 +0.00 1.00 0.00 C LCb setrgbcolor +1694 3926 M +[ [(Helvetica) 140.0 0.0 true true 0 (8 eNodeB)] +] -46.7 MRshow +LT4 +0.00 1.00 0.00 C 1778 3926 M +399 0 V +1052 496 M +792 102 V +989 124 V +990 137 V +989 131 V +990 145 V +989 95 V +1052 496 BoxF +1844 598 BoxF +2833 722 BoxF +3823 859 BoxF +4812 990 BoxF +5802 1135 BoxF +6791 1230 BoxF +1977 3926 BoxF +% End plot #5 +% Begin plot #6 +1.000 UP +1.000 UL +LT5 +0.75 0.50 1.00 C LCb setrgbcolor +1694 3786 M +[ [(Helvetica) 140.0 0.0 true true 0 (12 eNodeB)] +] -46.7 MRshow +LT5 +0.75 0.50 1.00 C 1778 3786 M +399 0 V +1052 514 M +792 178 V +989 231 V +990 273 V +989 264 V +990 272 V +989 195 V +1052 514 Circle +1844 692 Circle +2833 923 Circle +3823 1196 Circle +4812 1460 Circle +5802 1732 Circle +6791 1927 Circle +1977 3786 Circle +% End plot #6 +% Begin plot #7 +1.000 UP +1.000 UL +LT6 +1.00 1.00 0.00 C LCb setrgbcolor +1694 3646 M +[ [(Helvetica) 140.0 0.0 true true 0 (14 eNodeB)] +] -46.7 MRshow +LT6 +1.00 1.00 0.00 C 1778 3646 M +399 0 V +1052 519 M +792 228 V +989 318 V +990 353 V +989 332 V +990 351 V +989 252 V +1052 519 CircleF +1844 747 CircleF +2833 1065 CircleF +3823 1418 CircleF +4812 1750 CircleF +5802 2101 CircleF +6791 2353 CircleF +1977 3646 CircleF +% End plot #7 +% Begin plot #8 +1.000 UP +1.000 UL +LT7 +1.00 0.75 0.75 C LCb setrgbcolor +1694 3506 M +[ [(Helvetica) 140.0 0.0 true true 0 (18 eNodeB)] +] -46.7 MRshow +LT7 +1.00 0.75 0.75 C 1778 3506 M +399 0 V +1052 555 M +792 357 V +989 479 V +990 510 V +989 502 V +990 506 V +989 437 V +1052 555 TriU +1844 912 TriU +2833 1391 TriU +3823 1901 TriU +4812 2403 TriU +5802 2909 TriU +6791 3346 TriU +1977 3506 TriU +% End plot #8 +% Begin plot #9 +1.000 UP +1.000 UL +LT8 +1.00 0.00 1.00 C LCb setrgbcolor +1694 3366 M +[ [(Helvetica) 140.0 0.0 true true 0 (22 eNodeB)] +] -46.7 MRshow +LT8 +1.00 0.00 1.00 C 1778 3366 M +399 0 V +1052 592 M +792 489 V +989 679 V +990 712 V +989 685 V +990 723 V +989 606 V +1052 592 TriUF +1844 1081 TriUF +2833 1760 TriUF +3823 2472 TriUF +4812 3157 TriUF +5802 3880 TriUF +6791 4486 TriUF +1977 3366 TriUF +% End plot #9 1.000 UL LTb -686 4872 N -686 448 L -6304 0 V -0 4424 V --6304 0 V +854 4619 N +854 448 L +6135 0 V +0 4171 V +-6135 0 V Z stroke 1.000 UP 1.000 UL @@ -861,3 +967,5 @@ stroke grestore end showpage +%%Trailer +%%DocumentFonts: Helvetica diff --git a/src/lte/doc/source/figures/simulationTime.eps b/src/lte/doc/source/figures/simulationTime.eps index 4a2d8ff38..977d53ac8 100644 --- a/src/lte/doc/source/figures/simulationTime.eps +++ b/src/lte/doc/source/figures/simulationTime.eps @@ -1,7 +1,7 @@ %!PS-Adobe-2.0 EPSF-2.0 -%%Title: ../figures/simulationTime.eps -%%Creator: gnuplot 4.2 patchlevel 6 -%%CreationDate: Fri May 27 14:35:30 2011 +%%Title: simulationTime.eps +%%Creator: gnuplot 4.4 patchlevel 0 +%%CreationDate: Mon Nov 21 18:16:41 2011 %%DocumentFonts: (atend) %%BoundingBox: 50 50 410 302 %%EndComments @@ -9,8 +9,8 @@ /gnudict 256 dict def gnudict begin % -% The following 6 true/false flags may be edited by hand if required -% The unit line width may also be changed +% The following true/false flags may be edited by hand if desired. +% The unit line width and grayscale image gamma correction may also be changed. % /Color false def /Blacktext false def @@ -19,9 +19,11 @@ gnudict begin /Landscape false def /Level1 false def /Rounded false def +/ClipToBoundingBox false def /TransparentPatterns false def /gnulinewidth 5.000 def /userlinewidth gnulinewidth def +/Gamma 1.0 def % /vshift -46 def /dl1 { @@ -42,18 +44,26 @@ systemdict /pdfmark known not { userdict /pdfmark systemdict /cleartomark get put } if SDict begin [ - /Title (../figures/simulationTime.eps) + /Title (simulationTime.eps) /Subject (gnuplot plot) - /Creator (gnuplot 4.2 patchlevel 6 ) - /Author (Nicola Baldo,,,) + /Creator (gnuplot 4.4 patchlevel 0) + /Author (jnin) % /Producer (gnuplot) % /Keywords () - /CreationDate (Fri May 27 14:35:30 2011) + /CreationDate (Mon Nov 21 18:16:41 2011) /DOCINFO pdfmark end } ifelse +/doclip { + ClipToBoundingBox { + newpath 50 50 moveto 410 50 lineto 410 302 lineto 50 302 lineto closepath + clip + } if +} def % -% Gnuplot Prolog Version 4.2 (August 2006) +% Gnuplot Prolog Version 4.4 (January 2010) +% +%/SuppressPDFMark true def % /M {moveto} bind def /L {lineto} bind def @@ -63,6 +73,7 @@ end /Z {closepath} bind def /C {setrgbcolor} bind def /f {rlineto fill} bind def +/Gshow {show} def % May be redefined later in the file to support UTF-8 /vpt2 vpt 2 mul def /hpt2 hpt 2 mul def /Lshow {currentpoint stroke M 0 vshift R @@ -425,17 +436,18 @@ currentdict end definefont pop { 5 get 3 eq {gsave} {grestore} ifelse } {dup dup 0 get findfont exch 1 get scalefont setfont [ currentpoint ] exch dup 2 get 0 exch R dup 5 get 2 ne {dup dup 6 - get exch 4 get {show} {stringwidth pop 0 R} ifelse }if dup 5 get 0 eq + get exch 4 get {Gshow} {stringwidth pop 0 R} ifelse }if dup 5 get 0 eq {dup 3 get {2 get neg 0 exch R pop} {pop aload pop M} ifelse} {dup 5 get 1 eq {dup 2 get exch dup 3 get exch 6 get stringwidth pop -2 div dup 0 R} {dup 6 get stringwidth pop -2 div 0 R 6 get show 2 index {aload pop M neg 3 -1 roll neg R pop pop} {pop pop pop pop aload pop M} ifelse }ifelse }ifelse } ifelse } - forall} bind def + forall} def +/Gswidth {dup type /stringtype eq {stringwidth} {pop (n) stringwidth} ifelse} def /MFwidth {0 exch { dup 5 get 3 ge { 5 get 3 eq { 0 } { pop } ifelse } {dup 3 get{dup dup 0 get findfont exch 1 get scalefont setfont - 6 get stringwidth pop add} {pop} ifelse} ifelse} forall} bind def + 6 get Gswidth pop add} {pop} ifelse} ifelse} forall} def /MLshow { currentpoint stroke M 0 exch R Blacktext {gsave 0 setgray MFshow grestore} {MFshow} ifelse } bind def @@ -451,6 +463,7 @@ end %%EndProlog gnudict begin gsave +doclip 50 50 translate 0.050 0.050 scale 0 setgray @@ -460,531 +473,362 @@ newpath LTb 1.000 UL LTa -938 448 M -6052 0 V +854 448 M +6135 0 V stroke LTb -938 448 M +854 448 M 63 0 V -5989 0 R +6072 0 R -63 0 V stroke -854 448 M +770 448 M [ [(Helvetica) 140.0 0.0 true true 0 ( 0)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -938 940 M -6052 0 V +854 1282 M +6135 0 V stroke LTb -938 940 M +854 1282 M 63 0 V -5989 0 R +6072 0 R -63 0 V stroke -854 940 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 200)] +770 1282 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 500)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -938 1431 M -6052 0 V +854 2116 M +6135 0 V stroke LTb -938 1431 M +854 2116 M 63 0 V -5989 0 R +6072 0 R -63 0 V stroke -854 1431 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 400)] -] -46.7 MRshow -1.000 UL -LTb -1.000 UL -LTa -938 1923 M -6052 0 V -stroke -LTb -938 1923 M -63 0 V -5989 0 R --63 0 V -stroke -854 1923 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 600)] -] -46.7 MRshow -1.000 UL -LTb -1.000 UL -LTa -938 2414 M -6052 0 V -stroke -LTb -938 2414 M -63 0 V -5989 0 R --63 0 V -stroke -854 2414 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 800)] -] -46.7 MRshow -1.000 UL -LTb -1.000 UL -LTa -938 2906 M -6052 0 V -stroke -LTb -938 2906 M -63 0 V -5989 0 R --63 0 V -stroke -854 2906 M +770 2116 M [ [(Helvetica) 140.0 0.0 true true 0 ( 1000)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -938 3397 M -6052 0 V +854 2951 M +6135 0 V stroke LTb -938 3397 M +854 2951 M 63 0 V -5989 0 R +6072 0 R -63 0 V stroke -854 3397 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 1200)] +770 2951 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 1500)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -938 3889 M -6052 0 V -stroke -LTb -938 3889 M -63 0 V -5989 0 R --63 0 V -stroke -854 3889 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 1400)] -] -46.7 MRshow -1.000 UL -LTb -1.000 UL -LTa -938 4380 M +854 3785 M 84 0 V -3087 0 R -2881 0 V +1323 0 R +4728 0 V stroke LTb -938 4380 M +854 3785 M 63 0 V -5989 0 R +6072 0 R -63 0 V stroke -854 4380 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 1600)] +770 3785 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 2000)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -938 4872 M -6052 0 V +854 4619 M +6135 0 V stroke LTb -938 4872 M +854 4619 M 63 0 V -5989 0 R +6072 0 R -63 0 V stroke -854 4872 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 1800)] +770 4619 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 2500)] ] -46.7 MRshow 1.000 UL LTb 1.000 UL LTa -938 448 M -0 4424 V +854 448 M +0 4171 V stroke LTb -938 448 M +854 448 M 0 63 V -0 4361 R +0 4108 R 0 -63 V stroke -938 308 M +854 308 M [ [(Helvetica) 140.0 0.0 true true 0 ( 0)] ] -46.7 MCshow 1.000 UL LTb 1.000 UL LTa -1947 448 M -0 3521 V -0 840 R -0 63 V +2315 448 M +0 4171 V stroke LTb -1947 448 M +2315 448 M 0 63 V -0 4361 R +0 4108 R 0 -63 V stroke -1947 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 2)] +2315 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 5)] ] -46.7 MCshow 1.000 UL LTb 1.000 UL LTa -2955 448 M -0 3521 V -0 840 R -0 63 V +3775 448 M +0 4171 V stroke LTb -2955 448 M +3775 448 M 0 63 V -0 4361 R +0 4108 R 0 -63 V stroke -2955 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 4)] -] -46.7 MCshow -1.000 UL -LTb -1.000 UL -LTa -3964 448 M -0 3521 V -0 840 R -0 63 V -stroke -LTb -3964 448 M -0 63 V -0 4361 R -0 -63 V -stroke -3964 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 6)] -] -46.7 MCshow -1.000 UL -LTb -1.000 UL -LTa -4973 448 M -0 4424 V -stroke -LTb -4973 448 M -0 63 V -0 4361 R -0 -63 V -stroke -4973 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 8)] -] -46.7 MCshow -1.000 UL -LTb -1.000 UL -LTa -5981 448 M -0 4424 V -stroke -LTb -5981 448 M -0 63 V -0 4361 R -0 -63 V -stroke -5981 308 M +3775 308 M [ [(Helvetica) 140.0 0.0 true true 0 ( 10)] ] -46.7 MCshow 1.000 UL LTb 1.000 UL LTa -6990 448 M -0 4424 V +5236 448 M +0 4171 V stroke LTb -6990 448 M +5236 448 M 0 63 V -0 4361 R +0 4108 R 0 -63 V stroke -6990 308 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 12)] +5236 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 15)] +] -46.7 MCshow +1.000 UL +LTb +1.000 UL +LTa +6697 448 M +0 4171 V +stroke +LTb +6697 448 M +0 63 V +0 4108 R +0 -63 V +stroke +6697 308 M +[ [(Helvetica) 140.0 0.0 true true 0 ( 20)] ] -46.7 MCshow 1.000 UL LTb 1.000 UL LTb -938 4872 N -938 448 L -6052 0 V -0 4424 V --6052 0 V +854 4619 N +854 448 L +6135 0 V +0 4171 V +-6135 0 V Z stroke LCb setrgbcolor -280 2660 M -currentpoint gsave translate 90 rotate 0 0 moveto -[ [(Helvetica) 140.0 0.0 true true 0 (Execution time [s])] +196 2533 M +currentpoint gsave translate -270 rotate 0 0 moveto +[ [(Helvetica) 140.0 0.0 true true 0 (Running time [s])] ] -46.7 MCshow grestore LTb LCb setrgbcolor -3964 98 M -[ [(Helvetica) 140.0 0.0 true true 0 (Number of eNBs)] +3921 98 M +[ [(Helvetica) 140.0 0.0 true true 0 (Simulation time)] ] -46.7 MCshow LTb +3921 4829 M +[ [(Helvetica) 140.0 0.0 true true 0 (Friis propagation model 15 UE per eNodeB)] +] -46.7 MCshow 1.000 UP 1.000 UL LTb -1.500 UP +% Begin plot #1 +1.000 UP 2.000 UL -LT2 -0.63 0.13 0.94 C LTb -1589 4704 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 1 UE per eNB)] -] -46.7 MLshow -LT2 -0.63 0.13 0.94 C 1106 4704 M +LT0 +0.00 0.00 0.00 C LCb setrgbcolor +1694 4486 M +[ [(Helvetica) 140.0 0.0 true true 0 (2 eNodeB)] +] -46.7 MRshow +LT0 +0.00 0.00 0.00 C 1778 4486 M 399 0 V -1442 488 M -505 3 V -504 23 V -504 25 V -505 28 V -504 31 V -504 35 V -505 41 V -504 45 V -504 43 V -505 54 V -504 66 V -1442 488 Pls -1947 491 Pls -2451 514 Pls -2955 539 Pls -3460 567 Pls -3964 598 Pls -4468 633 Pls -4973 674 Pls -5477 719 Pls -5981 762 Pls -6486 816 Pls -6990 882 Pls -1306 4704 Pls -1.500 UP +1146 464 M +1169 27 R +1460 33 R +2922 68 R +1146 464 Pls +2315 491 Pls +3775 524 Pls +6697 592 Pls +1977 4486 Pls +% End plot #1 +% Begin plot #2 +1.000 UP 2.000 UL LT1 -1.00 0.00 0.00 C LTb -1589 4494 M -[ [(Helvetica) 140.0 0.0 true true 0 ( 5 UE per eNB)] -] -46.7 MLshow +1.00 0.00 0.00 C LCb setrgbcolor +1694 4346 M +[ [(Helvetica) 140.0 0.0 true true 0 (4 eNodeB)] +] -46.7 MRshow LT1 -1.00 0.00 0.00 C 1106 4494 M +1.00 0.00 0.00 C 1778 4346 M 399 0 V -1442 503 M -505 63 V -504 78 V -504 99 V -505 119 V -504 154 V -504 180 V -505 212 V -504 250 V -504 263 V -505 294 V -504 312 V -1442 503 Crs -1947 566 Crs -2451 644 Crs -2955 743 Crs -3460 862 Crs -3964 1016 Crs -4468 1196 Crs -4973 1408 Crs -5477 1658 Crs -5981 1921 Crs -6486 2215 Crs -6990 2527 Crs -1306 4494 Crs -1.500 UP +1146 473 M +1169 62 R +1460 78 R +6697 772 M +1146 473 Crs +2315 535 Crs +3775 613 Crs +6697 772 Crs +1977 4346 Crs +% End plot #2 +% Begin plot #3 +1.000 UP 2.000 UL -LT3 -0.00 0.00 1.00 C LTb -1589 4284 M -[ [(Helvetica) 140.0 0.0 true true 0 (10 UE per eNB)] -] -46.7 MLshow -LT3 -0.00 0.00 1.00 C 1106 4284 M +LT2 +0.00 0.00 1.00 C LCb setrgbcolor +1694 4206 M +[ [(Helvetica) 140.0 0.0 true true 0 (8 eNodeB)] +] -46.7 MRshow +LT2 +0.00 0.00 1.00 C 1778 4206 M 399 0 V -1442 542 M -505 113 V -504 162 V -504 197 V -505 258 V -504 334 V -504 386 V -505 442 V -504 487 V -504 527 V -505 577 V -504 602 V -1442 542 Star -1947 655 Star -2451 817 Star -2955 1014 Star -3460 1272 Star -3964 1606 Star -4468 1992 Star -4973 2434 Star -5477 2921 Star -5981 3448 Star -6486 4025 Star -6990 4627 Star -1306 4284 Star -3.000 UL -LT0 -0.00 0.00 0.00 C LTb -1589 4074 M -[ [(Helvetica) 140.0 0.0 true true 0 (y = 10.756x)] -[(Helvetica) 112.0 70.0 true true 0 (2)] -[(Helvetica) 140.0 0.0 true true 0 ( + 11.274x + 16.249)] -] -60.7 MLshow -LT0 -0.00 0.00 0.00 C 1106 4074 M +1146 497 M +2315 655 M +3775 859 M +2922 403 R +1146 497 Star +2315 655 Star +3775 859 Star +6697 1262 Star +1977 4206 Star +% End plot #3 +% Begin plot #4 +1.000 UP +1.000 UL +LT3 +1.00 0.65 0.00 C LCb setrgbcolor +1694 4066 M +[ [(Helvetica) 140.0 0.0 true true 0 (12 eNodeB)] +] -46.7 MRshow +LT3 +1.00 0.65 0.00 C 1778 4066 M 399 0 V -938 488 M -61 4 V -61 4 V -61 6 V -62 6 V -61 6 V -61 8 V -61 8 V -61 10 V -61 10 V -61 10 V -61 12 V -62 12 V -61 13 V -61 14 V -61 15 V -61 15 V -61 16 V -61 17 V -61 18 V -62 18 V -61 20 V -61 20 V -61 21 V -61 21 V -61 23 V -61 23 V -62 24 V -61 24 V -61 26 V -61 26 V -61 27 V -61 28 V -61 29 V -61 29 V -62 30 V -61 31 V -61 32 V -61 32 V -61 34 V -61 34 V -61 35 V -62 35 V -61 37 V -61 37 V -61 38 V -61 38 V -61 40 V -61 40 V -61 41 V -62 42 V -61 42 V -61 44 V -61 44 V -61 45 V -61 46 V -61 46 V -61 47 V -62 48 V -61 49 V -61 50 V -61 50 V -61 51 V -61 52 V -61 53 V -62 53 V -61 55 V -61 55 V -61 55 V -61 57 V -61 57 V -61 58 V -61 59 V -62 60 V -61 60 V -61 62 V -61 62 V -61 62 V -61 64 V -61 64 V -62 65 V -61 66 V -61 67 V -61 67 V -61 69 V -61 69 V -61 69 V -61 71 V -62 71 V -61 72 V -61 73 V -61 74 V -61 74 V -61 76 V -61 76 V -61 76 V -62 78 V -61 78 V -61 79 V -61 80 V -stroke +1146 530 M +2315 826 M +1460 370 R +2922 747 R +1146 530 Box +2315 826 Box +3775 1196 Box +6697 1943 Box +1977 4066 Box +% End plot #4 +% Begin plot #5 +1.000 UP +1.000 UL +LT4 +0.00 1.00 0.00 C LCb setrgbcolor +1694 3926 M +[ [(Helvetica) 140.0 0.0 true true 0 (14 eNodeB)] +] -46.7 MRshow +LT4 +0.00 1.00 0.00 C 1778 3926 M +399 0 V +1146 553 M +2315 937 M +1460 481 R +2922 951 R +1146 553 BoxF +2315 937 BoxF +3775 1418 BoxF +6697 2369 BoxF +1977 3926 BoxF +% End plot #5 +% Begin plot #6 +1.000 UP +1.000 UL +LT5 +0.75 0.50 1.00 C LCb setrgbcolor +1694 3786 M +[ [(Helvetica) 140.0 0.0 true true 0 (18 eNodeB)] +] -46.7 MRshow +LT5 +0.75 0.50 1.00 C 1778 3786 M +399 0 V +1146 603 M +1169 583 R +1460 715 R +6697 3363 M +1146 603 Circle +2315 1186 Circle +3775 1901 Circle +6697 3363 Circle +1977 3786 Circle +% End plot #6 +% Begin plot #7 +1.000 UP +1.000 UL +LT6 +1.00 1.00 0.00 C LCb setrgbcolor +1694 3646 M +[ [(Helvetica) 140.0 0.0 true true 0 (22 eNodeB)] +] -46.7 MRshow +LT6 +1.00 1.00 0.00 C 1778 3646 M +399 0 V +1146 658 M +1169 805 R +3775 2472 M +6697 4478 M +1146 658 CircleF +2315 1463 CircleF +3775 2472 CircleF +6697 4478 CircleF +1977 3646 CircleF +% End plot #7 1.000 UL LTb -938 4872 N -938 448 L -6052 0 V -0 4424 V --6052 0 V +854 4619 N +854 448 L +6135 0 V +0 4171 V +-6135 0 V Z stroke 1.000 UP 1.000 UL diff --git a/src/lte/doc/source/lte-profiling.rst b/src/lte/doc/source/lte-profiling.rst index 77efc4f29..efcebea7d 100644 --- a/src/lte/doc/source/lte-profiling.rst +++ b/src/lte/doc/source/lte-profiling.rst @@ -6,55 +6,114 @@ +++++++++++++++++++++++++++++++++ +Overview and objectives +*********************** -Execution time and memory consumption -------------------------------------- +The main profiling objective is to assess the simulator performance on a broad set of situations. This evaluation provides reference values for simulation running times and memory consumption figures. Also, it helps identifying potential performance improvements or bottlenecks and checking that no scalability problems arise while increasing the number of eNodeB and the number of UEs attached to each eNodeB. -In order to provide an evaluation of the execution time and -memory consumption, a -reference simulation program (``examples/profiling-reference``) has been -developed. This program simulates a scenario -composed by a set of eNodeBs, and a set of UEs attached to each eNB. All eNodeBs -have the same number of attached UEs. Communications are performed both in the -dowlink and in the uplink using a saturation model (i.e., each RLC instance -always has a PDU to transmit). The UEs are all in the same position than its -eNodeB and the eNodeBs are distributed in a line, each one 140m away from the -previous one. The total simulation time is set to 60s. +In the following sections, a detailed description of the general profiling framework employed to perform this profiling study is introduced. It also introduces the details of the main tests performed and its results are evaluated. -Using this simulation program, we ran a simulation campaign varying the number -of eNBs as well as the number of UEs per eNB. For each simulation, we measured -the execution time using the ``time`` shell command in linux, and the memory -consumption by looking at the information in ``/proc/\{pid\}/statm``. The -reference hardware platform is an Intel Core2 Duo E8400 3.00GHz with 512 MB of -RAM memory running a Fedora Core 10 distribution with kernel -2.6.27.5. The simulator build used in this -experiment was configured with the options ``-d optimized ---enable-static``. +Framework description +********************* -The results are reported in `fig-simulationTime`_ and `fig-memoryUsage`_. -We note that the memory usage, as expected, -primarily depends on the number of eNBs, however is in general quite low. The -execution time depends significantly on both the number of eNBs and the number -of UEs per eNB. For the case of 10 UEs per eNB, we also show that the -experimental data can be fitted quite accurately by a quadratic function. We -suggest that this behavior is due to the fact that the -interference calculations have a computational complexity which is quadratic with -respect to the number of eNBs, and which is the dominant contribution in the overall -computational load. +Simulation script +~~~~~~~~~~~~~~~~ + +The simulation script used for all the results gathered in this documentation is located at ``src/lte/examples/lena-runtime-profiler.cc``. This script generated a squared grid topology, placing a eNodeB at the centre of the square. UEs attached to this node are scattered randomly across the square (using a random uniform distribution along X and Y axis). If *BuildingPropagationModel* is used + +.. TODO: Insert figure picturing the geometry of the simulation. + +RLC and MAC traces are enabled for all UEs and all eNodeBs and those traces are written to disk directly. The MAC scheduler used is *propotional fair* -.. _fig-simulationTime: +Simulation input parameters +--------------------------- + +The *lena-runtime-profiler* simulation script accepts the following input parameters: +* ``simTime``: time to simulate (in seconds) +* ``nUe``: number of UEs attached to each eNodeB +* ``nEnb``: number of eNodeB composing the grid per floor +* ``nFloors``: number of floors, 0 for *Friis propagation model* (no walls), 1 for *Building propagation model* +* ``traceDirectory``: destination directory where simulation traces will be stored + +Time measurement +~~~~~~~~~~~~~~~~ + +Running time is measured using default Linux shell command **time**. This command counts the user time invested in the execution of a program. + +Perl script +~~~~~~~~~~~ + +To simplify the process of running the profiling script for a wide range of values and collecting its data, a simple Perl script to automate the whole process has been developed. It is placed in ``src/lte/test/lte-test-run-time.pl``. It simply runs a batch of simulations with a range of parameters and stores the timing results in a CSV file called *times.csv*. + +Requirements +------------ + +The following Perl modules are required to use the provided script, all of them available from CPAN: +* IO::CaptureOutput +* Statistics::Descriptive +* Cwd + +Reference software and equipment +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +All timing tests had been run in a Intel Pentium IV 3.00 GHz machine with 512 Mb of RAM memory running Fedora Core 10 with a 2.6.27.41-170.2.117 kernel, storing the traces directly to the hard disk. + +Also, as a reference configuration, the build has been configured static and optimized. The exact ``waf`` command issued is: + +``CXXFLAGS="-O3 -w" ./waf -d optimized configure --enable-static --enable-examples`` + + +Results +******* + +The following results and figures had been obtained with LENA **changeset 1823cde6f40b**. + +Running time +~~~~~~~~~~~~ + +This scenario, evaluates the running time in for a fixed simulation time (10s) increasing the number of UEs attached to each eNodeB and the number of planted eNodeBs in every scenario. Friis propagation model is used as a reference. + +.. _fig-runTime: + +.. figure:: figures/runningTime10s.* + :align: center + :width: 60% + + Running time + + + +Propagation model +~~~~~~~~~~~~~~~~~ + +The objective of this scenario is to evaluate the impact of the more complex building propagation model, so a set of scenarios has been run with Friis propagation model and Building propagation model and its run time are compared in the following figure. + +.. _fig-runTime: + +.. figure:: figures/propagationModel.* + :align: center + :width: 60% + + Propagation Model + + + +Simulation time +~~~~~~~~~~~~~~~ + +In this scenario, for a fixed set of UEs per eNodeB, different simulation times had been run. As the simulation time increases, running time should also increase linearly. The slope of this line is a function of the complexity of the scenario: the more eNodeB / UEs placed, the higher the slope of the line. + +.. _fig-runTime: .. figure:: figures/simulationTime.* :align: center + :width: 60% - Execution time of the reference program for a simulation duration of 60s. + Simulation time -.. _fig-memoryUsage: -.. figure:: figures/memoryUsage.* - :align: center - - Memory usage of the reference program. +Memory usage +~~~~~~~~~~~~