grid computing with 256 windows azure worker roles & kinect alan smith march 2013
TRANSCRIPT
Grid Computing with 256 Windows Azure Worker Roles & KinectAlan Smith March 2013
Alan Smith
@alansmithDeveloper, Trainer, Mentor, EvangelistWindws Azure MVPWindows Azure InsiderFrom the UK, Living in StockholmPassionate about ”The Cloud” and the dev community.
Render Times
Film Render Hours
Madagascar: Escape 2 Africa
• 30,000,000• 3,400 years
Monsters vs. Aliens • 40,000,000• 5,500 years
Some of the frames required for Devastator in Transformers 2 took up to 72 hours.
viewpoint{ from <4.000, -1.000, 1.000> at <0.000, 0.000, 0.000> up <0, 1, 0> angle 60 resolution 640, 480 aspect 1.6 image_format 0}
light <-10, 30, 20>light <-10, 30, -20>
object { disc <0, -2, 0>, <0, 1, 0>, 30 wooden }object { sphere <0.000, 0.000, 0.000>, 1.00 chrome }object { cylinder <0.000, 0.000, 0.000>, <0.000, 0.000, -4.000>, 0.50 chrome }
Depth Range
KinectSensor
267 seconds * 2000 frames = 6 days 4 hours
On-Premise Computing Costs
Nodes Cost1 $50010 $5,000100 $50,0001000 $500,00010,000 $5,000,000
Assuming a cost of $500 per node
Cloud Computing Costs
Nodes Hours Cost
1 10,000 $1,200
10 1,000 $1,200
100 100 $1,200
1,000 10 $1,200
Theoretical compute cost for a 10,000 hour render job
Technologies Used
• Windows Azure Worker Roles• Windows Azure Storage
• Blobs, Queue, Tables• Windows Azure Media Services• Windows Azure Websites
Windows Azure
Compute – Worker RolesAzure StorageJob Queue
Blob Storage
Frame Queue
On-Premise
Animation Creator Process Monitor
Encode Queue
Depth Images
Scene Files
Frames
Websites Media Services
Table Storage
Job Stas
WorkerRole
Stasts
Worker RoleKinect App
Animation Job Processing
Windows Azure Storage
Viewpoint 10,6,0Light 10,6,7Light 10,8,-4Sphere 0,0,0Cylinder 0,1,0
Windows Azure Storage
Viewpoint 10,6,0Light 10,6,7Light 10,8,-4Sphere 0,0,0Cylinder 0,1,0
Viewpoint 10,6,0Light 10,6,7Light 10,8,-4Sphere 0,0,0Cylinder 0,1,0
Viewpoint 10,6,0Light 10,6,7Light 10,8,-4Sphere 0,0,0Cylinder 0,1,0
Viewpoint 10,6,0Light 10,6,7Light 10,8,-4Sphere 0,0,0Cylinder 0,1,0
Worker Role
Render Job Processing
Windows Azure Storage
Windows Azure Storage
Local Storage
Viewpoint 10,6,0Light 10,6,7Light 10,8,-4Sphere 0,0,0Cylinder 0,1,0
PolyRay.exe
Worker Role
Encode Job Processing
Windows Azure Storage
Windows Azure Storage
Local Storage
VirtualDub.exe
Windows Azure Media Services
Windows Azure Websites
Windows AzureCompute – Worker Roles Windows Azure Storage
Event Queue
Role Lifecycle Table
On-Premise
Process Monitor
Event Viewer
RoleId Status Frames Time
192938Runnin
g34
2:08:23
192939Runnin
g30
2:07:03
192940Runnin
g35
2:03:28
192941Runnin
g31
2:00:56
192942Runnin
g29
1:58:17
Monitoring 256 Worker Roles
Global Windows Azure Bootcamp – April 27th
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentations. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Thank youAlan SmithDeveloper, Trainer, Mentor, EvangeistWindows Azure MVP, Windows Azure [email protected]
Click to add title
Use this as an alternative slide when title type is longer than one line.
Use this as an alternative slide when title type is longer than one line.
Use this slide as a transition.
Use this slide for charts or large images where a color bar at the top is distracting.
Category 1 Category 2 Category 3 Category 40
1
2
3
4
5
6
Title Slide
t
Title Slide
Alan [email protected]
Grid Computng with 256 Windows Azure Worker Roles & Kinect
RégisLaurentDirector of Operations, Global KnowledgeCompetencies include:Gold LearningSilver System Management
RégisLaurentDirector of Operations, Global KnowledgeCompetencies include:Gold LearningSilver System Management
Use this slide as a title or transition.