Custom Query (292 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (46 - 48 of 292)

Ticket Resolution Summary Owner Reporter
#71 fixed Performance of over a (Open)VPN is terribly slow 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.

#73 fixed login slow with new os2_randget() in os2ea.c Herwig Bauernfeind Herwig Bauernfeind
Description

The new os2_randget() function in os2ea.c slows down login (and possibly other operations) considerably.

For each login the randbyte_hrtimer() subroutine is executed exactly 129 times, a DosSleep?(5) occurs for every execution, this sums up to a delay of almost 0,7 secs per login.

My suggestion as a fix would be to remove the randbyte_hrtimer() portion completely (reducing DosSleep?(5) to DosSleep?(1) is better, but still slow) as randbyte_hrtimer() is only one of 3 components and the remaining randbyte_sysinfo() and randbyte_perf() still provide more "randomness" than what was available before Changeset #160 and the resulting login speed is perfectly acceptable this way.

An appropriate unified dif is attached.

#74 fixed Set UNIXROOT and TMPDIR to suitable defaults in case they are undefined Herwig Bauernfeind Herwig Bauernfeind
Description

Samba binaries require the environment variables UNIXROOT and TMPDIR to be set properly in order to run. If either of them is missing some functionality simply will not work. What is more, a missing TMDIR makes some binaries simply crash without a proper error message.

This patch sets UNIXROOT in case it is not defined to the parent directory of %ETC% (usually x:\MPTN, where x: is the bootdrive). This has the advantage to eliminate the hassle that %UNIXROOT%\etc is not necessarily the same as %ETC% (which is hardly understandable anyway for average users).

The TMPDIR variable is normally found on newer eCS systems, but missing on older OS/2 systems (and possibly early eCS systems, not checked). When this patch is applied, the value of the %TEMP% variable (which is normally defined everywhere) is also used for %TMPDIR%. If is is also missing %TMPDIR% is set to x:\OS2\SYSTEM (where x: is the drive where %ETC% points to, i.e. normally the bootdrive), where several OS/2 components store temporary files.

Providing suitable defaults for both variables should make Samba installations easier, especially for average users.

Note: This patch cannot not be applied to Samba 3.2 and 3.3 as dynconfig.c only provides macros there.

Note: See TracQuery for help on using queries.