Skip to contentSkip to conversation

Fix a little grammar mistake

PATCH-perfbook Zhouyi Zhou 3 participants 12 messages Aug 19, 2021 – Aug 20, 2021

lore
Share & tools
lore
#0 lore raw

Hi Paul,

I think there is a little grammer mistake in answer to quick quiz 10.8, I am not so sure because my English is not so well ;-)

Thanks
Zhouyi

---
 datastruct/datastruct.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
datastruct/datastruct.tex +0 -0
index adb102d..68341f2 100644
@@ -963,1 +963,1 @@ not recommended for production use.
 	In theory, it isn't any safer, and a useful exercise would be

to run these programs on larger systems.
In practice, there are a lot more systems with more than 28~CPUs
- than there are systems with more than 448 CPUs.
+ are systems with more than 448 CPUs.
In addition, other testing has shown that RCU read-side primitives offer consistent performance and scalability up to at least 1024 CPUs.
}\QuickQuizEnd

Signature · 1 line
2.5.0
#1 lore raw

Hello Zhouyi,

Quoted 20 lines · Zhouyi Zhou

Hi Paul,

I think there is a little grammer mistake in answer to quick quiz 10.8, I am not so sure because my English is not so well ;-)

Thanks
Zhouyi

---
 datastruct/datastruct.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
datastruct/datastruct.tex +0 -0
index adb102d..68341f2 100644
@@ -963,1 +963,1 @@ not recommended for production use.
 	In theory, it isn't any safer, and a useful exercise would be

to run these programs on larger systems.

datastruct/datastruct.tex

Quoted 2 lines
datastruct/datastruct.tex +0 -1
 	In practice, there are a lot more systems with more than 28~CPUs
-	than there are systems with more than 448 CPUs.

This can be parsed as follows:

In practice, there are a lot more X than there are Y.

, where

X: systems with more than 28~CPUs
Y: systems with more than 448 CPUs

So there is no grammatical error here.
Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Thanks, Akira

Quoted 5 lines
datastruct/datastruct.tex +1 -0
+	are systems with more than 448 CPUs.
 	In addition, other testing has shown that RCU read-side primitives
 	offer consistent performance and scalability up to at least 1024 CPUs.
 }\QuickQuizEnd
#2 lore raw

Thanks Akira for reviewing the patch for me ;-)

Quoted 29 lines · Akira Yokosawa

Hello Zhouyi,

Quoted 19 lines · Zhouyi Zhou

Hi Paul,

I think there is a little grammer mistake in answer to quick quiz 10.8, I am not so sure because my English is not so well ;-)

Thanks
Zhouyi

---
 datastruct/datastruct.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
datastruct/datastruct.tex +0 -0
index adb102d..68341f2 100644
@@ -963,1 +963,1 @@ not recommended for production use.
      In theory, it isn't any safer, and a useful exercise would be
Quoted 3 lines

to run these programs on larger systems.
In practice, there are a lot more systems with more than 28~CPUs
- than there are systems with more than 448 CPUs.

This can be parsed as follows:

Quoted 7 lines

In practice, there are a lot more X than there are Y.

, where

X: systems with more than 28~CPUs
Y: systems with more than 448 CPUs

I learned a lot from your analysis, thanks again.

Quoted 12 lines

So there is no grammatical error here.
Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Thanks, Akira

Quoted 5 lines

+ are systems with more than 448 CPUs.
In addition, other testing has shown that RCU read-side primitives offer consistent performance and scalability up to at least 1024 CPUs.
}\QuickQuizEnd

Thanks
Zhouyi

#3 lore raw
In reply to Akira Yokosawa
Quoted 32 lines · Akira Yokosawa

Hello Zhouyi,

Quoted 20 lines · Zhouyi Zhou

Hi Paul,

I think there is a little grammer mistake in answer to quick quiz 10.8, I am not so sure because my English is not so well ;-)

Thanks
Zhouyi

---
 datastruct/datastruct.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
datastruct/datastruct.tex +0 -0
index adb102d..68341f2 100644
@@ -963,1 +963,1 @@ not recommended for production use.
 	In theory, it isn't any safer, and a useful exercise would be

to run these programs on larger systems.

datastruct/datastruct.tex

Quoted 2 lines
datastruct/datastruct.tex +0 -1
 	In practice, there are a lot more systems with more than 28~CPUs
-	than there are systems with more than 448 CPUs.

This can be parsed as follows:

In practice, there are a lot more X than there are Y.

, where

Quoted 7 lines

X: systems with more than 28~CPUs
Y: systems with more than 448 CPUs

So there is no grammatical error here.
Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Three "than"s in one sentence is a bit excessive, now that you guys mention it.

How about this?

	In practice, there are a lot more 28-CPU systems than there are
	448-CPU systems.

I do not believe that the "more than"s are really adding much here.

Thoughts?

Thanx, Paul

Quoted 7 lines

Thanks, Akira

Quoted 5 lines
datastruct/datastruct.tex +1 -0
+	are systems with more than 448 CPUs.
 	In addition, other testing has shown that RCU read-side primitives
 	offer consistent performance and scalability up to at least 1024 CPUs.
 }\QuickQuizEnd
#4 lore raw

Thank you Paul and thank you Akira

Quoted 42 lines · Paul E. McKenney
Quoted 32 lines · Akira Yokosawa

Hello Zhouyi,

Quoted 19 lines · Zhouyi Zhou

Hi Paul,

I think there is a little grammer mistake in answer to quick quiz 10.8, I am not so sure because my English is not so well ;-)

Thanks
Zhouyi

---
 datastruct/datastruct.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
datastruct/datastruct.tex +0 -0
index adb102d..68341f2 100644
@@ -963,1 +963,1 @@ not recommended for production use.
    In theory, it isn't any safer, and a useful exercise would be
Quoted 3 lines

to run these programs on larger systems.
In practice, there are a lot more systems with more than 28~CPUs
- than there are systems with more than 448 CPUs.

This can be parsed as follows:

In practice, there are a lot more X than there are Y.

, where

Quoted 7 lines

X: systems with more than 28~CPUs
Y: systems with more than 448 CPUs

So there is no grammatical error here.
Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Quoted 7 lines

Three "than"s in one sentence is a bit excessive, now that you guys mention it.

How about this?

In practice, there are a lot more 28-CPU systems than there are 448-CPU systems.

The modified version reads very smoothly for me ;-)

Quoted 2 lines

I do not believe that the "more than"s are really adding much here.

I also think so, because when I read "28-CPU system", I immediately imagine a bundle of systems
that have some CPUs around 28, for example 24-CPU systems, 32-CPU systems ;-)

Quoted 12 lines

Thoughts?

Thanx, Paul

Quoted 7 lines

Thanks, Akira

Quoted 5 lines

+ are systems with more than 448 CPUs.
In addition, other testing has shown that RCU read-side primitives offer consistent performance and scalability up to at least 1024 CPUs.
}\QuickQuizEnd

Cheers
Zhouyi

#5 lore raw
In reply to Paul E. McKenney
Quoted 44 lines · Paul E. McKenney
Quoted 32 lines · Akira Yokosawa

Hello Zhouyi,

Quoted 20 lines · Zhouyi Zhou

Hi Paul,

I think there is a little grammer mistake in answer to quick quiz 10.8, I am not so sure because my English is not so well ;-)

Thanks
Zhouyi

---
 datastruct/datastruct.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
datastruct/datastruct.tex +0 -0
index adb102d..68341f2 100644
@@ -963,1 +963,1 @@ not recommended for production use.
 	In theory, it isn't any safer, and a useful exercise would be

to run these programs on larger systems.

datastruct/datastruct.tex

Quoted 2 lines
datastruct/datastruct.tex +0 -1
 	In practice, there are a lot more systems with more than 28~CPUs
-	than there are systems with more than 448 CPUs.

This can be parsed as follows:

In practice, there are a lot more X than there are Y.

, where

Quoted 7 lines

X: systems with more than 28~CPUs
Y: systems with more than 448 CPUs

So there is no grammatical error here.
Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Three "than"s in one sentence is a bit excessive, now that you guys mention it.

Quoted 6 lines

How about this?

	In practice, there are a lot more 28-CPU systems than there are
	448-CPU systems.

I do not believe that the "more than"s are really adding much here.

Well, the question part reads:

Quoted 3 lines

The dangers of extrapolating from 28 CPUs to 448 CPUs was made quite clear in Section 10.2.3. But why should extrapolating up from 448 CPUs be any safer?

So, the point is "extrapolating up from 448 CPUs". Hence you used "more than"s in the answer, didn't you?

Thanks, Akira

Quoted 12 lines

Thoughts?

Thanx, Paul

Quoted 7 lines

Thanks, Akira

Quoted 5 lines
datastruct/datastruct.tex +1 -0
+	are systems with more than 448 CPUs.
 	In addition, other testing has shown that RCU read-side primitives
 	offer consistent performance and scalability up to at least 1024 CPUs.
 }\QuickQuizEnd
#6 lore raw
Quoted 52 lines · Akira Yokosawa
Quoted 44 lines · Paul E. McKenney
Quoted 32 lines · Akira Yokosawa

Hello Zhouyi,

Quoted 20 lines · Zhouyi Zhou

Hi Paul,

I think there is a little grammer mistake in answer to quick quiz 10.8, I am not so sure because my English is not so well ;-)

Thanks
Zhouyi

---
 datastruct/datastruct.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
datastruct/datastruct.tex +0 -0
index adb102d..68341f2 100644
@@ -963,1 +963,1 @@ not recommended for production use.
 	In theory, it isn't any safer, and a useful exercise would be

to run these programs on larger systems.

datastruct/datastruct.tex

Quoted 2 lines
datastruct/datastruct.tex +0 -1
 	In practice, there are a lot more systems with more than 28~CPUs
-	than there are systems with more than 448 CPUs.

This can be parsed as follows:

In practice, there are a lot more X than there are Y.

, where

Quoted 7 lines

X: systems with more than 28~CPUs
Y: systems with more than 448 CPUs

So there is no grammatical error here.
Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Three "than"s in one sentence is a bit excessive, now that you guys mention it.

Quoted 6 lines

How about this?

	In practice, there are a lot more 28-CPU systems than there are
	448-CPU systems.

I do not believe that the "more than"s are really adding much here.

Quoted 8 lines

Well, the question part reads:

Quoted 3 lines

The dangers of extrapolating from 28 CPUs to 448 CPUs was made quite clear in Section 10.2.3. But why should extrapolating up from 448 CPUs be any safer?

So, the point is "extrapolating up from 448 CPUs". Hence you used "more than"s in the answer, didn't you?

Right you are, and thank you for checking this!

There are several possibilities:

In practice, there are a lot more systems with in excess of 28~CPUs than there are systems with in excess of 448 CPUs.

Or:

In practice, there are only a very few systems with more than 448 CPUs, while there is a huge number having more than 28 CPUs.

Or perhaps rework the full answer:

In theory, it isn't any safer, and a useful exercise would be to run these programs on larger systems.
In practice, there are only a very few systems with more than 448 CPUs, in contrast to the huge number having more than 28 CPUs. This means that although it is dangerous to extrapolate beyond 448 CPUs, there is very little need to do so.
In addition, other testing has shown that RCU read-side primitives offer consistent performance and scalability up to at least 1024 CPUs.

Thoughts?

Thanx, Paul

Quoted 14 lines

Thanks, Akira

Quoted 12 lines

Thoughts?

Thanx, Paul

Quoted 7 lines

Thanks, Akira

Quoted 5 lines
datastruct/datastruct.tex +1 -0
+	are systems with more than 448 CPUs.
 	In addition, other testing has shown that RCU read-side primitives
 	offer consistent performance and scalability up to at least 1024 CPUs.
 }\QuickQuizEnd
#7 lore raw
Quoted 3 lines · Paul E. McKenney
Quoted 2 lines · Akira Yokosawa
Quoted 1 line · Paul E. McKenney

On Thu, Aug 19, 2021 at 07:54:30PM +0900, Akira Yokosawa wrote:

[...]

Quoted 46 lines
Quoted 14 lines
Quoted 7 lines
Quoted 3 lines

Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Three "than"s in one sentence is a bit excessive, now that you guys mention it.

Quoted 6 lines

How about this?

	In practice, there are a lot more 28-CPU systems than there are
	448-CPU systems.

I do not believe that the "more than"s are really adding much here.

Quoted 8 lines

Well, the question part reads:

Quoted 3 lines

The dangers of extrapolating from 28 CPUs to 448 CPUs was made quite clear in Section 10.2.3. But why should extrapolating up from 448 CPUs be any safer?

So, the point is "extrapolating up from 448 CPUs". Hence you used "more than"s in the answer, didn't you?

Right you are, and thank you for checking this!

There are several possibilities:

In practice, there are a lot more systems with in excess of 28~CPUs than there are systems with in excess of 448 CPUs.

Or:

In practice, there are only a very few systems with more than 448 CPUs, while there is a huge number having more than 28 CPUs.

Or perhaps rework the full answer:

In theory, it isn't any safer, and a useful exercise would be to run these programs on larger systems.
In practice, there are only a very few systems with more than 448 CPUs, in contrast to the huge number having more than 28 CPUs. This means that although it is dangerous to extrapolate beyond 448 CPUs, there is very little need to do so.
In addition, other testing has shown that RCU read-side primitives offer consistent performance and scalability up to at least 1024 CPUs.

Quoted 1 line

Thoughts?

The fully reworked answer looks much clearer for me.

Besides, I'd like to suggest some changes around QQ 10.9.

As there is no mention of extrapolation before this QQ in this section, the question of "But why should extrapolating up from 448 CPUs be any safer?" looks kind of abrupt.
A plain yes/no question would be smoother.

Also, the transition of discussion on Figure 10.12 (update performance) to that on Figure 10.11 (lookup performance) in the preceding paragraphs is not evident and I got lost for a while when I reread this section.

How about the following change?

datastruct/datastruct.tex +2 -1
index adb102d4..9e386e99 100644
@@ -941,6 +941,7 @@ pointers.
 Of course, all three of these implementations beat global locking.
 
 It is quite possible that the differences in lookup performance
