Understanding Cloud-Based Data Center Networks
Total Page:16
File Type:pdf, Size:1020Kb
Cloud Networking This page intentionally left blank Cloud Networking Understanding Cloud-based Data Center Networks Gary Lee AMSTERDAM • BOSTON • HEIDELBERG • LONDON NEW YORK • OXFORD • PARIS • SAN DIEGO SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Morgan Kaufmann is an imprint of Elsevier Acquiring Editor: Todd Green Editorial Project Manager: Lindsay Lawrence Project Manager: Punithavathy Govindaradjane Designer: Russell Purdy Morgan Kaufmann is an imprint of Elsevier 225 Wyman Street, Waltham, MA 02451 USA Copyright # 2014 Gary Lee. Published by Elsevier Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher. Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/permissions. This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing. As new research and experience broaden our understanding, changes in research methods or professional practices, may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information or methods described herein. In using such information or methods they should be mindful of their own safety and the safety of others, including parties for whom they have a professional responsibility. To the fullest extent of the law, neither the Publisher nor the authors, contributors, or editors, assume any liability for any injury and/or damage to persons or property as a matter of products liability, negligence or otherwise, or from any use or operation of any methods, products, instructions, or ideas contained in the material herein. Library of Congress Cataloging-in-Publication Data Lee, Gary Geunbae, 1961- Cloud networking : developing cloud-based data center networks / Gary Lee. pages cm ISBN 978-0-12-800728-0 1. Cloud computing. I. Title. QA76.585.L434 2014 004.67’82–dc23 2014006135 British Library Cataloguing-in-Publication Data A catalogue record for this book is available from the British Library. ISBN: 978-0-12-800728-0 Printed and bound in the United States of America 141516171810987654321 For information on all MK publications visit our website at www.mkp.com Contents About the Author .................................................................................................. xiii Preface .....................................................................................................................xv CHAPTER 1 Welcome to Cloud Networking ................................ 1 Introduction.....................................................................................1 Networking Basics..........................................................................2 The network stack ......................................................................2 Packets and frames .....................................................................3 Network equipment ....................................................................4 Interconnect ................................................................................4 What Is a Cloud Data Center? .......................................................4 What Is Cloud Networking?...........................................................5 Characteristics of Cloud Networking.............................................5 Ethernet usage.............................................................................6 Virtualization ..............................................................................6 Convergence ...............................................................................7 Scalability ...................................................................................7 Software ......................................................................................8 Summary of This Book ..................................................................8 CHAPTER 2 Data Center Evolution—Mainframes to the Cloud ... 11 The Data Center Evolution...........................................................11 Early mainframes......................................................................12 Minicomputers..........................................................................12 Servers.......................................................................................13 Enterprise data centers..............................................................14 Cloud data centers ....................................................................14 Virtualized data centers............................................................15 Computer Networks......................................................................16 Dedicated lines .........................................................................17 ARPANET ................................................................................17 TCP/IP.......................................................................................18 Multi-Protocol Label Switching...............................................19 SONET/SDH.............................................................................20 Asynchronous Transfer Mode ..................................................21 Token Ring/Token Bus ............................................................22 Ethernet.....................................................................................23 v vi Contents Fibre Channel ...........................................................................23 InfiniBand .................................................................................23 Ethernet.........................................................................................24 Ethernet history.........................................................................24 Ethernet overview.....................................................................25 Carrier Ethernet ........................................................................27 Enterprise Versus Cloud Data Centers.........................................28 Enterprise data center networks ...............................................29 Cloud data center networks......................................................30 Movement to the Cloud................................................................31 Driving forces ...........................................................................31 Cloud types ...............................................................................32 Public cloud services ................................................................33 Review ..........................................................................................35 CHAPTER 3 Switch Fabric Technology..................................... 37 Switch Fabric Architecture Overview..........................................37 Shared bus architecture ............................................................38 Shared bus performance limitations.........................................39 Shared memory architecture.....................................................39 Shared memory performance limitations.................................40 Crossbar switch.........................................................................40 Crossbar switch performance limitations.................................41 Synchronous serial switching...................................................42 Synchronous serial performance limitations............................43 Switch Fabric Topologies.............................................................43 Ring topology ...........................................................................43 Mesh topology ..........................................................................44 Star topology.............................................................................45 Fat-tree topology.......................................................................46 Congestion Management ..............................................................47 Causes of congestion ................................................................47 Load balancing algorithms .......................................................48 Traffic buffering .......................................................................49 Flow Control.................................................................................50 Link-level flow control.............................................................51 Virtual output queuing..............................................................53 Multistage switch fabric flow control ......................................54 Traffic Management .....................................................................55 Frame classification engine......................................................55 Multilevel scheduler .................................................................55 Traffic shaping..........................................................................57 Contents vii Switch Chip Architecture Examples ............................................58 Cell-based designs ....................................................................58