Professional Documents
Culture Documents
by
Alex Vrenios
mailto://vrenios@asu.edu
(Shameless Plug)
OUTPUT
Arithmetic Port
Data Bus
and Logic
Instructions
The typical PC is a uniprocessor.
and Data
INPUT
Instruction
Port
Processor
Data Data
... Data
A[0] , B[0] A[1] , B[1] A[n] , B[n]
• Pipeline Processor
MISD: Multiple instruction,
CPU Pipe: confluent instruction execution
single data stream?
Data Bus
RAM: Instructions and Data
(Some say there is no MISD.)
• Multiprocessor or MP
MIMD: Multiple instruction,
CPU0 CPU1 ... CPUN multiple data streams.
University
PC Rear View
RJ-45 Jack RJ-45 Plugs and Hub Ports
(10/100 Base T)
Ethernet
Client queries
& responses
/home
alpha:/home/chief/src> make pgm
/home/chief
.rhosts
/home/chief/src
/home/chief/inc
/home/chief/bin
(others)
pgm.c
pgm.h
pgm
makefile
pgm:
gcc -I../inc/ –o../bin/pgm pgm.c
chaos.org
/dev/hda 10.0.0.1 10.0.0.5 /dev/hda
/ /
adduser
/home /home
/home/chief /home/chief
/home/chief/bin /home/chief/src
/home/chief/inc
Screen Output
Network
UDP or TCP
socket
Remote Machine
service myfile
rcatd
cat
Sequence of events:
1. Client process sends a UDP packet to server’s port 5000
2. Daemon (inetd) starts process at /home/chief/bin/rcatd
3. Service reads incoming UDP packet data from “keyboard”
Network
Many examples
in the book!
inetd
main
main SIGALRM
Shared Sockets
subtask Memory subtask remote
service
SIGCHLD
Network Network
* Note that the exact meaning and content of proc files can be OS release dependent.
10Base2
+----ALPHA-----+ | +-----BETA-----+
| Cpu Mem | | | Cpu Mem |
| 7% 94% |Rcvd 0 | 21 Rcvd| 28% 40% |
| Rio Wio +-----------+-----------+ Rio Wio |
| 1 0 |Sent 12 | 1 Sent| 0 1 |
+---10.0.0.1---+ | +---10.0.0.2---+
|
+----GAMMA-----+ | +----DELTA-----+
| Cpu Mem | | | Cpu Mem |
| 2% 75% |Rcvd 2 | 0 Rcvd| 5% 56% |
| Rio Wio +-----------+-----------+ Rio Wio |
| 4 0 |Sent 0 | 10 Sent| 3 0 |
+---10.0.0.3---+ | +---10.0.0.4---+
chaos.org
RESPONSE | OBSERVATIONS
TIME (msec) | 10 20 30 40 50
------------+----+----+----+----+----+----+----+----+----+----+
1 10 |
11 20 |
21 30 |************************
31 40 |************************
41 50 |**
51 60 |
61 70 |
71 80 |
81 90 |
91 100 |
50 Total Observations
Average = 30 milliseconds …so what if you’re not happy with this level of performance?
Query MASTER
Client 2 1
Response S1 STP
Table
8 S2
Transit
times 3 7
Ethernet
4 6
Slave 1 DB Slave 2
5 Shared
Expon
0.01 Pulse
Sweep
0.00
1 2 3 4 5 6 7 8
Execution Phases
(Three Time Distributions)
0.02
About a 10%
improvement
Average Time
Expon
0.01 Pulse
Sweep
Dramatic
reduction!
See book for
further details
0.00 on statistical
1 2 3 4 5 6 7 8 distributions.
Execution Phases
(Three Time Distributions)
RESPONSE | OBSERVATIONS
TIME (msec) | 10 20 30 40 50
------------+----+----+----+----+----+----+----+----+----+----+
1 10 |
11 20 |*******
21 30 |*********************************
31 40 |********
41 50 |**
51 60 |
61 70 |
71 80 |
81 90 |
91 100 |
50 Total Observations
(se conds)
10
..
5
0
1 2 3 4 5 6 7
Numbe r of Remote Workers