Agora
1.2.0
Agora project
|
Functions | |
figure (6) | |
plot (x1, max(y1, y1_1), 'LineWidth', 2) | |
plot (x2, max(y2, y2_1), 'LineWidth', 2) | |
plot (x3, max(y3, y3_1), 'LineWidth', 2) | |
set (gca, 'FontSize', 18) | |
xlabel ('Number of ZF cores') | |
ylabel ('Frame processing time(ms)') | |
legend ({ 'n_{fft}=1', 'n_{fft}=2', 'n_{fft}=3'}) | |
title (sprintf('Total number of cores:%d', n)) | |
ylim ([5, 10]) | |
fprintf ("min number of cores: %d\n", n_min) | |
disp (n_fft) | |
disp (x) y1 | |
disp (y1) y1_1 | |
max (y1, y1_1) | |
min_y (index) | |
min_x (index) | |
core_usage_fft (index) | |
core_usage_zf (index) | |
core_usage_demod (index) | |
core_usage_bigstation (index) | |
end | figure (7) |
plot (n_bigstation, min_y, 'LineWidth', 2) | |
xlabel ('Total number of cores') | |
title ('Minimum frame processing time') | |
figure (38) | |
plot (n_bigstation, min_x, 'LineWidth', 2) | |
plot (n_bigstation, n_bigstation-n_fft-min_x, 'LineWidth', 2) | |
plot (n_bigstation, n_fft *ones(length(n_bigstation), 1), 'LineWidth', 2) | |
ylabel ('Number of cores') | |
legend ({ 'n_{zf}', 'n_{demod}', 'n_{fft}'}) | |
title ('Best core assignment policy') | |
disp (n_bigstation) | |
disp (n_bigstation-n_fft-min_x) | |
disp (min_x) | |
figure (9) | |
plot (n, y-T, 'LineWidth', 2) | |
ylabel ('Processing delay(ms)') | |
title ('Frame Processing delay') | |
xlim ([14, 34]) | |
figure (19) | |
plot (n, y, 'LineWidth', 2) | |
ylabel ('Processing time(ms)') | |
title ('Frame Processing time') | |
figure (10) | |
legend ({ 'BigStation', 'CoMP'}) | |
title ('Frame processing time comparison') | |
figure (11) | |
plot (n_bigstation, min_y-T, 'LineWidth', 2) | |
ylabel ('Latency(ms)') | |
legend ({ 'BigStation', 'AGORA'}) | |
title ('Frame processing latency comparison') | |
figure (12) | |
plot (n_bigstation, core_usage_fft *100, 'LineWidth', 2, 'LineStyle','--') | |
plot (n_bigstation, core_usage_zf *100, 'LineWidth', 2, 'LineStyle','--') | |
plot (n_bigstation, core_usage_demod *100, 'LineWidth', 2, 'LineStyle','--') | |
plot (n_bigstation, core_usage_bigstation *100, 'LineWidth', 2) | |
plot (n, core_usage_comp *100, 'LineWidth', 2) | |
ylabel ('Core utilization(%)') | |
legend ({ 'BigStation:FFT cores', 'BigStation:ZF cores', 'BigStation:Demodulation cores', 'Bigstation average', 'CoMP cores'}) | |
title ('Core utilization') | |
figure (29) | |
plot (n, min_y(1:length(n)) -T, 'LineWidth', 2) | |
plot (n,(demul_done_mean-rx_done_mean)/1000, 'LineWidth', 2) set(gca | |
legend ({ 'Simulation', 'Measurement'}) % xlim([14 | |
figure (39) | |
plot (n, min_y(1:length(n)), 'LineWidth', 2) | |
plot (n, demul_done_mean/1000, 'LineWidth', 2) | |
plot (n, ones(length(n), 1) *T, 'LineWidth', 2, 'LineStyle','--') | |
plot (n, rx_done_mean/1000, 'LineWidth', 2, 'LineStyle','--') | |
legend ({ 'Simulation:data processing time', 'Measurement:data processing time', 'Simulation:frame duration', 'Meausurement:frame duration'}) | |
plot (x1, max(y1, y1_1) -T, 'LineWidth', 2) | |
Variables | |
n = 25 | |
M = 8 | |
s = 70 | |
T = 5 | |
sp = 8 | |
T_fft = 2.904 | |
T_csi = 0.39 | |
T_demod = 23.162 | |
end BigStation | x1 = 9:(n-1-5) |
x2 = 9:(n-2-5) | |
x3 = 9:(n-3-5) | |
y1 = sp/s*T + T_zf./x1+T_demod./(n-1-x1) | |
y1_1 = T+1/s*T_demod./(n-1-x1) | |
y2 = sp/s*T + T_zf./x2+T_demod./(n-2-x2) | |
y2_1 = T+1/s*T_demod./(n-2-x2) | |
y3 = sp/s*T + T_zf./x3+T_demod./(n-3-x3) | |
y3_1 = T+1/s*T_demod./(n-3-x3) | |
clf | |
hold | on |
min_y = [] | |
min_x = [] | |
core_usage_fft = [] | |
core_usage_zf = [] | |
core_usage_demod = [] | |
core_usage_bigstation = [] | |
index = 0 | |
n_min = (ceil(T_zf/T)+ceil(T_fft/T)+ceil(T_demod/T)) | |
n_demul_min = ceil(T_demod/T) | |
n_zf_min = ceil(T_zf/T) | |
n_bigstation = n_min:30 | |
n_fft = ceil(T_fft/T) | |
x = n_zf_min:(n-n_fft-n_demul_min) | |
y = y1 | |
core_usage_comp = (T_fft+T_csi+T_zf+T_demod)./n/T | |
FontSize | |
core_usage_bigstation | ( | index | ) |
core_usage_demod | ( | index | ) |
core_usage_fft | ( | index | ) |
core_usage_zf | ( | index | ) |
disp | ( | min_x | ) |
disp | ( | n_bigstation | ) |
disp | ( | n_bigstation-n_fft- | min_x | ) |
disp | ( | n_fft | ) |
disp | ( | x | ) |
disp | ( | y1 | ) |
figure | ( | 10 | ) |
figure | ( | 11 | ) |
figure | ( | 12 | ) |
figure | ( | 19 | ) |
figure | ( | 29 | ) |
figure | ( | 38 | ) |
figure | ( | 39 | ) |
figure | ( | 6 | ) |
end figure | ( | 7 | ) |
figure | ( | 9 | ) |
legend | ( | { 'BigStation', 'AGORA'} | ) |
legend | ( | { 'BigStation', 'CoMP'} | ) |
legend | ( | { 'BigStation:FFT cores', 'BigStation:ZF cores', 'BigStation:Demodulation cores', 'Bigstation average', 'CoMP cores'} | ) |
legend | ( | { 'n_{fft}=1', 'n_{fft}=2', 'n_{fft}=3'} | ) |
legend | ( | { 'n_{zf}', 'n_{demod}', 'n_{fft}'} | ) |
legend | ( | { 'Simulation', 'Measurement'} | ) |
legend | ( | { 'Simulation:data processing time', 'Measurement:data processing time', 'Simulation:frame duration', 'Meausurement:frame duration'} | ) |
min_x | ( | index | ) |
min_y | ( | index | ) |
plot | ( | n | , |
core_usage_comp * | 100, | ||
'LineWidth' | , | ||
2 | |||
) |
plot | ( | n | , |
demul_done_mean/ | 1000, | ||
'LineWidth' | , | ||
2 | |||
) |
plot | ( | n | , |
rx_done_mean/ | 1000, | ||
'LineWidth' | , | ||
2 | , | ||
'LineStyle' | , | ||
'--' | |||
) |
plot | ( | n | , |
(demul_done_mean-rx_done_mean)/ | 1000, | ||
'LineWidth' | , | ||
2 | |||
) |
plot | ( | n_bigstation | , |
core_usage_bigstation * | 100, | ||
'LineWidth' | , | ||
2 | |||
) |
plot | ( | n_bigstation | , |
core_usage_demod * | 100, | ||
'LineWidth' | , | ||
2 | , | ||
'LineStyle' | , | ||
'--' | |||
) |
plot | ( | n_bigstation | , |
core_usage_fft * | 100, | ||
'LineWidth' | , | ||
2 | , | ||
'LineStyle' | , | ||
'--' | |||
) |
plot | ( | n_bigstation | , |
core_usage_zf * | 100, | ||
'LineWidth' | , | ||
2 | , | ||
'LineStyle' | , | ||
'--' | |||
) |
plot | ( | n_bigstation | , |
min_x | , | ||
'LineWidth' | , | ||
2 | |||
) |
plot | ( | n_bigstation | , |
min_y | , | ||
'LineWidth' | , | ||
2 | |||
) |
plot | ( | n_bigstation | , |
min_y- | T, | ||
'LineWidth' | , | ||
2 | |||
) |
plot | ( | n_bigstation | , |
n_bigstation-n_fft- | min_x, | ||
'LineWidth' | , | ||
2 | |||
) |
plot | ( | n_bigstation | , |
n_fft * | oneslength(n_bigstation), 1, | ||
'LineWidth' | , | ||
2 | |||
) |
set | ( | gca | , |
'FontSize' | , | ||
18 | |||
) |
title | ( | 'Best core assignment policy' | ) |
title | ( | 'Core utilization' | ) |
title | ( | 'Frame Processing delay' | ) |
title | ( | 'Frame processing latency comparison' | ) |
title | ( | 'Frame processing time comparison' | ) |
title | ( | 'Frame Processing time' | ) |
title | ( | 'Minimum frame processing time' | ) |
xlabel | ( | 'Number of ZF cores' | ) |
xlabel | ( | 'Total number of cores' | ) |
|
inline |
ylabel | ( | 'Core utilization(%)' | ) |
ylabel | ( | 'Frame processing time(ms)' | ) |
ylabel | ( | 'Latency(ms)' | ) |
ylabel | ( | 'Number of cores' | ) |
ylabel | ( | 'Processing delay(ms)' | ) |
ylabel | ( | 'Processing time(ms)' | ) |
|
inline |
clf |
core_usage_bigstation = [] |
core_usage_demod = [] |
core_usage_fft = [] |
core_usage_zf = [] |
FontSize |
index = 0 |
elseif M = 8 |
min_x = [] |
min_y = [] |
CoMP n = 25 |
n_bigstation = n_min:30 |
n_zf_min = ceil(T_zf/T) |
grid on |
s = 70 |
sp = 8 |
T = 5 |
T_csi = 0.39 |
T_demod = 23.162 |
T_fft = 2.904 |
x = n_zf_min:(n-n_fft-n_demul_min) |
x1 = 9:(n-1-5) |
x2 = 9:(n-2-5) |
x3 = 9:(n-3-5) |
y = y1 |