...
首页> 外文期刊>International journal of computer science and network security >Hybrid Synchronization Based Distributed Thread Pool
【24h】

Hybrid Synchronization Based Distributed Thread Pool

机译:基于混合同步的分布式线程池

获取原文
   

获取外文期刊封面封底 >>

       

摘要

Distributed applications have been frequently developed with distributed thread pools (DTP) for performance boost. An important design aspect of thread pool system (TPS) is the use of one of two synchronization mechanisms called mutex and spinlock that controls access to producer-consumer shared queue (PCSQ). When to use which one depends upon several factors including computer architecture and application behavior. Each one has its own pros and cons. In our previous work, we have proposed a distributed frequency based thread pool (DFBTP), where PCSQ was implemented by mutex. Mutex causes context switches due to sleeping and waking of threads, hence degrades system performance. In this paper we are presenting a new distributed thread pool named Hybrid Synchronization Based Distributed Thread Pool (HSBDTP) that implements a combined synchronization approach of both spinlock and mutex in order to gain advantages of both synchronization primitives. The evaluation results have proved that HSBDTP outperformed old approach by sustaining maximum performance in terms of response time and wait times.
机译:分布式应用程序经常使用分布式线程池(DTP)开发,以提高性能。线程池系统(TPS)的一个重要设计方面是使用称为互斥体和自旋锁的两种同步机制之一,该机制控制对生产者-消费者共享队列(PCSQ)的访问。何时使用哪个取决于几个因素,包括计算机体系结构和应用程序行为。每个人都有其优点和缺点。在我们以前的工作中,我们提出了一种基于分布式频率的线程池(DFBTP),其中PCSQ由互斥锁实现。 Mutex会由于线程的睡眠和唤醒而导致上下文切换,因此会降低系统性能。在本文中,我们提出了一种新的分布式线程池,称为基于混合同步的分布式线程池(HSBDTP),该池实现了自旋锁和互斥锁的组合同步方法,以便获得两种同步原语的优势。评估结果证明,HSBDTP通过在响应时间和等待时间方面保持最佳性能,优于旧方法。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号