Add white spaces before unit symbols
cover Add white spaces before unit symbols
From 27d084e3bffbcd26a56d56859145f449750fc7b1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Sun, 25 Jun 2017 08:53:02 +0900
Subject: [PATCH 0/5] Add white spaces before unit symbols
Hi Paul,
This is a patch series to do the same tweaks as I did in QC section. As NIST style guide covers only the SI units, I split the patches for SI units and non-SI units.
Patches 1 and 2 are for SI unit symbols.
Patch 3 improves the look of the "rt-regimes" figure. Patches 4 and 5 are for non-SI unit symbols. I'm not sure if you like these changes involving KB, MB, and GB symbols.
Strictly speaking, if you really want to stick to the NIST guide, they should be replaced with KiB, MiB, and GiB when they represent powers of 2. But I think in perfbook, there is no worry of confusion. So I stopped short of doing those changes.
Please apply as far as you like.
Thanks, Akira
Signature · 33 lines
Akira Yokosawa (5): treewide: Add narrow spaces before SI unit symbols treewide: Add whitespace before SI unit symbols in figures Substitute 'greek mu' for 'u' in microsecond symbol treewide: Add narrow spaces before non-SI unit symbols cartoons: Add whitespace before 'MB' SMPdesign/SMPdesign.tex | 2 +- SMPdesign/beyond.tex | 4 +-- advsync/memorybarriers.tex | 14 ++++---- appendix/questions/after.tex | 2 +- appendix/toyrcu/toyrcu.tex | 2 +- cartoons/r-2014-Old-man-and-Brat.svg | 2 +- count/count.tex | 2 +- cpu/SystemArch.fig | 2 +- cpu/hwfreelunch.tex | 4 +-- cpu/overheads.tex | 8 ++--- cpu/overview.tex | 6 ++-- cpu/swdesign.tex | 2 +- datastruct/datastruct.tex | 2 +- debugging/debugging.tex | 2 +- defer/rcuusage.tex | 4 +-- defer/refcnt.tex | 2 +- formal/dyntickrcu.tex | 4 +-- formal/spinhint.tex | 6 ++-- glossary.tex | 2 +- intro/intro.tex | 6 ++-- rt/rt-regimes.svg | 66 ++++++++++++++++++------------------ rt/rt.tex | 4 +-- 22 files changed, 74 insertions(+), 74 deletions(-) -- 2.7.4
PATCH 1/5 treewide: Add narrow spaces before SI unit symbols
From 16e6eb35f4f9a4b04fc252c4b805c7d892d917b4 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Sat, 24 Jun 2017 19:33:31 +0900
Subject: [PATCH 1/5] treewide: Add narrow spaces before SI unit symbols
--- SMPdesign/SMPdesign.tex | 2 +- SMPdesign/beyond.tex | 4 ++-- advsync/memorybarriers.tex | 14 +++++++------- appendix/questions/after.tex | 2 +- appendix/toyrcu/toyrcu.tex | 2 +- count/count.tex | 2 +- cpu/hwfreelunch.tex | 4 ++-- cpu/overheads.tex | 8 ++++---- cpu/swdesign.tex | 2 +- datastruct/datastruct.tex | 2 +- debugging/debugging.tex | 2 +- defer/rcuusage.tex | 4 ++-- defer/refcnt.tex | 2 +- glossary.tex | 2 +- intro/intro.tex | 4 ++-- rt/rt.tex | 4 ++-- 16 files changed, 30 insertions(+), 30 deletions(-)
SMPdesign/SMPdesign.tex +1 -1
@@ -1158,7 +1158,7 @@ Rough performance results\footnote{ match more careful evaluations of similar algorithms.} are shown in Figure~\ref{fig:SMPdesign:Allocator Cache Performance}, -running on a dual-core Intel x86 running at 1GHz (4300 bogomips per CPU) +running on a dual-core Intel x86 running at 1\,GHz (4300 bogomips per CPU) with at most six blocks allowed in each CPU's cache. In this micro-benchmark, each thread repeatedly allocates a group of blocks and then frees all
SMPdesign/beyond.tex +2 -2
@@ -196,7 +196,7 @@ attempts to record cells in the \co{->visited[]} array. This approach does provide significant speedups on a dual-CPU Lenovo\textsuperscript\texttrademark W500 -running at 2.53GHz, as shown in +running at 2.53\,GHz, as shown in Figure~\ref{fig:SMPdesign:CDF of Solution Times For SEQ and PWQ}, which shows the cumulative distribution functions (CDFs) for the solution times of the two algorithms, based on the solution of 500 different square
@@ -576,7 +576,7 @@ This disappointing performance compared to results in Figure~\ref{fig:SMPdesign:Varying Maze Size vs. COPART} is due to the less-tightly integrated hardware available in the larger and older Xeon\textsuperscript\textregistered -system running at 2.66GHz. +system running at 2.66\,GHz. \subsection{Future Directions and Conclusions} \label{sec:SMPdesign:Future Directions and Conclusions}
advsync/memorybarriers.tex +7 -7
@@ -226,7 +226,7 @@ This line of reasoning, intuitively obvious though it may be, is completely and utterly incorrect. Please note that this is \emph{not} a theoretical assertion: actually running this code on real-world weakly-ordered hardware -(a 1.5GHz 16-CPU POWER 5 system) resulted in the assertion firing +(a 1.5\,GHz 16-CPU POWER 5 system) resulted in the assertion firing 16~times out of 10~million runs. Clearly, anyone who produces code with explicit memory barriers should do some extreme testing---although a proof of correctness might
@@ -333,10 +333,10 @@ if the shared variable had changed before entry into the loop. This allows us to plot each CPU's view of the value of \co{state.variable} over a 532-nanosecond time period, as shown in Figure~\ref{fig:advsync:A Variable With Multiple Simultaneous Values}. -This data was collected in 2006 on 1.5GHz POWER5 system with 8 cores, +This data was collected in 2006 on 1.5\,GHz POWER5 system with 8 cores, each containing a pair of hardware threads. CPUs~1, 2, 3, and~4 recorded the values, while CPU~0 controlled the test. -The timebase counter period was about 5.32ns, sufficiently fine-grained +The timebase counter period was about 5.32\,ns, sufficiently fine-grained to allow observations of intermediate cache states. \begin{figure}[htb]
@@ -349,13 +349,13 @@ to allow observations of intermediate cache states. Each horizontal bar represents the observations of a given CPU over time, with the black regions to the left indicating the time before the corresponding CPU's first measurement. -During the first 5ns, only CPU~3 has an opinion about the value of the +During the first 5\,ns, only CPU~3 has an opinion about the value of the variable. -During the next 10ns, CPUs~2 and~3 disagree on the value of the variable, +During the next 10\,ns, CPUs~2 and~3 disagree on the value of the variable, but thereafter agree that the value is~``2'', which is in fact the final agreed-upon value. -However, CPU~1 believes that the value is~``1'' for almost 300ns, and -CPU~4 believes that the value is~``4'' for almost 500ns. +However, CPU~1 believes that the value is~``1'' for almost 300\,ns, and +CPU~4 believes that the value is~``4'' for almost 500\,ns. \QuickQuiz{} How could CPUs possibly have different views of the
appendix/questions/after.tex +1 -1
@@ -127,7 +127,7 @@ e.g., where time has appeared to go backwards. One might intuitively expect that the difference between the producer and consumer timestamps would be quite small, as it should not take much time for the producer to record the timestamps or the values. -An excerpt of some sample output on a dual-core 1GHz x86 is shown in +An excerpt of some sample output on a dual-core 1\,GHz x86 is shown in Table~\ref{tab:app:questions:After Program Sample Output}. Here, the ``seq'' column is the number of times through the loop, the ``time'' column is the time of the anomaly in seconds, the ``delta''
appendix/toyrcu/toyrcu.tex +1 -1
@@ -1871,7 +1871,7 @@ a 64-CPU system. \QuickQuiz{} To be sure, the clock frequencies of Power - systems in 2008 were quite high, but even a 5GHz clock + systems in 2008 were quite high, but even a 5\,GHz clock frequency is insufficient to allow loops to be executed in 50~picoseconds! What is going on here?
count/count.tex +1 -1
@@ -3417,7 +3417,7 @@ courtesy of eventual consistency. Figure~\ref{tab:count:Limit Counter Performance on Power-6} shows the performance of the parallel limit-counting algorithms. Exact enforcement of the limits incurs a substantial performance -penalty, although on this 4.7GHz Power-6 system that penalty can be reduced +penalty, although on this 4.7\,GHz Power-6 system that penalty can be reduced by substituting signals for atomic operations. All of these implementations suffer from read-side lock contention in the face of concurrent readers.
cpu/hwfreelunch.tex +2 -2
@@ -22,8 +22,8 @@ As noted in Figure~\ref{fig:cpu:System Hardware Architecture} on page~\pageref{fig:cpu:System Hardware Architecture}, light can travel only about an 8-centimeters round trip -in a vacuum during the duration of a 1.8 GHz clock period. -This distance drops to about 3 centimeters for a 5 GHz clock. +in a vacuum during the duration of a 1.8\,GHz clock period. +This distance drops to about 3~centimeters for a 5\,GHz clock. Both of these distances are relatively small compared to the size of a modern computer system.
cpu/overheads.tex +4 -4
@@ -149,14 +149,14 @@ optimization. & 325,000,000\textcolor{white}{.0} \\ \\ \end{tabular} -\caption{Performance of Synchronization Mechanisms on 4-CPU 1.8GHz AMD Opteron 844 System} +\caption{Performance of Synchronization Mechanisms on 4-CPU 1.8\,GHz AMD Opteron 844 System} \label{tab:cpu:Performance of Synchronization Mechanisms on 4-CPU 1.8GHz AMD Opteron 844 System} \end{table} The overheads of some common operations important to parallel programs are displayed in Table~\ref{tab:cpu:Performance of Synchronization Mechanisms on 4-CPU 1.8GHz AMD Opteron 844 System}. -This system's clock period rounds to 0.6ns. +This system's clock period rounds to 0.6\,ns. Although it is not unusual for modern microprocessors to be able to retire multiple instructions per clock period, the operations's costs are nevertheless normalized to a clock period in the third column, labeled
@@ -246,7 +246,7 @@ global agreement. Global Comms & 195,000,000\textcolor{white}{.0} & 542,000,000\textcolor{white}{.0} \\ \end{tabular} -\caption{Performance of Synchronization Mechanisms on 16-CPU 2.8GHz Intel X5550 (Nehalem) System} +\caption{Performance of Synchronization Mechanisms on 16-CPU 2.8\,GHz Intel X5550 (Nehalem) System} \label{tab:cpu:Performance of Synchronization Mechanisms on 16-CPU 2.8GHz Intel X5550 (Nehalem) System} \end{table}
@@ -254,7 +254,7 @@ global agreement. miniaturization, which in turn limits frequency. And even this sidesteps the power-consumption issue that is currently holding production frequencies to well below - 10 GHz. + 10\,GHz. Nevertheless, some progress is being made, as may be seen by comparing
cpu/swdesign.tex +1 -1
@@ -14,7 +14,7 @@ These CAS operations will typically involve a cache miss, that is, assuming that the threads are communicating primarily with each other rather than with themselves. Suppose further that the unit of work corresponding to each CAS communication -operation takes 300ns, which is sufficient time to compute several +operation takes 300\,ns, which is sufficient time to compute several floating-point transcendental functions. Then about half of the execution time will be consumed by the CAS communication operations!
datastruct/datastruct.tex +1 -1
@@ -393,7 +393,7 @@ The \co{hashtab_free()} function on lines~20-23 is straightforward. \label{fig:datastruct:Read-Only Hash-Table Performance For Schroedinger's Zoo} \end{figure} -The performance results for an eight-CPU 2GHz +The performance results for an eight-CPU 2\,GHz Intel\textsuperscript\textregistered Xeon\textsuperscript\textregistered system using a bucket-locked hash table with 1024 buckets are shown in
debugging/debugging.tex +1 -1
@@ -529,7 +529,7 @@ of failure. These brute-force testing tools are all valuable, especially now that typical systems have more than 64K of memory and CPUs running -faster than 4MHz. +faster than 4\,MHz. Much has been written about these tools, so this chapter will add little more.
defer/rcuusage.tex +2 -2
@@ -271,7 +271,7 @@ Figure~\ref{fig:defer:Performance Advantage of RCU Over Reader-Writer Locking}. \QuickQuiz{} WTF? How the heck do you expect me to believe that RCU has a - 100-femtosecond overhead when the clock period at 3GHz is more than + 100-femtosecond overhead when the clock period at 3\,GHz is more than 300 \emph{picoseconds}? \QuickQuizAnswer{ First, consider that the inner loop used to
@@ -767,7 +767,7 @@ Section~\ref{sec:together:Refurbish Reference Counting}. But why bother? Again, part of the answer is performance, as shown in Figure~\ref{fig:defer:Performance of RCU vs. Reference Counting}, -again showing data taken on a 16-CPU 3GHz Intel x86 system. +again showing data taken on a 16-CPU 3\,GHz Intel x86 system. \QuickQuiz{} Why the dip in refcnt overhead near 6 CPUs?
defer/refcnt.tex +1 -1
@@ -201,7 +201,7 @@ the reference count is zero. Figure~\ref{fig:defer:Pre-BSD Routing Table Protected by Reference Counting} shows the performance and scalability of reference counting on a read-only workload with a ten-element list running on a -single-socket four-core hyperthreaded 2.5GHz x86 system. +single-socket four-core hyperthreaded 2.5\,GHz x86 system. The ``ideal'' trace was generated by running the sequential code shown in Figure~\ref{fig:defer:Sequential Pre-BSD Routing Table}, which works only because this is a read-only workload.
glossary.tex +1 -1
@@ -391,7 +391,7 @@ For example, if the conditions were exactly right, the Intel Pentium Pro CPU from the mid-1990s could execute two (and sometimes three) instructions per clock cycle. - Thus, a 200MHz Pentium Pro CPU could ``retire'', or complete the + Thus, a 200\,MHz Pentium Pro CPU could ``retire'', or complete the execution of, up to 400 million instructions per second. \item[Teachable:] A topic, concept, method, or mechanism that the teacher understands
intro/intro.tex +2 -2
@@ -421,8 +421,8 @@ One such machine was the CSIRAC, the oldest still-intact stored-program computer, which was put into operation in 1949~\cite{CSIRACMuseumVictoria,CSIRACUniversityMelbourne}. Because this machine was built before the transistor era, it was constructed -of 2,000 vacuum tubes, ran with a clock frequency of 1kHz, -consumed 30kW of power, and weighed more than three metric tons. +of 2,000 vacuum tubes, ran with a clock frequency of 1\,kHz, +consumed 30\,kW of power, and weighed more than three metric tons. Given that this machine had but 768 words of RAM, it is safe to say that it did not suffer from the productivity issues that often plague today's large-scale software projects.
rt/rt.tex +2 -2
@@ -899,14 +899,14 @@ levels. \begin{figure}[tb] \centering \resizebox{3.0in}{!}{\includegraphics{cartoons/1kHz}} -\caption{Timer Wheel at 1kHz} +\caption{Timer Wheel at 1\,kHz} \ContributedBy{Figure}{fig:rt:Timer Wheel at 1kHz}{Melissa Broussard} \end{figure} \begin{figure}[tb] \centering \resizebox{3.0in}{!}{\includegraphics{cartoons/100kHz}} -\caption{Timer Wheel at 100kHz} +\caption{Timer Wheel at 100\,kHz} \ContributedBy{Figure}{fig:rt:Timer Wheel at 100kHz}{Melissa Broussard} \end{figure}
Signature · 1 line
2.7.4
PATCH 2/5 treewide: Add whitespace before SI unit symbols in figures
In reply to Akira YokosawaFrom 01cf06395e90583eb8ddbeb1407362fd96618b96 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Sat, 24 Jun 2017 19:38:12 +0900
Subject: [PATCH 2/5] treewide: Add whitespace before SI unit symbols in figures
Those in .fig and .svg can be edited directly.
--- cpu/SystemArch.fig | 2 +- rt/rt-regimes.svg | 66 +++++++++++++++++++++++++++--------------------------- 2 files changed, 34 insertions(+), 34 deletions(-)
cpu/SystemArch.fig +1 -1
@@ -148,5 +148,5 @@ Single 4 1 0 50 -1 16 9 0.0000 4 150 555 375 1200 Memory\001 4 1 0 50 -1 16 9 0.0000 4 150 555 3225 1200 Memory\001 4 1 0 50 -1 16 9 0.0000 4 150 3255 1800 2850 Speed-of-Light Round-Trip Distance in Vacuum\001 -4 1 0 50 -1 16 9 0.0000 4 150 2175 1800 3045 for 1.8GHz Clock Period (8cm)\001 +4 1 0 50 -1 16 9 0.0000 4 150 2175 1800 3045 for 1.8 GHz Clock Period (8 cm)\001 4 1 0 50 -1 16 9 0.0000 4 150 1440 1800 1200 System Interconnect\001
rt/rt-regimes.svg +33 -33
157 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 3/5 Substitute 'greek mu' for 'u' in microsecond symbol
In reply to Akira YokosawaFrom 03c83dbdba90521f6764db146528bdc0bf5b9b78 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Sat, 24 Jun 2017 22:13:22 +0900
Subject: [PATCH 3/5] Substitute 'greek mu' for 'u' in microsecond symbol
We can use "greek mu letter" encoded in UTF-8 in .svg text.
--- rt/rt-regimes.svg | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
rt/rt-regimes.svg +3 -3
@@ -177,7 +177,7 @@ sodipodi:role="line" id="tspan3871" x="8359.7979" - y="4715.9282">1 us</tspan></text> + y="4715.9282">1 μs</tspan></text> <text xml:space="preserve" style="font-size:106.90753174px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;writing-mode:lr-tb;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Symbol;-inkscape-font-specification:Symbol"
@@ -188,7 +188,7 @@ sodipodi:role="line" id="tspan3875" x="8333.0713" - y="4555.9136">10 us</tspan></text> + y="4555.9136">10 μs</tspan></text> <text sodipodi:linespacing="125%" id="text3877"
@@ -199,7 +199,7 @@ y="4395.2036" x="8306.3447" id="tspan3879" - sodipodi:role="line">100 us</tspan></text> + sodipodi:role="line">100 μs</tspan></text> <text sodipodi:linespacing="125%" id="text3881"
Signature · 1 line
2.7.4
PATCH 4/5 treewide: Add narrow spaces before non-SI unit symbols
In reply to Akira YokosawaFrom 64220c4713a15cec809cec8b7826d01fdbd325a4 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Sat, 24 Jun 2017 19:39:55 +0900
Subject: [PATCH 4/5] treewide: Add narrow spaces before non-SI unit symbols
KB, MB, and GB are not covered in NIST style guide. Although it is common not to place white spaces before them in computer technology literature, this commit adds narrow spaces before them for consistency with SI unit symbols.
--- cpu/overview.tex | 6 +++--- formal/dyntickrcu.tex | 4 ++-- formal/spinhint.tex | 6 +++--- intro/intro.tex | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-)
cpu/overview.tex +3 -3
@@ -92,15 +92,15 @@ thousands of instructions in the time required to access memory. This disparity is due to the fact that Moore's Law has increased CPU performance at a much greater rate than it has decreased memory latency, in part due to the rate at which memory sizes have grown. -For example, a typical 1970s minicomputer might have 4KB (yes, kilobytes, +For example, a typical 1970s minicomputer might have 4\,KB (yes, kilobytes, not megabytes, let alone gigabytes) of main memory, with single-cycle access.\footnote{ It is only fair to add that each of these single cycles lasted no less than 1.6 \emph{microseconds}.} -In 2008, CPU designers still can construct a 4KB memory with single-cycle +In 2008, CPU designers still can construct a 4\,KB memory with single-cycle access, even on systems with multi-GHz clock frequencies. And in fact they frequently do construct such memories, but they now -call them ``level-0 caches'', and they can be quite a bit bigger than 4KB. +call them ``level-0 caches'', and they can be quite a bit bigger than 4\,KB. \begin{figure}[htb] \centering
formal/dyntickrcu.tex +2 -2
@@ -55,14 +55,14 @@ Promela and spin~\cite{Holzmann03a}, as described in Chapter~\ref{chp:Formal Verification}. The following presents a series of seven increasingly realistic Promela models, the last of which passes, consuming about -40GB of main memory for the state space. +40\,GB of main memory for the state space. More important, Promela and Spin did find a very subtle bug for me! \QuickQuiz{} Yeah, that's just great! Now, just what am I supposed to do if I don't happen to have a - machine with 40GB of main memory??? + machine with 40\,GB of main memory??? \QuickQuizAnswer{ Relax, there are a number of lawful answers to this question:
formal/spinhint.tex +3 -3
@@ -378,7 +378,7 @@ as a function of number of incrementers modeled (by redefining {\tt NUMPROCS}): Running unnecessarily large models is thus subtly discouraged, although -652MB is well within the limits of modern desktop and laptop machines. +652\,MB is well within the limits of modern desktop and laptop machines. With this example under our belt, let's take a closer look at the commands used to analyze Promela models and then look at more
@@ -410,7 +410,7 @@ Given a source file \path{qrcu.spin}, one can use the following commands: can reach into the tens of millions with very small state machines, so you will need a machine with large memory. For example, \path{qrcu.spin} with 3 readers and 2 updaters required - 2.7GB of memory. + 2.7\,GB of memory. If you aren't sure whether your machine has enough memory, run \co{top} in one window and \co{./pan} in another. Keep the
@@ -484,7 +484,7 @@ C++, or Java. only six states, more than a five-fold reduction. That factor of five might not seem like a problem, at least not until you are struggling with a verification program possessing more than - 150 million states consuming more than 10GB of memory! + 150 million states consuming more than 10\,GB of memory! \item One of the most challenging things both in C torture-test code and in Promela is formulating good assertions. Promela also allows \co{never} claims that act sort of like an assertion replicated
intro/intro.tex +1 -1
@@ -164,7 +164,7 @@ as discussed in Section~\ref{sec:cpu:Hardware Free Lunch?}. In contrast, in 2006, Paul finds himself typing these words on a dual-core x86 laptop. Unlike the dual-80486 CPU boards, this laptop also contains - 2GB of main memory, a 60GB disk drive, a display, Ethernet, + 2\,GB of main memory, a 60\,GB disk drive, a display, Ethernet, USB ports, wireless, and Bluetooth. And the laptop is more than an order of magnitude cheaper than even one of those dual-80486 CPU boards, even before taking inflation
Signature · 1 line
2.7.4
PATCH 5/5 cartoons: Add whitespace before 'MB'
In reply to Akira YokosawaFrom 27d084e3bffbcd26a56d56859145f449750fc7b1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <[email protected]>
Date: Sat, 24 Jun 2017 19:40:55 +0900
Subject: [PATCH 5/5] cartoons: Add whitespace before 'MB'
--- cartoons/r-2014-Old-man-and-Brat.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
cartoons/r-2014-Old-man-and-Brat.svg +1 -1
@@ -1012,7 +1012,7 @@ y="385.73593" x="353.40988" sodipodi:role="line" - id="tspan19543">4.0 GHz clock, 20MB L3 </tspan><tspan + id="tspan19543">4.0 GHz clock, 20 MB L3 </tspan><tspan style="font-size:25px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:center;text-anchor:middle;font-family:Steel City Comic;-inkscape-font-specification:Steel City Comic" y="416.98593" x="349.94308"
Signature · 1 line
2.7.4
Quoted 16 lines · Akira Yokosawa
Quoted 1 line
From
27d084e3bffbcd26a56d56859145f449750fc7b1Mon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Sun, 25 Jun 2017 08:53:02 +0900
Subject: [PATCH 0/5] Add white spaces before unit symbolsHi Paul,
This is a patch series to do the same tweaks as I did in QC section. As NIST style guide covers only the SI units, I split the patches for SI units and non-SI units.
Patches 1 and 2 are for SI unit symbols.
Patch 3 improves the look of the "rt-regimes" figure. Patches 4 and 5 are for non-SI unit symbols. I'm not sure if you like these changes involving KB, MB, and GB symbols.
Quoted 6 lines
Strictly speaking, if you really want to stick to the NIST guide, they should be replaced with KiB, MiB, and GiB when they represent powers of 2. But I think in perfbook, there is no worry of confusion. So I stopped short of doing those changes.
Please apply as far as you like.
Applied and pushed, thank you!
Would you be willing to add a style guide, perhaps in appendix/questions? That could be quite helpful to people wishing contribute -- including me. ;-)
Thanx, Paul
Quoted 38 lines
Thanks, Akira
Signature · 33 lines
Akira Yokosawa (5): treewide: Add narrow spaces before SI unit symbols treewide: Add whitespace before SI unit symbols in figures Substitute 'greek mu' for 'u' in microsecond symbol treewide: Add narrow spaces before non-SI unit symbols cartoons: Add whitespace before 'MB' SMPdesign/SMPdesign.tex | 2 +- SMPdesign/beyond.tex | 4 +-- advsync/memorybarriers.tex | 14 ++++---- appendix/questions/after.tex | 2 +- appendix/toyrcu/toyrcu.tex | 2 +- cartoons/r-2014-Old-man-and-Brat.svg | 2 +- count/count.tex | 2 +- cpu/SystemArch.fig | 2 +- cpu/hwfreelunch.tex | 4 +-- cpu/overheads.tex | 8 ++--- cpu/overview.tex | 6 ++-- cpu/swdesign.tex | 2 +- datastruct/datastruct.tex | 2 +- debugging/debugging.tex | 2 +- defer/rcuusage.tex | 4 +-- defer/refcnt.tex | 2 +- formal/dyntickrcu.tex | 4 +-- formal/spinhint.tex | 6 ++-- glossary.tex | 2 +- intro/intro.tex | 6 ++-- rt/rt-regimes.svg | 66 ++++++++++++++++++------------------ rt/rt.tex | 4 +-- 22 files changed, 74 insertions(+), 74 deletions(-) -- 2.7.4
Quoted 22 lines · Paul E. McKenney
Quoted 21 lines · Akira Yokosawa
Quoted 1 line
From
27d084e3bffbcd26a56d56859145f449750fc7b1Mon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Sun, 25 Jun 2017 08:53:02 +0900
Subject: [PATCH 0/5] Add white spaces before unit symbolsHi Paul,
This is a patch series to do the same tweaks as I did in QC section. As NIST style guide covers only the SI units, I split the patches for SI units and non-SI units.
Patches 1 and 2 are for SI unit symbols.
Patch 3 improves the look of the "rt-regimes" figure. Patches 4 and 5 are for non-SI unit symbols. I'm not sure if you like these changes involving KB, MB, and GB symbols.Strictly speaking, if you really want to stick to the NIST guide, they should be replaced with KiB, MiB, and GiB when they represent powers of 2. But I think in perfbook, there is no worry of confusion. So I stopped short of doing those changes.
Quoted 7 lines
Quoted 1 line
Please apply as far as you like.
Applied and pushed, thank you!
Would you be willing to add a style guide, perhaps in appendix/questions? That could be quite helpful to people wishing contribute -- including me. ;-)
Let me see what I can do. Maybe as a new chapter in appendix/styleguide. (appendix/questions is supposed to contain SMP related topics.)
It may also contain cheat sheet for LaTeX tricks.
Thanks, Akira
Quoted 43 lines
Thanx, Paul
Quoted 38 lines
Thanks, Akira
Signature · 33 lines
Akira Yokosawa (5): treewide: Add narrow spaces before SI unit symbols treewide: Add whitespace before SI unit symbols in figures Substitute 'greek mu' for 'u' in microsecond symbol treewide: Add narrow spaces before non-SI unit symbols cartoons: Add whitespace before 'MB' SMPdesign/SMPdesign.tex | 2 +- SMPdesign/beyond.tex | 4 +-- advsync/memorybarriers.tex | 14 ++++---- appendix/questions/after.tex | 2 +- appendix/toyrcu/toyrcu.tex | 2 +- cartoons/r-2014-Old-man-and-Brat.svg | 2 +- count/count.tex | 2 +- cpu/SystemArch.fig | 2 +- cpu/hwfreelunch.tex | 4 +-- cpu/overheads.tex | 8 ++--- cpu/overview.tex | 6 ++-- cpu/swdesign.tex | 2 +- datastruct/datastruct.tex | 2 +- debugging/debugging.tex | 2 +- defer/rcuusage.tex | 4 +-- defer/refcnt.tex | 2 +- formal/dyntickrcu.tex | 4 +-- formal/spinhint.tex | 6 ++-- glossary.tex | 2 +- intro/intro.tex | 6 ++-- rt/rt-regimes.svg | 66 ++++++++++++++++++------------------ rt/rt.tex | 4 +-- 22 files changed, 74 insertions(+), 74 deletions(-) -- 2.7.4
Quoted 27 lines · Akira Yokosawa
Quoted 26 lines · Paul E. McKenney
Quoted 16 lines · Akira Yokosawa
Quoted 1 line
From
27d084e3bffbcd26a56d56859145f449750fc7b1Mon Sep 17 00:00:00 2001From: Akira Yokosawa <[email protected]>
Date: Sun, 25 Jun 2017 08:53:02 +0900
Subject: [PATCH 0/5] Add white spaces before unit symbolsHi Paul,
This is a patch series to do the same tweaks as I did in QC section. As NIST style guide covers only the SI units, I split the patches for SI units and non-SI units.
Patches 1 and 2 are for SI unit symbols.
Patch 3 improves the look of the "rt-regimes" figure. Patches 4 and 5 are for non-SI unit symbols. I'm not sure if you like these changes involving KB, MB, and GB symbols.Quoted 6 lines
Strictly speaking, if you really want to stick to the NIST guide, they should be replaced with KiB, MiB, and GiB when they represent powers of 2. But I think in perfbook, there is no worry of confusion. So I stopped short of doing those changes.
Please apply as far as you like.
Applied and pushed, thank you!
Quoted 8 lines
Quoted 3 lines
Would you be willing to add a style guide, perhaps in appendix/questions? That could be quite helpful to people wishing contribute -- including me. ;-)
Let me see what I can do. Maybe as a new chapter in appendix/styleguide. (appendix/questions is supposed to contain SMP related topics.)
It may also contain cheat sheet for LaTeX tricks.
That sounds good!
Thanx, Paul
Quoted 46 lines
Thanks, Akira
Quoted 43 lines
Thanx, Paul
Quoted 38 lines
Thanks, Akira
Signature · 33 lines
Akira Yokosawa (5): treewide: Add narrow spaces before SI unit symbols treewide: Add whitespace before SI unit symbols in figures Substitute 'greek mu' for 'u' in microsecond symbol treewide: Add narrow spaces before non-SI unit symbols cartoons: Add whitespace before 'MB' SMPdesign/SMPdesign.tex | 2 +- SMPdesign/beyond.tex | 4 +-- advsync/memorybarriers.tex | 14 ++++---- appendix/questions/after.tex | 2 +- appendix/toyrcu/toyrcu.tex | 2 +- cartoons/r-2014-Old-man-and-Brat.svg | 2 +- count/count.tex | 2 +- cpu/SystemArch.fig | 2 +- cpu/hwfreelunch.tex | 4 +-- cpu/overheads.tex | 8 ++--- cpu/overview.tex | 6 ++-- cpu/swdesign.tex | 2 +- datastruct/datastruct.tex | 2 +- debugging/debugging.tex | 2 +- defer/rcuusage.tex | 4 +-- defer/refcnt.tex | 2 +- formal/dyntickrcu.tex | 4 +-- formal/spinhint.tex | 6 ++-- glossary.tex | 2 +- intro/intro.tex | 6 ++-- rt/rt-regimes.svg | 66 ++++++++++++++++++------------------ rt/rt.tex | 4 +-- 22 files changed, 74 insertions(+), 74 deletions(-) -- 2.7.4