I have two tables, and I want to put them in the same row in a two-column mode. But when I use the code below, none of them are aligned, and a table cannot be displayed completely. What should I do? Thank you!
\begin{table*}[t]
\begin{minipage}[t]{0.4\linewidth}
\begin{center}
\begin{tabular}[t]{|c|c|c|}
\hline
data load nums & W & L \\ \hline
p1 (k/ms) & $3.000*10^8$ &$3.000*10^8$ \\ \hline
p2 (k/ms) &$3.000*10^8$ & $3.000*10^8$ \\ \hline
p3 (k/ms) & $3.000*10^8$ & $3.000*10^8$ \\ \hline
Total (k/ms) & $3.000*10^8$ &$3.000*10^8$ \\ \hline
\end{tabular}
\caption{Process.}
\label{table:formatting}
\end{center}
\end{minipage}\hfill
\begin{minipage}[t]{0.6\linewidth}
\begin{center}
\begin{tabular}[t]{|c|c|c|c|c|c|c|}
\hline
& \textbf{\begin{tabular}[c]{@{}c@{}}p1 TB\\ Alg.1\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}sender \& pcc \\ Alg.1\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}sender only \\ Alg.1\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}p2 TB\\ Alg.2\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}sender \& pcc \\ Alg.2\end{tabular}} & \textbf{\begin{tabular}[c]{@{}c@{}}sender only \\ Alg.2\end{tabular}} \\ \hline
\textbf{L1D} & 0.041\% & 0.111\% & 0.111\% & 0.111\% & 0.111\% & 0.111\% \\ \hline
\textbf{L2} & 3.586\% & 0.111\% & 0.111\% & 0.111\% & 0.111\% & 0.111\% \\ \hline
\textbf{LLC} & 34.379\% & 0.111\% & 0.111\% & 0.111\% & 0.111\% & 0.111\% \\ \hline
\end{tabular}
\caption{ Algorithm 1.}
\label{table:formatting}
\end{center}
\end{minipage}%
\end{table*}




