首页 | 本学科首页   官方微博 | 高级检索  
     

LINUX系统下多线程与多进程性能分析
引用本文:周丽,焦程波,兰巨龙.LINUX系统下多线程与多进程性能分析[J].微计算机信息,2005(17).
作者姓名:周丽  焦程波  兰巨龙
作者单位:河南郑州国家数字交换工程技术中心 450002(周丽,焦程波),河南郑州国家数字交换工程技术中心 450002(兰巨龙)
基金项目:国家863计划资助项目,可扩展到T比特的高性能IPv4/v6路由器基础平台及实验系统项目编号:2003AA103510
摘    要:采用多进程处理多个任务,会占用很多系统资源(主要是CPU和内存的使用)。在LINUX中,则对这种弊端进行了改进,在用户态实现了多线程处理多任务。本文系统论述了多线程间通信技术的使用,通过对单cpu系统中多线程和多进程技术的比较和和性能分析,结合线程间通信技术的有关特性提出了应用该项技术所应遵循的原则和思路,并提出了改进思路,同时还讨论了多线程通信中存在的一些问题。

关 键 词:多线程  多进程

The Performance of Multi- Pthreads vs Multi- Processes in Linux Operation System
Zhou,Li Jiao,Chengbo Lan,Julong.The Performance of Multi- Pthreads vs Multi- Processes in Linux Operation System[J].Control & Automation,2005(17).
Authors:Zhou  Li Jiao  Chengbo Lan  Julong
Affiliation:(National Digital Switching System Engineering & Technology Research Center,Henan,450002) Zhou,Li Jiao,Chengbo Lan,Julong
Abstract:Using multi- processes to handle multi- tasks will use a lot of system resources (mainly include cpu and memory).In linux os, this disadvantage is improved by using multi- threads to deal with multi- tasks.In this paper,we discuss the application of multi - threads and multi - processes by comparing their perfor- mance.In the end,we give a method which use multi - threads and multi- processes together to improve.Also we mention some problems in multi- threads communication.
Keywords:multi- threads  multi- processes  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号