+(\cref{fig:datastruct:Read-Side RCU-Protected Hash-Table Performance For Schroedinger's Zoo in the Presence of Updates})
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU\@.
@@ -958,7 +959,7 @@ not recommended for production use.
 	The dangers of extrapolating from 28 CPUs to 448 CPUs was
 	made quite clear in
 	\cref{sec:datastruct:Hash-Table Performance}.
-	But why should extrapolating up from 448 CPUs be any safer?
+	Would extrapolating up from 448 CPUs be any safer?
 }\QuickQuizAnswer{
 	In theory, it isn't any safer, and a useful exercise would be
 	to run these programs on larger systems.
Signature · 1 line
        Thanks, Akira
Quoted 17 lines

Thanx, Paul

Quoted 14 lines

Thanks, Akira

Quoted 12 lines

Thoughts?

Thanx, Paul

Quoted 7 lines

Thanks, Akira

Quoted 5 lines
(quoted diff) +1 -0
+	are systems with more than 448 CPUs.
 	In addition, other testing has shown that RCU read-side primitives
 	offer consistent performance and scalability up to at least 1024 CPUs.
 }\QuickQuizEnd
#8 lore raw
Quoted 51 lines · Akira Yokosawa
Quoted 3 lines · Paul E. McKenney
Quoted 2 lines · Akira Yokosawa
Quoted 1 line · Paul E. McKenney

On Thu, Aug 19, 2021 at 07:54:30PM +0900, Akira Yokosawa wrote:

[...]

Quoted 46 lines
Quoted 14 lines
Quoted 7 lines
Quoted 3 lines

Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Three "than"s in one sentence is a bit excessive, now that you guys mention it.

Quoted 6 lines

How about this?

	In practice, there are a lot more 28-CPU systems than there are
	448-CPU systems.

I do not believe that the "more than"s are really adding much here.

Quoted 8 lines

Well, the question part reads:

Quoted 3 lines

The dangers of extrapolating from 28 CPUs to 448 CPUs was made quite clear in Section 10.2.3. But why should extrapolating up from 448 CPUs be any safer?

So, the point is "extrapolating up from 448 CPUs". Hence you used "more than"s in the answer, didn't you?

Right you are, and thank you for checking this!

There are several possibilities:

In practice, there are a lot more systems with in excess of 28~CPUs than there are systems with in excess of 448 CPUs.

Or:

In practice, there are only a very few systems with more than 448 CPUs, while there is a huge number having more than 28 CPUs.

Or perhaps rework the full answer:

In theory, it isn't any safer, and a useful exercise would be to run these programs on larger systems.
In practice, there are only a very few systems with more than 448 CPUs, in contrast to the huge number having more than 28 CPUs. This means that although it is dangerous to extrapolate beyond 448 CPUs, there is very little need to do so.
In addition, other testing has shown that RCU read-side primitives offer consistent performance and scalability up to at least 1024 CPUs.

Quoted 3 lines
Quoted 1 line

Thoughts?

The fully reworked answer looks much clearer for me.

OK, I started from there.

Quoted 26 lines

Besides, I'd like to suggest some changes around QQ 10.9.

As there is no mention of extrapolation before this QQ in this section, the question of "But why should extrapolating up from 448 CPUs be any safer?" looks kind of abrupt.
A plain yes/no question would be smoother.

Also, the transition of discussion on Figure 10.12 (update performance) to that on Figure 10.11 (lookup performance) in the preceding paragraphs is not evident and I got lost for a while when I reread this section.

How about the following change?

datastruct/datastruct.tex +1 -0
index adb102d4..9e386e99 100644
@@ -941,6 +941,7 @@ pointers.
 Of course, all three of these implementations beat global locking.
 
 It is quite possible that the differences in lookup performance
+(\cref{fig:datastruct:Read-Side RCU-Protected Hash-Table Performance For Schroedinger's Zoo in the Presence of Updates})
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU\@.

datastruct/datastruct.tex not recommended for production use. · line 965

Quoted 8 lines
datastruct/datastruct.tex +1 -1
@@ -958,7 +959,7 @@ not recommended for production use.
 	The dangers of extrapolating from 28 CPUs to 448 CPUs was
 	made quite clear in
 	\cref{sec:datastruct:Hash-Table Performance}.
-	But why should extrapolating up from 448 CPUs be any safer?
+	Would extrapolating up from 448 CPUs be any safer?
 }\QuickQuizAnswer{
 	In theory, it isn't any safer, and a useful exercise would be
 	to run these programs on larger systems.

I took this and also made more changes to the answer. Does the following seem reasonable?

Thanx, Paul

------------------------------------------------------------------------

commit 279d626e3bcdd555031dc757441b06792ea58d38

Author: Paul E. McKenney <[email protected]>
Date:   Fri Aug 20 13:00:56 2021 -0700

datastruct: Expand on dangers of extrapolation

This commit clarifies and expands on QQ10.9, which covers the dangers of extrapolation. This commit also includes a change in wording of the question suggested by Akira Yokosawa.

datastruct/datastruct.tex +15 -6
index adb102d4..c3700332 100644
@@ -955,17 +955,26 @@ usually be reliable enough for benchmarking purposes, it is absolutely
 not recommended for production use.
 
 \QuickQuiz{
-	The dangers of extrapolating from 28 CPUs to 448 CPUs was
+	The dangers of extrapolating from 28~CPUs to 448~CPUs was
 	made quite clear in
 	\cref{sec:datastruct:Hash-Table Performance}.
-	But why should extrapolating up from 448 CPUs be any safer?
+	Would extrapolating up from 448~CPUs be any safer?
 }\QuickQuizAnswer{
-	In theory, it isn't any safer, and a useful exercise would be
+	In theory, no, it isn't any safer, and a useful exercise would be
 	to run these programs on larger systems.
-	In practice, there are a lot more systems with more than 28~CPUs
-	than there are systems with more than 448 CPUs.
+	In practice, there are only a very few systems with more than
+	448~CPUs, in contrast to the huge number having more than 28~CPUs.
+	This means that although it is dangerous to extrapolate beyond
+	448~CPUs, there is very little need to do so.
+
 	In addition, other testing has shown that RCU read-side primitives
-	offer consistent performance and scalability up to at least 1024 CPUs.
+	offer consistent performance and scalability up to at least 1024~CPUs.
+	However, is useful to review
+	\cref{fig:datastruct:Read-Only RCU-Protected Hash-Table Performance For Schr\"odinger's Zoo at 448 CPUs; Varying Table Size}
+	and its associated commentary.
+	You see, unlike the 448-CPU system that provided this data,
+	the system enjoying linear scalability up to 1024~CPUs boasted
+	excellent memory bandwidth.
 }\QuickQuizEnd
 
 % @@@ Testing strategy.  Summarize hashtorture, add QQ for additional
#9 lore raw

Thank you Paul and thank you Akira

The new edition is even more superior. I revised our Chinese Edition accordingly.

Best Wishes
Zhouyi

Quoted 151 lines · Paul E. McKenney
Quoted 51 lines · Akira Yokosawa
Quoted 3 lines · Paul E. McKenney
Quoted 2 lines · Akira Yokosawa
Quoted 1 line · Paul E. McKenney

On Thu, Aug 19, 2021 at 07:54:30PM +0900, Akira Yokosawa wrote:

[...]

Quoted 46 lines
Quoted 14 lines
Quoted 7 lines
Quoted 3 lines

Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Three "than"s in one sentence is a bit excessive, now that you guys mention it.

Quoted 6 lines

How about this?

In practice, there are a lot more 28-CPU systems than there are 448-CPU systems.

I do not believe that the "more than"s are really adding much here.

Quoted 8 lines

Well, the question part reads:

Quoted 3 lines

The dangers of extrapolating from 28 CPUs to 448 CPUs was made quite clear in Section 10.2.3. But why should extrapolating up from 448 CPUs be any safer?

So, the point is "extrapolating up from 448 CPUs". Hence you used "more than"s in the answer, didn't you?

Right you are, and thank you for checking this!

There are several possibilities:

In practice, there are a lot more systems with in excess of 28~CPUs than there are systems with in excess of 448 CPUs.

Or:

In practice, there are only a very few systems with more than 448 CPUs, while there is a huge number having more than 28 CPUs.

Or perhaps rework the full answer:

In theory, it isn't any safer, and a useful exercise would be to run these programs on larger systems.
In practice, there are only a very few systems with more than 448 CPUs, in contrast to the huge number having more than 28 CPUs. This means that although it is dangerous to extrapolate beyond 448 CPUs, there is very little need to do so.
In addition, other testing has shown that RCU read-side primitives offer consistent performance and scalability up to at least 1024 CPUs.

Quoted 3 lines
Quoted 1 line

Thoughts?

The fully reworked answer looks much clearer for me.

OK, I started from there.

Quoted 26 lines

Besides, I'd like to suggest some changes around QQ 10.9.

As there is no mention of extrapolation before this QQ in this section, the question of "But why should extrapolating up from 448 CPUs be any safer?" looks kind of abrupt.
A plain yes/no question would be smoother.

Also, the transition of discussion on Figure 10.12 (update performance) to that on Figure 10.11 (lookup performance) in the preceding paragraphs is not evident and I got lost for a while when I reread this section.

How about the following change?

datastruct/datastruct.tex +1 -0
index adb102d4..9e386e99 100644
@@ -941,6 +941,7 @@ pointers.
 Of course, all three of these implementations beat global locking.
 
 It is quite possible that the differences in lookup performance
+(\cref{fig:datastruct:Read-Side RCU-Protected Hash-Table Performance For Schroedinger's Zoo in the Presence of Updates})
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU\@.

datastruct/datastruct.tex not recommended for production use. · line 965

Quoted 8 lines
datastruct/datastruct.tex +1 -1
@@ -958,7 +959,7 @@ not recommended for production use.
      The dangers of extrapolating from 28 CPUs to 448 CPUs was
      made quite clear in
      \cref{sec:datastruct:Hash-Table Performance}.
-     But why should extrapolating up from 448 CPUs be any safer?
+     Would extrapolating up from 448 CPUs be any safer?
 }\QuickQuizAnswer{
      In theory, it isn't any safer, and a useful exercise would be
      to run these programs on larger systems.

I took this and also made more changes to the answer. Does the following seem reasonable?

Thanx, Paul

------------------------------------------------------------------------

commit 279d626e3bcdd555031dc757441b06792ea58d38

Author: Paul E. McKenney <[email protected]>
Date:   Fri Aug 20 13:00:56 2021 -0700

datastruct: Expand on dangers of extrapolation

This commit clarifies and expands on QQ10.9, which covers the dangers of extrapolation. This commit also includes a change in wording of the question suggested by Akira Yokosawa.

datastruct/datastruct.tex +15 -6
index adb102d4..c3700332 100644
@@ -955,17 +955,26 @@ usually be reliable enough for benchmarking purposes, it is absolutely
 not recommended for production use.
 
 \QuickQuiz{
-       The dangers of extrapolating from 28 CPUs to 448 CPUs was
+       The dangers of extrapolating from 28~CPUs to 448~CPUs was
        made quite clear in
        \cref{sec:datastruct:Hash-Table Performance}.
-       But why should extrapolating up from 448 CPUs be any safer?
+       Would extrapolating up from 448~CPUs be any safer?
 }\QuickQuizAnswer{
-       In theory, it isn't any safer, and a useful exercise would be
+       In theory, no, it isn't any safer, and a useful exercise would be
        to run these programs on larger systems.
-       In practice, there are a lot more systems with more than 28~CPUs
-       than there are systems with more than 448 CPUs.
+       In practice, there are only a very few systems with more than
+       448~CPUs, in contrast to the huge number having more than 28~CPUs.
+       This means that although it is dangerous to extrapolate beyond
+       448~CPUs, there is very little need to do so.
+
        In addition, other testing has shown that RCU read-side primitives
-       offer consistent performance and scalability up to at least 1024 CPUs.
+       offer consistent performance and scalability up to at least 1024~CPUs.
+       However, is useful to review
+       \cref{fig:datastruct:Read-Only RCU-Protected Hash-Table Performance For Schr\"odinger's Zoo at 448 CPUs; Varying Table Size}
+       and its associated commentary.
+       You see, unlike the 448-CPU system that provided this data,
+       the system enjoying linear scalability up to 1024~CPUs boasted
+       excellent memory bandwidth.
 }\QuickQuizEnd
 
 % @@@ Testing strategy.  Summarize hashtorture, add QQ for additional
#10 lore raw
In reply to Paul E. McKenney
Quoted 87 lines · Paul E. McKenney
Quoted 51 lines · Akira Yokosawa
Quoted 3 lines · Paul E. McKenney
Quoted 2 lines · Akira Yokosawa
Quoted 1 line · Paul E. McKenney

On Thu, Aug 19, 2021 at 07:54:30PM +0900, Akira Yokosawa wrote:

[...]

Quoted 46 lines
Quoted 14 lines
Quoted 7 lines
Quoted 3 lines

Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Three "than"s in one sentence is a bit excessive, now that you guys mention it.

Quoted 6 lines

How about this?

	In practice, there are a lot more 28-CPU systems than there are
	448-CPU systems.

I do not believe that the "more than"s are really adding much here.

Quoted 8 lines

Well, the question part reads:

Quoted 3 lines

The dangers of extrapolating from 28 CPUs to 448 CPUs was made quite clear in Section 10.2.3. But why should extrapolating up from 448 CPUs be any safer?

So, the point is "extrapolating up from 448 CPUs". Hence you used "more than"s in the answer, didn't you?

Right you are, and thank you for checking this!

There are several possibilities:

In practice, there are a lot more systems with in excess of 28~CPUs than there are systems with in excess of 448 CPUs.

Or:

In practice, there are only a very few systems with more than 448 CPUs, while there is a huge number having more than 28 CPUs.

Or perhaps rework the full answer:

In theory, it isn't any safer, and a useful exercise would be to run these programs on larger systems.
In practice, there are only a very few systems with more than 448 CPUs, in contrast to the huge number having more than 28 CPUs. This means that although it is dangerous to extrapolate beyond 448 CPUs, there is very little need to do so.
In addition, other testing has shown that RCU read-side primitives offer consistent performance and scalability up to at least 1024 CPUs.

Quoted 3 lines
Quoted 1 line

Thoughts?

The fully reworked answer looks much clearer for me.

OK, I started from there.

Quoted 29 lines

Besides, I'd like to suggest some changes around QQ 10.9.

As there is no mention of extrapolation before this QQ in this section, the question of "But why should extrapolating up from 448 CPUs be any safer?" looks kind of abrupt.
A plain yes/no question would be smoother.

Also, the transition of discussion on Figure 10.12 (update performance) to that on Figure 10.11 (lookup performance) in the preceding paragraphs is not evident and I got lost for a while when I reread this section.

How about the following change?

datastruct/datastruct.tex +1 -0
index adb102d4..9e386e99 100644
@@ -941,6 +941,7 @@ pointers.
 Of course, all three of these implementations beat global locking.
 
 It is quite possible that the differences in lookup performance
+(\cref{fig:datastruct:Read-Side RCU-Protected Hash-Table Performance For Schroedinger's Zoo in the Presence of Updates})
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU\@.
@@ -958,7 +959,7 @@ not recommended for production use.
 	The dangers of extrapolating from 28 CPUs to 448 CPUs was
 	made quite clear in
 	\cref{sec:datastruct:Hash-Table Performance}.
Quoted 8 lines

datastruct/datastruct.tex usually be reliable enough for benchmarking purposes, it is absolutely · line 964

Quoted 5 lines
datastruct/datastruct.tex +1 -1
-	But why should extrapolating up from 448 CPUs be any safer?
+	Would extrapolating up from 448 CPUs be any safer?
 }\QuickQuizAnswer{
 	In theory, it isn't any safer, and a useful exercise would be
 	to run these programs on larger systems.

I took this and also made more changes to the answer. Does the following seem reasonable?

Looks good to me!

Thanks, Akira

Quoted 56 lines

Thanx, Paul

------------------------------------------------------------------------

commit 279d626e3bcdd555031dc757441b06792ea58d38

Author: Paul E. McKenney <[email protected]>
Date:   Fri Aug 20 13:00:56 2021 -0700

datastruct: Expand on dangers of extrapolation

This commit clarifies and expands on QQ10.9, which covers the dangers of extrapolation. This commit also includes a change in wording of the question suggested by Akira Yokosawa.

datastruct/datastruct.tex +15 -6
index adb102d4..c3700332 100644
@@ -955,17 +955,26 @@ usually be reliable enough for benchmarking purposes, it is absolutely
 not recommended for production use.
 
 \QuickQuiz{
-	The dangers of extrapolating from 28 CPUs to 448 CPUs was
+	The dangers of extrapolating from 28~CPUs to 448~CPUs was
 	made quite clear in
 	\cref{sec:datastruct:Hash-Table Performance}.
-	But why should extrapolating up from 448 CPUs be any safer?
+	Would extrapolating up from 448~CPUs be any safer?
 }\QuickQuizAnswer{
-	In theory, it isn't any safer, and a useful exercise would be
+	In theory, no, it isn't any safer, and a useful exercise would be
 	to run these programs on larger systems.
-	In practice, there are a lot more systems with more than 28~CPUs
-	than there are systems with more than 448 CPUs.
+	In practice, there are only a very few systems with more than
+	448~CPUs, in contrast to the huge number having more than 28~CPUs.
+	This means that although it is dangerous to extrapolate beyond
+	448~CPUs, there is very little need to do so.
+
 	In addition, other testing has shown that RCU read-side primitives
-	offer consistent performance and scalability up to at least 1024 CPUs.
+	offer consistent performance and scalability up to at least 1024~CPUs.
+	However, is useful to review
+	\cref{fig:datastruct:Read-Only RCU-Protected Hash-Table Performance For Schr\"odinger's Zoo at 448 CPUs; Varying Table Size}
+	and its associated commentary.
+	You see, unlike the 448-CPU system that provided this data,
+	the system enjoying linear scalability up to 1024~CPUs boasted
+	excellent memory bandwidth.
 }\QuickQuizEnd
 
 % @@@ Testing strategy.  Summarize hashtorture, add QQ for additional
#11 lore raw
Quoted 97 lines · Akira Yokosawa
Quoted 87 lines · Paul E. McKenney
Quoted 51 lines · Akira Yokosawa
Quoted 3 lines · Paul E. McKenney
Quoted 2 lines · Akira Yokosawa
Quoted 1 line · Paul E. McKenney

On Thu, Aug 19, 2021 at 07:54:30PM +0900, Akira Yokosawa wrote:

[...]

Quoted 46 lines
Quoted 14 lines
Quoted 7 lines
Quoted 3 lines

Three uses of "than" in a sentence might be confusing, though.

Paul might have an idea of a less-confusing sentence.

Three "than"s in one sentence is a bit excessive, now that you guys mention it.

Quoted 6 lines

How about this?

	In practice, there are a lot more 28-CPU systems than there are
	448-CPU systems.

I do not believe that the "more than"s are really adding much here.

Quoted 8 lines

Well, the question part reads:

Quoted 3 lines

The dangers of extrapolating from 28 CPUs to 448 CPUs was made quite clear in Section 10.2.3. But why should extrapolating up from 448 CPUs be any safer?

So, the point is "extrapolating up from 448 CPUs". Hence you used "more than"s in the answer, didn't you?

Right you are, and thank you for checking this!

There are several possibilities:

In practice, there are a lot more systems with in excess of 28~CPUs than there are systems with in excess of 448 CPUs.

Or:

In practice, there are only a very few systems with more than 448 CPUs, while there is a huge number having more than 28 CPUs.

Or perhaps rework the full answer:

In theory, it isn't any safer, and a useful exercise would be to run these programs on larger systems.
In practice, there are only a very few systems with more than 448 CPUs, in contrast to the huge number having more than 28 CPUs. This means that although it is dangerous to extrapolate beyond 448 CPUs, there is very little need to do so.
In addition, other testing has shown that RCU read-side primitives offer consistent performance and scalability up to at least 1024 CPUs.

Quoted 3 lines
Quoted 1 line

Thoughts?

The fully reworked answer looks much clearer for me.

OK, I started from there.

Quoted 29 lines

Besides, I'd like to suggest some changes around QQ 10.9.

As there is no mention of extrapolation before this QQ in this section, the question of "But why should extrapolating up from 448 CPUs be any safer?" looks kind of abrupt.
A plain yes/no question would be smoother.

Also, the transition of discussion on Figure 10.12 (update performance) to that on Figure 10.11 (lookup performance) in the preceding paragraphs is not evident and I got lost for a while when I reread this section.

How about the following change?

datastruct/datastruct.tex +1 -0
index adb102d4..9e386e99 100644
@@ -941,6 +941,7 @@ pointers.
 Of course, all three of these implementations beat global locking.
 
 It is quite possible that the differences in lookup performance
+(\cref{fig:datastruct:Read-Side RCU-Protected Hash-Table Performance For Schroedinger's Zoo in the Presence of Updates})
 are affected by the differences in update rates.
 One way to check this is to artificially throttle the update rates of
 per-bucket locking and hazard pointers to match that of RCU\@.
@@ -958,7 +959,7 @@ not recommended for production use.
 	The dangers of extrapolating from 28 CPUs to 448 CPUs was
 	made quite clear in
 	\cref{sec:datastruct:Hash-Table Performance}.
Quoted 8 lines

datastruct/datastruct.tex usually be reliable enough for benchmarking purposes, it is absolutely · line 964

Quoted 5 lines
datastruct/datastruct.tex +1 -1
-	But why should extrapolating up from 448 CPUs be any safer?
+	Would extrapolating up from 448 CPUs be any safer?
 }\QuickQuizAnswer{
 	In theory, it isn't any safer, and a useful exercise would be
 	to run these programs on larger systems.

I took this and also made more changes to the answer. Does the following seem reasonable?

Quoted 1 line

Looks good to me!

Very good, I have pushed it out. Thank you both!!!

Thanx, Paul

Quoted 58 lines

Thanks, Akira

Quoted 56 lines

Thanx, Paul

------------------------------------------------------------------------

commit 279d626e3bcdd555031dc757441b06792ea58d38

Author: Paul E. McKenney <[email protected]>
Date:   Fri Aug 20 13:00:56 2021 -0700

datastruct: Expand on dangers of extrapolation

This commit clarifies and expands on QQ10.9, which covers the dangers of extrapolation. This commit also includes a change in wording of the question suggested by Akira Yokosawa.

datastruct/datastruct.tex +15 -6
index adb102d4..c3700332 100644
@@ -955,17 +955,26 @@ usually be reliable enough for benchmarking purposes, it is absolutely
 not recommended for production use.
 
 \QuickQuiz{
-	The dangers of extrapolating from 28 CPUs to 448 CPUs was
+	The dangers of extrapolating from 28~CPUs to 448~CPUs was
 	made quite clear in
 	\cref{sec:datastruct:Hash-Table Performance}.
-	But why should extrapolating up from 448 CPUs be any safer?
+	Would extrapolating up from 448~CPUs be any safer?
 }\QuickQuizAnswer{
-	In theory, it isn't any safer, and a useful exercise would be
+	In theory, no, it isn't any safer, and a useful exercise would be
 	to run these programs on larger systems.
-	In practice, there are a lot more systems with more than 28~CPUs
-	than there are systems with more than 448 CPUs.
+	In practice, there are only a very few systems with more than
+	448~CPUs, in contrast to the huge number having more than 28~CPUs.
+	This means that although it is dangerous to extrapolate beyond
+	448~CPUs, there is very little need to do so.
+
 	In addition, other testing has shown that RCU read-side primitives
-	offer consistent performance and scalability up to at least 1024 CPUs.
+	offer consistent performance and scalability up to at least 1024~CPUs.
+	However, is useful to review
+	\cref{fig:datastruct:Read-Only RCU-Protected Hash-Table Performance For Schr\"odinger's Zoo at 448 CPUs; Varying Table Size}
+	and its associated commentary.
+	You see, unlike the 448-CPU system that provided this data,
+	the system enjoying linear scalability up to 1024~CPUs boasted
+	excellent memory bandwidth.
 }\QuickQuizEnd
 
 % @@@ Testing strategy.  Summarize hashtorture, add QQ for additional