Module Hardware

Image credit: Unsplash: Umberto
Table of Contents
  1. In the following part i would like to present you the different components, which are inside of a PC, server or a notebook.

Computer case: Inside of the computer case you will find all following components of a Computer. The main idea is to protect the interior. It also contributes to a visual aspect of the computer.

Computer Case
Computer case | Unsplash: Onur Binay

CPU (central processing unit): The CPU is the brain of the computer. It does the logical calculations, processes data and passes informations to the other parts.

CPU
CPU | Unsplash: Fidel Fernando

Motherboard: The motherboard or also known as mainboard connects all parts to each other and enables communication between each other components.

Motherboard
motherboard | Unsplash: Thomas Jensen

RAM (random access memory): It’s a temporary storage space to process data fast. The RAM is located nearby the CPU, to keep the latency as low as possible.

RAM
RAM | Unsplash: Luan Gjokaj

Storage device: A distinction is made between the HDD (hard disk drives) and the SSD (solid state drives). The HDD is working mechanical like a music turntable, while the SSD is a flash storage device. Both of them store data persistently.

HDD
HDD | Unsplash: Art Wall - Kittenprint

PSU (power supply unit): The electricity from the power socket goes truth the PSU and is distributed to the various components.

PSU
PSU | Unsplash: Luke Hodde

GPU (graphics processing unit): It’s a specialized chip to calcultate all graphic outputs fast. A CPU can theoretically do the same, but it takes much longer than the GPU.

GPU
GPU | Unsplash: Nana Dua

Cooling unit: All components that consume electricity, are generating heat. Because of this reason, you need a cooling unit to prevent damages on the different modules.

Cooling unit
Cooling unit | Unsplash: Barez Omer


My Notebook

  1. Advanced questions about my notebook (ThinkPad X1):

How fast (in GHz) is the CPU you are using right now?
➡️Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz - 2.30 GHz

What chipset is on the motherboard? Could there be more options?
➡️On my motherboard is a SoC (System-on-a-Chip)
➡️ Southbridge / Northbridge / System-on-a-Chip

How many gigabytes of RAM are in the PC you’re using?
➡️16.0 GB (15.8 GB usable)

What is/are the storage medium/media in your PC?
➡️500GB SSD

Where is the PSU in your PC? What about a laptop?
➡️Inside the PC
➡️External Adapter

Do you have a GPU?
➡️iGPU in the CPU; Intel HD Graphics 620 (GT2)

How does the cooling work in your device? What about a smartphone?
➡️My notebook is cooled from below by two fans
➡️Smartphones in general; Heatpipe, which transmits the heat to the outside


My future PC

  1. This are the parts that i would buy, if i would build my own PC. Link ➔ Digitec


Bits and Bytes

  1. Task – Bits and bytes

Say you have a gigabit internet connection (downstream). How many kilobytes can you download per second?
➡️1'000'000'000b / 800 = 125'000KB

How many bits are in a Mebibyte?
➡️1'048'576B * 8 = 8’388’608b

You buy an HDD advertised with 1TB. How much usable space will the Windows operating system report you and why?
➡️If you have a 1TB HDD in your PC, then you have a real storage of 932GB. This is because the computer is working with binary numbers (1,024 bytes = 1kb).


Binary Digits

  1. Task – Decode the following binary sequences to text. Each character uses 8-bits.

01000001011011010110000101101110011011110111100000100000010101000110010101100001
➡️Amanox Tea
💡You have to read the binary code from the right to the left side. Then you encode the binary digits.
Example: 10101 ➔ (1 * 2^1) + (0 *2^2) + (1 *2^3) + (0 *2^4) + (1 _2^5) = 42
After this you can have a look to the ASCII-Table. 42 corresponds to _ .

“Xavier” in a binary sequence
➡️01011000 01100001 01110110 01101001 01100101 01110010


Johny Simulator

  1. Task – Multiplication with basic instructions
    Create a sequence in the Johnny simulator that takes 2 numbers from any 2 registers, multiplies them and writes the result to another register.

The Johny Simulator shows us, how a RAM calculation is working. Additions and subtractions can be performed directly, while multiplications have to be added up over several steps. In the simulator you have the opportunity to write and simulate programms.

Here is a list of the program commands:

