opensolaris nfs
play

OpenSolaris NFS TM Performance Alain van Hoof February 3, 2010 - PowerPoint PPT Presentation

OpenSolaris NFS TM Performance Alain van Hoof February 3, 2010 Research Question \begin{quotation} How can the performance bottlenecks be monitored and identified on an OpenSolaris OS NFS server. What are realistic load simulations and


  1. OpenSolaris NFS TM Performance Alain van Hoof February 3, 2010

  2. Research Question \begin{quotation} How can the performance bottlenecks be monitored and identified on an OpenSolaris OS NFS server. What are realistic load simulations and create a base-line. \end{quotation} 2

  3. NFS layer and ...... Client Linux NFS Client TCP/IP TCP/IP NFS Server VFS Layer ZFS FileSystem ZIL L2ARC Physical Devices Server OpenSolaris 3

  4. Inspecting the layers Client Linux NFS Client nfsstat -c TCP/IP netstat tcpdump/wireshark mib:ip:ip_ TCP/IP netstat nfsv3:nfssrv:rfs3_ NFS Server nfsstat -s fsinfo:genunix:fop_ VFS Layer fsstat zilstat fbt:zfs:arc_ ZFS FileSystem ZIL L2ARC arcstat fbt:zfs:zil_lwb_write zpool iostat io:genunix::start iostat Physical Devices Dtrace Probes Server OpenSolaris 4

  5. Read Write Dtrace Probes TCP/IP Ard Awr mib:ip:ip_xmit:ipIfStatsHCOutTransmits mib:ip:ip_input:ipIfStatsHCInReceives NFSv3 Server Brd Bwr nfsv3:nfssrv:rfs3_read:op-read-start nfsv3:nfssrv:rfs3_write:op-write-start VFS Layer Cwr Crd fsinfo:genunix:fop_write:write fsinfo:genunix:fop_read:read ZFS FileSystem Drd Dwr fbt:zfs:zfs_read:entry fbt:zfs:zfs_write:entry ARC ZIL Frd fbt:zfs:arc_read:entry E fbt:zfs:zil_lwb_write_start:entry Fwr fbt:zfs:arc_write:entry Physical Disk G io:genunix::start 5

  6. Benchmarking Marcro benchmarks real-world workload Trace benchmarks replay recorded real-world scenario Micro benchmarks one or two operations 6

  7. Filebench Macro benchmark TM Supported by SUN fileserver: SPECsfs workload IOzone Micro benchmark A benchmark UvA-IC is familiar with Random Read/Write 7

  8. Auto-pilot Automate the running of benchmarks Avoid user errors (typo’s) Automatic mount and unmount filesystems Calculate confidence level and run more test to be more confident 8

  9. Test Setup VMware 01 VMware 02 TestClient LoadClient LoadClient LoadClient LoadClient Test Results 01 02 03 04 auto-pilot autopilot autopilot autopilot autopilot filebench filebench filebench filebench filebench IOzone NFS Server Server Metrics Log 9

  10. Benchmark & loadgeneration Run benchmark on TestClient while load is generated on LoadClients Real-world benchmark is also real-world load generator 10

  11. Meanwhile on the NFS server 12 Dtrace probes are logged during testing Output: Every 10 seconds Probes triggered/second 11

  12. Preliminary Test A simple test to learn about behavior of the Dtrace probe “Accidentally” Identified NFS bottle-neck Changed number of NFS daemons Positive result 12

  13. Dtrace write probes 1000 Awr/32 Bwr Cwr 800 Dwr Before After E 600 G/10 400 200 0 Time 13

  14. Results of Test Filebench and IOzone show performance loss when load increases Filebench more close to “user experience” IOzone tests are not within the confidence interval (95%) after 30 runs 14

  15. filebench 40 35 30 25 MB/s 20 15 10 5 0 0 1 2 3 4 8 16 Load 15

  16. IOzone Random Write 40 35 30 25 MB/s 20 15 10 5 0 0 1 2 3 4 8 16 Load 16

  17. Awr/32 1400 Bwr Cwr 1200 Dwr Probes / Second E 1000 G/10 800 600 400 200 0 Time ZIL write probe 17

  18. Time ZIL write probe 18

  19. ZFS and ZIL Synchronous Write Asynchronous Write All NFS writes are ZFS ZIL Synchronous and pass the ZIL 19

  20. Improve performance Place ZIL on fast device Solid State Disk (SSD) Well known practice 20

  21. Results - ZIL on SSD Filebench and IOzone show performance increase When the load increases performance decreases IOzone tests are not within the confidence interval (95%) after 30 runs 21

  22. filebench ZIL on SSD 60 50 filebench normal ZIL 40 MB/s 30 20 10 0 0 1 2 3 4 8 16 Load 22

  23. Dtrace write Probes Awr/32 1400 Bwr Cwr 1200 Dwr Probes / Second E 1000 G/10 800 600 400 200 0 Time ZIL write probe 23

  24. Conclusion Using Dtrace probes, performance bottlenecks on the server can be identified, and a baseline can be created. A realistic load can be generated using the filebench - fileserver personality Filebench test created a confident baseline (unlike IOzone) 24

  25. Questions? Thanks to: Jeroen Roodhart Auke Folkerts 25

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend