>From d224db4bfed5d4ce0639062a920bafc6f9442e16 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sun, 22 Oct 2017 23:31:29 +0900 Subject: [PATCH 5/5] datastruct: Convert 'NUMA Topology of System Under Test' to figure This can be regarded as a figure drawn using the "tabular" environment. By using dashed rules of "arydshln" package, it looks more like a figure. Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- datastruct/datastruct.tex | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex index 46b4d8b..1dc2b49 100644 --- a/datastruct/datastruct.tex +++ b/datastruct/datastruct.tex @@ -458,7 +458,7 @@ Clearly something else is going on. The problem is that this is a multi-socket system, with CPUs~0-7 and~32-39 mapped to the first socket as shown in -Table~\ref{tab:datastruct:NUMA Topology of System Under Test}. +Figure~\ref{fig:datastruct:NUMA Topology of System Under Test}. Test runs confined to the first eight CPUs therefore perform quite well, but tests that involve socket~0's CPUs~0-7 as well as socket~1's CPU~8 incur the overhead of passing data across @@ -504,27 +504,36 @@ the caches, which in turn promotes locality of reference. The next section therefore examines optimizations that can be carried out in read-mostly cases where updates are rare, but could happen at any time. -\begin{table} +\setlength\dashlinedash{1pt} +\setlength\dashlinegap{2pt} + +\begin{figure} +\renewcommand*{\arraystretch}{1.2} \footnotesize \centering -\begin{tabular}{r|r|r|r|r|r|r|r|r} - Socket & \multicolumn{8}{|c}{Core} \\ +\begin{tabular}{r|r:r:r:r:r:r:r:r|} + Socket & \multicolumn{8}{c|}{Core} \\ \hline 0 & 0 & 1 & 2 & 3 & 4 & 5 & 6 & 7 \\ + \cdashline{2-9} & 32 & 33 & 34 & 35 & 36 & 37 & 38 & 39 \\ \hline 1 & 8 & 9 & 10 & 11 & 12 & 13 & 14 & 15 \\ + \cdashline{2-9} & 40 & 41 & 42 & 43 & 44 & 45 & 46 & 47 \\ \hline 2 & 16 & 17 & 18 & 19 & 20 & 21 & 22 & 23 \\ + \cdashline{2-9} & 48 & 49 & 50 & 51 & 52 & 53 & 54 & 55 \\ \hline 3 & 24 & 25 & 26 & 27 & 28 & 29 & 30 & 31 \\ + \cdashline{2-9} & 56 & 47 & 58 & 59 & 60 & 61 & 62 & 63 \\ + \hline \end{tabular} \caption{NUMA Topology of System Under Test} -\label{tab:datastruct:NUMA Topology of System Under Test} -\end{table} +\label{fig:datastruct:NUMA Topology of System Under Test} +\end{figure} \section{Read-Mostly Data Structures} \label{sec:datastruct:Read-Mostly Data Structures} -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html