• No results found

BUGS! Catch Them Before They Catch You

N/A
N/A
Protected

Academic year: 2021

Share "BUGS! Catch Them Before They Catch You"

Copied!
22
0
0

Loading.... (view fulltext now)

Full text

(1)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

BUGS!

Catch Them Before They Catch You

A Survey of Network Storage Test Tools and Industry Best Practices

Peter Murray SwiftTest

[email protected]

(2)

Agenda

 Today’s Testing Landscape

 Storage Testing Best Practices  What’s next?

(3)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

Fsct Microsoft Protocol Test Suites

SPEC SFS

Free / Low Cost Storage Test Tools

3 Functional Performance/Load Conformance

Testor

Samba4 Test Suite

dbench Iozone bonnie++ Samba3 Test Suite

Connectathon NFS Test Suite Pynfs, NewPynfs

Iometer

iSCSI NFS SMB/CIFS

(4)

SwiftTest

Commercial Storage Test Tools

Spirent Avalanche IxLoad Spirent Avalanche iSWAT iSCSI NFS SMB/CIFS

(5)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

Company B

Custom In-House Storage Test Tools

5 Functional Performance/Load Conformance Company A iSCSI NFS SMB/CIFS

(6)

In-House Custom Tools

 Everyone builds them

 Lets vendors test when other tools aren’t enough

 Useful for proprietary features

 Some create conformance suites

 Some run OS instances against products

 Typically integrated into a test harness

 May include Open Source tools

 Results correlation can be an issue

 Typically require many servers for performance

 Hundreds/thousands of simulated clients required

 Usually run in VMs

(7)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

Storage Testing

Best Practices

(8)

Testing at Layer 2/3

 Aka “bit blasting”

 Tests raw capacity of the:

 Hardware platform  NIC

 Device OS

 Types of tests:

 Max packet rate  Max throughput  Latency

(9)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

TCP Connection Processing

 Basic TCP performance

 Shows the TCP stack performance envelope

 Types of tests:

 TCP connection rate

 TCP connection table size

 TCP connection table scavenging

(10)

Single Protocol Functional Testing

 Shows how well a protocol is implemented  Helps determine if all commands work

 Examples:

 Can a client read and write?  Does file locking work?

 How do two versions or implementations compare?  What happens when parameters are sent randomly?  How well do single protocol implementations interact?

(11)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

Multi-Protocol Functional Testing

 Involves simultaneous testing of multiple protocols  Ensures proper operation among protocols

 Shows how well protocols interact

 Does an SMB Oplock lock an NFS file?

 Are attributes mapped correctly across protocols?  Does file sharing across protocols work?

 Do NFSv3 and NFSv4 coexist well on a server?

(12)

Protocol Conformance Testing

 Functional testing that demonstrates conformance

 Typically a test suite from a standards organization  May come from the initial protocol implementer

 There is no “perfect” conformance tool

 Samba Test Suites

Test most of CIFS/SMB

 Microsoft Test Suites

Show compliance to MS SMB/SMB2 specification

(13)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

Single Protocol Performance Testing

 Tests the performance envelope

 I/O capacity (IOPs)

 Meta data command capacity

 Session management, navigation and file

manipulation capacity

 How well I/O and other functions interact

 Which commands / combinations tax CPU

 Helps find:

 Sweet spot / effective market position

(14)

Multi Protocol Performance Testing

 Shows performance envelope with multiple protocols  Shows how protocols interact under load

 Examples:

Concurrent file access Inter-protocol file locking

Inter-protocol attribute handling

(15)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

Test Tool Considerations

 Which protocols are supported?

 How complete are the protocol implementations?

 How many commands?

 How many parameters are exposed?

 What is the capacity?

 How many IOPs?

 How much throughput?

Per 1Gbps link? 10Gbps link? Per chassis?

 Is scripting and reporting consistent across protocols?

(16)

Other Test Tool Considerations

 How is the tool implemented?

 Socket based?

 Custom TCP stack?

How well is the stack instrumented?

 How complete is the configuration tool?

 Command-line or GUI?

 How detailed is the configuration?  How easy is it to use the UI?

(17)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

Storage Testing

Trends

(18)

 Protocol silos

(19)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

The Changing Storage Landscape

     And more… 19

(20)

 Unified multiprotocol test tools  Testing at cloud scale

(21)

2010 Storage Developer Conference. SwiftTest. All Rights Reserved.

Test Tool References

              21

(22)

Thank You

Questions?

References

Related documents

Understanding the origins of corporate environmentalism by examining the historical motivation for organisations to change was a necessary platform from which to build

It does so through the development and promulgation of standards for a wide variety of functional areas in higher education, including master’s-level student affairs

The field survey was conducted from October 2004 to July 2005, and covered sus- tainable farming systems, land and water property rights, and rural credit access on the North

Beginning and Intermediate Algebra by Tyler Wallace is licensed under a Creative Commons Attribution 3.0 Unported License. (http://creativecommons.org/licenses/by/3.0/).. Round

Prohibited Social with two designated people Travel is restricted and non-essential travel is dicouraged Limited to immediate household only Visits to longterm care

Oral health was analyzed using indicators recommended by WHO: soft tissue condition, DMFT, dmft, CPI, dental fluorosis, and DAI, and analysis of dental care, salivary

It would appear therefore that the resolutions enacted under Article 41 demanding the suspension of uranium enrichment are not in accordance with the Charter as they contradict one

Define Change Management in the e-health project Present 10 key Change Management concepts.. Identify common outcomes of ineffective change