Lab 5: Configuring GRUB Boot and Kernel Modules

Overview

This lab covers configuring the GRUB boot loader and inserting/removing modules onto a running kernel. It is recommended to perform these steps in a controlled environment like the 401lab to allow for rebooting in case of errors.

Key Concepts

  • rpm (Red Hat Package Manager): Installs, verifies, and queries packages.
  • Hot-plugging: A feature (especially in SuSE Linux) that allows the system to detect newly added hardware like USB or FireWire devices.
  • lsmod: Lists all loaded modules.
  • diff: Compares
Read More

Pipelining and Cache Performance: Speedup Calculation and Optimization

Pipelining and Speedup Calculation

Given a non-pipelined architecture running at 2.5GHz that takes 5 cycles to finish an instruction. You want to make it pipelined with 5 stages. The increase in hardware forces you to run the machine at 2GHz.

The only stalls are caused by:

  • Memory stalls: (30% of total instructions) a stall of 50 cycles happens in 2% of the memory instructions.
  • Branch stalls: (20% of total instructions) a stall of 2 cycles happens in 20% of the branch instructions.

What is the speedup?

Read More

Anish Nookla – IT Professional & Data Analyst

Anish Nookla

3848 Cambridge Woods Dr., Tampa, FL 33613

+1 813-389-6055 | anishnookla@mail.usf.edu

Flexible and experienced IT professional actively seeking a full-time position where I can utilize and improve my technical, analytical, and interpersonal skills.

Summary of Qualifications

  • Solid quantitative background and excellent analytical skills; very quick learner.
  • Adept at survey data collection, handling, and modeling techniques. Experience with requirements gathering.
  • Good organization skills and
Read More

Understanding IP Addressing, Subnetting, and Network Security

  • CIDR (Classless Inter-Domain Routing) is a subnetting method that allows administrators to divide network and host bits anywhere in the address, not just between octets. It introduces a new notation: a standard dotted-decimal address followed by a forward slash and a numeral indicating the network prefix size. The IANA (Internet Assigned Numbers Authority), managed by ICANN (Internet Corporation for Assigned Names and Numbers), is the source of all registered addresses. They allocate address blocks
Read More

Learn Go in Y Minutes: A Crash Course in Golang Programming

Learn Go in Y Minutes

Introduction

This is a crash course in the Go programming language. It covers the basics of syntax, data types, control flow, and concurrency.

Getting Started

Go is a statically typed, compiled language with a focus on simplicity and efficiency. It’s known for its built-in concurrency features and fast compilation times.

Package Declaration

Every Go source file starts with a package declaration. The main package is special and declares an executable program.

package main

Import Declaration

Import

Read More

Pipeline Performance and Hazard Detection in Computer Architecture

Given a non-pipelined architecture running at 2.5GHz that takes 5 cycles to finish an instruction. You want to make it pipelined with 5 stages. The increase in hardware forces you to run the machine

at 2GHz. The only stalls are caused by:

  • memory – (30% of the total instructions) a stall of 50 cycles happens in 2% of the memory instructions
  • branch – (20% of the total instructions) a stall of 2 cycles happens in 20% of the branch instructions

What is the speedup? Clearly show all work.

Equation

For the following

Read More

Heidegger’s Dasein: An Elementary and Analytical Backgrounder

Dasein (being there) was central to the work, “Being and Time” (1927) by German philosopher, Martin Heidegger. Heidegger was influenced by Edmund Husserl and phenomenology, and scholars often divide Heidegger’s philosophical itinerary into two distinct stages: “The First Heidegger,” the Heidegger of Being and Time, who was studying the human experience and deepened reflection on humanity as being able to consider the question of being, and the “Second Heidegger,” who in later works continued to

Read More

Network Configuration for Cancun, Los Cabos, and Mexico

Cancun

Switch Configuration

Switch>enable
Switch#conf t
Switch(config)#hostname SW-C1
SW-C1(config)#interface giga 0/1
SW-C1(config-if)#switchport mode trunk
SW-C1(config-if)#exit
SW-C1(config)#vlan 20
SW-C1(config-vlan)#name CANCUN1
SW-C1(config-vlan)#exit
SW-C1(config)#vlan 30
SW-C1(config-vlan)#name CANCUN2
SW-C1(config-vlan)#exit
SW-C1(config)#vlan 40
SW-C1(config-vlan)#name CANCUN3
SW-C1(config-vlan)#exit
SW-C1(config)#interface range fast 0/1-13
SW-C1(config-if-range)#switchport mode access
Read More

Functional Programming Examples: Recursion, Streams, and More

Bisection Method & Polynomial Root Finding

fun bisection (f,a,b) =
let val mid = (a+b) / 2.0 in
if Math.abs (a-b) < 0.00001 then mid
else
if (f mid) * (f a) < 0.0 then bisection (f,a,mid)
else bisection (f,mid,b)
fun mypoly x = x*x*x -7
val root = bisection (mypoly, 6.0, 0.0, 7.0)

Cube and Sum of Cubes

fun cube a = a*a*a
fun sumCubes (a,b) =
if (a>b) then 0 else cube (a) + sumCubes (a+1,b)

Tree Traversal and Filtering

fun gather (p : int -> bool) (T : string tree)

Read More

Understanding Computer Systems: A Deep Dive into Operating Systems, Memory Management, and Assembly Language

1. For the following questions circle True or False The operating system has the power to suspend your program when it is running. TRUE FALSE The only reason the operating system is “special” is because it is the first program Loaded. TRUE FALSE In a time sharing system multiple process take turns running on the CPU. TRUE FALSE Caches would work well for a program that randomly accesses locations in memory.
TRUE FALSE An an Interrupt Drive I/O system the hardware is responsible for doing all

Read More