* [PATCH 0/5] Add white spaces before unit symbols
@ 2017-06-24 23:59 Akira Yokosawa
2017-06-25 0:02 ` [PATCH 1/5] treewide: Add narrow spaces before SI " Akira Yokosawa
` (5 more replies)
0 siblings, 6 replies; 9+ messages in thread
From: Akira Yokosawa @ 2017-06-24 23:59 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 27d084e3bffbcd26a56d56859145f449750fc7b1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
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
--
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH 1/5] treewide: Add narrow spaces before SI unit symbols
2017-06-24 23:59 [PATCH 0/5] Add white spaces before unit symbols Akira Yokosawa
@ 2017-06-25 0:02 ` Akira Yokosawa
2017-06-25 0:04 ` [PATCH 2/5] treewide: Add whitespace before SI unit symbols in figures Akira Yokosawa
` (4 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Akira Yokosawa @ 2017-06-25 0:02 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 16e6eb35f4f9a4b04fc252c4b805c7d892d917b4 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sat, 24 Jun 2017 19:33:31 +0900
Subject: [PATCH 1/5] treewide: Add narrow spaces before SI unit symbols
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
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(-)
diff --git a/SMPdesign/SMPdesign.tex b/SMPdesign/SMPdesign.tex
index aa40139..842341f 100644
--- a/SMPdesign/SMPdesign.tex
+++ b/SMPdesign/SMPdesign.tex
@@ -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
diff --git a/SMPdesign/beyond.tex b/SMPdesign/beyond.tex
index ee1a27d..7ba351e 100644
--- a/SMPdesign/beyond.tex
+++ b/SMPdesign/beyond.tex
@@ -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}
diff --git a/advsync/memorybarriers.tex b/advsync/memorybarriers.tex
index 5e39ec5..e9e9de1 100644
--- a/advsync/memorybarriers.tex
+++ b/advsync/memorybarriers.tex
@@ -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
diff --git a/appendix/questions/after.tex b/appendix/questions/after.tex
index e648667..9944bcf 100644
--- a/appendix/questions/after.tex
+++ b/appendix/questions/after.tex
@@ -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''
diff --git a/appendix/toyrcu/toyrcu.tex b/appendix/toyrcu/toyrcu.tex
index 3f19662..db45fad 100644
--- a/appendix/toyrcu/toyrcu.tex
+++ b/appendix/toyrcu/toyrcu.tex
@@ -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?
diff --git a/count/count.tex b/count/count.tex
index 1b5b030..f1645ee 100644
--- a/count/count.tex
+++ b/count/count.tex
@@ -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.
diff --git a/cpu/hwfreelunch.tex b/cpu/hwfreelunch.tex
index 3ad4b5f..b449ba2 100644
--- a/cpu/hwfreelunch.tex
+++ b/cpu/hwfreelunch.tex
@@ -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.
diff --git a/cpu/overheads.tex b/cpu/overheads.tex
index 5af4fdf..16b2b30 100644
--- a/cpu/overheads.tex
+++ b/cpu/overheads.tex
@@ -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
diff --git a/cpu/swdesign.tex b/cpu/swdesign.tex
index 05de1f0..0b8a3a2 100644
--- a/cpu/swdesign.tex
+++ b/cpu/swdesign.tex
@@ -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!
diff --git a/datastruct/datastruct.tex b/datastruct/datastruct.tex
index 96ebd4c..fad7668 100644
--- a/datastruct/datastruct.tex
+++ b/datastruct/datastruct.tex
@@ -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
diff --git a/debugging/debugging.tex b/debugging/debugging.tex
index c41057f..0199720 100644
--- a/debugging/debugging.tex
+++ b/debugging/debugging.tex
@@ -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.
diff --git a/defer/rcuusage.tex b/defer/rcuusage.tex
index 9a90a14..af4faff 100644
--- a/defer/rcuusage.tex
+++ b/defer/rcuusage.tex
@@ -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?
diff --git a/defer/refcnt.tex b/defer/refcnt.tex
index c231961..942f529 100644
--- a/defer/refcnt.tex
+++ b/defer/refcnt.tex
@@ -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.
diff --git a/glossary.tex b/glossary.tex
index 8fdd9af..9635ffa 100644
--- a/glossary.tex
+++ b/glossary.tex
@@ -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
diff --git a/intro/intro.tex b/intro/intro.tex
index 0b8659e..bf512f6 100644
--- a/intro/intro.tex
+++ b/intro/intro.tex
@@ -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.
diff --git a/rt/rt.tex b/rt/rt.tex
index 00ced4c..2f5d4fe 100644
--- a/rt/rt.tex
+++ b/rt/rt.tex
@@ -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}
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 2/5] treewide: Add whitespace before SI unit symbols in figures
2017-06-24 23:59 [PATCH 0/5] Add white spaces before unit symbols Akira Yokosawa
2017-06-25 0:02 ` [PATCH 1/5] treewide: Add narrow spaces before SI " Akira Yokosawa
@ 2017-06-25 0:04 ` Akira Yokosawa
2017-06-25 0:05 ` [PATCH 3/5] Substitute 'greek mu' for 'u' in microsecond symbol Akira Yokosawa
` (3 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Akira Yokosawa @ 2017-06-25 0:04 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 01cf06395e90583eb8ddbeb1407362fd96618b96 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
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.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
cpu/SystemArch.fig | 2 +-
rt/rt-regimes.svg | 66 +++++++++++++++++++++++++++---------------------------
2 files changed, 34 insertions(+), 34 deletions(-)
diff --git a/cpu/SystemArch.fig b/cpu/SystemArch.fig
index 5b46d33..0860be5 100644
--- a/cpu/SystemArch.fig
+++ b/cpu/SystemArch.fig
@@ -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
diff --git a/rt/rt-regimes.svg b/rt/rt-regimes.svg
index c162bc2..79f008d 100644
--- a/rt/rt-regimes.svg
+++ b/rt/rt-regimes.svg
@@ -126,124 +126,124 @@
<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"
- x="8420.4551"
+ x="8393.7285"
y="3593.3965"
id="text3849"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3851"
- x="8420.4551"
- y="3593.3965">1s</tspan></text>
+ x="8393.7285"
+ y="3593.3965">1 s</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3853"
y="4127.9331"
- x="8368.3584"
+ x="8341.6318"
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"
xml:space="preserve"><tspan
y="4127.9331"
- x="8368.3584"
+ x="8341.6318"
id="tspan3855"
- sodipodi:role="line">1ms</tspan></text>
+ sodipodi:role="line">1 ms</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3861"
y="3967.9194"
- x="8341.6318"
+ x="8314.9053"
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"
xml:space="preserve"><tspan
y="3967.9194"
- x="8341.6318"
+ x="8314.9053"
id="tspan3863"
- sodipodi:role="line">10ms</tspan></text>
+ sodipodi:role="line">10 ms</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"
- x="8314.9053"
+ x="8288.1787"
y="3807.2112"
id="text3865"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3867"
- x="8314.9053"
- y="3807.2112">100ms</tspan></text>
+ x="8288.1787"
+ y="3807.2112">100 ms</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"
- x="8386.5244"
+ x="8359.7979"
y="4715.9282"
id="text3869"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3871"
- x="8386.5244"
- y="4715.9282">1us</tspan></text>
+ x="8359.7979"
+ y="4715.9282">1 us</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"
- x="8359.7979"
+ x="8333.0713"
y="4555.9136"
id="text3873"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3875"
- x="8359.7979"
- y="4555.9136">10us</tspan></text>
+ x="8333.0713"
+ y="4555.9136">10 us</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3877"
y="4395.2036"
- x="8333.0713"
+ x="8306.3447"
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"
xml:space="preserve"><tspan
y="4395.2036"
- x="8333.0713"
+ x="8306.3447"
id="tspan3879"
- sodipodi:role="line">100us</tspan></text>
+ sodipodi:role="line">100 us</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3881"
y="5277.1963"
- x="8386.5244"
+ x="8359.7979"
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"
xml:space="preserve"><tspan
y="5277.1963"
- x="8386.5244"
+ x="8359.7979"
id="tspan3883"
- sodipodi:role="line">1ns</tspan></text>
+ sodipodi:role="line">1 ns</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3885"
y="5117.1816"
- x="8359.7979"
+ x="8333.0713"
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"
xml:space="preserve"><tspan
y="5117.1816"
- x="8359.7979"
+ x="8333.0713"
id="tspan3887"
- sodipodi:role="line">10ns</tspan></text>
+ sodipodi:role="line">10 ns</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"
- x="8333.0713"
+ x="8306.3447"
y="4956.4717"
id="text3889"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3891"
- x="8333.0713"
- y="4956.4717">100ns</tspan></text>
+ x="8306.3447"
+ y="4956.4717">100 ns</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3893"
y="5517.7397"
- x="8333.0713"
+ x="8306.3447"
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"
xml:space="preserve"><tspan
y="5517.7397"
- x="8333.0713"
+ x="8306.3447"
id="tspan3895"
- sodipodi:role="line">100ps</tspan></text>
+ sodipodi:role="line">100 ps</tspan></text>
<text
xml:space="preserve"
style="font-size:10px;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"
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 3/5] Substitute 'greek mu' for 'u' in microsecond symbol
2017-06-24 23:59 [PATCH 0/5] Add white spaces before unit symbols Akira Yokosawa
2017-06-25 0:02 ` [PATCH 1/5] treewide: Add narrow spaces before SI " Akira Yokosawa
2017-06-25 0:04 ` [PATCH 2/5] treewide: Add whitespace before SI unit symbols in figures Akira Yokosawa
@ 2017-06-25 0:05 ` Akira Yokosawa
2017-06-25 0:07 ` [PATCH 4/5] treewide: Add narrow spaces before non-SI unit symbols Akira Yokosawa
` (2 subsequent siblings)
5 siblings, 0 replies; 9+ messages in thread
From: Akira Yokosawa @ 2017-06-25 0:05 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 03c83dbdba90521f6764db146528bdc0bf5b9b78 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
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.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
rt/rt-regimes.svg | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rt/rt-regimes.svg b/rt/rt-regimes.svg
index 79f008d..0d9d234 100644
--- a/rt/rt-regimes.svg
+++ b/rt/rt-regimes.svg
@@ -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"
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 4/5] treewide: Add narrow spaces before non-SI unit symbols
2017-06-24 23:59 [PATCH 0/5] Add white spaces before unit symbols Akira Yokosawa
` (2 preceding siblings ...)
2017-06-25 0:05 ` [PATCH 3/5] Substitute 'greek mu' for 'u' in microsecond symbol Akira Yokosawa
@ 2017-06-25 0:07 ` Akira Yokosawa
2017-06-25 0:08 ` [PATCH 5/5] cartoons: Add whitespace before 'MB' Akira Yokosawa
2017-06-25 3:24 ` [PATCH 0/5] Add white spaces before unit symbols Paul E. McKenney
5 siblings, 0 replies; 9+ messages in thread
From: Akira Yokosawa @ 2017-06-25 0:07 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 64220c4713a15cec809cec8b7826d01fdbd325a4 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
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.
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
cpu/overview.tex | 6 +++---
formal/dyntickrcu.tex | 4 ++--
formal/spinhint.tex | 6 +++---
intro/intro.tex | 2 +-
4 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/cpu/overview.tex b/cpu/overview.tex
index b92c42c..f5c5558 100644
--- a/cpu/overview.tex
+++ b/cpu/overview.tex
@@ -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
diff --git a/formal/dyntickrcu.tex b/formal/dyntickrcu.tex
index 55b2723..80fa3e7 100644
--- a/formal/dyntickrcu.tex
+++ b/formal/dyntickrcu.tex
@@ -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:
diff --git a/formal/spinhint.tex b/formal/spinhint.tex
index a18ae23..a40d2c3 100644
--- a/formal/spinhint.tex
+++ b/formal/spinhint.tex
@@ -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
diff --git a/intro/intro.tex b/intro/intro.tex
index bf512f6..8eaa196 100644
--- a/intro/intro.tex
+++ b/intro/intro.tex
@@ -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
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH 5/5] cartoons: Add whitespace before 'MB'
2017-06-24 23:59 [PATCH 0/5] Add white spaces before unit symbols Akira Yokosawa
` (3 preceding siblings ...)
2017-06-25 0:07 ` [PATCH 4/5] treewide: Add narrow spaces before non-SI unit symbols Akira Yokosawa
@ 2017-06-25 0:08 ` Akira Yokosawa
2017-06-25 3:24 ` [PATCH 0/5] Add white spaces before unit symbols Paul E. McKenney
5 siblings, 0 replies; 9+ messages in thread
From: Akira Yokosawa @ 2017-06-25 0:08 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
From 27d084e3bffbcd26a56d56859145f449750fc7b1 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@gmail.com>
Date: Sat, 24 Jun 2017 19:40:55 +0900
Subject: [PATCH 5/5] cartoons: Add whitespace before 'MB'
Signed-off-by: Akira Yokosawa <akiyks@gmail.com>
---
cartoons/r-2014-Old-man-and-Brat.svg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cartoons/r-2014-Old-man-and-Brat.svg b/cartoons/r-2014-Old-man-and-Brat.svg
index ac27bcd..2accabc 100644
--- a/cartoons/r-2014-Old-man-and-Brat.svg
+++ b/cartoons/r-2014-Old-man-and-Brat.svg
@@ -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"
--
2.7.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH 0/5] Add white spaces before unit symbols
2017-06-24 23:59 [PATCH 0/5] Add white spaces before unit symbols Akira Yokosawa
` (4 preceding siblings ...)
2017-06-25 0:08 ` [PATCH 5/5] cartoons: Add whitespace before 'MB' Akira Yokosawa
@ 2017-06-25 3:24 ` Paul E. McKenney
2017-06-26 15:12 ` Akira Yokosawa
5 siblings, 1 reply; 9+ messages in thread
From: Paul E. McKenney @ 2017-06-25 3:24 UTC (permalink / raw)
To: Akira Yokosawa; +Cc: perfbook
On Sun, Jun 25, 2017 at 08:59:32AM +0900, Akira Yokosawa wrote:
> >From 27d084e3bffbcd26a56d56859145f449750fc7b1 Mon Sep 17 00:00:00 2001
> From: Akira Yokosawa <akiyks@gmail.com>
> 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.
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
> Thanks, Akira
> --
> 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
>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/5] Add white spaces before unit symbols
2017-06-25 3:24 ` [PATCH 0/5] Add white spaces before unit symbols Paul E. McKenney
@ 2017-06-26 15:12 ` Akira Yokosawa
2017-06-26 16:51 ` Paul E. McKenney
0 siblings, 1 reply; 9+ messages in thread
From: Akira Yokosawa @ 2017-06-26 15:12 UTC (permalink / raw)
To: Paul E. McKenney; +Cc: perfbook, Akira Yokosawa
On 2017/06/24 20:24:23 -0700, Paul E. McKenney wrote:
> On Sun, Jun 25, 2017 at 08:59:32AM +0900, Akira Yokosawa wrote:
>> >From 27d084e3bffbcd26a56d56859145f449750fc7b1 Mon Sep 17 00:00:00 2001
>> From: Akira Yokosawa <akiyks@gmail.com>
>> 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.
>
> 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
>
> Thanx, Paul
>
>> Thanks, Akira
>> --
>> 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
>>
>>
>>
>
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH 0/5] Add white spaces before unit symbols
2017-06-26 15:12 ` Akira Yokosawa
@ 2017-06-26 16:51 ` Paul E. McKenney
0 siblings, 0 replies; 9+ messages in thread
From: Paul E. McKenney @ 2017-06-26 16:51 UTC (permalink / raw)
To: Akira Yokosawa; +Cc: perfbook
On Tue, Jun 27, 2017 at 12:12:05AM +0900, Akira Yokosawa wrote:
> On 2017/06/24 20:24:23 -0700, Paul E. McKenney wrote:
> > On Sun, Jun 25, 2017 at 08:59:32AM +0900, Akira Yokosawa wrote:
> >> >From 27d084e3bffbcd26a56d56859145f449750fc7b1 Mon Sep 17 00:00:00 2001
> >> From: Akira Yokosawa <akiyks@gmail.com>
> >> 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.
> >
> > 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.
That sounds good!
Thanx, Paul
> Thanks, Akira
>
> >
> > Thanx, Paul
> >
> >> Thanks, Akira
> >> --
> >> 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
> >>
> >>
> >>
> >
> >
>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2017-06-26 16:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-24 23:59 [PATCH 0/5] Add white spaces before unit symbols Akira Yokosawa
2017-06-25 0:02 ` [PATCH 1/5] treewide: Add narrow spaces before SI " Akira Yokosawa
2017-06-25 0:04 ` [PATCH 2/5] treewide: Add whitespace before SI unit symbols in figures Akira Yokosawa
2017-06-25 0:05 ` [PATCH 3/5] Substitute 'greek mu' for 'u' in microsecond symbol Akira Yokosawa
2017-06-25 0:07 ` [PATCH 4/5] treewide: Add narrow spaces before non-SI unit symbols Akira Yokosawa
2017-06-25 0:08 ` [PATCH 5/5] cartoons: Add whitespace before 'MB' Akira Yokosawa
2017-06-25 3:24 ` [PATCH 0/5] Add white spaces before unit symbols Paul E. McKenney
2017-06-26 15:12 ` Akira Yokosawa
2017-06-26 16:51 ` Paul E. McKenney
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox