Share Virtual Machines

Speed Up Sharing Through Shrinking VM’s

Posts Tagged ‘transfer

Top 10 referrers for Q1 2009

without comments

Top 12 referrers over the past 3 months

without comments

How long does it take to copy a VM over the Internet?

with one comment

Most of us who have copied large files over the Internet (or even within the company’s network for that matter) have been surprised by the amount of time it takes. We dont have a mapping in our mind that can relate the network bandwidth in Mbps with the size of the file to be transferred (GB). I found a nifty file transfer time calculator on the Internet and computed the effective transfer rate for several different bandwidth options by subtracting the signal overhead and an average 5% Layer 4 overhead from the rated capacity. The table below shows the expected transfer times for different network bandwidths, your mileage will vary with the Internet/internal network traffic at your site.

Transfer Time

File Size (GB)

1.544 Mbps T1/DS1

2.088 Mbps E1

10 Mbps Thin Ethernet

44.736 Mbps T3/DS3

1

1h 44m 35s

1h 16m 02s

0h 14m 19s

0h 03m 09s

5

8h 42m 57s

6h 20m 10s

1h 11m 37s

0h 15m 45s

10

17h 25m 55s

12h 40m 20s

02h 23m 15s

00h 31m 31s

15

26h 08m 52s

19h 00m 31s

03h 34m 52s

00h 47m 16s

20

34h 51m 50s

25h 20m 41s

04h 46m 30s

01h 03m 02s

The timings for T1 correlate very closely with my experience of transferring VM’s between my machine and ec2 when I am the sole user. It takes me over half a day to transfer a 10Gb VM and this is really wearing me down.

The chronic problem is how to reduce the time taken to copy VM’s to a remote datacanter, either one owned by your company or a cloud provider, over your company’s private network or on the Internet. Neitwork bandwidth will always remain a gating issue for most of us who are developers.

Written by paule1s

December 31, 2008 at 3:05 pm

rsync vm, vhd for backup, disaster recovery, ec2

with 3 comments

I use ftp to transfer large VM image of my code to a remote development team based in India and rsync for copying and backing up code, configuration and data from ec2. I researched the web for best practices that have evolved for speeding up large VM transfers. It seems there are none today, unless you are transferring VM’s on your company’s WAN and they are using WAN accleration to improve the transfer rate. However, I have found two models for using rsync with vmdk’s and  vhd’s. Here’s a sample of use cases:

Cloud-centric usage

rsync is used for copying and backing up code, configuration and data from cloud-based services like Amazon ec2.

Traditional usage

rsync is used for backing up large VM’s to a remote store or for disaster recovery

Read about Backup, Disaster Recovery for Windows VM’s

Written by paule1s

December 19, 2008 at 1:01 am

How to transfer Virtual Images between machines?

with one comment

I got an Amazon EC2 account and wanted to upload image from my laptop to Amazon. First few attempts took way too long (creating the AMI was another saga). So I thought there has to be a better way to do this. After searching for a couple of hours, here are all the links I found. Finally I just went to amazon and redid all the work starting from a pre-registered public AMI. 

Solutions

Research

Patents

Written by RS

November 25, 2008 at 6:33 pm

Compressing Virtual Images

without comments

Experience with running out of storage

Background about sparse files, Windows NTFS and VHD

VHD Pre-Compactor & Compactor

When you create a new VM you can pre-allocate all the storage in one shot or let the storage grow on demand. In the latter case, the VM uses a sparse file

VMDK Wipe & Shrink

3rd Party (Not from MSFT & VMW)

Rsync: for transferring files between machines

Research

Written by RS

November 25, 2008 at 6:10 am