随笔分类 - computer system: a programmer perspective_3rd
摘要:Thu 22 Feb 12:21:12 GMT 2018 第十二章 并发编程 使用应用级并发的应用程序称为并发程序(concurrent program).现代操作系统提供3个基本的构造并发程序的方法: + 进程 + I/O多路复用。(i/o multiplexing) + threads 12.1
阅读全文
摘要:Sun 11 Feb 13:30:10 GMT 2018 第十一章 网络编程 11.1 The client-Server programming Model The fundamental operation in the client-server model isthe 'transactio
阅读全文
摘要:Thu 8 Feb 15:43:18 GMT 2018 Part III interaction and communication between Programs chapter 10 System-Level I/O 10.1 Unix I/O <unistd.h> : STDIN_FILEN
阅读全文
摘要:# Wed 31 Jan 00:36:01 GMT 2018 第九章 虚拟内存(Virtual Memory) 9.3 VM as a tool for caching virtual pages(VPs). phsical pages are also referredto as page fra
阅读全文
摘要:# Wed 24 Jan 11:30:36 GMT 2018 第8章 异常控制流 (exceptional control flow) 8.1 exceptions Exceptions are a form of excepional control flow thatare implemente
阅读全文
摘要:# Wed 27 Dec 18:57:00 GMT 2017 Part II running programs on a system 第七章 链接 (linking) 7.1 编译器驱动程序 编译驱动程序代表用户在需要时间调用语言预处理器,编译器,汇编器和连接器。生成 .i, .s, .o及可执行
阅读全文
摘要:第6章 存储器层次结构 18 Dec 2017 -- The Memory Hierarchy 6.1 Storage Technologies 5816.2 Locality 6046.3 The memory hirarchy 6096.4 cache memories 6146.5 writi
阅读全文
摘要:5.4 Eliminating loop inefficiencies A general class of optimizations is known as code motion. They involve identifying a computation that isperformed
阅读全文
摘要:The instructions supported by a particular processor and their byte-level encodings are known as its instruc- tion set architecture(IsA). 4.1 The Y86-
阅读全文
摘要:3.1 A historical perspective 3.2 Program encodings gcc -Og -o p p1.c p2.c -Og instructs the compiler to apply a level of optimization that yields mach
阅读全文
摘要:1.9.1 Amdahl's Law Consider a system in which executing some application requires time T_old.Suppose some part of the system requires a fraction x of
阅读全文
摘要:3.2 gcc -Og -S mstore.c > mstore.s //assemble form AT&T style gcc -Og -S -masm=intel mstore.c //assemble of intel style gcc -Og -c mstore.c > mstore.o
阅读全文
摘要:2章. 2.1 information storage A machine-level program views memory as a very large arrayof bytes,referred to as virtual memory.Every byte of memory is i
阅读全文
浙公网安备 33010602011771号