Chinaunix首页 | 论坛 | 博客
  • 博客访问: 364945
  • 博文数量: 38
  • 博客积分: 256
  • 博客等级: 入伍新兵
  • 技术积分: 846
  • 用 户 组: 普通用户
  • 注册时间: 2012-12-14 23:21
文章分类

全部博文(38)

文章存档

2015年(1)

2014年(1)

2013年(28)

2012年(8)

我的朋友

发布时间:2013-05-17 14:20:48

CPU cache is a commonly used method for improving processor performance by reducing the access time to memory.  Typically a CPU can have both an instruction cache to prefetch processor instructions and a data cache to speed up access to a requested piece of data.  Here, I am focusin.........【阅读全文】

阅读(1662) | 评论(0) | 转发(0)

发布时间:2013-05-11 11:29:47

ContextYou are working with a Web-based application that presents dynamic information to users. You have observed that many users access a specific page without the dynamic information changing.ProblemHow can you improve the response time of dynamically generated Web pages that are req.........【阅读全文】

阅读(1480) | 评论(0) | 转发(0)

发布时间:2013-05-11 11:29:00

原文作者:Gustavo Duarte原文地址:http://duartes.org/gustavo/blog/post/what-your-computer-does-while-you-waitPage Cache, the Affair Between Memory and Files工作于内存和文件之间的页缓存Previously we looked at how the kernel manages virtual memory for a user process.........【阅读全文】

阅读(2080) | 评论(0) | 转发(0)

发布时间:2013-04-04 15:31:07

大家所熟知的数据容器,包括STL提供的容器,很重要的一部分是与内存管理相关的,也就是说你这个容器要为节点分配内存,你需要提供一系列内存分配的策略来供用户选择。我们从哪里学来的这种数据结构?教科书,产品代码,甚至面试(面试者往往会要求你清楚描述,或者写出内存管理部分的代码)。在我们为我们的软件提供LIB的.........【阅读全文】

阅读(1719) | 评论(0) | 转发(0)

发布时间:2013-03-31 01:21:33

回顾16bit windows时代,它们之间的区别是很大的。在16bit windows中,内存是通过一组叫"selector"(选择子)的值来访问的,每个selector最大可以寻址64k。有一个默认的selector被称为"data selector",被称为"near pointors"(近指针)的操作就是在这个默认data selector上进行的。例如,你有一个"near pointor" p.........【阅读全文】

阅读(4168) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册