首页> 美国政府科技报告 >Heaps o' Stacks: Time and Space Efficient Threads Without Operating System Support.
【24h】

Heaps o' Stacks: Time and Space Efficient Threads Without Operating System Support.

机译:堆栈堆栈:没有操作系统支持的时间和空间高效线程。

获取原文

摘要

Modern languages and operating systems often encourage programmers to manage concurrent activity using threads, or independent control streams. Although threads can greatly simplify the control structure of complex programs, and arc almost essentially for writing parallel programs, threads are not force - in convectional languages, each thread must store a series of activation records, ususally stored on a stack. Efficiently managing storage for activation records is important for environments with limited storage or limit operating system support. It is also important for our intended purpose - allowing programmers to use threads to simplify the design of scientific parallel programs. In this paper, we show how whole-program optimization can be used to efficiently create activation records for threads resulting in safe, efficient threaded programs. Our method reduces TLB misses for programs with many small threads, is time and space efficient for scientific programs, does not require operating systems support and is safe. Most importantly, we show how to create very small stacks for parallel scientific programs, allowing hundreds of threads to be used.

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号