19
Ben Walker Data Center Group Intel Corporation

Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

Ben Walker

Data Center Group

Intel Corporation

Page 2: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

Notices and DisclaimersIntel technologies’ features and benefits depend on system configuration and may require enabled hardware, software or service activation. Learn more at intel.com, or from the OEM or retailer.

No computer system can be absolutely secure.

Software and workloads used in performance tests may have been optimized for performance only on Intel microprocessors. Performance tests, such as SYSmark and MobileMark, are measured using specific computer systems, components, software, operations and functions. Any change to any of those factors may cause the results to vary. You should consult other information and performance tests to assist you in fully evaluating your contemplated purchases, including the performance of that product when combined with other products. For more complete information visit http://www.intel.com/performance.

Intel, the Intel logo, Xeon, and others are trademarks of Intel Corporation in the U.S. and/or other countries.

*Other names and brands may be claimed as the property of others.

© 2017 Intel Corporation.

Page 3: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

Agenda

3

Introduction

API Compatibility

ABI Compatibility

PAckaging

Page 4: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept
Page 5: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

We need a strategy for dealing with backward compatibility

5

Real products are shipping with SPDK

Page 6: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

What do we have today?

6

• 4 Time-based Releases a Year

• We will back-port bug fixes to releases by request.

• We will also accept back-port patches

• <spdk/version.h> contains pre-processor macros to programmatically detect SPDK version

Page 7: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept
Page 8: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

Definitions

8

Stable

When a header is marked as stable, significant effort will be invested to avoid breaking the API going forward.

APIs that will be broken will become deprecated for a full release prior to being modified.

Unstable

No special effort is made to maintain compatibility.

Page 9: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

9

Likely Candidates

nvme.h

env.h

io_channel.h

log.h

nvme_spec.h

nvmf_spec.h

Lots of the minor headers

Unlikely Candidates

• nvmf.h

• bdev.h

• scsi.h

• vhost.h

• blob.h

Stable Header Candidates

Page 10: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept
Page 11: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

11

Page 12: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept
Page 13: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

13

Applications

- nvmf_tgt

- Iscsi_tgt

- Vhost_tgt

- Perf

- Fio_plugin

- spdkcli

Libraries

- libspdk_nvme.a

- Libspdk_nvmf.a

- Libspdk_vhost.a

- Libspdk_blob.a

- Etc.

Component Overview

Page 14: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

14

Option 1: Package static libraries

• Pro: You only link in what you need• Con: You have to know what

libraries you need• Con: No future chance of ABI

compatible upgrades

Option 2: Package a shared library

• Con: You link in the whole thing• Pro: It’s easy to use; just add -lspdk• Pro: Sets the project up for future

ABI compatible upgrades

PackagING The LIBRARIES

Page 15: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

Packaging The Applications

15

• Create one package that contains headers and libraries, for use by developers

• Create one package of SPDK applications (spdk_tgt, perf, fioplugin)

• Unify the targets into a single application with a single management tool

Spdk

Spdk-devel

Page 16: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

16

Next Steps Work with major Linux distros to move forward with SPDK packages

RedHat/Centos/Fedora?

Debian/Ubuntu?

SuSE/SLES?

Page 17: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept
Page 18: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept

18

Backup

Page 19: Ben Walker Data Center Group Intel Corporation · What do we have today? 6 •4 Time-based Releases a Year •We will back-port bug fixes to releases by request. •We will also accept