![]() Reference URL: Amazon EC2 instance store - Amazon Elastic Compute Cloud ![]() When configuring software-based RAID, make sure to change the minimum reconstruction speed: echo $((30*1024)) > /proc/sys/dev/raid/speed_limit_min To perform initialization on all instance store volumes at the same time, use the following command:ĭd if=/dev/zero bs=1M|tee /dev/sdb|tee /dev/sdc|tee /dev/sde > /dev/sddĬonfiguring drives for RAID initializes them by writing to every drive location. To initialize the instance store volumes, use the following commands on the m1.large, m1.xlarge, c1.xlarge, m2.xlarge, m2.2xlarge, and m2.4xlarge instance types: dd if=/dev/zero of=/dev/sdb bs=1Mįor information about the instance storage that is available for each instance type, see Instance Stores Available on Instance Types. Initialization can take a long time (about 8 hours for an extra large instance). ![]() Make sure to un-mount the drive before performing this command. To pre-warm the instance storage volumes, use the following Linux/Unix dd commands, depending on which store you want to initialize (/dev/sdb, etc.). If you require greater flexibility in latency or throughput, we recommend using Amazon EBS. The I2, R3, and HI1 instance types use direct-attached solid state drives that provide maximum performance at launch time, without pre-warming. However, if you require high disk performance, we recommend that you pre-warm your drives by writing once to every drive location before production use. For most applications, amortizing this cost over the lifetime of the instance is acceptable. Optimizing Disk Performanceīecause of the way that Amazon EC2 virtualizes disks, the first write to any location on an instance store volume performs more slowly than subsequent writes. If you have any questions, please do not hesitate to raise a case via. Maintenance on articles stored in this repository ceased on December 31st 2022 and this article may be stale. Content on is being migrated to either or. The Aerospike Knowledge Base has moved to. ![]()
0 Comments
Leave a Reply. |