|Summary:||[patch] ggatec(8): ggated/ggatec connection slowdown problem|
|Component:||bin||Assignee:||freebsd-bugs (Nobody) <bugs>|
|Severity:||Affects Only Me|
Description ota 2009-03-19 05:20:00 UTC
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.
Comment 1 Mark Linimon 2009-03-19 11:17:00 UTC
Responsible Changed From-To: freebsd-bugs->freebsd-net Over to maintainer(s).
Comment 2 Andre Oppermann 2010-08-23 18:55:02 UTC
Responsible Changed From-To: freebsd-net->pjd Over to maintainer.
Comment 3 Eitan Adler 2017-12-31 07:59:11 UTC
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