So I've been trying to speed up my backups, and currently they're incredibly slow.
As you can see the peak is about 14MB/s.
Now, I think the fastest I should reasonably expect from my infrastructure is about 65MB/s, but I'm nowhere near that close. My network is a fully-gigabit network, except right now there's no LAGG or anything like that, so I'm expecting about half of the potential gigabit speeds, even though it's full-duplex the whole way (which should mean ~120MB/s, but whatever).
I have two nodes in my cluster, and I've tried a few different things.
1) I turned jumbo frames on, on my switch, but I have not modified MTUs on my nodes at all.
2) On one of my nodes (starbug1) I declared a tmp directory in /etc/vzdump.conf however it also peaks at about 15MB/s
I'm using GZIP on both for backups, but I saw the same performance when I was using LZO.
Take note, I have not restarted either of these nodes since making these changes (jumbo frames, tmp dir)
Both nodes are backing up to an NFS export on a dedicated NAS that is not overloaded. Not only that, I stagger the backups of each node so the backups start about 4 hours apart. Backups on one node is taking 8 hours, 5 on the other.
What am I doing wrong here?
Code:
[COLOR=#000000][FONT=tahoma]INFO: starting new backup job: vzdump 100 400 401 402 403 404 501 502 --mailnotification failure --quiet 1 --mode snapshot --compress gzip --storage Backups --node starbug2[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: Starting Backup of VM 100 (qemu)[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status = stopped[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: update VM 100: -lock backup[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: backup mode: stop[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: ionice priority: 7[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: creating archive '/mnt/pve/Backups/dump/vzdump-qemu-100-2015_12_08-01_00_01.vma.gz'[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: starting kvm to execute backup task[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: started backup task '1f428d65-7c46-444f-9897-e437315b98a1'[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 0% (44761088/53687091200), sparse 0% (39653376), duration 3, 14/1 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 1% (543752192/53687091200), sparse 0% (165613568), duration 68, 7/5 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 2% (1076232192/53687091200), sparse 0% (180756480), duration 181, 4/4 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 3% (1615462400/53687091200), sparse 0% (187392000), duration 261, 6/6 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 4% (2147614720/53687091200), sparse 0% (188665856), duration 336, 7/7 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 5% (2691170304/53687091200), sparse 0% (361914368), duration 426, 6/4 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 6% (3226075136/53687091200), sparse 0% (371212288), duration 500, 7/7 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 7% (3762421760/53687091200), sparse 0% (388591616), duration 572, 7/7 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 8% (4295229440/53687091200), sparse 0% (411897856), duration 646, 7/6 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 9% (4834983936/53687091200), sparse 1% (582352896), duration 731, 6/4 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 10% (5370937344/53687091200), sparse 1% (629256192), duration 801, 7/6 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 11% (5912920064/53687091200), sparse 1% (689819648), duration 870, 7/6 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 12% (6447104000/53687091200), sparse 1% (745242624), duration 939, 7/6 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 13% (6982336512/53687091200), sparse 1% (864219136), duration 1014, 7/5 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 14% (7516454912/53687091200), sparse 1% (880877568), duration 1073, 9/8 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 15% (8058306560/53687091200), sparse 1% (968491008), duration 1140, 8/6 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 16% (8590852096/53687091200), sparse 1% (1042108416), duration 1188, 11/9 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 17% (9134931968/53687091200), sparse 2% (1157025792), duration 1248, 9/7 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 18% (9670885376/53687091200), sparse 2% (1191522304), duration 1327, 6/6 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 19% (10205921280/53687091200), sparse 2% (1228562432), duration 1379, 10/9 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 20% (10743054336/53687091200), sparse 2% (1280278528), duration 1434, 9/8 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 21% (11280449536/53687091200), sparse 2% (1513259008), duration 1485, 10/5 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 22% (11818303488/53687091200), sparse 3% (2051112960), duration 1528, 12/0 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 23% (12349865984/53687091200), sparse 4% (2582675456), duration 1581, 10/0 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 24% (12896174080/53687091200), sparse 5% (3123466240), duration 1633, 10/0 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 25% (13422624768/53687091200), sparse 6% (3262914560), duration 1686, 9/7 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 26% (13960871936/53687091200), sparse 7% (3785064448), duration 1724, 14/0 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 27% (14507769856/53687091200), sparse 8% (4331962368), duration 1761, 14/0 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 28% (15037693952/53687091200), sparse 9% (4857724928), duration 1797, 14/0 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 29% (15570567168/53687091200), sparse 9% (5069529088), duration 1847, 10/6 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 30% (16121004032/53687091200), sparse 10% (5617881088), duration 1903, 9/0 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 31% (16653877248/53687091200), sparse 11% (6150754304), duration 1939, 14/0 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 32% (17183408128/53687091200), sparse 12% (6677839872), duration 1975, 14/0 MB/s[/FONT][/COLOR]
[COLOR=#000000][FONT=tahoma]INFO: status: 33% (17718902784/53687091200), sparse 12% (6800859136), duration 2026, 10/8 MB/s[/FONT][/COLOR]
As you can see the peak is about 14MB/s.
Now, I think the fastest I should reasonably expect from my infrastructure is about 65MB/s, but I'm nowhere near that close. My network is a fully-gigabit network, except right now there's no LAGG or anything like that, so I'm expecting about half of the potential gigabit speeds, even though it's full-duplex the whole way (which should mean ~120MB/s, but whatever).
I have two nodes in my cluster, and I've tried a few different things.
1) I turned jumbo frames on, on my switch, but I have not modified MTUs on my nodes at all.
2) On one of my nodes (starbug1) I declared a tmp directory in /etc/vzdump.conf however it also peaks at about 15MB/s
I'm using GZIP on both for backups, but I saw the same performance when I was using LZO.
Take note, I have not restarted either of these nodes since making these changes (jumbo frames, tmp dir)
Both nodes are backing up to an NFS export on a dedicated NAS that is not overloaded. Not only that, I stagger the backups of each node so the backups start about 4 hours apart. Backups on one node is taking 8 hours, 5 on the other.
What am I doing wrong here?