Connection between ggate server and client slows down significantly while coying a file, about more than 20MB file size can cause the problem. During slowdown, both server and client wants for each other and its transmission rate is about 1 packet per second. As a result, the system really hangs up on any responses as FS does not response in timely manner. All the commands then takes a couple of minutes easily to response to the user. Copying 20MB file taking more than 20 minuets is critically wrong. Fix: The problem is ggated and ggatec create 2 TCP uni-directional connections. That is screwing up the TCP layer. Using 1 TCP connection for bi- directional messaging fixes the problem. Patch attached with submission follows: How-To-Repeat: server# echo "192.168.0.0/8 RW /dev/ad1" > /etc/gg.exports server# ggated client# ggatec create -orw server /dev/ad1 client# mount /dev/ad1 /mnt/backup client# rsync -a --delete /home /mnt/backup This only happens when server CPU is 10 to 20 times slower than client and client writes to the device; as far as NIC, they are the same 100BASE-TX on these hosts. It does not happen with all files, neither.
Responsible Changed From-To: freebsd-bugs->freebsd-net Over to maintainer(s).
Responsible Changed From-To: freebsd-net->pjd Over to maintainer.
For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped
https://reviews.freebsd.org/D26542 was created with backward compatibility options.
Keyword: patch or patch-ready – in lieu of summary line prefix: [patch] * bulk change for the keyword * summary lines may be edited manually (not in bulk). Keyword descriptions and search interface: <https://bugs.freebsd.org/bugzilla/describekeywords.cgi>