Fun with Parallel Algorithms

Slides:



Advertisements
Similar presentations
Pecan cinnamon cookies. Walnut Cinnamon Cookies 1/2 cup unsalted butter 3/4 cup granulated sugar, divided 1/4 cup packed light brown sugar 1 large egg.
Advertisements

Chocolate Chip Cookies. Ingredients: ½ cup butter (1 stick) 1/3 c. brown sugar (packed) 1/3 c. granulated sugar (white) 1 egg 1/ 2 t. vanilla 1 cup +
1.02 C Work Plans 1 The secret for success!. Why use a work plan? It is important to use a work plan to help meal preparation run smoothly. To implement.
Recipes.
Understanding Recipes
How To Make Chocolate Chip Cookies By: Kevin Klosky.
By KIANA,SABRINA,EDGAR Decker Healthy Eating Project.
Next. Ingredients for your Chocolate Brownies Your ingredients for your Chocolate Brownie 3/4 cup cocoa, unsweetened 1/2 teaspoon baking soda 2/3 cup.
Baking Chocolate Chip Cookies Ms. Davis Life Skill Class July 11th, 2004.
How to Make Cheesecake Guy Proviano Guy Proviano Period 7.
Cookies In All Kinds and Colors My favorite cookies by Ms. Kampner.
By Brianne and Lacey This presentation is going to explain to you how to make chocolate chip cookies. Supplies Ingredients Directions It will include:
1.02 I Preparation Tasks List
The Tastier Food Is Not Always the Better Choice By: Mia Scutti & Sara Takhim.
White Chocolate Orange Cookies. 1 cup butter softened 1/2 cup white sugar 1/2 cup brown sugar 1 egg 1 tablespoon orange zest 2 1/4 cups all-purpose flour.
© 2011 wheresjenny.com BROWNIES SERVINGS: 16 PIECES PREPARATION TIME : ONE HOUR.
By James Creamer Cupcake Recipe. Ingredients 2 1/4 cups all purpose flour 1 1/3 cups sugar 3 teaspoons baking powder 1/2 teaspoon salt 1/2 cup shortening.
Math Math Math Why do we study math? First of all, it’s all around us! First of all, it’s all around us!
Make butter milk pancake batter.  Did you know that there is a pancake day?  These breakfast treats can be called hot cakes, and flapjacks  Pancake.
By: Shaelyn Laurie How To Bake A Cake. Step 1: The Recipe Ingredients 2 cups (500 mL) sugar 4 eggs 2-1/2 cups (625 mL) all-purpose flour 1 cup (250 mL)
Transition Words Cake Recipe.
Cake Recipe. Ingredients Utensils 1 st Step Pre-Heat oven to 180 degrees Celsius.
Streptococcus pneumoniae. Fig. 6.3b Avery, McCarty and MacLoed, 1944.
The Cupcake By Master Pastry Chef. Ingredients : +3 cups cake flour sifted +2 1/2 teaspoons baking powder +1/2 teaspoon salt +1 3/4 cups granulated sugar.
Welcome to Arista’S Baking!. Pick any Tasty Dessert to get started.
1.02 I Preparation Tasks List 11.02I Listing Preparation Tasks.
Baking Cookies English Club eats chocolate chip cookies!
RECIPE. NAME: Three chocolates cake. INGREDIENTS 3 cups 1 1/2 tsp 3/4 tsp 1 1/2 tsp 2 2/3 cups 1 cup + 2 Tb 1 cup + 2 Tb 1 cup + 2 Tb 5 large or 4 Jumbo.
Made by Doglyad Helen. Mafioso Chocolate Cake with La Famiglia Chocolate Frosting is just as rich as the Don himself. Surrounded by the best ingredients.
Following a Recipe The do’s and don’ts!. If you were taking a road trip to some place you had never been to before, what would you want to take with you?
1.02 C Work Plans 1 The secret for success!. Why use a work plan? Helps meal preparation run smoothly Implement these steps: 1.02CWork Plans2 Steps 1-
Friends for Chip By: Carla Vela.  This is Chip, Hershey C. Chip.
How to Bake Brownies Julie Galbraith FVP12. Supplies Needed An Oven A Pan Butter Salt Flour Sugar Cocoa Vanilla Baking Powder Eggs Spoons Measuring Cups.
Instructional Video Read the Recipe Select Ingredients And Equipment Prepare The Recipe BAKING COOKIES IN THE VIRTUAL WORLD HELP About LO.
 7 yolks  ½ cup of sugar  6 cups of flour  ¾ g. of salt  5 g. of cocoa  vanilla  7 eggs whites  Mousse  A fork  A plate  A spoon  A bowl.
How to make a BIG sponge cake! By Gina kinsman.. Ingredients! You will need: ½ cup of milk 2 teaspoons & table spoons of unsalted butter 8 large eggs.
Following a Recipe The do’s and don’ts! Original Author Unknown Modified By: CTAE Resource Network.
FROM SCRATCH UTENSILS NEEDED Original recipe makes 1 - 9x13 inch cake 9X13 Dish Pan Large Bowl.
Cookies !. Ingredients: 3/4 cup granulated sugar 3/4 cup packed brown sugar 1 cup butter or margarine, softened 1 teaspoon vanilla 1 egg 2 cups Gold Medal.
Functional Text. What is “functional text?” Instruction manuals Recipes Lists of facts (ex: nutrition facts) Table of contents Index Directions That is.
Are you ready to bake???? Coconut BallsChocolate Chip Cookies.
How to make chocolate chip cookies By Rose Savage.
Q How to make pancakes /. 4 cups flour 2 tablespoons of sugar 1 teaspoon of salt two eggs beaten 4 cups of milk oil.
2 cups Sugar 1/2 cup Butter 1/2 cup Hershey's Cocoa 1 teaspoon Vanilla 1 cup Boiling Folgers Coffee 1/2 cup Buttermilk 2 Eggs 2 cups Flour 1/4 teaspoon.
How to Make Chocolate Chip Cookies Caity Jozwiak Period 6.
Does chocolate chip cookie dough sit in the refrigerator for 48 hours before baking it? By: Brooke Giaccone-Hammell And Julie Sentman.
+ Chocolate Chip Cookies Diamond Britton. + Recipe (2 dozen) 1 teaspoon baking soda 1 teaspoon vanilla extract 1 large egg 1 cup flour 1 teaspoon salt.
Grease and lightly flour an 8x8x2-inch baking pan. Melt chocolate and butter; cool. Stir together flour, baking powder, and ¼ teaspoon salt. In a mixer.
How to Make Chocolate Chip Cookies
Your Name 1/4 cup unsalted butter, melted 1/2 teaspoon vanilla extract 1 egg, room temperature Set aside Andes Peppermint Chips. Scoop out and cream the.
CHOCOLATE CAKE by: Sean and Lorenzo. CHOCOLATE CAKE Chocolate Cake Ingredients: 3/4 cups butter or margarine, softened. 3 eggs. 2 cups sugar. 2 cups flour.
Kinds of Cakes Shortened Cakes Contain fat (butter, margarine, shortening) Tender, Moist, & Velvety Yellow Cake, Pound Cake Unshortened Cakes Do not contain.
Sour Cream Pound Cake. 2 cups butter, softened 3 cups white sugar 6 eggs 1 teaspoon vanilla extract.
The cookies. ingredients for cookies 250 g butter g chocolate chips - 2 eggs g flour g of sugar g of brown sugar - 1 teaspoon.
Recipe of chouquettes.
How to Make a Cake Mrs. Janasik.
Following a Recipe The do’s and don’ts! Original Author Unknown
How To Make Applesauce Cake
Candy Corn Sugar Cookies
How can we do cookies ?. How can we do cookies ?
1.02 C Work Plans The secret for success! 1.02C Work Plans.
Pink Cake.
Chocolate Chip Cookies
Let’s make Cookies!.
Birthday cake BABY MOMO.
Mini fruit cakes Ingredients 100g self raising flour 100g caster sugar
Fudgy Chocolate Brownies Recipe
Recipe Chocolate cake.
1.02 C Work Plans The secret for success! 1.02C Work Plans.
Maple Apple Upside Down Cake
Presentation transcript:

Fun with Parallel Algorithms CHiPS Workshop

Parallelizing our lives Many of the tasks we perform in our everyday lives include significant parallelism Can you name some of these? Form groups of 3-4 and write down a list of your daily activities (e.g., shower, get dressed, eat breakfast, dry your hair) Identify at least 12-15 activities Consider which of these activities could be carried out concurrently Identify pairs of parallelizable activities

What is wrong with our world? Next, consider why many of these cannot presently be carried out in parallel What would need to be changed in our physical world (e.g., showers, cars, Ipods) to allow us to complete many of these activities in parallel How often is parallelism inhibited by our inability of carrying out two things at the same time? Estimate how much more quickly it would take to carry out these activities if you could change these physical systems

Let’s Bake Some Cakes You are trying to bake 3 blueberry pound cakes Cake ingredients are as follows:   1 cup butter, softened 1 cup sugar 4 large eggs 1 teaspoon vanilla extract 1/2 teaspoon salt 1/4 teaspoon nutmeg 1 1/2 cups flour 1 cup blueberries

Cake Baking 101 The recipe for a single cake is as follows: Step 1: Preheat oven to 325°F (160°C). Grease and flour your cake pan. Step 2: In large bowl, beat together with a mixer butter and sugar at medium speed until light and fluffy. Add eggs, vanilla, salt and nutmeg. Beat until thoroughly blended. Reduce mixer speed to low and add flour, 1/2 cup at a time, beating just until blended. Step 3: Gently fold in blueberries. Spread evenly in prepared baking pan. Bake for 35 minutes. Step 4: Allow to cool for 20 minutes in pan. Remove from pan

Cake Baking 101 Your task is to cook 3 cakes as efficiently as possible. Assuming that you only have one oven large enough to hold one cake, one large bowl, one cake pan, and one mixer, come up with a schedule to make three cakes as quickly as possible. Identify the bottlenecks in completing this task. Assume now that you have three bowls, 3 cake pans and 3 mixers. How much faster is the process now that you have additional resources? Assume now that you have two friends that will help you cook, and that you have three ovens that can accommodate all three cakes. How will this change the schedule you arrived at in Part a.) above? Compare the cake-making task to computing 3 iterations of a loop on a parallel computer. Identify data-level parallelism and task-level parallelism in the cake-making loop.

Cost/Performance Next, consider the following costs associated with cake baking (computed in ears of corn) Ovens = 50 ears/oven Cake pans = 10 ears/pan Mixers = 25 ears/mixer Cooks = 75 ears/cook Bowls = 5 ears/bowl Consider the following latencies Grease and flour pan = 5 minutes Mixing time = 40 minutes Cooking time = 30 minutes Cooling time = 20 minutes Find the best cost vs. performance given these constraints Cost in ears Performance in cakes/minute