TAKE The value of the location (given by the absolute address) is transported to the accumulator.
SAVE The value of the accumulator is transported to the location given by the absolute address.
ADD The value of a location (given by the absolute address) is added to the value in the accumulator.
SUB The value of a location (given by the absolute address) is subtracted from the value in the accumulator.
INC The value of the location (given by the absolute address) is incremented.
DEC The value of the location (given by the absolute address) is decremented.
NULL The value of the location (given by the absolute address) is set to zero.
TST If and only if the location (given by the absolute address) has a zero value, the next macro instruction is skipped.
JMP The program is continued at the given location.
HLT The simulator shows a message that the program is finished.
Example programm for a multiplication 8 * 5 = 40

Inputs

Adress 020: 8 (Factor)
Adress 021: 5 (Factor)

Programm

1.NULL 022; Set value of adress 022 to zero
2.TAKE 022; Transport value of adress 022 to the accumulator
3.ADD 020; Add the value of adress 020 to the value in the accumulator
4.SAVE 022; Transport value of the accumulator back to the address 022
5.DEC 021; Decrement value of the adress 021
6.TST 021; If the value 021 is equal 0, the next macro instruction is skipped
7.JMP 001; The programm continious at the location 001
8.HLT 000; End of program

Output

Adress 022: 40 (Product)

💡If everything has worked fine, then the adress line 022 should contain the value 40.

Johny
Johny Simulator | Screenshot

Transistors and Logic Gates

A transistor can be thought of as a gate that is either open or closed. When a transistor is on, then an electric current can flow through. And when it’s off, then no current flows. The first Transistor came up in 1947. This gates are very small but a lot faster than mechanical relay switches and vaacum tubes. A microprocessor contains more than five million transistors.

 Logic gate function:
0 ➔ OFF ➔ no low voltage (0V)
1 ➔ ON ➔ low voltage (5V)

AND
Gate
Gate | Unsplash: Tianshu Liu

Cheat in CookieClicker

 Score up faster with CheatEngine ➔ No more words needed  

CookieClicker
CookieClicker | Screenshot

HDD & SSD in depth

If you ever shopped for HDDs, you probably stumbled across multiple flavors. For example, consumer-grade, NAS-grade and server-grade.
● What are the differences between those grades?

NAS-DISKS is a storage type, which is connected to a network that allows network users and clients to store and collect data from a central location. Normally a NAS-HDD is working permanent (24/7), but power-saving. NAS systems are flexible and scalable.

CONSUMER-DISKS storage grade devices are used for conventional use in a PC.

SERVER-DISKS have a lower probability of failure. They are designed for continuous operation.

● Are there grades/tiers for SSDs?

  1. Consumer SSD ➔ conventional ssd (low cost)
  2. Workstation SSD ➔ 5-6 times faster than consumer-grade devices
  3. Enterprise SSD ➔ These SSDs are used for server applications in permanent operation
  4. CDN SSD ➔ deliver the best balance of read performance, high reliability and low thermal load

● Search the web for 2 HDDs and SSDs that you would use in a consumer PC or server (1 for each use case).


Desired interfaces

● What are your desired interfaces in a consumer PC/laptop?

External

  1. HDMI
  2. RJ45
  3. USB-A
  4. AUX In/Out
  5. Thunderbolt 3

● What would you change for in a server?

In a server I would install 2x RJ45 for security reasons (redundancy).

NameUse caseReleaseBandwidthWiresClockSignaltypeDistance
RCAVideo, Audio194010 MHz1768 kHzAnalog3m
VGAVideo Trans.19873 MBit/s1460 MHzDigital4m
DVIVideo Trans.19997.44 GBit/s29165 MHzDigital4.5m
PS/2Periphery1990350 MHz416 kHzDigital5m
RJ45Network197010 GBit/s8160 MHzDigital3m
USB-1.0Power, Data Trans.19961.5 MBit/s41 kHzDigital5m
USB-2.0Power, Data Trans.2000480 MBit/s424 kHzDigital5m
USB-3.0Power, Data Trans.20085 GBit/s933 kHzDigital5m
Thunderbold 3Power, Video, Audio, Network201540 GBit/s20240 HzDigital2m
DPVideo Audio200677 GBit/s20225 MHzDigital1.8m
HDMIVideo and Audio200248 GBit/s19150 MHzDigital25m

