4.2 Understanding Computer Hardware
4.2 Understanding Computer Hardware
●
$ free -m
AMD64
●
A reference to x64 support by AMD processors.
ARM
●
References a Reduced Instruction Set Computer (RISC) CPU that is not
based on the x86 instruction set.
●
Commonly used by embedded, mobile, tablet, and battery operated devices.
A version of Linux for ARM is used by the Raspberry Pi.
●
The file /proc/cpuinfo contains detailed information about a system’s processor.
Unfortunately the details are not friendly to general users.
Bit size
●
For CPUs this number relates to both the native size of data it manipulates and the amount of
memory it can access. Most modern systems are either 32-bit or 64-bit.
●
If an application needs access to more than 4 gigabytes of memory then it must run on a 64-bit
system since 4 gigabytes is the maximum address that can be represented using 32 bits.
●
And, while 32-bit applications can typically run on 64-bit systems, 64-bit applications cannot run on
32-bit systems.
Cache
●
CPUs require a constant stream of both instructions and data in order to operate.
●
The cost and power consumption of a multi-gigabyte system memory that could be accessed at CPU clock speeds would be
prohibitive.
●
CPU-speed cache memory is integrated onto the CPU chip to provide a high-speed buffer between CPUs and system memory. Cache
is separated into multiple layers, commonly referenced as L1, L2, L3 and even L4. In the case of cache, more is often better.
●
Storage systems known as RAID (Redundant Array of Independent Disks)
are a common
●
implementation to avoid loss of information. A RAID array consists of
multiple physical devices containing duplicate copies of information.
●
If one device fails all of the information is still available. Different physical
RAID configurations are referenced as 0, 1, 5, 6, and 10.
●
Each designation has different storage size, performance characteristics
and ways to store redundant data or checksums for data recovery. Beyond
some administrative configuration overhead, the existence of RAID is
effectively transparent to users.
NOTE
●
Logical Volume Manager (LVM) is a software capability that allows administrators to combine individual disks and disk
partitions and treat them as if they are a single drive.
●
System on a Chip (SoC) configurations achieve power, performance, space, and reliability advantages over motherboard
configurations by packaging processors, system memory, SSD, and hardware to control peripherals as a single
integrated circuit package.
●
The peripherals supported by SoC configurations are limited by the components packaged. Thus, SoC configurations
tend to be developed for specific uses. Phones, tablets, and other portable devices are often based on SoC technology.
●
Some systems incorporate peripherals. Laptops are similar to workstations but incorporate
●
default display, keyboard, and mouse peripherals. All-In-One systems are similar to laptops but
●
require mouse and keyboard peripherals. Motherboard or SoC based controllers are often
●
packaged with integral peripherals appropriate to a specific use.
Linux
●
Essentials www.linuxlearnincentre.co.ke 26
Guided Exercises
●
3. What would you expect the name of the device file in /dev to be for
partition 3 of the third SATA drive in a system:
●
sd3p3
●
sdcp3
●
sdc3
●
None of the above
●
1. Run the lsblk command on your system. Identify the parameters below. If a system is not immediately
available, consider the lsblk -f listing for the Raspberry Pi system mentioned in the “Storage” section above:
●
◦
●
●
The type of devices and how many
●
A system is the sum of its components. Different components impact cost, performance, and
usability in different ways. While there are common configurations for workstations and servers
there is no single best configuration.