-
Laurent Modolo authoredLaurent Modolo authored
- Understanding a computer
- Which parts are necessary to define a computer ?
- Computer model: universal Turing machine
- Computer components
- CPU (Central Processing Unit)
- Memory
- RAM (Random Access Memory)
- HDD (Hard Disk Drive) / SSD (Solid-State Drive)
- Motherboard
- GPU (Graphical Processing Unit)
- Alimentation
- As simple as a Turing machine ?
- Basic Input Output System (BIOS)
- Unified Extensible Firmware Interface (UEFI)
- Operating System (OS)
- Kernel
- UNIX
- GNU/Linux
- (First) step with GNU/Linux
theme: default
paginate: true
title: Understanding a computer
Understanding a computer
Objective: understand the relations between the different components of a computer
Which parts are necessary to define a computer ?
Computer model: universal Turing machine
Computer components
CPU (Central Processing Unit)
Memory
RAM (Random Access Memory)
HDD (Hard Disk Drive) / SSD (Solid-State Drive)
Motherboard
GPU (Graphical Processing Unit)
Alimentation
As simple as a Turing machine ?
- A tape divided into cells, one next to the other. Each cell contains a symbol from some finite alphabet.
- A head that can read and write symbols on the tape and move the tape left and right one (and only one) cell at a time.
- A state register that stores the state of the Turing machine, one of finitely many. Among these is the special start state with which the state register is initialized.
- A finite table of instructions that, given the state the machine is currently in and the symbol it is reading on the tape, tells the machine what to do.
Basic Input Output System (BIOS)
Used to perform hardware initialization during the booting process (power-on startup), and to provide runtime services for operating systems and programs.
- comes pre-installed on a personal computer's system board
- the first software to run when powered on
- in modern PCs initializes and tests the system hardware components, and loads a boot loader from a mass memory device
Unified Extensible Firmware Interface (UEFI)
Advantages:
- Ability to use large-disk partitions (over 2 TB) with a GUID Partition Table (GPT)
- CPU-independent architecture
- CPU-independent drivers
- Flexible pre-OS environment, including network capability
- Modular design
- Backward and forward compatibility
Disadvantages:
- More complex
Operating System (OS)
A system software that manages computer hardware, software resources, and provides common services for computer programs.
- The first thing loaded by the BIOS/UEFI
- The first thing on the tape of a Turing machine
Kernel
The kernel provides the most basic level of control over all of the computer's hardware devices. It manages memory access for programs in the RAM, it determines which programs get access to which hardware resources, it sets up or resets the CPU's operating states for optimal operation at all times, and it organizes the data for long-term non-volatile storage with file systems on such media as disks, tapes, flash memory, etc.
UNIX
Unix is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix,
The ones you are likely to encounter:
The philosophy of UNIX is to have a large number of small software which do few things but to them well.
GNU/Linux
Linux is the name of the kernel which software, to get a full OS, Linux is part of the GNU Project.
The GNU with Richard Stallman introduced the notion of Free Software:
- The freedom to run the program as you wish, for any purpose.
- The freedom to study how the program works, and change it so it does your computing as you wish. Access to the source code is a precondition for this.
- The freedom to redistribute copies so you can help others.
- The freedom to distribute copies of your modified versions to others. By doing this you can give the whole community a chance to benefit from your changes. Access to the source code is a precondition for this.
You can find a list of software licenses
(First) step with GNU/Linux
You first need to connect to https://biosphere.france-bioinformatique.fr/.
Go to RAINBio the catalogue of appliances and start the UNIX Biocomputing appliance. An appliance is a virtual machine with preinstalled software.
Then go to the myVM tab and wait for your appliance to start.
Then click on the link Params to get your login and password.
You can then open the https link.
And go to the next session 2 first steps in a terminal.