pmbus™ – coming to a server near youcoming …...2010/02/28  · pmbus – coming to a server...

36
PMBus™ – Coming To A Server Near You Coming To A Server Near You Bob White Chair, PMBus™ Specification Working Group [email protected] 1 www.pmbus.org

Upload: others

Post on 24-Jul-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PMBus™ –Coming To A Server Near YouComing To A Server Near You

Bob WhiteChair, PMBus™ Specification Working Group

[email protected]

1

www.pmbus.org

Page 2: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Presentation Overview

• PMBus™ Specification And Application Profiles• PMBus In Today’s Servers• PMBus In Next Gen Servers

2

• New Energy Reading Commands• Clarification Of Status Bits And

SMBALERT# Signal• Other Coming Updates

Page 3: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

DisclaimerAny Information About The Upcoming

3

Any Information About The Upcoming Revision Of The PMBus Specification And Application Profiles Is Preliminary And May

Change Without Notice.

Page 4: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

The PMBus Specification

• Includes– How Devices

Communicate– Commands And Data

PMBus Spec

4

Commands And Data

• Does Not Include– Application Specific

Information– Required Commands– TolerancesRevision 1.2

Coming Soon

Page 5: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Application Profiles

• Includes– Required Commands– Required Data

FormatsApp Profile

5

Formats– Required Data Ranges– Tolerances

Application Profile For Server Power Coming

Soon After Specification Revision 1.2

Page 6: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Server Power Application Profile

• Addressing• Hardware• Data Formats

– Accuracy

• Status Commands• Limit Commands• Default Limits• Manufacturer

6

y– VOUT_MODE– Sensor– Formatting Tables

• Monitoring Power/Current/Voltage– Sensor Sampling

• Thermal Management

Manufacturer Controlled Limits

• Faults And Error Correction

• Capability And Inventory Reporting

• Write Protection• Interrupts

Page 7: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PMBus In A Server

MA

N

System ApplicationsNode Manger

Server Management

7

ServerMotherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

WS-

M

Page 8: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PMBus In A Server

MA

N

System ApplicationsNode Manger

Server Management

BaseboardManagement

Controller

8

ServerMotherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

WS-

M

Page 9: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PMBus In A Server

MA

N

System ApplicationsNode Manger

Server ManagementPMBus

9

ServerMotherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

WS-

M

Page 10: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PMBus In A Server

MA

N

System ApplicationsNode Manger

Server Management

PMBus Is Not Used To Communicate Outside

The Server

10

ServerMotherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

PMBus WS-

M

Page 11: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PMBus In Data Center

Data Center Applications

DMTFSMASH

11Server

Motherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

PMBus

WS-

MANSystem Applications

SMASH

Page 12: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PMBus In Data Center

Data Center Applications

• Charge Back• Track Energy

Consumption• Thermal Mgt

• Protect Against Hot Spots

• Circuit Mgt

12Server

Motherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

PMBus

WS-

MAN

• Circuit Mgt• Protect

Against Breaker Overload

System Applications

Page 13: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PMBus In A Next Gen Server

Val e Add

AdditionalSystem

ManagementFunctions

13

ServerMotherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

PMBus

Value AddProcessor

Page 14: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PMBus In A Next Gen Server

Val e Add

MultipleMaster

Bus

14

ServerMotherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

PMBus

Value AddProcessor

Page 15: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Multiple Output Power Supplies

15

Page 16: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Multiple Output Power Supplies

PAGECommandSets TheSwitch

16

Page 17: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Multiple Output Power SuppliesStep 1:Set The

Desired Output (PAGE)

Step 2:Send A

Command To That Output

17

Page 18: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Potential Conflict

Val e Add

1. VAP Sets PAGE

2. BMC Sets A Different PAGE

3. VAP Sends A Command –

To The Wrong Output!

18

ServerMotherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

PMBus

Value AddProcessor

Page 19: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

PAGEPLUS

• New Command: PAGE PLUS• Transmit In One Bus Transaction

– Device AddressS t Th PAGE

19

– Set The PAGE– Send A Command To That Page– Write Or Read Data Related To That Command

ADDRESS PAGE CMD COMMAND DATA (R/W)

Page 20: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Another Potential Conflict

Val e Add

1. BMC Reads Status

2. BMC ClearsStatus

3. VAP Can’t Know What Happened

20

ServerMotherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

PMBus

Value AddProcessor

Page 21: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Another Potential Conflict

Val e Add

Why Can’t These Two Processors Talk To Each Other?

21

ServerMotherboard

BMC SubSystems

IPMI

PowerSupply

PowerSupply

PMBus

Value AddProcessor

Page 22: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Duplicate Status Information

STA

TUS

_x

PAG

E M

22

STA

TUS

_x

PAG

E N

Page 23: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Bits Set Together/Cleared Individually

STA

TUS

_x

PAG

E M Cleared By One Master

23

STA

TUS

_x

PAG

E N Cleared By The Other Master

Page 24: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Reading Input And Output Power

• PMBus Has READ_POUT And READ_PIN Commands

• But…G tti G d V l F P I P bl ti

24

• Getting Good Values For Power Is Problematic• Issues

– Averaging Time– Data Age– Averaging Calculation Methods

• OEMS Are Looking For Accuracy Of 1-2%

Page 25: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Reading Input And Output Power

• PMBus Has READ_POUT And READ_PIN Commands

• But…G tti G d V l F P I P bl ti

25

• Getting Good Values For Power Is Problematic• Issues

– Averaging Time– Data Age– Averaging Calculation Methods

• OEMS Are Looking For Accuracy Of 1-2%

“Sampling And Averaging Considerations For Measuring

AC Input Power”APEC 2009

Page 26: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

READ_EIN And READ_EOUT

• Revision 1.2 Will Have Two New Commands:READ_EIN And READ_EOUT

• Attempt Is To Make Reporting Of PowerI d d t Of PMB D i Ch t i ti

26

– Independent Of PMBus Device Characteristics– Put Computation Burden On Host– Put Time Keeping Burden On Host

Page 27: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

• Commands Will Return Two Values– An Accumulated Energy Reading (“Watt-Samples”)– Current Number Of Power Samples

Discrete Time Power Calculation

Power Calculation

27

• Discrete Time Power Calculation

1 1

1 1[ ] [ ] [ ]N N

AVEn n

P p n v n i nN N

Page 28: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Power Calculation

• Host Keeps At Least The Last Values Returned– With Time Stamp Information If Needed– Rollover Tracking Are The Host’s Responsibility

Host Retrieves Accumulator And Sample Count

28

• Host Retrieves Accumulator And Sample Count When It Wants

• Host Calculates The Average Power Since The Last Reading By:

Latest Accumulator Count – Previous Accumulator CountLatest Sample Count – Previous Sample CountAVERAGEP

Page 29: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Conceptual Implementation

Vin

Clock Multiplier

A/D

Scale ByLSB_V &

LSB_I

Accumulator(40 Bits?)

DataFormatter

Packet

29

Iin

Clock

A/D

SampleCounter(24 Bits)

Maker/Bus

Interface

Clock

Page 30: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Clarify Status Bits/SMBALERT#

• Comments Received That Specification Is Not Clear On How Status Bits Are:– Set

Cleared

30

– Cleared– Interact With SMBALERT# Signal

Page 31: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

LATCHSET Q

Bit In STATUS_BYTE/STATUS_WORD Register

Bit In STATUS_X Register

Event Detector Output

Other Status BitsThat Can Set The

Same Bit In STATUS_BYTE/STATUS_WORD

Conceptual SchematicLooking At

Using A Conceptual

Schematic To Convey

F nctionalit

31

CLR

SMBALERT#Circuit

SMBALERT_MASK Bit

CLEAR_FAULTS

Write 1 To Status Register Bit

Device Address Sent In Response To Receiving A Read To The Alert Response

Address While SMBALERT# Asserted

Other Status BitsThat Can Cause

SMBALET# To Be Asserted

CLR

SMBALERT#

PAGE Selected

Functionality

Page 32: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

LATCHSET Q

Bit In STATUS_BYTE/STATUS_WORD Register

Bit In STATUS_X Register

Event Detector Output

Other Status BitsThat Can Set The

Same Bit In STATUS_BYTE/STATUS_WORD

Conceptual Schematic

NewClear Individual Status Bits

And Registers

32

CLR

SMBALERT#Circuit

SMBALERT_MASK Bit

CLEAR_FAULTS

Write 1 To Status Register Bit

Device Address Sent In Response To Receiving A Read To The Alert Response

Address While SMBALERT# Asserted

Other Status BitsThat Can Cause

SMBALET# To Be Asserted

CLR

SMBALERT#

PAGE Selected

Page 33: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

LATCHSET Q

Bit In STATUS_BYTE/STATUS_WORD Register

Bit In STATUS_X Register

Event Detector Output

Other Status BitsThat Can Set The

Same Bit In STATUS_BYTE/STATUS_WORD

Conceptual SchematicNewSMBALERT_MASK

33

CLR

SMBALERT#Circuit

SMBALERT_MASK Bit

CLEAR_FAULTS

Write 1 To Status Register Bit

Device Address Sent In Response To Receiving A Read To The Alert Response

Address While SMBALERT# Asserted

Other Status BitsThat Can Cause

SMBALET# To Be Asserted

CLR

SMBALERT#

PAGE Selected

Page 34: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Other Changes

• Now Based On SMBus V2.0• Bus I/O High Impedance When Device Is Off• Group Protocol PEC Clarified

34

• IOUT_CAL_GAIN Updated• MFR_MAX_TEMP_1,2,3 Command

Not The Complete List!

Page 35: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

Acknowledgment

Thanks To Brian Griffith Of Intel Corporation

35

pFor Contributions On “PMBus In A Server”,

“PMBus In the Data Center” And Server Power Application Profile

Page 36: PMBus™ – Coming To A Server Near YouComing …...2010/02/28  · PMBus – Coming To A Server Near YouComing To A Server Near You Bob White Chair, PMBus Specification Working Group

36