SAMBA AND SMB3: ARE WE THERE YET? Ira Cooper Principal Software Engineer Red Hat Samba Team



Similar documents
Samba 4 AD + Fileserver

SMB3 in Samba. Multi-Channel and Beyond. Michael Adam Red Hat / samba.org

SerNet. Clustered Samba. Nürnberg April 29, Volker Lendecke SerNet Samba Team. Network Service in a Service Network

Samba 4.2. Cebit 2015 Hannover

Samba s Way Toward SMB 3.0

Scalable NAS Cluster With Samba And CTDB Source Talk Tage 2010

Clustered NAS meets GPFS. Andrew Tridgell LTC ALRT Team

Choices for implementing SMB 3 on non Windows Servers Dilip Naik HvNAS Pty Ltd Australians good at NAS protocols!

Microsoft SMB Running Over RDMA in Windows Server 8

A COMPARISON BETWEEN THE SAMBA3 AND LIKEWISE LWIOD FILE SERVERS

Network Attached Storage. Jinfeng Yang Oct/19/2015

Distributed File System Choices: Red Hat Storage, GFS2 & pnfs

Open Source, Scale-out clustered NAS using nfs-ganesha and GlusterFS

Large Scale Storage. Orlando Richards, Information Services LCFG Users Day, University of Edinburgh 18 th January 2013

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture

Develop a process for applying updates to systems, including verifying properties of the update. Create File Systems

B-10: Wireshark vs. The Cloud Thursday June 17, :45am -12:15pm

Samba's Cloudy Future. Jeremy Allison Samba Team.

Integration with Active Directory. Jeremy Allison Samba Team

Clustered CIFS For Everybody Clustering Samba With CTDB. LinuxTag 2009

Linux Powered Storage:

EMC VNX Series: Introduction to SMB 3.0 Support

Windows Server 2012 授 權 說 明

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture

Four Reasons To Start Working With NFSv4.1 Now

StarWind Virtual SAN for Microsoft SOFS

Cloud Optimize Your IT

Cloud Optimize Your IT

How To Set Up A Two Node Hyperv Cluster With Failover Clustering And Cluster Shared Volume (Csv) Enabled

How To Write A Windows Operating System (Windows) (For Linux) (Windows 2) (Programming) (Operating System) (Permanent) (Powerbook) (Unix) (Amd64) (Win2) (X

File System Design and Implementation

POWER ALL GLOBAL FILE SYSTEM (PGFS)

Comparing SMB Direct 3.0 performance over RoCE, InfiniBand and Ethernet. September 2014

GlusterFS Distributed Replicated Parallel File System

SerNet. Samba Status Update. Linuxkongress Hamburg October 10, Volker Lendecke SerNet Samba Team. Network Service in a Service Network

Software Defined Storage: Changing the Rules for Storage Architects Ric Wheeler Red Hat

SMB 3.0 New Opportunities for Windows Environments

Storage Spaces. Storage Spaces

MS Configuring and Administering Hyper-V in Windows Server 2012

A-4: Wireshark vs. The Cloud Tuesday June 14, :30pm 4:45pm

CALLING THE WITNESS: SMB3 Failover with Samba/CTDB

Introduction to Highly Available NFS Server on scale out storage systems based on GlusterFS

Running SMB3.x over RDMA on Linux platforms

Red Hat Linux Internals

INUVIKA TECHNICAL GUIDE

Chapter 15 Windows Operating Systems

INTRODUCTION ADVANTAGES OF RUNNING ORACLE 11G ON WINDOWS. Edward Whalen, Performance Tuning Corporation

Introduction. Interoperability & Tools Group. Existing Network Packet Capture Tools. Challenges for existing tools. Microsoft Message Analyzer

RED HAT ENTERPRISE VIRTUALIZATION FOR SERVERS: COMPETITIVE FEATURES

Part 1 - What s New in Hyper-V 2012 R2. Clive.Watson@Microsoft.com Datacenter Specialist

SMB remote file protocol (including SMB 3.0) SW Worth, Microsoft

Storage Management for the Oracle Database on Red Hat Enterprise Linux 6: Using ASM With or Without ASMLib

Exam : Installing and Configuring Windows Server 2012

Hyper-V over SMB: Remote File Storage Support in Windows Server 2012 Hyper-V. Jose Barreto Principal Program Manager Microsoft Corporation

Why is it a better NFS server for Enterprise NAS?

The last 18 months. AutoScale. IaaS. BizTalk Services Hyper-V Disaster Recovery Support. Multi-Factor Auth. Hyper-V Recovery.

Next Generation Now: Red Hat Enterprise Linux 6 Virtualization A Unique Cloud Approach. Jeff Ruby Channel Manager jruby@redhat.com

SMB in the Cloud David Disseldorp

Deploying Windows Server 2008

Hyper-V over SMB Remote File Storage support in Windows Server 8 Hyper-V. Jose Barreto Principal Program Manager Microsoft Corporation

Lustre SMB Gateway. Integrating Lustre with Windows

Hyper-V Enterprise Ready! Presented by Luther Allin

What s new in Hyper-V 2012 R2

Oracle Solaris: Aktueller Stand und Ausblick

VMware vsphere 5.1 Advanced Administration

A Tour of the Linux OpenFabrics Stack

Storage Class Memory Support in the Windows Operating System Neal Christiansen Principal Development Lead Microsoft

An Open Source Wide-Area Distributed File System. Jeffrey Eric Altman jaltman *at* secure-endpoints *dot* com

Adding scalability to legacy PHP web applications. Overview. Mario Valdez-Ramirez

RCL: Design and Open Specification

Feature Comparison. Windows Server 2008 R2 Hyper-V and Windows Server 2012 Hyper-V

SMB Direct for SQL Server and Private Cloud

Distributed Systems. REK s adaptation of Prof. Claypool s adaptation of Tanenbaum s Distributed Systems Chapter 1

How do Users and Processes interact with the Operating System? Services for Processes. OS Structure with Services. Services for the OS Itself

Achieve Automated, End-to-End Firmware Management with Cisco UCS Manager

Optimizing Ext4 for Low Memory Environments

Xeon+FPGA Platform for the Data Center


Ensuring Data Availability for the Enterprise with Storage Replica

Deployment Guide. How to prepare your environment for an OnApp Cloud deployment.

Storage Architectures for Big Data in the Cloud

Microsoft Private Cloud Fast Track

Brocade Solution for EMC VSPEX Server Virtualization

Microsoft Exchange Server 2003 Deployment Considerations

Microsoft Windows Server Hyper-V in a Flash

GPFS and Remote Shell

Quorum DR Report. Top 4 Types of Disasters: 55% Hardware Failure 22% Human Error 18% Software Failure 5% Natural Disasters

SMB Advanced Networking for Fault Tolerance and Performance. Jose Barreto Principal Program Managers Microsoft Corporation

High Performance Computing OpenStack Options. September 22, 2015

SPEED your path to virtualization.

PERFORMANCE ANALYSIS OF KERNEL-BASED VIRTUAL MACHINE

Review from last time. CS 537 Lecture 3 OS Structure. OS structure. What you should learn from this lecture

Windows Server 2012 Hyper-V Installation and Configuration Guide

VMware vsphere 5.0 Boot Camp

2 Purpose. 3 Hardware enablement 4 System tools 5 General features.

Perforce with Network Appliance Storage

Enabling High performance Big Data platform with RDMA

Using Samba with a Commercial Clustered File System

Best Practices for Installing and Configuring the Hyper-V Role on the LSI CTS2600 Storage System for Windows 2008

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont.

Transcription:

SAMBA AND SMB3: ARE WE THERE YET? Ira Cooper Principal Software Engineer Red Hat Samba Team September 22, 2015

NO FLASH PHOTOGRAPHY SLIDES ARE ONLINE

GLOSSARY What does that acronym mean? SMB Server Message Block RDMA Remote Direct Memory Access TDB Trivial DataBase WIP Work In Progress CTDB Clustered TDB (Does much more) Full cluster manager VIP (Virtual IP) management etc VFS Virtual File System Pluggable and Stackable Filesystem Layer Can have NO mount on the server ex: vfs_glusterfs Can just implement features ex: vfs_shadow_copy2 Two types of modules: stackable and non-stackable 3

WHAT IS SAMBA? No not the dance For Linux, *BSD, *nix, Solaris, Illumos, and maybe, VMS: An implementation of : NT Lan Manager v1.0 to SMB 3.1.1, for file serving Active Directory Server and Client DCE/RPC Services WINS/Name Services Often considered the most compatible SMB server Except for Microsoft Maybe? GPLv3, and openly developed Free for all to use 4

ARE WE? Let us find out. SMB 3.1 Support Leases Multichannel SMB Direct Persistent Handles Witness Protocol Workload Support Future Topics 5

SMB 3.1 Not totally done, but... Negotiate Contexts Pre-authentication Encrypted by default Matching MS Encryption performance issues Improvements still needed here Use of hardware primitives Use of standard libraries 6

LEASES Client Side Caching Support Leases replace the old oplock model Come with 3 basic flags: READ: Allows caching for reading (R) WRITE: Allows caching for writing (W) HANDLE: Allows caching of the handle for future use (H) Conceptually simpler to understand than the old oplocks In SMB3 directories can have RH leases Better metadata caching No more 5 second rule 7

LEASES SMB 2.1 Leases are go Standard SMB 2.1 Lease Support Interoperates with oplocks CTDB support VFS layer support is a WIP (Work In Progress) Allow passing of leases to the underlying filesystem No directory leases No support for dynamic shares (like home directories) Windows client limitation 8

MULTICHANNEL Multiple Data Paths, One Connection Multichannel allows better performance in many situations The client can decide how many TCP connections to open The client can decide how many NICs to use The client can decide how all of the above gets mapped out In addition, it enables SMB Direct support to be developed (RDMA) Which is also, multichannel 9

MULTICHANNEL Not quite there yet... Working with Samba's mutiprocess architecture Channels for the same session will be passed to the same process Async I/O across all channels handled by threads Client GUID and Session ID tracked to enable multichannel Still clarifying with MS for the exact details Network interface list code is incomplete at this time Will be non-portable Please goto Michael Adam's talk on multichannel for more details Wednesday, 1:00PM San Tomas / Lawerence 10

SMB DIRECT SMB3 RDMA Support Multichannel is a pre-requisite to doing SMB Direct SMB Direct is a thin wrapper around SMB3 Just enough to let us send SMB3 over RDMA Multiple RDMA controllers can be used Just like multiple nics in normal multichannel SMB Direct support on the client side is quite fast MS has some really amazing benchmarks here 11

MULTICHANNEL Not quite there yet... Working with Samba's mutiprocess architecture Channels for the same session will be passed to the same process Async I/O across all channels handled by threads Client GUID and Session ID tracked to enable multichannel Still clarifying with MS for the exact details Network interface list code is incomplete at this time Will be non-portable Please goto Michael Adam's talk on multichannel for more details Wednesday, 1:00PM San Tomas / Lawerence 12

SMB DIRECT How will we get there? Two different approaches proposed: Usermode, single RDMA daemon Kernel mode Both have real problems 13

SMB DIRECT User Space Only First likely implementation metze has already began prototyping this approach Advantages: Should be fairly portable All in user space, much simpler to debug and fix No kernel community politics Disadvantages: More context switching. Less potential for deep offloading of ops, etc. 14

SMB DIRECT A Kernel of Truth? Kernel driver, assisting userspace. Advantages: Less context switches Some ops may be able to be short circuited totally in kernel SMB2_READ SMB2_WRITE Review by the kernel community may help find issues Disadvantages: Non portable Harder to debug Parts of Samba in the kernel? 15

PERSISTENT HANDLES Allowing Client Recovery From Disconnects Attempts to get this right : Durable Handles Resilient Handles Now, Persistent Handles Persistent Handles allow for hard guarantees across client disconnects Persistent Handles are really a full system feature Software is but one part Major part of Hyper-V and MSSQL support If you choose not to lie 16

PERSISTENT HANDLES How? Two approaches: Use CTDB Push information into the filesystem 17

PERSISTENT HANDLES CTDB Based To be done: Develop fast enough persistence in CTDB Advantages: Cross filesystem consistency Samba controlled semantics Databases are managed by CTDB Disadvantages: Cross protocol compatibility will be difficult Added compexity in Samba May not take full advantages of what filesystems provide 18

PERSISTENT HANDLES Filesystem Based To be done: VFS Improvements Advantages: Mutliprotocol consistency Semantic enforcement by the filesystem Databases are managed by the filesystem Disadvantages: Added complexity in the filesystem Not filesystem independent Samba semantics can become filesystem dependent We will still be using CTDB for other things can't get rid of it 19

WITNESS PROTOCOL Failure and Client Connection Management Advises clients as to the state of the share Like when it became available again after failure What other servers are serving it Allows admins to control client movement Emptying a node before upgrade Emptying a node before decommission Load balancing, insertion of a new node Load balancing, avoid hot spots 20

WITNESS PROTOCOL I've witnessed its progress. Wireshark dissector Complete Torture tests Complete CTDB integration On going CLI for management WIP Demo Go see their presentation Expected to land for Samba 4.4 or 4.5 Please goto Jose and Guenther's talk on witness for more details Wednesday, 3:05PM - San Tomas / Lawerence 21

WORKLOAD SUPPORT HYPER-V only, so far Improved support for hole punching Improved support for hole finding This call used to be faked, it is now real vfs_hyperv can be used for initial support Highlights the critical need for persistent handles, multichannel and SMB Direct Nothing done with MSSQL so far 22

OTHER TOPICS Interesting stuff in Samba! POSIX Extensions for SMB2+ Allows for real expansion of SMB3 into Linux workloads New improved messaging infrastructure Much more scalable and easier to work with Please goto Volker Lendeke's talk for more details Wednesday, 2:00PM San Tomas / Lawerence Samba interfacing with cloud storage Work in progress. Please goto Jeremy Allison's talk for more details Wednesday, 5:05PM San Tomas / Lawerence 23

DADDY, ARE WE THERE YET Not QUITE yet. SMB 3.1 Support Done Leases Initial implementation in place Multichannel In progress SMB Direct Being researched Persistent Handles In progress Witness Protocol In progress Workload Support Being researched Other Topics Plenty of exciting stuff going on 24

MY THOUGHTS Progress People are dedicated to working on SMB3 now Progress is being made Code is being committed Most importantly, we are going in the right direction 25

QUESTIONS?

THANK YOU plus.google.com/+redhat facebook.com/redhatinc linkedin.com/company/red-hat twitter.com/redhatnews youtube.com/user/redhatvideos