首页> 外国专利> Techniques for efficient memory management for longest prefix match problems

Techniques for efficient memory management for longest prefix match problems

机译:最长前缀匹配问题的有效内存管理技术

摘要

Techniques for efficient memory management that enable rapid longest prefix match lookups in memory. In general, the present invention is efficacious wherever maintenance of a good distribution of holes in a sorted list is required. This technique relies on a proactive hole management methodology to preserve a good distribution of holes in each memory region in such a way that one does not have to search for holes in order to insert or store a new entry into the list. In particular, all holes in a given region are kept in one or more contiguous sub-region. Keeping the holes contiguous requires a hole move every time there is a delete operation. The amortized cost of these operations is justified by the resulting simplification in later insert (store) and delete operations. For example, during an insert the new entry is placed at the end of the contiguous sub-region of used entries in the region. During a delete, when a hole is created in the middle of a contiguous sub-region of used entries, the last used entry is moved into the hole, thus keeping the holes contiguous. Such an organization of holes and movement of used entries within a region is permissible within the longest prefix match type of lookup table, because all entries within a region, by definition, have an IP prefix of equal length.
机译:有效的内存管理技术,可在内存中快速进行最长的前缀匹配查找。通常,本发明在需要维持已排序列表中的孔的良好分布的地方都是有效的。这项技术依靠一种主动的空洞管理方法来保持空洞在每个存储区域中的良好分布,从而不必为了插入或在列表中存储新条目而搜索空洞。特别地,给定区域中的所有孔都保持在一个或多个连续的子区域中。保持孔是连续的,每次执行删除操作时都需要移动孔。这些操作的摊销成本通过后来的插入(存储)和删除操作的简化而证明。例如,在插入期间,将新条目放置在该区域中已使用条目的连续子区域的末端。在删除过程中,当在已用条目的连续子区域的中间创建一个孔时,最后使用的条目将移入该孔,从而使孔保持连续。在查找表的最长前缀匹配类型中,这种区域内使用的条目的空洞和移动是允许的,因为根据定义,区域内的所有条目都具有相等长度的IP前缀。

著录项

  • 公开/公告号US6725326B1

    专利类型

  • 公开/公告日2004-04-20

    原文格式PDF

  • 申请/专利权人 CISCO TECHNOLOGY INC.;

    申请/专利号US20000639387

  • 发明设计人 RINA PANIGRAHY;ABHIJIT PATRA;SAMAR SHARMA;

    申请日2000-08-15

  • 分类号G06F120/00;

  • 国家 US

  • 入库时间 2022-08-21 23:13:46

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号