上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: It is important to realize that clients and servers are processes and not ma- chines, or hosts as they are often called in this context. Data received 阅读全文
posted @ 2018-07-24 18:13 geeklove 阅读(195) 评论(0) 推荐(0) 编辑
摘要: An input operation copies data from an I/O device to main memory, and an output operation copies data from memory to a device. All language run-time s 阅读全文
posted @ 2018-07-23 20:11 geeklove 阅读(321) 评论(0) 推荐(0) 编辑
摘要: Working within these constraints, the author of an allocator attempts to meet the often conflicting performance goals of maximizing throughput and mem 阅读全文
posted @ 2018-07-21 13:18 geeklove 阅读(265) 评论(0) 推荐(0) 编辑
摘要: The execve Function Revisited Suppose that the program running in the current process makes the following call: Execve("a.out", NULL, NULL); Loading a 阅读全文
posted @ 2018-07-20 13:13 geeklove 阅读(295) 评论(0) 推荐(0) 编辑
摘要: ref: https://blog.csdn.net/linhuanmars/article/details/19711387 Solution 1: time complexity O(1), space complexity O(2) or time complexity O(n+nlgn) = 阅读全文
posted @ 2018-07-13 17:19 geeklove 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Linux organizes the virtual memory as a collection of areas (also called segments). An area is a contiguous chunk of existing (allocated) virtual memo 阅读全文
posted @ 2018-07-13 16:12 geeklove 阅读(618) 评论(0) 推荐(0) 编辑
摘要: Integrating Caches and VM TODO peeding up Address Translation with a TLB Many systems try to eliminate even this cost by including a small cache of PT 阅读全文
posted @ 2018-07-12 19:45 geeklove 阅读(518) 评论(0) 推荐(0) 编辑
摘要: Page Hits: CPU reads a word of virtual memory which is cached in DRAM. Page Faults(缺页): 流程: 术语: Virtual memory systems use a different terminology fro 阅读全文
posted @ 2018-07-08 15:43 geeklove 阅读(394) 评论(0) 推荐(1) 编辑
摘要: Synchronizing Flows to Avoid Nasty Concurrency Bugs an example code: void handler(int sig) { pid_t pid; while ((pid = waitpid(-1, NULL, 0)) > 0) /* Re 阅读全文
posted @ 2018-07-08 12:48 geeklove 阅读(195) 评论(0) 推荐(0) 编辑
摘要: example codes: if (errno != ECHILD) unix_error("waitpid error");//Version 4 code in purple, same with version 2 if (errno != ECHILD) unix_error("waitp 阅读全文
posted @ 2018-07-07 19:04 geeklove 阅读(300) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页