Ordering of events in Distributed Systems & Eventual Consistency Jinyang Li.
PC hardware and x86 programming Lec 2 Jinyang Li.
-
Upload
janis-gregory -
Category
Documents
-
view
246 -
download
0
Transcript of PC hardware and x86 programming Lec 2 Jinyang Li.
![Page 1: PC hardware and x86 programming Lec 2 Jinyang Li.](https://reader035.fdocuments.in/reader035/viewer/2022062713/56649f4f5503460f94c70ced/html5/thumbnails/1.jpg)
PC hardware andx86 programming
Lec 2
Jinyang Li
![Page 2: PC hardware and x86 programming Lec 2 Jinyang Li.](https://reader035.fdocuments.in/reader035/viewer/2022062713/56649f4f5503460f94c70ced/html5/thumbnails/2.jpg)
Write an OS to count lines
• Alice is asking you to write an OS to count lines in a file.
• What must you know before starting?– What type of computer?– What type of the disk?– What type of the monitor?
![Page 3: PC hardware and x86 programming Lec 2 Jinyang Li.](https://reader035.fdocuments.in/reader035/viewer/2022062713/56649f4f5503460f94c70ced/html5/thumbnails/3.jpg)
Inside a PC
QuickTime™ and a decompressor
are needed to see this picture.
![Page 4: PC hardware and x86 programming Lec 2 Jinyang Li.](https://reader035.fdocuments.in/reader035/viewer/2022062713/56649f4f5503460f94c70ced/html5/thumbnails/4.jpg)
PC architecture
Plug CPU (Intel Xeon) here
Plug 4G memory banks here
![Page 5: PC hardware and x86 programming Lec 2 Jinyang Li.](https://reader035.fdocuments.in/reader035/viewer/2022062713/56649f4f5503460f94c70ced/html5/thumbnails/5.jpg)
QuickTime™ and a decompressor
are needed to see this picture.
PC architecture
![Page 6: PC hardware and x86 programming Lec 2 Jinyang Li.](https://reader035.fdocuments.in/reader035/viewer/2022062713/56649f4f5503460f94c70ced/html5/thumbnails/6.jpg)
Processor architecture
• X86– Most commercially successful– A class of CPU chips– An machine instruction set– Used in most PCs, workstations and laptops
• ARM (advanced RISC machine)– Used in most mobile phones (e.g. iphone)
• MIPS– Cisco routers, wireless routers, playstation
![Page 7: PC hardware and x86 programming Lec 2 Jinyang Li.](https://reader035.fdocuments.in/reader035/viewer/2022062713/56649f4f5503460f94c70ced/html5/thumbnails/7.jpg)
X86 is the dominant PC architecture
Intel 808616-bitIA-16
Intel 38632-bitIA-32 Opteron
64-bitx86-64
Intel Core 2
Athlon
Pentium 4
1978 1985 1999 2000 2003 2006