首页> 外文会议>IEEE Infrastructure Conference >Share File Updating for Test Farms Using a File Cache
【24h】

Share File Updating for Test Farms Using a File Cache

机译:使用文件缓存共享文件更新测试场

获取原文

摘要

When a file needs to be updated by thousands of tests running on a compute farm, waiting for a chance to update slows down the overall runtime as the number of parallel test runs increases. We implemented a file cache that allows each test to write a small temporary file that either updates the shared file or is stored for later updating. A network file lock controls access to the shared file. If the file lock is not acquired, temporary files are merged to reduce the number of future file reads. Temporary files are removed only if their content is successfully added to the shared file or merged into another temporary file. Each test needs to update the shared file many times during a run, so a version number is used to select the temporary file to read and discard the others. The file cache eliminated the time delay for updating the shared file, saving hours of runtime per test suite and speeding up developer check-in time with no penalty for increasing tests or compute nodes. This paper will describe how the file cache was developed, detail the current approach, and illustrate the performance benefits.
机译:当需要在计算服务器场上运行的数千个测试需要更新文件时,随着并行测试运行的数量增加,等待更新的机会慢下来的速度。我们实现了一个文件缓存,允许每个测试编写一个小临时文件,可以更新共享文件或者存储以供稍后更新。网络文件锁控制对共享文件的访问。如果未获取文件锁定,请合并临时文件以减少未来文件读数的数量。仅当它们的内容已成功添加到共享文件或合并到另一个临时文件中时,才会删除临时文件。每个测试都需要在运行期间多次更新共享文件,因此版本号用于选择要读取和丢弃其他文件的临时文件。文件缓存消除了更新共享文件的时间延迟,每个测试套件保存运行时的小时数,并加快开发人员入住时间,不会因增加测试或计算节点而无法惩罚。本文将描述文件缓存是如何开发的,详细说明当前方法,并说明性能优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号