summaryrefslogtreecommitdiff
path: root/Examples/runocc_example.txt
diff options
context:
space:
mode:
authorGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
committerGeorge V. Neville-Neil <gnn@FreeBSD.org>2012-05-12 20:38:18 +0000
commit055173dba4a263acf10325a49eebf82915369ed2 (patch)
treeaec2772e8855e6dbaea6d8136ed0c47bcb825dee /Examples/runocc_example.txt
parent87c8f7aa3a46118212b99f0d58b18aa93c06b02a (diff)
Notes
Diffstat (limited to 'Examples/runocc_example.txt')
-rw-r--r--Examples/runocc_example.txt53
1 files changed, 53 insertions, 0 deletions
diff --git a/Examples/runocc_example.txt b/Examples/runocc_example.txt
new file mode 100644
index 000000000000..53dcb5f96671
--- /dev/null
+++ b/Examples/runocc_example.txt
@@ -0,0 +1,53 @@
+The following are demonstrations of the runocc.d script.
+
+
+
+Here we run it on a single CPU server that is fairly busy,
+
+ # ./runocc.d
+
+ CPU %runocc
+ 0 86
+
+ CPU %runocc
+ 0 85
+
+ CPU %runocc
+ 0 82
+ ^C
+
+The run queue occupancy is around 85%, meaning most of the time there
+are runnable threads queued waiting for CPU.
+
+
+
+This script is more interesting on a multi-CPU server,
+
+ # ./runocc.d
+
+ CPU %runocc
+ 1 16
+ 3 27
+ 0 38
+ 2 75
+
+ CPU %runocc
+ 0 25
+ 2 41
+ 3 42
+ 1 50
+
+ CPU %runocc
+ 3 1
+ 0 17
+ 2 26
+ 1 27
+
+ CPU %runocc
+ 3 2
+ 2 5
+ 0 24
+ 1 25
+ ^C
+
+Here there was some degree of saturation, especially on CPU 2 to start with.