55
Extremely fast processing to deliver the MAXIMUM performance Vyacheslav Kuznetsov Customer Support Analyst Petr Makarov Technical Support Engineer

Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Extremely fast processing to deliver the MAXIMUM performance

Vyacheslav Kuznetsov

Customer Support Analyst

Petr Makarov

Technical Support Engineer

Page 2: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Step 1

Veeam settings

Page 3: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Options: Network traffic rules

Page 4: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Options: I/O control

Page 5: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Proxy affinity

Page 6: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Gateway server

Page 7: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Job settings

Page 8: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

http://www.veeam.com/kb1113

Changed block tracking

Page 9: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Changed block tracking

For physical environment:

Veeam® Agent for Microsoft Windows —two mechanisms:1. Veeam native CBT driver 2. Parsing MFT

Veeam Agent for Linux — Veeam proprietarykernel module

Page 10: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Detecting bottleneck

Step 2

Page 11: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Job statistics window

Page 12: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Job statistics window

Page 13: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

VMware backup infrastructure

VMware hostVeeam Backup Server

VMware proxyRepository

Storage

Datastore

Proxy

Source Network

Sourcedata mover

Targetdata mover

Target

Page 14: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Bottleneck source (VMware)

NBD mode:

1. Storage read performance

2. Host load

3. Network connection betweenVMware host and proxy

VeeamBackup Server

VMwareproxy

Storage

VMware host

Page 15: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Bottleneck source (VMware)

Hot-Add mode:

1. Storage read performance

2. Host load

VeeamBackup Server

Storage

VMware host

Page 16: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Bottleneck source (VMware)

Direct storage access:

1. Storage read performance

2. Connection betweenstorage and proxy

VeeamBackup Server

Storage

VMware host

VMwareproxy

Page 17: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Bottleneck source (VMware)

Storage snapshot:

1. Storage snapshot read performance

2. Connection betweenstorage and proxy

VeeamBackup Server

Storage

VMware host

VMwareproxy

StorageSnapshot

LUN

Page 18: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Advanced data fetcher

Transport mode Read method ADF available

Storage snapshots WinAPI

Hot-Add WinAPI

Direct NFS NFS

Direct SAN VDDK read

Network (nbd) VDDK read

Page 19: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Hyper-V 2016 performance scheme

Hyper-V host Veeam Backup Server

Repository

Source storage

Source Network

Proxy Target

Backup storage

Volume

Page 20: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Hyper-V off-host mode: Hardware provider

Hyper-V host Veeam Backup Server

Repository

Source storage

Source Network

Proxy Target

Backup storage

VolumeVolume Snapshot(Hardware provider)

Hyper-V Off-host proxy

Page 21: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Physical server to Veeam backup repository

Physicaldrive

Physical server

Source

Proxy

Sourcedata mover

Target datamover

Network

Target

Page 22: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Physical server to USB disk or share

Physicaldrive

Physical server

Source

Proxy

Sourcedata mover

Target datamover

Network Target

Backupstorage

Page 23: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Tweaking Veeam Agent backup performanceControlling process and IO priority in Veeam Agent for Microsoft Windows:

HKLM\SOFTWARE\Veeam\Veeam Endpoint Backup

EndPointAgentPriority (REG_SZ)

Values: Normal, Low, Background (default)

Controlling IO in Veeam Agent for Linux:

/etc/veeam/veeam.ini

[backup]

ioRateLimit= 0.9 (default)

Values range: 0.01-1.0, where 0.01 - very slow, 1.0 - no limit

Page 24: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Read performance troubleshooting

1. Storage read performance:

https://kb.vmware.com/kb/1008205

2. Connection between storage and proxy:

ESXTOP metrics for virtual proxy:

• CMDS/s• DAVG/cmd• KAVG/cmd• GAVG/cmd (DAVG/cmd + KAVG/cmd)

Page 25: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Proxy settings: Concurrent tasks

Page 26: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Bottleneck proxy: Compression

Page 27: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Compression levels comparison

Dedupe-friendly (rle) Optimal (lz4) High (zlib) Extreme (zlib high)

22 GB12 GB 9.70 GB 9 GB

0

10

20

30

40

50

60

70

80

90

100

0

50

100

150

200

250

300

Tim

e,

se

co

nd

s

Time, seconds

Size, GB

Page 28: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Bottleneck network

Page 29: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Bottleneck network

Page 30: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

WAN acceleration

• Link latency — tweak upload streams number• SSD disks for Global Cache are not necessary — async read

• VM restore points• Global Cache

WAN

Backup copy jobSource

WAsTarget

WA Global cache

VM Restorepoints

Source backuprepository

Target backuprepository

Page 31: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

1 2

3 4

5

1’ 2’

6

Steps:1. Write new block

to storage

Forward incremental mode, active full

TargetData Mover

One IO per block

Page 32: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Reverse incremental mode

1 2

4

5

