热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

AmazonEC2ComputeUnit性能评测

使用以下命令测试CPU性能:timeechoscale5000;4*a(1)|bc-l-qIntel(R)Core(TM)i5-2300CPU@2.80G

使用以下命令测试CPU性能:
time echo "scale=5000; 4*a(1)" | bc -l -q


Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz
cpu MHz         : 2884.687
cache size      : 6144 KB
real    0m22.797s
user    0m22.787s
sys     0m0.003s

Intel(R) Xeon(R) CPU E5345  @ 2.33GHz
cpu MHz         : 2327.502
cache size      : 4096 KB
real    0m34.086s
user    0m33.954s
sys     0m0.011s


Amazon EC2 Small Instance
1 EC2 Compute Unit (1 virtual core with 1 EC2 Compute Unit)
 
One EC2 Compute Unit provides the equivalent CPU capacity of a 1.0-1.2 GHz 2007 Opteron or 2007 Xeon processor. This is also the equivalent to an early-2006 1.7 GHz Xeon processor referenced in our original documentation.

Intel(R) Xeon(R) CPU           E5507  @ 2.27GHz
cpu MHz         : 2266.746
cache size      : 4096 KB

第一次:
real    1m42.415s
user    1m39.924s
sys     0m0.546s

第二次:
real    1m42.580s
user    1m40.164s
sys     0m0.471s


总的看来, EC2一个计算单元性能相当于i5-2300 CPU @ 2.80GHz一个core的1/4~1/5, 和官方给的说法差不多。


High-CPU Extra Large Instance
7 GB of memory, 20 EC2 Compute Units (8 virtual cores with 2.5 EC2 Compute Units each), 1690 GB of local instance storage, 64-bit platform
Heavy Utilization Reserved: 1 year Term要$2210, 3 year Term要$3400

Cluster Compute Quadruple Extra Large Instance
23 GB memory,33.5 EC2 Compute Units (2 x Intel Xeon X5570, quad-core “Nehalem” architecture)--平均4.2 Compute Unit = 1 Xeon X5570 core
On-Demand 价格 $1.30 per hour 一年要7000+$ 很贵.
Heavy Utilization Reserved: 1 year Term要$4060

Cluster Compute Eight Extra Large Instance
60.5 GB memory, 88 EC2 Compute Units (eight-core 2 x Intel Xeon)-- 平均5 Compute Unit = 1 Xeon core
$2.40 per hour 

 

 

 

用openssl来测试cpu运算能力

命令: openssl speed rsa1024

在Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz的表现如下:  2902 signs/s
       sign     verify      sign/s verify/s
rsa 1024 bits 0.000345s 0.000020s   2902.3  50950.2


Amazon EC2 small instance with 1 compute unit and 1.7GMem: 302 signs/s

EC2 actively limits CPU to what is assigned to your instance class. Micro instances are the only ones with burstable CPU assignment.
 
Rackspace cloud doesn't limit CPU, but how much CPU you get will depend on how much CPU the instance sharing your host are using. You will probably see less consistent performance over time.

Using an ELB is the best way to offload SSL processing.

 


推荐阅读
  • 生成式对抗网络模型综述摘要生成式对抗网络模型(GAN)是基于深度学习的一种强大的生成模型,可以应用于计算机视觉、自然语言处理、半监督学习等重要领域。生成式对抗网络 ... [详细]
  • PatchODAX8: ... [详细]
  • 加密、解密、揭秘
    谈PHP中信息加密技术同样是一道面试答错的问题,面试官问我非对称加密算法中有哪些经典的算法?当时我愣了一下,因为我把非对称加密与单项散列加 ... [详细]
  • 如何自行分析定位SAP BSP错误
    The“BSPtag”Imentionedintheblogtitlemeansforexamplethetagchtmlb:configCelleratorbelowwhichi ... [详细]
  • Iamtryingtomakeaclassthatwillreadatextfileofnamesintoanarray,thenreturnthatarra ... [详细]
  • 本文介绍了brain的意思、读音、翻译、用法、发音、词组、同反义词等内容,以及脑新东方在线英语词典的相关信息。还包括了brain的词汇搭配、形容词和名词的用法,以及与brain相关的短语和词组。此外,还介绍了与brain相关的医学术语和智囊团等相关内容。 ... [详细]
  • 云原生边缘计算之KubeEdge简介及功能特点
    本文介绍了云原生边缘计算中的KubeEdge系统,该系统是一个开源系统,用于将容器化应用程序编排功能扩展到Edge的主机。它基于Kubernetes构建,并为网络应用程序提供基础架构支持。同时,KubeEdge具有离线模式、基于Kubernetes的节点、群集、应用程序和设备管理、资源优化等特点。此外,KubeEdge还支持跨平台工作,在私有、公共和混合云中都可以运行。同时,KubeEdge还提供数据管理和数据分析管道引擎的支持。最后,本文还介绍了KubeEdge系统生成证书的方法。 ... [详细]
  • 本文讨论了在Windows 8上安装gvim中插件时出现的错误加载问题。作者将EasyMotion插件放在了正确的位置,但加载时却出现了错误。作者提供了下载链接和之前放置插件的位置,并列出了出现的错误信息。 ... [详细]
  • 本文介绍了使用C++Builder实现获取USB优盘序列号的方法,包括相关的代码和说明。通过该方法,可以获取指定盘符的USB优盘序列号,并将其存放在缓冲中。该方法可以在Windows系统中有效地获取USB优盘序列号,并且适用于C++Builder开发环境。 ... [详细]
  • docker安装到基本使用
    记录docker概念,安装及入门日常使用Docker安装查看官方文档,在"Debian上安装Docker",其他平台在"这里查 ... [详细]
  • 开发板:FL2440内核:linux3.0无线网卡:RT3070RT3070的工作模式分为STA(station)模式、SoftAP(AccessPoint)模式两种。STA ... [详细]
  • python之poc编写——sql篇
    文章目录sql注入漏洞漏扫单个网站基础sql扫描多个网站sql基础扫描时间盲注型扫描升阶版sq ... [详细]
  • OrbitDBPeer 2 Peer Database using CRDTs
    2019独角兽企业重金招聘Python工程师标准Apeer-to-peerdatabaseforthedecentralizedwebOrbitDBisaserverless ... [详细]
  • 假设你有一个数组:intarray[SIZE];或者int*array=new(int[ ... [详细]
  • 文本处理与软件管理
    1、自建yum仓库,分别为网络源和本地源本地源:       网络源:[root@openvpn~]#catetcyum.repos.dCentOS-Base.repo#CentO ... [详细]
author-avatar
韦凯孟强志宪
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有