Performance problems on solaris x86
Guus Sliepen
guus at sliepen.eu.org
Thu May 20 21:15:16 CEST 2004
On Thu, May 20, 2004 at 06:55:49PM +0200, Martin Andersson wrote:
> In regards to the suggestions made by you and Jason, nothing helped.
> Actually I wasn't able to increase the priority on tincd i Windows XP, I
> get "Access Denied". I'm local admin on the workstation. I also tried to
> upgrade the TAP driver.
Silly Windows.
> My transfer rate measurements are quite simple, I've tried ftp, sftp,
> scp and Samba. Gives me max 5-6kb/s on my 100mbit LAN.
>
> Is it possible to use the Solaris native tun driver? I've fiddled
> arround with it without any luck. tincd just freezes when I try to use
> it.
I don't know if Solaris x86's tun driver works the same way as the
Solaris sparc32 tun driver. Apparently not...
> 1. Here's the backtrace:
[...]
> (gdb) bt
> #0 0xdfb7d261 in strlen () from /usr/lib/libc.so.1
> #1 0xdfbad492 in _doprnt () from /usr/lib/libc.so.1
> #2 0xdfbaebf2 in vfprintf () from /usr/lib/libc.so.1
> #3 0x804bcbf in logger (priority=7, format=0x805b45b "Sending %s to %s
> (%s): %s")
> at logger.c:76
> #4 0x80507b7 in send_request (c=0x80d8ec0, format=0x805b660 "%d %s %d")
> at protocol.c:96
> #5 0x8050bde in send_id (c=0x80d8ec0) at protocol_auth.c:47
Ah... most libc's allow you to pass a NULL pointer when printing
strings, they will print it as "(null)". Apparently the libc on Solaris
x86 doesn't check for that. In send_request(), c->name should be
replaced by c->name ?: "unknown" or something like that.
You can also run tinc with the -d5 -D options on the Windows machine, or
use the --logfile option to write it to a file.
And next time, please send files as attachments!
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at sliepen.eu.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://brouwer.uvt.nl/pipermail/tinc/attachments/20040520/6fd6ff88/attachment.pgp
More information about the tinc
mailing list