Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3238434
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:51:12+00:00 2026-05-17T17:51:12+00:00

I have seen advice to ‘warm up’ EC2 to overcome a first write penalty:-

  • 0

I have seen advice to ‘warm up’ EC2 to overcome a first write penalty:-

Warm up data partitions – There is one
drawback to using disk IO in EC2: a
“first write” performance hit when
initially writing to new partitions.
To avoid this penalty, you can “warm
up” the partition by executing a sort
of throw-away command that accesses
it. For example, you can use the Linux
dd command to write to the disk. While
the penalty still occurs and cannot be
avoided, at least the first write to
your databases will not suffer the
effects.

Source: http://answers.oreilly.com/topic/1345-getting-the-most-out-of-mysql-in-the-amazon-cloud/

…but I haven’t found any further advice on best practice! Is this true of EBS storage? Can anyone recommend the ‘dd’ syntax that will perform this warmup and how to ensure that all blocks are ‘warmed’?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T17:51:12+00:00Added an answer on May 17, 2026 at 5:51 pm

    Thanks for the pointer to AWS forum. I did post the question there after posting here, and received a response from Jason@AWS. The thread is here:-

    http://developer.amazonwebservices.com/connect/message.jspa?messageID=198413#198413

    …and his response was:-

    There is a first- read penalty for
    EBS volumes created from snapshots, as
    the volume is made available before
    all of the blocks have been
    successfully loaded. You can negate
    this penalty by forcing every block on
    the volume to be read:

    $ dd if=/dev/<device> of=/dev/null

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I wonder if anyone could offer their advice on this one. I have some
I have seen conflicting advice on whether the following code is better def function():
I have seen advice that says the ternary operator must not be nested. I
I have seen numerous advice on stackexchange and all over the web suggesting that
Almost all the pipe examples I've seen advice closing the unused write/read ends. Also
Have seen some similar questions: What is the difference between a JavaBean and a
I have seen some people in SO commenting that Singleton Pattern is an anti-pattern.
I have seen behaviour in Perforce that I am unable to explain. I took
I have seen many posting this issue in SO. I have gone through those
I have seen in a few libraries, Spray for example, dual package specifications like

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.