Tinc performance on a Dir-300

Clemens John clemens-john at gmx.de
Tue Sep 21 13:45:11 CEST 2010


Am Dienstag 21 September 2010, 10:13:30 schrieb ZioPRoTo (Saverio Proto):
> > We all have enough internet bandwith (1,6 MB/sec and more) but we only
> > get a maximum speed of ~350KB/sec between two tinc nodes because then
> > tinc uses 99% of the cpu.
> 
> What about packets per second ?
> 
> Are you sending a lot of small packets ? That could be a problem !

I´m shure. I´m not that familar with networks.

Our tinc device tap0 has an MTU of 1500 but it is in a bridge (br-mesh) wich 
has an MTU of 1476. Maybe you can have a look at this?

--------------
root at 00240117B755:~# brctl show br-mesh
bridge name     bridge id               STP enabled     interfaces
br-mesh         8000.00240117b755       yes             ath0
                                                        bat0
                                                        tap0

root at 00240117B755:~# ifconfig
ath0      Link encap:Ethernet  HWaddr 00:24:01:17:B7:55  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13119 errors:0 dropped:55 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:998226 (974.8 KiB)

ath1      Link encap:Ethernet  HWaddr 06:24:01:17:B7:55  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:701 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:163844 (160.0 KiB)

br-mesh   Link encap:Ethernet  HWaddr 00:24:01:17:B7:55  
          inet6 addr: fe80::224:1ff:fe17:b755/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1476  Metric:1
          RX packets:8588 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5705 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1058896 (1.0 MiB)  TX bytes:817276 (798.1 KiB)


tap0      Link encap:Ethernet  HWaddr 8E:33:AE:29:5B:16  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12472 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18438 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:1776840 (1.6 MiB)  TX bytes:1794668 (1.7 MiB)

wifi0     Link encap:UNSPEC  HWaddr 00-24-01-17-
B7-55-00-00-00-00-00-00-00-00-00-00  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:514267 errors:0 dropped:0 overruns:0 frame:1242
          TX packets:91806 errors:1439 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:195 
          RX bytes:71111579 (67.8 MiB)  TX bytes:9736303 (9.2 MiB)
          Interrupt:3 Memory:b0000000-b000ffff 
-------

Greetings
Clemens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20100921/cbbd518f/attachment.pgp>


More information about the tinc mailing list