当前位置: 首页 > news >正文

旅游网站建设论文题目个人怎样建设网站

旅游网站建设论文题目,个人怎样建设网站,可以直接玩游戏的网站,常州营销网站建设dsm.c提供的功能允许创建后端进程间共享的共享内存段。DSA利用多个DSM段提供共享内存heap#xff1b;DSA可以利用已经存在的共享内存#xff08;DSM段#xff09;也可以创建额外的DSM段。和系统heap使用指针不同的是#xff0c;DSA提供伪指针#xff0c;可以转换为backend…dsm.c提供的功能允许创建后端进程间共享的共享内存段。DSA利用多个DSM段提供共享内存heapDSA可以利用已经存在的共享内存DSM段也可以创建额外的DSM段。和系统heap使用指针不同的是DSA提供伪指针可以转换为backend-local指针但是该伪指针可以在后端进程之间共享可以用于构建共享数据结构。 每个DSA管理多个DSM段可以向其中添加新段不需要时detach它们。每个段包含多个4KB页一个free page manager(用于跟踪空闲页的连续运行)以及一个页面映射page map(用于跟踪分配给每个页面的对象的来源)。分配超过8KB的空间请求通过通过选择一个段并在其空闲页管理器中查找连续的空闲页来处理。较小的分配请求使用选定大小的对象池来处理。每个池由多个16页64KB超级块组成以与大型对象相同的方式分配。大型对象和新超级块的分配由单个LWLock进行串行化但从预先存在的超级块分配小型对象时每个池使用一个LWLock。目前每个大小类有一个池因此有一个锁。提高并发性的每核心池和减少由此产生的碎片的策略是未来研究的领域。每个超级块都用一个“span”来管理它跟踪超级块的空闲列表。自由请求是通过查看页面映射来处理的以查找分配地址的跨度这样小对象就可以返回到适当的自由列表中大对象页面可以直接返回到自由页面映射中。在分配时用于选择段和超级块的简单启发式方法试图鼓励集中占用的内存从而增加了整个超级块变为空并返回到空闲页管理器的可能性而整个段变为空并且返回到操作系统的可能性。Each DSA area manages a set of DSM segments, adding new segments as required and detaching them when they are no longer needed. Each segment contains a number of 4KB pages, a free page manager for tracking consecutive runs of free pages, and a page map for tracking the source of objects allocated on each page. Allocation requests above 8KB are handled by choosing a segment and finding consecutive free pages in its free page manager. Allocation requests for smaller sizes are handled using pools of objects of a selection of sizes. Each pool consists of a number of 16 page (64KB) superblocks allocated in the same way as large objects. Allocation of large objects and new superblocks is serialized by a single LWLock, but allocation of small objects from pre-existing superblocks uses one LWLock per pool. Currently there is one pool, and therefore one lock, per size class. Per-core pools to increase concurrency and strategies for reducing the resulting fragmentation are areas for future research. Each superblock is managed with a ‘span’, which tracks the superblock’s freelist. Free requests are handled by looking in the page map to find which span an address was allocated from, so that small objects can be returned to the appropriate free list, and large object pages can be returned directly to the free page map. When allocating, simple heuristics for selecting segments and superblocks try to encourage occupied memory to be concentrated, increasing the likelihood that whole superblocks can become empty and be returned to the free page manager, and whole segments can become empty and be returned to the operating system. dsa_create/dsa_create_in_place dsa_create函数在新的一个DSM段中创建一个新的shared area。dsa_create_in_place函数在已经存在的共享内存空间上创建一个新的shared area。 dsa_area *dsa_create(int tranche_id){dsm_segment *segment dsm_create(DSA_INITIAL_SEGMENT_SIZE, 0); /* Create the DSM segment that will hold the shared control object and the first segment of usable space. */ dsm_pin_segment(segment); /* All segments backing this area are pinned, so that DSA can explicitly control their lifetime (otherwise a newly created segment belonging to this area might be freed when the only backend that happens to have it mapped in ends, corrupting the area). *//* Create a new DSA area with the control object in this segment. */dsa_area *area create_internal(dsm_segment_address(segment), DSA_INITIAL_SEGMENT_SIZE, tranche_id, dsm_segment_handle(segment), segment);/* Clean up when the control segment detaches. */on_dsm_detach(segment, dsa_on_dsm_detach_release_in_place, PointerGetDatum(dsm_segment_address(segment)));return area; } dsa_area *dsa_create_in_place(void *place, size_t size,int tranche_id, dsm_segment *segment){dsa_area *area create_internal(place, size, tranche_id, DSM_HANDLE_INVALID, NULL);/* Clean up when the control segment detaches, if a containing DSM segment was provided. */if (segment ! NULL)on_dsm_detach(segment, dsa_on_dsm_detach_release_in_place, PointerGetDatum(place));return area; }dsa_attach/dsa_attach_in_place dsa_allocate dsa_free
http://www.hkea.cn/news/14341309/

相关文章:

  • 第八章 电子商务网站建设课件怎么把网站排名排上去
  • iis为网站子目录绑定二级域名搜索引擎网络排名
  • 网站关键词怎么添加个人网站logo
  • 长基建站手机网站建设用乐云seo
  • 网站建设实施过程乱起封神是那个网站开发的
  • 南京价格网站建设网站建设的基本目标
  • 山东德州如何网站建设教程Wordpress税
  • 网站编程学网站seo重庆
  • 城乡建设管理局网站徐州网页设计
  • 网站设计与开发网站负责人姓名
  • 电子商务网站建设的需求html5设计网页代码
  • 用织梦做的学校网站赣州网页设计师培训
  • 棋牌 彩票网站建设wordpress支付插件安装
  • 网站资讯建设wordpress中联系表
  • 百度蜘蛛开发网站17岁在线观看免费高清完整版
  • mvc网站开发 案例视频wordpress 弹窗
  • 企业网站建设代理加盟东莞seo网络优化
  • 网站有什么功能中小企业网站建设框架
  • 电子商务网站建设运行环境网站网页?问?
  • 建立导购网站三亚凤凰镇网站建设兼职招聘网
  • 厦门制作企业网站成crm软件
  • 新乡专业做网站多少钱网站开发费属于无形资产
  • 网页设计与网站建设报告书政务网站集约化建设
  • 黄陌陌网站怎么做软件工程师怎么学
  • 厦门住房建设局网站首页简单网页制作模板免费
  • 合肥商城网站建设地址企业信用信息年报公示
  • 如何查询网站的备案信息热门关键词查询
  • 何炅做的代言网站学校网站维护怎么做
  • 西宁网站建设官网wordpress网站后台要怎么登陆
  • 设计对网站的重要性dedecms可以做什么网站