【24h】

Optimizing the Java Piped I/O Stream Library for Performance

机译:优化Java管道I / O流库以提高性能

获取原文
获取原文并翻译 | 示例

摘要

The overall performance of Java programs has been significantly improved since Java emerged as a mainstream programming language. However, these improvements have revealed a second tier of performance bottlenecks. In this paper, we address one of these issues: the performance of Java piped I/O stream library. We analyze commonly used data transfer patterns in which one reader thread and one writer thread communicate via Java piped I/O streams. We consider data buffering and synchronization between these two threads, as well as the thread scheduling policy used in the Java virtual machine. Based on our observations, we propose several optimization techniques that can significantly improve Java piped I/O stream performance. We use these techniques to modify the Java piped I/O stream library. We present performance results for seven example programs from the literature that use the Java piped I/O stream library. Our methods improve the performance of the programs by over a factor of 4 on average, and by a factor of 27 in the best case.
机译:自从Java成为主流编程语言以来,Java程序的整体性能已得到显着改善。但是,这些改进揭示了第二层性能瓶颈。在本文中,我们解决了以下问题之一:Java管道I / O流库的性能。我们分析了常用的数据传输模式,其中一个读取器线程和一个写入器线程通过Java管道I / O流进行通信。我们考虑这两个线程之间的数据缓冲和同步,以及Java虚拟机中使用的线程调度策略。基于我们的观察,我们提出了几种优化技术,可以显着提高Java管道I / O流性能。我们使用这些技术来修改Java管道I / O流库。我们提供了使用Java管道I / O流库的七个示例程序的性能结果。我们的方法将程序的性能平均提高了4倍,在最佳情况下提高了27倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号