Changing Linux kernel version tag
For each new lab assignment you should make a change to the kernel
version tag to give it a new name for the current lab assignment.
Together, we are going to change the tag in the build from
-lab3 to -lab4.
You can following along with
the directions listed on the virtual box guide:
changing the kernel version tag
Changing the size of physical RAM that
a linux boot uses
For the next lab assignment, you may want to reduce the size of physical
memory that your kernel uses. To do this follow these steps:
changing the size of memory in your VM.
To see the size of memory and the amount of free space:
cat /proc/meminfo
Tools for running experiments
There are several useful tools for running experiements. Since you
will be running experiments on your VM, you may want to run your
virtualbox in non-GUI mode (see the virtual box guide for how to do this),
using screen to remotely attach and detach from it.
In addition, you will likely want to write some bash scripts and maybe
use script and dos2unix to run a large set of
experiments.
We are going to try out a couple example bash scripts that I have.
In your cs45/weeklylabs subdirectory, copy over my bash script examples
directory:
cd cs45/weeklylabs/
mkdir bash_examples
cd bash_examples
cp -r ~newhall/public/bashscript_examples .
See my
tools for running experiments
for more information and links to resources (screen, script, bash scripts).