1’ 3’

6

3Target

Data Mover

Steps:1. Read old block from VBK

2. Write old block to VRB

3. Write new block to VBK

Three IOs per block

Page 33: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

1 2

3 4

5

1’ 2’

6

Forever forward incremental

Steps:1. Read block from VIB

2. Write block to VBK

Two IOs per block

Page 34: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Transform previous chain into rollbacks

1

3 4

56

2’

2

1’

Steps:1. Read old block from VBK

2. Write old block to VRB

3. Read new block from VIB

4. Write new block to VBK

Four IOs per block

Page 35: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

1 2

3 4 1’ 2’

5

1’’ 3’

5’ 6

3’

6

1’’2’4

5’

Synthetic full

Steps:1. Read block from VIB

2. Write block to VBK

Two IOs per block

Page 36: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

1 2

3 4 1’ 2’

5

1’’ 3’

5’ 6

3’

6

1’’ 2’

4

5’

ReFS: Synthetic full

Steps:1. ReFS command

to map block

Zero IOs per block

Page 37: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Synthetic operations using fast merge

Operations: Advantages:

• Significant performance boost• Synthetic full takes almost no

space due to blocks re-usage

https://forums.veeam.com/veeam-backup-replication-f2/refs-4k-horror-story-t40629-945.html

Page 38: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Backup file fragmentation

Increased by:

Decreased by:

Page 39: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

For deduplication appliances:http://www.vee.am/kb1745

For Microsoft deduplication:http://www.vee.am/kb2023

Deduplication storages: Pros and cons

VEEAM BEST PRACTICES:

Page 40: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Benchmark test

Step 3

Page 41: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

IPerf

Usage:

https://goo.gl/qdcuxw

Test scenarios:

• Network connectivity between servers

• iSCSI bandwidth

Page 42: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

IPerfSteps:

1. Start Iperf on backuprepository, server role

2. Start Iperf on backupproxy, client role.Start the test

3. Compare test resultswith Veeam jobperformance,bottleneck network

Test results:• 24 Mb\sec = 3 MB\Sec

• (24\8 = 3)

Page 43: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

VixDiskLib sample

Transport modes to benchmark:

• VMware NBD

• VMware Direct SAN

Tool options:

• Readbench (Source: Backup, replication)

• Writebench (Target: VM restore, replication)

Usage: https://goo.gl/e3tL6y

Page 44: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Diskspd

Use cases:

• Troubleshooting VAW source performance• Troubleshooting Hyper-V source performance

• Troubleshooting storage-integration source performance

• Direct NFS mode

• Troubleshooting repository performance:

• Slow backup (all chain modes and synthetic operations)

• Slow restore, SureBackup®

Usage:http://vee.am/kb2014

Page 45: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Diskspd

Available benchmark targets with diskspd:

• Local drive on Windows machine: C:\backup

• CIFS\SMB share: \\repository\backup

• iSCSI\FC mounted disk or snapshot. Raw device access: #X

• NFS datastore: Should be mounted using Client for NFS

Page 46: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

DiskspdSteps:

1. Run diskspd to testread speed from mounted device

2. Compare test resultswith Veeam jobperformance

Page 47: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Other tools for benchmarksLinux targets: • FIO: https://goo.gl/sxnVoJ

Data Domain:• DDP connection checker manual:

https://support.emc.com/kb/334991• Download link: ftp://nwc:[email protected]

Hewlett Packard Enterprise StoreOnce:• You can get it from Veeam support ☺

Page 48: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Collecting advanced performance statistics

Use cases:

• Slow read from storage snapshots• Slow read in Hot-Add• Slow synthetic operations• Slow WAN accelerator processing

• Benchmark test result differ from Veeam processing rate

Page 49: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Parsing performance statistics sample output

Page 50: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Step 4

The final step

Page 51: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Maxing out performance

Bottleneck Backup performance Restore performance

Source• Choose the fastest read mode for

your infrastructure• Decrease backup file fragmentation• Use faster repository

Proxy

• Tweak concurrent tasks number• Play with compression• Add more proxies• Add more resources to a proxy

• Increase backup block size• Playing with compression• Adding resources to a proxy

Network• Increase number of upload streams• Backup copy with WA• Preferred network for backup

• Increase number of upload streams

Target• Incremental chain mode• VBK per VM

• VMWare: Choose the fastest mode• HV or physical: Wait ☺

Page 52: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Session summary

Analyze jobstatistics

Run benchmark

test

Collect perfdatawith support team

(optimal)

Page 53: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:
Page 54: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Thank you

Page 55: Extremely fast processing to deliver the MAXIMUM performance€¦ · Tweaking Veeam Agent backup performance Controlling process and IO priority in Veeam Agent for Microsoft Windows:

Session Survey Available Now!

Please take the very short (5 question) surveythrough your mobile app now!

Tap on the session

Scroll down past Presenters

Tap Session Feedback Survey