\documentclass[tikz,border=5pt]{standalone}
\usepackage[cmex10]{amsmath}
\usepackage{amssymb}
\usepackage{xcolor}
\usepackage{tikz}
\usetikzlibrary{shapes,arrows,fit,positioning,shadows,calc}
\usetikzlibrary{plotmarks}
\usetikzlibrary{decorations.pathreplacing}
\usetikzlibrary{patterns}
\usetikzlibrary{automata}
\usepackage{pgfplots}
\pgfplotsset{compat=newest}
\begin{document}
\begin{tikzpicture}[font=\footnotesize]
\begin{axis}[
name=ber,
width = 0.5\columnwidth,
height = 0.3\columnwidth,
scale only axis,
xmin = 1,
xmax = 14,
xlabel= {$n(\times 1000)$},
xmajorgrids,
xtick ={2, 4, 6, 8, 10, 12},
xticklabels ={$2$, $4$, $6$, $8$, $10$,$12$},
ymin = 0.0,
ymax = 7,
ylabel={Speedup},
ymajorgrids,
ytick ={1, 2, 4, 6},
yticklabels ={$1$, $2$, $4$, $6$},
legend entries={$t_\text{rsvd}/t_\text{ruqlp}$-cpu,$t_\text{corutv}/t_\text{ruqlp}$-cpu, $t_\text{rptsod}/t_\text{ruqlp}$-cpu, $t_\text{rsvd}/t_\text{ruqlp}$-gpu, $t_\text{corutv}/t_\text{ruqlp}$-gpu, $t_\text{rptsod}/t_\text{ruqlp}$-gpu},
legend style={at={(1.58,1)},anchor=north east,draw=black,fill=white,legend cell align=left,font=\tiny},
]
\addplot[smooth,mark=square*,blue]
table[row sep=crcr]{
1 2.48310000000000 \\
2 2.76620000000000 \\
3 3.02370000000000 \\
4 2.98290000000000 \\
5 3.91340000000000 \\
6 4.49740000000000 \\
7 5.93560000000000 \\
8 6.33620000000000 \\
9 5.69350000000000 \\
10 5.52340000000000 \\
11 6.26480000000000 \\
12 6.89110000000000 \\
13 6.74870000000000 \\
14 6.44750000000000 \\
};
\addplot[smooth,mark=*,black]
table[row sep=crcr]{
1 1.46850000000000 \\
2 1.46210000000000\\
3 1.41280000000000\\
4 1.72590000000000\\
5 2.14540000000000\\
6 2.40380000000000\\
7 2.74300000000000\\
8 3.11710000000000\\
9 3.17140000000000\\
10 3.09280000000000\\
11 3.35200000000000\\
12 3.26430000000000\\
13 3.41610000000000\\
14 3.44910000000000 \\
};
\addplot[smooth,mark=diamond*,red]
table[row sep=crcr]{
1 2.11280000000000 \\
2 2.20640000000000 \\
3 2.10420000000000 \\
4 2.66020000000000 \\
5 3.23020000000000 \\
6 4.19960000000000 \\
7 4.32910000000000 \\
8 5.04630000000000 \\
9 5.15920000000000 \\
10 5.49890000000000 \\
11 5.83650000000000 \\
12 6.15000000000000 \\
13 6.16390000000000 \\
14 6.29940000000000 \\
};
\addplot[smooth,mark=pentagon*, teal]
table[row sep=crcr]{
1 1.87960000000000 \\
2 1.54040000000000 \\
3 1.54110000000000 \\
4 1.60140000000000 \\
5 1.66250000000000 \\
6 1.72590000000000 \\
7 1.71540000000000 \\
8 1.70050000000000 \\
9 1.76580000000000 \\
10 1.74090000000000 \\
11 1.86580000000000 \\
12 1.82860000000000 \\
13 1.86180000000000 \\
14 1.86840000000000 \\
};
\addplot[smooth,mark=asterisk, gray]
table[row sep=crcr]{
1 3.96870000000000 \\
2 2.07740000000000 \\
3 1.81170000000000 \\
4 1.71360000000000 \\
5 1.70300000000000 \\
6 1.69170000000000 \\
7 1.63610000000000 \\
8 1.62600000000000 \\
9 1.64020000000000 \\
10 1.58950000000000 \\
11 1.69140000000000 \\
12 1.65410000000000 \\
13 1.66380000000000 \\
14 1.65830000000000 \\
};
\addplot[smooth,mark=triangle*, orange]
table[row sep=crcr]{
1 0.96860000000000 \\
2 1.17130000000000 \\
3 1.12160000000000 \\
4 1.19820000000000 \\
5 1.16990000000000 \\
6 1.17340000000000 \\
7 1.15970000000000 \\
8 1.18640000000000 \\
9 1.18640000000000 \\
10 1.18480000000000 \\
11 1.22010000000000 \\
12 1.20920000000000 \\
13 1.21510000000000 \\
14 1.22080000000000 \\
};
\end{axis}
\end{tikzpicture}
\end{document}