Table of Contents

Cover

Title Page

Copyright

Publisher's Note

Dedication

Acknowledgments

About the Authors

Introduction

What Is Covered in This Book

Who Should Buy This Book

How to Contact the Authors

Chapter 1: Performance Design

Starting Simple

Establishing a Baseline

Architecting for the Application

Considering Licensing Requirements

Integrating Virtual Machines

Understanding Design Considerations

Summary

Chapter 2: Building Your Toolbox

Capacity Planning Tools

Performance Analysis Tools

Performance Benchmarking Tools

Performance Simulation Tools

Summary

Chapter 3: The Test Lab

Why Build a Test Lab?

Strategies for a Successful Test Lab

How to Build Your Lab

Summary

Chapter 4: CPU

Getting to Know the Basics of CPU Virtualization

Introducing the ESXi CPU Scheduler

Sizing CPU for Virtual Machines

Understanding CPU Resource Management

Troubleshooting CPU Performance Problems

Summary

Chapter 5: Memory

Getting to Know ESXi Memory Management

Reclaiming Memory from VMs

Managing Virtual Machine Memory Allocation

Troubleshooting Memory Performance Problems

Summary

Chapter 6: Network

Creating a Network Design

Choosing a Virtual Switch

Selecting Host Hardware

Designing for Performance

Troubleshooting Networking Issues

Summary

Chapter 7: Storage

Choosing Your Storage Platform

Designing Physical Storage

Designing vSphere Storage

Optimizing Virtual Machine Performance

Troubleshooting Storage Performance Issues

Summary

End User License Agreement

Pages

xix

xx

xxi

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

45

46

47

48

49

50

51

52

53

54

59

55

56

57

58

60

61

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

117

118

119

120

121

122

123

124

125

126

127

128

129

130

131

132

133

134

135

136

137

138

139

140

141

142

143

144

145

146

147

148

149

150

151

152

153

154

155

156

157

158

159

160

161

162

163

164

165

166

167

168

169

170

171

172

173

174

175

176

177

178

179

180

181

182

183

184

185

186

187

188

189

190

191

192

193

194

195

196

197

198

199

200

201

202

203

204

205

206

207

208

209

210

211

212

213

214

215

216

217

218

219

220

221

222

223

224

225

226

227

228

229

230

231

Guide

Cover

Table of Contents

Introduction

Chapter 1: Performance Design

List of Illustrations

Figure 1.1

Figure 1.2

Figure 1.3

Figure 1.4

Figure 1.5

Figure 1.6

Figure 1.7

Figure 1.8

Figure 1.9

Figure 1.10

Figure 1.11

Figure 2.1

Figure 2.2

Figure 2.3

Figure 2.4

Figure 2.5

Figure 2.6

Figure 2.7

Figure 2.8

Figure 2.9

Figure 2.10

Figure 2.11

Figure 2.12

Figure 2.13

Figure 2.14

Figure 2.15

Figure 2.16

Figure 2.17

Figure 3.1

Figure 3.2

Figure 3.3

Figure 3.4

Figure 3.5

Figure 3.6

Figure 3.7

Figure 3.8

Figure 3.9

Figure 3.10

Figure 4.1

Figure 4.2

Figure 4.3

Figure 4.4

Figure 4.5

Figure 4.6

Figure 4.7

Figure 4.8

Figure 4.9

Figure 4.10

Figure 4.11

Figure 4.12

Figure 4.13

Figure 4.14

Figure 5.1

Figure 5.2

Figure 5.3

Figure 5.4

Figure 5.5

Figure 5.6

Figure 5.7

Figure 5.8

Figure 5.9

Figure 5.10

Figure 5.11

Figure 5.12

Figure 5.13

Figure 5.14

Figure 5.15

Figure 5.16

Figure 5.17

Figure 5.18

Figure 5.19

Figure 5.20

Figure 5.21

Figure 5.22

Figure 6.1

Figure 6.2

Figure 6.3

Figure 6.4

Figure 6.5

Figure 6.6

Figure 6.7

Figure 6.8

Figure 6.9

Figure 6.10

Figure 6.11

Figure 7.1

Figure 7.2

Figure 7.3

Figure 7.4

Figure 7.5

Figure 7.6

Figure 7.7

Figure 7.8

Figure 7.9

Figure 7.10

Figure 7.11

Figure 7.12

Figure 7.13

Figure 7.14

Figure 7.15

Figure 7.16

Figure 7.17

Figure 7.18

Figure 7.19

Figure 7.20

Figure 7.21

Figure 7.22

Figure 7.23

Figure 7.24

List of Tables

Table 2.1

Table 2.2

Table 2.3

Table 3.1

Table 3.2

Table 3.3

Table 3.4

Table 4.1

Table 4.2

Table 5.1

Table 5.2

Table 6.1

Table 7.1

Table 7.2

Table 7.3

Table 7.4

Table 7.5

Table 7.6

VMware vSphere® Performance

Designing CPU, Memory, Storage, and Networking for Performance-Intensive Workloads

Matt Liebowitz

Christopher Kusek

Rynardt Spies

Acquisitions Editor: Mariann Barsolo

Development Editor: Alexa Murphy

Technical Editor: Jason Boche

Production Editor: Christine O'Connor

Copy Editor: Judy Flynn

Editorial Manager: Pete Gaughan

Vice President and Executive Group Publisher: Richard Swadley

Associate Publisher: Chris Webb

Book Designers: Maureen Forys, Happenstance Type-O-Rama, Judy Fung

Proofreader: Louise Watson, Word One New York

Indexer: Robert Swanson

Project Coordinator, Cover: Todd Klemme

Cover Designer: Wiley

Copyright © 2014 by John Wiley & Sons, Inc., Indianapolis, Indiana

Published simultaneously in Canada

ISBN: 978-1-118-00819-5

ISBN: 978-1-118-22182-2 (ebk.)

ISBN: 978-1-118-23558-4 (ebk.)

No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions.

Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifi cally disclaim all warranties, including without limitation warranties of fi tness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or Web site may provide or recommendations it may make. Further, readers should be aware that Internet Web sites listed in this work may have changed or disappeared between when this work was written and when it is read.

For general information on our other products and services or to obtain technical support, please contact our Customer Care Department within the U.S. at (877) 762-2974, outside the U.S. at (317) 572-3993 or fax (317) 572-4002.

Wiley publishes in a variety of print and electronic formats and by print-on-demand. Some material included with standard print versions of this book may not be included in e-books or in print-on-demand. If this book refers to media such as a CD or DVD that is not included in the version you purchased, you may download this material at http://booksupport.wiley.com. For more information about Wiley products, visit www.wiley.com.

Library of Congress Control Number: 2013954098

TRADEMARKS: Wiley and the Sybex logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affi liates, in the United States and other countries, and may not be used without written permission. VMware vSphere is a registered trademark of VMware, Inc. All other trademarks are the property of their respective owners. John Wiley & Sons, Inc. is not associated with any product or vendor mentioned in this book.

Dear Reader,

Thank you for choosing VMware vSphere Performance: Designing CPU, Memory, Storage, and Networking for Performance-Intensive Workloads. This book is part of a family of premium-quality Sybex books, all of which are written by outstanding authors who combine practical experience with a gift for teaching.

Sybex was founded in 1976. More than 30 years later, we're still committed to producing consistently exceptional books. With each of our titles, we're working hard to set a new standard for the industry. From the paper we print on to the authors we work with, our goal is to bring you the best books available.

I hope you see all that reflected in these pages. I'd be very interested to hear your comments and get your feedback on how we're doing. Feel free to let me know what you think about this or any other Sybex book by sending me an email at contactus@sybex.com. If you think you've found a technical error in this book, please visit http://sybex.custhelp.com. Customer feedback is critical to our efforts at Sybex.

Best regards,

Chris Webb
Associate Publisher, Sybex

I dedicate this book to Jonathon Fitch. Sadly, Jonathon, one of the original authors of this book, lost his battle with cancer in April 2013. He wrote chapters during his treatments and showed remarkable courage. This book was important to him, and he was dedicated to getting it completed. Many of the words you read in this book were his. I hope his family can read these words and take some comfort in remembering how smart and talented Jonathon was. He will be missed.

I'd also like to dedicate this book to my family, especially my wife, Joann, for supporting me in this effort. My children, Tyler and Kaitlyn, are my life and the reason why I work so hard. I love you all so much!

—Matt Liebowitz

This book is dedicated to Jonathon Fitch and a labor of love for him and his family. We lost a great person in our community, in the world of virtualization, and in our worldwide family. May we all remember the efforts of Jonathon and the impact he has had on our community and our lives. He was taken from us too soon. He will be missed.

As I've spent the last year in Afghanistan, this is a special dedication to all of the troops: The soldiers on the ground in war-torn countries. The veterans who have served their time and are underappreciated. The heroes who protect our freedom and secure our future.

And last, I'd like to dedicate this book to my family: my best friends, Emily and Chris Canibano; my silly cats; my son, Alexander; and my godchildren, Erehwon and Isabelle.

—Christopher Kusek

When I was approached by the editors at Sybex to help write this book, Jonathon Fitch was the first of the authors that I was introduced to. He was one of the three original authors of this book and wrote many of the words in the storage and networking chapters. The success of this book was really important to Jonathon, as he wanted to dedicate it to his mother, who passed away shortly after work commenced on the first chapters of the book.

Sadly, Jonathon lost his battle with cancer in April 2013. I therefore dedicate this book to Jonathon and hope that his family can take comfort in knowing that through his hard work and dedication to this project, his words and his name will forever live within its text.

I would also like to dedicate the book to my family. My wife, Sarah, and my children, Lanie and Zachariah, have supported me unconditionally throughout this long project. You are my life and I love you all very much.

—Rynardt Spies

Acknowledgments

I first became involved with this book back in December 2011 in the role of technical editor. Numerous delays and subsequent releases of VMware vSphere caused the schedule to get pushed back further and further. In March 2013, Jonathon Fitch, one of the original authors of the book, told me that his health had deteriorated and he would be unable to finish his chapters. I agreed to take over for him and ensure that his ideas remain in the book. Sadly, Jonathon passed away in April 2013, but much of his original content still remains in these chapters.

Thank you to my two co-authors, Christopher Kusek and Rynardt Spies. Both of you have put up with me for over two years, first as a technical editor and then as a co-author. I'm glad we got a chance to work together on this and finally bring it to press. Thanks for your efforts!

Writing a book from scratch is difficult enough, but taking over and revising and updating someone else's chapters makes it that much harder. Thanks to Mariann Barsolo and Pete Gaughan from Sybex for their support as we made this transition. You both put up with schedule changes and numerous other requests from me with ease and you made this process much simpler for me. Thank you and the rest of the Sybex team for everything!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!

Lesen Sie weiter in der vollständigen Ausgabe!