EDIT: As I find out that high IO will only result in freezing while performed on host, not guests please skip to post #19 as there are new findings.
I'm basically reposting issue that I have with backups to FreeNAS from this post (https://forums.freenas.org/index.php?threads/extreme-slow-downs-while-copying-files-40-gb.59878/) as I hope that someone here may have a solution or idea.
Short version:
I have problem with backup or simple copy with cp or rsync to my FreeNAS Server of big files (larger than 40 GB) when reached certain amount of transfered data speed will slow down from 300 MB/s (10G network) to 2-10MB/s and Proxmox will completely hang until either backup finishes - which can take very long time or until backup timeouts. It will freeze every VM/CT that are on same shared connection (10G to switch), but not others. I tested different nics (1G & 10G) on both sides and nothing changed.
This is for example how backup looks:
(at this time Proxmox is inaccessible either by GUI or CLI or directly on server itself)
I tested every type of backup and there were no differences. Problem occurs with both NFS and CIFS on Freenas but not on another servers (speed with Synology on CIFS for example is fine) but also coping between Freenas and Windows is also fine so there is problem just between Proxmox -> FreeNAS transfers.
There are no significant CPU usage on both Freenas or Proxmox server - Proxmox is experiencing about 10% load with max 3 % IO delay, around 35% RAM usage and server load bellow 2.
As Proxmox is extremely unresponsive during these backups I do not have copy of zpool iostat but there is nothing that would suggest extreme Disc usage from what I could see.
CPU is: Intel Xeon E5-2620 v4
RAM: 64 GB
DATA DISKS: 2x 1TB SSD in RAID 10 on ZFS
BOOT DISK: 2x satadom in raid 10
It all looks like networking issues but not tied to protocol or nic as I tried different combination of both.
Does anybody please have any Idea what could be wrong? Thank you.
I'm basically reposting issue that I have with backups to FreeNAS from this post (https://forums.freenas.org/index.php?threads/extreme-slow-downs-while-copying-files-40-gb.59878/) as I hope that someone here may have a solution or idea.
Short version:
I have problem with backup or simple copy with cp or rsync to my FreeNAS Server of big files (larger than 40 GB) when reached certain amount of transfered data speed will slow down from 300 MB/s (10G network) to 2-10MB/s and Proxmox will completely hang until either backup finishes - which can take very long time or until backup timeouts. It will freeze every VM/CT that are on same shared connection (10G to switch), but not others. I tested different nics (1G & 10G) on both sides and nothing changed.
This is for example how backup looks:
Code:
INFO: status: 0% (364904448/42949672960), sparse 0% (36098048), duration 3, read/write 121/109 MB/s
INFO: status: 1% (707002368/42949672960), sparse 0% (44933120), duration 6, read/write 114/111 MB/s
INFO: status: 2% (1045299200/42949672960), sparse 0% (50085888), duration 9, read/write 112/111 MB/s
INFO: status: 3% (1436811264/42949672960), sparse 0% (54272000), duration 12, read/write 130/129 MB/s
INFO: status: 4% (1816920064/42949672960), sparse 0% (54272000), duration 15, read/write 126/126 MB/s
INFO: status: 5% (2197028864/42949672960), sparse 0% (84951040), duration 18, read/write 126/116 MB/s
INFO: status: 6% (2580938752/42949672960), sparse 0% (85008384), duration 21, read/write 127/127 MB/s
INFO: status: 7% (3085434880/42949672960), sparse 0% (85286912), duration 25, read/write 126/126 MB/s
INFO: status: 8% (3450929152/42949672960), sparse 0% (89493504), duration 28, read/write 121/120 MB/s
INFO: status: 9% (3965386752/42949672960), sparse 0% (93696000), duration 32, read/write 128/127 MB/s
INFO: status: 10% (4295229440/42949672960), sparse 0% (95772672), duration 35, read/write 109/109 MB/s
INFO: status: 11% (4774166528/42949672960), sparse 0% (116699136), duration 39, read/write 119/114 MB/s
INFO: status: 12% (5241700352/42949672960), sparse 0% (116822016), duration 43, read/write 116/116 MB/s
INFO: status: 13% (5648416768/42949672960), sparse 0% (116858880), duration 46, read/write 135/135 MB/s
INFO: status: 14% (6013321216/42949672960), sparse 0% (116965376), duration 49, read/write 121/121 MB/s
INFO: status: 15% (6553075712/42949672960), sparse 0% (143826944), duration 53, read/write 134/128 MB/s
INFO: status: 16% (6898057216/42949672960), sparse 0% (148045824), duration 62, read/write 38/37 MB/s
INFO: status: 17% (7355105280/42949672960), sparse 0% (148209664), duration 217, read/write 2/2 MB/s
(at this time Proxmox is inaccessible either by GUI or CLI or directly on server itself)
I tested every type of backup and there were no differences. Problem occurs with both NFS and CIFS on Freenas but not on another servers (speed with Synology on CIFS for example is fine) but also coping between Freenas and Windows is also fine so there is problem just between Proxmox -> FreeNAS transfers.
There are no significant CPU usage on both Freenas or Proxmox server - Proxmox is experiencing about 10% load with max 3 % IO delay, around 35% RAM usage and server load bellow 2.
As Proxmox is extremely unresponsive during these backups I do not have copy of zpool iostat but there is nothing that would suggest extreme Disc usage from what I could see.
CPU is: Intel Xeon E5-2620 v4
RAM: 64 GB
DATA DISKS: 2x 1TB SSD in RAID 10 on ZFS
BOOT DISK: 2x satadom in raid 10
It all looks like networking issues but not tied to protocol or nic as I tried different combination of both.
Does anybody please have any Idea what could be wrong? Thank you.
Last edited: