TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

RAID0 ephemeral storage on AWS EC2

51 点作者 cemerick大约 14 年前

3 条评论

andrew311大约 14 年前
I've done thorough testing on random read/write performance of ephemeral vs EBS, and I can tell you that EBS is waaaay better in the case of random IO. I can attest to the accuracy of the random IO performance in one of the references from the post:<p><a href="http://victortrac.com/EC2_Ephemeral_Disks_vs_EBS_Volumes" rel="nofollow">http://victortrac.com/EC2_Ephemeral_Disks_vs_EBS_Volumes</a><p>Amazon even says this on their page (also referenced by Gabriel).<p>Joe Stump's article might lead you to believe the ephemeral and EBS are equal for random IO, but Joe only tested on a RAID0 config with two EBS volumes.<p>In general, even with the best instances under the best circumstances, you won't crack 2K iops/sec on ephemeral RAID0 with four drives.<p>EBS, on the other hand, with 8 volumes configured in RAID0 will exceed 24K random reads/sec and 12K random writes/sec. The reads are so much higher because EBS is mirrored.<p>The downside with EBS is you can see worse performance when there are noisy neighbors. I've seen performance drop 50-70% for hours at a time on m1.large because of network card contention, but you can avoid this when on larger instances (m1.xlarge or m2.4xlarge do the trick).<p>Sequential IO is another matter. I haven't thoroughly compared, but I believe in this case things are more even.<p>Performance aside, there is something to be said for removing dependencies on a complex system like EBS. It also frees up network bandwidth and provides quite a bit of storage without the $0.10/GB cost of EBS. If iops isn't a problem and you plan on replicating, then ephemeral can be a big win.
dotBen大约 14 年前
So I'm kinda confused. The instance goes down, you lose your data. That's the main reason why Amazon build EBS <i>(granted it has issues of its own)</i><p>I'm not quite sure how, in production, this setup really helps you because you KNOW that you will loose your data.
评论 #2504327 未加载
RyanKearney大约 14 年前
Why would anyone go with RAID 0 for a server? At least do RAID 10.
评论 #2504059 未加载
评论 #2504062 未加载
评论 #2504209 未加载