I want to put two tables on one page but when it won't be positioned at the top of the page. this is the code:
\documentclass[
a4paper,
12pt,
blue,
rgb,
]{tubsbook}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{lipsum}
\usepackage{listings}
\usepackage{hyperref}
\usepackage{array,multirow}
\newcommand\mcbf[1]{\multicolumn{2}{|c|}{\textbf{#1}}}
\newcommand\mlbf[1]{\multicolumn{2}{|l|}{\textbf{#1}}}
\usepackage{graphicx}
\usepackage[activate]{pdfcprot}
\begin{document}
\begin{table}[htb]
\centering
\renewcommand\arraystretch{1.2}
\begin{tabular}{|>{\bfseries}c|>{\bfseries}l|c|}
\hline
\mcbf{Cortex A9 Parameters} & \textbf{Values} \\ \hline
\mcbf{Core clock} & 800 MHz \\ \hline
\multirow{5}{*}{L2} & Size & 512 kB \\ \cline{2-3}
& Associativity & 8 \\ \cline{2-3}
& Latency & 8 \\ \cline{2-3}
& MSHRs & 11 \\ \cline{2-3}
& Write buffers & 9 \\ \hline
\multirow{4}{*}{L1 - I} & Size & 32 kB \\ \cline{2-3}
& Associativity & 4 \\ \cline{2-3}
& Latency & 1 \\ \cline{2-3}
& MSHRs & 2 \\ \hline
\multirow{5}{*}{L1 - D} & Size & 32 kB \\ \cline{2-3}
& Associativity & 4 \\ \cline{2-3}
& Latency & 1 \\ \cline{2-3}
& MSHRs & 4 \\ \cline{2-3}
& Write buffers & 16 \\ \hline
{Stride prefetcher} & Degree & 1 \\ \hline
\multirow{2}{*}{Global BP} & Entries & 4096 \\ \cline{2-3}
& Bits & 2 \\ \hline
\mlbf{BTB entries} & 4096 \\ \hline
\mlbf{Return Address Stack (RAS) entries} & 8 \\ \hline
\mlbf{Issues width} & 2 \\ \hline
\mlbf{Pipeline stages} & 8 \\ \hline
\mlbf{Physical INT registers} & 62 \\ \hline
\mlbf{Physical FP registers} & 256 \\ \hline
\mlbf{IQ entries} & 32 \\ \hline
\mlbf{LSQ entries} & 8 / 8 \\ \hline
\mlbf{ROB entries} & 40 \\ \hline
\end{tabular}%
\caption{My caption}
\label{my-label}
\end{table}
\end{document}


[htb]to[!ht]will help. – Zarko Aug 20 '16 at 22:38!initially it's a sledgehammer of last resort for special cases where you want to over-ride the documentclass – David Carlisle Aug 20 '16 at 22:40[htb]that prevents float pages normally unless (as here) the table reaches the end of the document and is flushed out by\clearpagebetter not to use this option, or if you do use it, includep. The default is[tbp]– David Carlisle Aug 20 '16 at 22:42[!ht]is a sledgehammer of last resort ... but, testing your suggestion to use[tbp] and adding after table\lipsum[2]put\lipsum[2]text on the first page and move table on the second one (verticaly centered). This gave me to thing that the table is so big that it require whole page for itself. In test I use standardarticle` document class. – Zarko Aug 20 '16 at 22:51articledocument. It seems that your table is taller than fraction of text height reserved for floats in page. So a possible solution is change default settings, as noted David in his comments. About his see http://tex.stackexchange.com/questions/192622/is-there-a-value-for-textfraction-and-totalnumber-floatpagefraction-that-i-s and also http://tex.stackexchange.com/questions/68516/avoid-that-figure-gets-its-own-page. As sledgehammer of last resort can serve my suggestion in my comment above. – Zarko Aug 20 '16 at 23:38