Internal

  1. WIFI
  2. Bluetooth
NameUse caseReleaseBandwidthContactsClockSignaltype
PCIPeripheral Component Interconnect1994533 MBit/s1666 MHzDigital
PCIePeripheral Component Interconnect Express20033940 MBit/s248.0 GHzDigital
SATAData exchange with hard disks20073 GBit/s76 GHzDigital
SASMass storage interface20041200 MBit/s-12 GHzDigital
WLANNetwork interface1980300 MBit/s-240 MHzDigital
BluetoothBT Device Connection19992 Mbit/s-2 MHzDigital


Transferspeed and Bandwidth

● How much bandwidth is needed to stream a typical 2 hour Netflix 1080p movie (~6GB)?

Data Transfer Rate=Data VolumeTime
6GB1000=6000MB
2h3600=7200s
6000MB7200s=0.83MB/s
0.83MB/s8Bit=6.67MBit/s

● What bandwidth (upload/download) do you have at home and on your mobile phone?

Home WIFI:

Download: ~200MBit/s
Upload: ~350MBit/s

Mobile phone (4G):

Download: ~21MBit/s
Upload: ~1.5MBit/s


VR Headsets

● What do you think are problems when placing screens this close to our eyes?

VR glasses trick the brain as well as the eyes. The main problem is, that a VR headset is very close to the eyes. If you are using this devices for too long, it can lead to myopia or to sleep rhythm disorders. Especially the blue light is said to be harmful for our eyes.

● What specifications should the display fullfill to enable a good experience?
For a good virtual experience you should have a 4K-Display with 3840 x 2160 pixels.


Audio Interfaces

● What interfaces are used to play surround sound?

  • S/PDIF
  • HDMI

other Audio Interfaces

  • AES/EBU
  • MADI
  • ADAT
  • TDIF
  • Wordclock

● What are common codecs?

  • PCM (Puls-Code-Modulation
  • MP3 (MPEG-1 Audio Layer 3)
  • AAC (Advanced Audio Coding)
  • Vorbis
  • WMA (Windows Media Audio)


Display

● Why did manufacturers ditch the CRT and plasma technologies?

The former advantages of plasma technology, namely fast image changes, better colors and strong contrasts, are now all surpassed by OLED. CRT screens are very old and require an enormous amount of space, which is no longer time compliant. The vaakum tube in a crt display is under a large negative pressure. Because of this reason, crt screens must be made of glass, which can withstand this pressure. Due to the glass housing, crt screens weigh a lot.

● What are the pros and cons of LCD and OLED compared to eachother?

A LCD display is brighter than an OLED Display. For example, this can be crucial for a mobile phone, if you are using your smartphone outside a lot. OLED displays promise higher contrast images than LCD displays. This is because each individual pixel can be adjusted in brightness, whereas LCD screens can only be darkened in areas.


Office Workplace

● How should the PC perform? Did you choose a laptop or a workstation?

I plan to move to Bern in the next time. For this i will need an office workplace. The idea is to buy a notebook. Maybe i create my own notebook with the knowledge i got in the last few days.
Here is alist of the required hardware:

Hardware
  • Notebook
  • Mouse
  • Keyboard
  • Docking Station
  • curved display (OLED)
  • Headset
  • confortable chair & adjustable table
  • eGPU

● What interfaces do you need?

Interfaces
  • HDMI
  • USB-3.1
  • AUX In/Out
  • Thunderbolt 3 or 4
  • Bluetooth
  • WIFI
  • Cellular interface

● Is an upgrade possible down the road?

Upgrades

Depending on the notebook I buy, maybe yes.

  • eGPU
  • RAM (if not soldered)
  • CPU


Cooling Systems

● What metric should be high for a fan on a heatsink?

RPM

● What metric should be high for a case fan?

performance

● Why do servers often use small fans instead of bigger ones?

On the one hand, it is important to save as much space as possible when building a server, and on the other hand, fewer programs and calculations are carried out on a server than on a desktop PC, which means that the processor also has to be cooled less.

Xavier Jeiziner
Xavier Jeiziner
PiBS student @Axians Amanox / FFHS