...
首页> 外文期刊>Performance Evaluation >The OpBench Ethereum opcode benchmark framework: Design, implementation, validation and experiments
【24h】

The OpBench Ethereum opcode benchmark framework: Design, implementation, validation and experiments

机译:Opbench Ethereum Opcode基准框架:设计,实施,验证和实验

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

摘要

Ethereum is a public, permissionless blockchain, with Ether as cryptocurrency, and with Turing-complete smart contracts to implement arbitrarily complex distributed applications. Correct operation of Ethereum relies on appropriately rewarding participating nodes (called miners) for the resources used to run the blockchain. In Ethereum the Used Gas determines the reward miners receive for executing a smart contract. If the Used Gas is proportional to the cost of executing a smart contract, irrespective of the platform used, then all miners are incentivized identically. In this paper we propose OpBench, a platform-independent benchmark framework for Ethereum, as a lightweight approach to determine if for operational code (opcodes) the rewarded Used Gas is proportional to the invested CPU time. We implement OpBench for PyEthApp (in Python), Go-Ethereum (in GoLang) and Parity (in Rust). From the experiments we conclude that Used Gas is not always proportional to the required CPU, with up to an order of magnitude difference between opcodes. We also conclude that for most opcodes Parity performs the best of the three clients and that preference for Linux or Windows depends on the chosen Ethereum client software. (C) 2020 Elsevier B.V. All rights reserved.
机译:Ethereum是一个公共,权限的区块链,以太网作为加密货币,以及图灵完整的智能合同来实现任意复杂的分布式应用程序。 Ethereum的正确操作依赖于适当奖励参与的节点(称为矿工),以便用于运行区块链的资源。在Ethereum中,二手气体决定了奖励矿工接受执行智能合同。如果二手气体与执行智能合同的成本成本,而且无论使用的平台如何,所有矿工都相同激活。在本文中,我们提出了对Etereum的平台无关的基准框架,作为确定操作代码(操作码)的轻量级方法,奖励的使用的气体与投资的CPU时间成比例。我们为Pyethapp(在Python),Go-Etereum(在Golang)和平价(锈蚀)中实施Opbench。从实验中,我们得出结论,使用的气体并不总是与所需的CPU成比例,多达OPCODES之间的幅度差异。我们还得出结论,对于大多数OPCODES奇偶校验来执行三个客户端的最佳,并且对Linux或Windows的偏好取决于所选的Etereum客户端软件。 (c)2020 Elsevier B.V.保留所有权利。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号