Chapter 1 - Computer Technology: Classes of Computers
Chapter 1 - Computer Technology: Classes of Computers
Chapter 1 - Computer Technology: Classes of Computers
Domínguez
Classes of computers
Desktop Computers: designed to deliver good performance to a single user at a low cost usually
executing a 3º party software, usually incorporating a graphics display, a keyboard, a mouse…
Servers: used to run larger programs for multiple, simultaneous users, typically accessed only via a
network and a that places a greater emphasis on dependability* and often, security.
Supercomputers: A high performance, high cost class of server with hundreds to thousands of
processors, terabytes of memory and petabytes* of storage that are used for high-end scientific and
engineering applications. These computer can perform over 100 petaFLOPS and current computers
work at tens of teraFLOPS, so around 10000 times faster.
Embedded computers: A computer inside another device used to run a specific application. They
are the largest class of computer spanning* the widest range of applications and performance. They
can be found in electric appliances, touching pads, security cameras… Theses computers are usually
found inside larger systems, machines or devices and they are expected to complete a specific task
over and over for a long time with an assured dependability. Since they perform the same action
thousands of times, they can be designed in an efficient way, other main features are low- energy
consumption and cheap production.
Compiler
It translates programs written in high-level language (java, c…) into instructions that the hardware
can execute.
CPU specifications
AC José G. Domínguez
Clock speed: A processor’s clock speed refers to the number of clock cycles that are performed
every second. The higher the clock speed the more tasks the processor can complete in a period of
time.
Core count: A core is basically a microprocessor inside the CPU. The more cores a processor has,
the faster it can handle multiple-processes which is important for multi-tasking and heavy work
loads.
Threads: <<SO>>A thread is the smallest execution sequence of programmed instructions that can
be managed independently by a scheduler and it’s a component of the process. Multiple threads of a
given process could be executed concurrently, sharing resources such as memory and executable
code.<<SO>>
They represent the number of virtual cores a processor can simulate. As said before, more cores and
more threads, more efficiency at dividing its processing power among different tasks.
L caches: most computers have 3 L caches to store data necessary to perform tasks. They are
named as L1, L2… with the capacity of increasing capacity within each level. If the data processor
needs can’t be found at L1, then it seeks this data from the cache L2 and so on. They are the fastest
places a processor can access data.
Moore’s law
Gordon Moore has been many years in the Intel board.
Performance metrics
Speed performance
Relative Performance
Performance factors
Improving performance
The problem in this slide says that computer B need 1.2 times more cycles to run the program than
computer A, why is that? Why not 1.3 or 1.4? Well, the number of cycles needed for a certain action
depends of the CPI (cycles per instructions) and IBA of the computer.
CPU performance
AC José G. Domínguez
Register Operands
Intel uses a different terminology than the one we have studied in the slides.
RISC-V Registers
addw x0,x1,x2 takes the result to trash, to zero, since register x0 has
a constant value → 0.
Memory operands
There are data which are word or half words.
Logical operations
Shift Operations
AC José G. Domínguez