期刊文献+

面向网络数据实时检测的多线程内存管理技术 被引量:2

Multithreaded memory management in real-time network data detection
下载PDF
导出
摘要 针对目前内存管理算法在多线程环境下存在的问题,提出了一种新的面向网络数据实时检测系统的多线程内存管理算法 MLMalloc。MLMalloc 算法采用线程局部内存区的方式解决了在多线程环境下内存锁的频繁竞争问题;预先在线程局部区和全局内存区分配大量内存,减少了在线程局部内存区、全局内存区和系统内存区之间的内存获取和归还抖动;线程局部内存区和全局内存区由固定大小的内存堆构成,在两种内存区之间采用预测的方式,一次锁操作分配或归还多个堆,减少了对内存区锁的竞争次数。实验结果表明,MLMalloc 算法显著地提高了多线程环境下大规模网络数据实时检测系统内存操作的效率。MLMalloc 算法的性能要优于 PTFMalloc 算法和 TCMalloc 算法,并且运行线程的数目越多,性能提高的幅度越大。 The paper proposes a new algorithm named MLMalloc (multithread local malloc) for the real-time network data detection. MLMalloe adopts the thread-local memory to avoid the contention for multithread memory lock. To significantly reduce the thrashing times in requesting and releasing the memory among thread-local memory, global memory and system memory, MLMalloe pre-allocate plenty of memory resouree in thread-local memory and global memory. The thread-local memory and global memory consist of fixed - size memory heaps. Multiple heaps will be got or returned once, so the times of operating memory lock decrease drastically. The experimental result shows that MLMalloe can greatly improve the performance in memory operation and perform better than the famous PTMalloc and TCMalloc, especially when more threads are running.
作者 王东滨 胡铭曾 智慧 余翔湛 Wang, Dongbin[1]; Hu, Mingzeng[1]; Zhi, Hui[2]; Yu, Xiangzhan[1]
出处 《高技术通讯》 EI CAS CSCD 北大核心 2008年第12期1231-1235,共5页 Chinese High Technology Letters
基金 国家自然科学基金(60573134) 863计划(21307AA01Z406、2006AA01Z452)资助项目
关键词 线程局部内存 全局内存 内存管理 网络数据检测 thread-local memory, global memory, memory management, network data detection
  • 相关文献

参考文献10

  • 1Masmano M, Ripoll I, Crespo A. A comparison of memory allocators for realtime applications. In: Proceedings of the 4th international workshop on Java technologies for real-time and embedded systems, Paris, France, 2006, 68-76
  • 2Gloger W. Dynamic memory allocator implementations in Linux system libraries, http://www. dent. med. uni-muenchen. de/wmglo/malloc-shdes.html, 1998
  • 3Chuck L, David B. Malloc( ) Performance in a Multithreaded Linux Environment: [CITI Technical Report 00-5]. Ann Arbor: Center for Information Technology Integrity of University of Michigan, 2000
  • 4Larson P A, Krishnan M. Memory allocation for long-running server applications. In: Proceedings of the International Symposium on Memory Management, Vancouver, B.C., Canada, 1998, 176-185
  • 5Berger E D, MCKINLEY K S, Blumofe R D, et al. Hoard: A Scalable Memory Allocator for Muhithreaded Applications. In: Proceeding of the International Conference on Arehitectural Support for Programming Languages and Operating Systems (ASPLOS-IX). SIGPLAN Notices, Cambridge, Massachussetts, 2000, 117-128
  • 6Sanjay G, Paul M. TCMalloc: Thread-Caching Malloc. http://goog-perftools. sourceforge. net/doc/tcmalloc.html, 2005
  • 7Lea D. A Memory Allocator. http://gee. cs. oswego. edu/dl/ html/malioc.html, 2003
  • 8罗浩,云晓春,方滨兴.多线程TCP/IP协议还原技术的研究[J].高技术通讯,2003,13(11):15-19. 被引量:6
  • 9张志斌,郭莉,方滨兴,陈小军.一种基于自动机分解的网络协议并行处理策略[J].计算机学报,2006,29(8):1496-1504. 被引量:4
  • 10韩笑,李斌,田志宏.大规模网络环境下高可扩展的信息监测系统[J].计算机工程与应用,2005,41(25):152-154. 被引量:1

二级参考文献39

  • 1[1]Libnids. An implementation of an E-component of network intrusion detection system. http: //www. packetfactory.net/Proj ects/Libnids/
  • 2[2]Chesson G. UNIX Review,1987,5(9):70
  • 3[3]Goldberg M, Neufeld G. The raven protocol framework.Univ Tech Rep TR-92-15, British Columbia, Vancouver,BC, Canada: 1992
  • 4[4]Goldberg M, Neufeld G, Ito M. A parallel approach to OSI connection-oriented protocols. In: Proc 3rd IFIP Workshop Protocols for High-Speed Networks, Stockholm,Sweden: 1992. 225
  • 5[5]Jain N, Schwartz M, Bashkow T. Transport protocols processing at GBPS rates. In: Proc ACM SIGCOMM'90,Philadelphia, PA: 1990. 188
  • 6[6]Yates D, Nahum E, Kurose J, et al. Networking support for large scale multiprocessor servers. In: Proc SIGMETRICS'96, Philadelphia, PA: 1996. 116
  • 7[7]Bjorkman M,Gunningberg P. IEEE/ACM Transctions on Networking, 1998,6(3): 262
  • 8[8]tcpdump. Dump traffic on a network. http://www. tcpdump. org
  • 9[9]Wolfram Gloger's malloc homepage. http://www. malloc.de/en/
  • 10DITTIA Z,PARULKAR G,COX J.The APIC approach to high performance network interface design:protected DMA and other techniques[C].In :Proceedings of INFOCOM'97, Kobe ,Japan, 1997 : 179-187.

共引文献8

同被引文献23

  • 1郑巍,许旻鸿.开源软件Linux内核的进化分析[J].华南理工大学学报(自然科学版),2007,35(9):74-77. 被引量:7
  • 2An K H,Chung M. Cognitive face analysis system for future interactive TV[J].IEEE Transactions on Consumer Electronics,2009,(04):2271-2279.
  • 3Garcia-Quinchia A,Guo Y,Martin E. A systemon-chip (SOC) platform to integrated inertial navigation systems&GPS[A].Seoul,Korea,2009.603-608.
  • 4Yu Y P. Object oriented teleconsultations in global PACS using multi-thread Java[A].Wailea,USA,1997.166-175.
  • 5Ma J;Ji Z;Cui M.Design and implementation of the web-based real-time remote expert identification system:used for biological quarantine[A]湖北武汉,20101-4.
  • 6Takeda R;Nakadai K;Takahashi T.Speedup and performance improvement of ica-based robot audition by parallel and resampling based block-wise processing[A]台湾台北,20101949-1956.
  • 7Traff J L,Gropp W D,Thakur R. Self-consistent MPI performance guidelines[J].IEEE Transactions on Parallel and Distributed Systems,2010,(05):698-709.doi:10.1109/TPDS.2009.120.
  • 8Ayguade E,Copty N,Duran A. The design of OpenMP tasks[J].IEEE Transactions on Parallel and Distributed Systems,2009,(03):404-418.
  • 9Gropp W,Lusk E. Goals guiding design:PVM and MPI[A].Chicago,USA,2002.257-265.
  • 10Stankovic N,Zhang K. A distributed parallel programming framework[J].IEEE Transactions on Software Engineering,2002,(05):478-493.doi:10.1109/TSE.2002.1000451.

引证文献2

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部