ECE 440 · Week 5

Modern Computer: Full Stack

Boot time and input power are a pair.

Week 5 of 10 · Solitude

ECE 440 · Week 5 · In class

Boot time and input power are a pair.

ECE 440 · Week 5 · In class

Boot time and input power are a pair. (continued)

ECE 440 · Week 5 · In class

The homework names the change and the two quantities, with no numbers yet.

ECE 440 · Week 5 · Lecture

One change, everything else held still

ECE 440 · Week 5 · Lecture

Timing boot from the lab PC

# every console line gets a time stamp from the PC
picocom -b 115200 /dev/ttyUSB0 | ts '%.s'

ECE 440 · Week 5 · Lecture

What systemd-analyze does and does not see

systemd-analyze
systemd-analyze critical-chain
systemd-analyze blame

ECE 440 · Week 5 · Lecture

Input power, read honestly

ECE 440 · Week 5 · Lecture

Each chart starts at zero

import matplotlib.pyplot as plt

fig, ax = plt.subplots()
ax.bar(["before", "after"], [before, after])
ax.set_ylim(bottom=0)
ax.set_ylabel("boot time (s)")
fig.savefig("boot.png")

A cut baseline makes a small change look large. One quantity per chart, unit on the axis title.

ECE 440 · Week 5 · Lab

Lab

  1. From a cold start, measure boot time and input power. Change one thing named in the week-1 requirement.
  2. Measure both again. Plot each pair on an axis that starts at zero. Second pass: leave the chart axes alone and write the unit under each one.
  3. Assemble the lab hand-in: Boot time and input power from a cold start, then the same two numbers after one change, each pair on a chart whose axis starts at zero.

ECE 440 · Week 5 · Lab

Hand in

Boot time and input power from a cold start, then the same two numbers after one change, each pair on a chart whose axis starts at zero.

ECE 440 · Week 5 · Homework

Homework

ECE 440 · Week 5 · Homework

Turn in

The change sentence and the two quantity names.

ECE 440 · Week 5 · Read

Read

On the lab site: Module 2, First power-on and voltage rails, and Module 8, Linux boots, do not grade a before-and-after pair from a zero baseline. This week does.

ECE 440 · Week 5 · Next

Week 6

A read-only root still has to boot after power is pulled.

Arrow keys or space to move, F for full screen, N for speaker notes, Home and End for the first and last slide. Print gives one slide per page.