Major slowdown w/ Poptop >= 1.3.0 and CentOS
Ray Van Dolson <rayvd <at> digitalpath.net>
2006-04-05 06:47:55 GMT
Finally upgraded our Poptop server images to use CentOS 4.3 instead of
Fedora Core 2, and upgraded Poptop to 1.3.0 at the same time...
Everything seemed to work fine, however once a client connected and began
pulling traffic we observed that traffic through the tunnel was moving
*very* slowly. Around ~260Kbps max.
Tried many things including messing with MTU settings, MSS clamping,
changing the kernel (was using a custom 2.6.16 build, also used default
Centos 2.6.9.x kernel with DKMS), enabling/disabling auditd, upgraded to
pppd 2.4.4... Nothing made a difference.
Finally removed pptpd 1.3.0 and installed 1.2.3. Problem went away
immediately! As soon as I reverted back to 1.3.0 the slow transfers came
back. I compared strace output from the pptpctrl processes from each
version:
From 1.2.3:
Process 14016 attached - interrupt to quit
select(8, [0 3 6 7], NULL, NULL, {56, 356000}) = 1 (in [7], left {52, 348000})
read(7, "E\0\0W27\0\0\200/\204\'\300\250\1\226\300\250\00130\1\210"..., 8260) = 87
write(6, "~\377}#\375\220C\357\332\216)i\270}2\276}0\361\327\352"..., 66) = 66
select(8, [0 3 6 7], NULL, NULL, {0, 50000}) = 1 (in [6], left {0, 50000})
read(6, "~\377}#\375\220}%\3511\277\243\254}*\363}8,\346\241{nO"..., 8196) = 73
writev(7, [{"0\201\210\v\0007\200\0\0\0\0\26\0\0\0S", 16},
{"\377\3\375\220\5\3511\277\243\254\n\363\30,\346\241{nO"..., 55}], 2) = 71
select(8, [0 3 6 7], NULL, NULL, {65, 0}) = 1 (in [7], left {65, 0})
read(7, "E\0\0S29\0\0\200/\204)\300\250\1\226\300\250\00130\201"..., 8260) = 83
write(6, "~\377}#\375\220DO\220J}>a\242\231\212\347Y:\\e}+j4\302"..., 54) = 54
(Continue reading)