#71 closed defect (fixed)
Performance of over a (Open)VPN is terribly slow
Reported by: | Herwig Bauernfeind | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | Samba Server for eCS (OS/2) 1.0.1 |
Component: | Samba Client Plugin | Version: | 3.0.31 |
Keywords: | VPN speed 100% CPU load | Cc: | herwig.bauernfeind@… |
Description
When running Samba connections over a VPN connection (using OpenVPN for OS/2 by Pavel Shtemenko from hobbes on both sides), transfer speed is really slow.
The tests were done on the same connection within 10 minutes:
- Transfer speed using Netdrive/ndpsmb: 1,5 to 3,0 KB/s
- Transfer speed using smbclient.exe: 30,0 to 50,0 KB/s
- Transfer speed using FTP: 30,0 to 50,0 KB/s
smbclient.exe is Version 3.0.33 (but that does not matter most likely). I will attach logfiles later.
Change History (7)
comment:1 by , 16 years ago
Keywords: | 100% CPU load added |
---|---|
Priority: | major → critical |
comment:2 by , 16 years ago
Keywords: | plugin removed |
---|---|
Milestone: | Netdrive SMB Client plugin 1.5 beta 1 → Samba Server for OS/2 1.0.1 |
Version: | Netdrive SMB Client plugin 1.5 alpha 1 |
The above explorations suggest a different source (server not client!)
comment:3 by , 16 years ago
Summary: | Performance of ndpsmb over a (Open)VPN is terribly slow → Performance of over a (Open)VPN is terribly slow |
---|
comment:4 by , 16 years ago
Works with the following incarnation of OS2_EAGAIN_RETRY_CHECK macro (both read and write):
#define OS2_EAGAIN_RETRY_INIT time_t t1 = time(NULL); #define OS2_EAGAIN_RETRY_CHECK \
if (ret == -1) { \
DEBUG(10,("sys_read: op failed, errno: %d,%s\n", errno, strerror(errno))); \
} \ if (ret==-1 && errno==EAGAIN) { \
DosSleep(100); \ if (time(NULL) - t1 > 60) \
break; \
errno = EINTR; \
}
#else #define OS2_EAGAIN_RETRY_INIT #define OS2_EAGAIN_RETRY_CHECK #endif
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Changeset http://svn.netlabs.org/samba/changeset/170 fixes this issue.
comment:7 by , 15 years ago
Version: | → 3.0.31 |
---|
Further investigation reveals: