Skip to contentSkip to conversation

advsync: Fix minor typo (atain -> again)

PATCH In review Akira Yokosawa 2 participants 3 messages Sep 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 advsync: Fix minor typo (atain -> again)

---
 advsync/advsync.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
advsync/advsync.tex +1 -1
index a7ddc1f4..7342e323 100644
@@ -430,7 +430,7 @@ largely orthogonal to those that form the basis of real-time programming:
 	\item When I/O rates are below some specified maximum.
 	\end{enumerate*}
 	In contrast, NBS's forward-progress guarantees are often
-	unconditional, atain incurring unnecessary complexity and
+	unconditional, again incurring unnecessary complexity and
 	performance degradation.
 	On the other hand, some recent NBS work accommodates some
 	conditional

base-commit: b942a646514c03089255d52056470181127c47bf

Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/2 advsync: Add narrow space in front of percent sign

Subject: [PATCH -perfbook 2/2] advsync: Add narrow space in front of percent sign

For consistency, as described in Appendix D.2.1.4.

---
Hi Paul,

I think it would be helpful to have a macro for this pattern, say, \pct, which can be used instead, such as:

+ latency $T$, then a 50\pct\ idle system will have latency $2 T$, a
+ 10\pct\ idle (90\pct\ utilized) system will have latency $10 T$, a 1\pct\
+ idle system (99\pct\ utilized) will have latency $100 T$, and so on.

Or, make it a macro \pct{} that can be used as:

+ latency $T$, then a \pct{50}\ idle system will have latency $2 T$, a
+ \pct{10}\ idle (\pct{90}\ utilized) system will have latency $10 T$, a \pct{1}\
+ idle system (\pct{99}\ utilized) will have latency $100 T$, and so on.

, or similar.

In case you are wondering, the trailing "\" in "50\pct\" or "\pct{50}\" is needed to have a (normal width) space after it in the resulting document. This is the same as those custom macros such as \Power{}, \ARM{}, etc.

Do you have any preference between 50\pct\ and \pct{50}\ ?

Thanks, Akira
--

 advsync/advsync.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
advsync/advsync.tex +4 -4
index 7342e323..31731f61 100644
@@ -458,11 +458,11 @@ largely orthogonal to those that form the basis of real-time programming:
 	As a rough rule of thumb, latency increases as the reciprocal
 	of the idle time.
 	In other words, if a nearly idle system has
-	latency $T$, then a 50\% idle system will have latency $2 T$, a
-	10\% idle (90\% utilized) system will have latency $10 T$, a 1\%
-	idle system (99\% utilized) will have latency $100 T$, and so on.
+	latency $T$, then a 50\,\% idle system will have latency $2 T$, a
+	10\,\% idle (90\,\% utilized) system will have latency $10 T$, a 1\,\%
+	idle system (99\,\% utilized) will have latency $100 T$, and so on.
 	This situation means that many latency-sensitive systems will
-	actively limit load, for example, to 50\%.
+	actively limit load, for example, to 50\,\%.
 \item	In the not-uncommon case where a given computed result is nice
 	to have rather than critically important, use of timeouts can
 	cause a blocking operation to have non-blocking properties that
Signature · 1 line
2.43.0
#2 lore raw

Re: [PATCH -perfbook 2/2] advsync: Add narrow space in front of percent sign

Quoted 3 lines · Akira Yokosawa

Subject: [PATCH -perfbook 2/2] advsync: Add narrow space in front of percent sign

For consistency, as described in Appendix D.2.1.4.

Quued and pushed both, thank you!

I clearly need to improve my self-proofreading... The "\%" is a very old habit that I need to break, but I have no excuses for "atain". ;-)

Quoted 17 lines

---
Hi Paul,

I think it would be helpful to have a macro for this pattern, say, \pct, which can be used instead, such as:

(quoted diff) +3 -0
+	latency $T$, then a 50\pct\ idle system will have latency $2 T$, a
+	10\pct\ idle (90\pct\ utilized) system will have latency $10 T$, a 1\pct\
+	idle system (99\pct\ utilized) will have latency $100 T$, and so on.

Or, make it a macro \pct{} that can be used as:

(quoted diff) +3 -0
+	latency $T$, then a \pct{50}\ idle system will have latency $2 T$, a
+       \pct{10}\ idle (\pct{90}\ utilized) system will have latency $10 T$, a \pct{1}\
+	idle system (\pct{99}\ utilized) will have latency $100 T$, and so on.
Quoted 7 lines

, or similar.

In case you are wondering, the trailing "\" in "50\pct\" or "\pct{50}\" is needed to have a (normal width) space after it in the resulting document. This is the same as those custom macros such as \Power{}, \ARM{}, etc.

Do you have any preference between 50\pct\ and \pct{50}\ ?

Either works for me.

Thanx, Paul

Quoted 29 lines

Thanks, Akira
--

 advsync/advsync.tex | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
advsync/advsync.tex +4 -4
index 7342e323..31731f61 100644
@@ -458,11 +458,11 @@ largely orthogonal to those that form the basis of real-time programming:
 	As a rough rule of thumb, latency increases as the reciprocal
 	of the idle time.
 	In other words, if a nearly idle system has
-	latency $T$, then a 50\% idle system will have latency $2 T$, a
-	10\% idle (90\% utilized) system will have latency $10 T$, a 1\%
-	idle system (99\% utilized) will have latency $100 T$, and so on.
+	latency $T$, then a 50\,\% idle system will have latency $2 T$, a
+	10\,\% idle (90\,\% utilized) system will have latency $10 T$, a 1\,\%
+	idle system (99\,\% utilized) will have latency $100 T$, and so on.
 	This situation means that many latency-sensitive systems will
-	actively limit load, for example, to 50\%.
+	actively limit load, for example, to 50\,\%.
 \item	In the not-uncommon case where a given computed result is nice
 	to have rather than critically important, use of timeouts can
 	cause a blocking operation to have non-blocking properties that
Signature · 1 line
2.43.0