Bene, ora puoi ripetere le prove cambiando l'algoritmo di controllo di congestione sul client iperf.<br>Cosa stai usando ora? Reno?<br><br><div class="gmail_quote">Il giorno 03 luglio 2011 14:09, Gioacchino Mazzurco <span dir="ltr"><<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>></span> ha scritto:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">altri test fissando la quantita'<br>
<br>
[ 4] 0.0-62.2 sec 2.00 MBytes 270 Kbits/sec<br>
[ 4] 0.0-55.3 sec 2.00 MBytes 304 Kbits/sec<br>
[ 4] 0.0-64.2 sec 2.00 MBytes 261 Kbits/sec<br>
[ 4] 0.0-58.8 sec 2.00 MBytes 285 Kbits/sec<br>
[ 4] 0.0-99.6 sec 2.00 MBytes 169 Kbits/sec<br>
[ 4] 0.0-96.4 sec 2.00 MBytes 174 Kbits/sec<br>
[ 4] 0.0-89.8 sec 2.00 MBytes 187 Kbits/sec<br>
[ 4] 0.0-66.4 sec 2.00 MBytes 253 Kbits/sec<br>
[ 4] 0.0-99.9 sec 2.00 MBytes 161 Kbits/sec<br>
[ 4] 0.0-88.1 sec 2.00 MBytes 190 Kbits/sec<br>
<br>
<br>
Il 03 luglio 2011 13:57, Gioacchino Mazzurco <<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>> ha scritto:<br>
<div><div></div><div class="h5">> senza tinc la configurazione rimane uguale ma il traffico al posto di<br>
> passare dal tunnel via internet passa solo attraverso i link wireless<br>
><br>
> Il 03 luglio 2011 13:51, Antonio Quartulli <<a href="mailto:ordex@autistici.org">ordex@autistici.org</a>> ha scritto:<br>
>> On dom, lug 03, 2011 at 01:48:37 +0200, Gioacchino Mazzurco wrote:<br>
>>> il test e' sempre PC( iperf -c ) <-- cavo lan --> Piconstation (<br>
>>> btman-adv + tinc )<-- tinc ---> PC( batman-adv + tinc + iperf -s)<br>
>><br>
>> anche senza TINC la configurazione rimane uguale? scusa ma non ho capito<br>
>> questo daalle mail precedenti<br>
>><br>
>>><br>
>>> >usa un vincolo temporale o quantitativo, sti valori sono troppo<br>
>>> >deviati..<br>
>>><br>
>>> quei test non sono fatti in parallelo sono fatti in modo sequenziale<br>
>>> quindi volta per volta c'e' ne e' attivo solo uno<br>
>>><br>
>>> Il 03 luglio 2011 13:40, Darkman <<a href="mailto:darkman@darkman.it">darkman@darkman.it</a>> ha scritto:<br>
>>> > Magari se scegliessi un test "unico" sarebbe anche meglio,<br>
>>> > usa un vincolo temporale o quantitativo, sti valori sono troppo<br>
>>> > deviati..<br>
>>> > Se non mi dicessi della CPU a palla, guardando sta roba ti direi che è<br>
>>> > congestione..<br>
>>> ><br>
>>> > Il giorno 03 luglio 2011 13:31, Gioacchino Mazzurco <<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>><br>
>>> > ha scritto:<br>
>>> >><br>
>>> >> altra serie di test<br>
>>> >><br>
>>> >> [ 4] 0.0-18.8 sec 384 KBytes 167 Kbits/sec<br>
>>> >> [ 4] 0.0-17.5 sec 384 KBytes 180 Kbits/sec<br>
>>> >> [ 4] 0.0-20.0 sec 384 KBytes 157 Kbits/sec<br>
>>> >> [ 4] 0.0-21.1 sec 384 KBytes 149 Kbits/sec<br>
>>> >> [ 4] 0.0-23.5 sec 512 KBytes 178 Kbits/sec<br>
>>> >> [ 4] 0.0-32.3 sec 384 KBytes 97.3 Kbits/sec<br>
>>> >> [ 4] 0.0-20.8 sec 384 KBytes 151 Kbits/sec<br>
>>> >> [ 4] 0.0-27.7 sec 256 KBytes 75.8 Kbits/sec<br>
>>> >> [ 4] 0.0-21.8 sec 256 KBytes 96.3 Kbits/sec<br>
>>> >> [ 4] 0.0-14.3 sec 512 KBytes 294 Kbits/sec<br>
>>> >> [ 4] 0.0-14.0 sec 512 KBytes 299 Kbits/sec<br>
>>> >> [ 4] 0.0-37.6 sec 512 KBytes 112 Kbits/sec<br>
>>> >> [ 4] 0.0-18.7 sec 512 KBytes 224 Kbits/sec<br>
>>> >> [ 4] 0.0-21.3 sec 384 KBytes 148 Kbits/sec<br>
>>> >> [ 4] 0.0-17.9 sec 640 KBytes 293 Kbits/sec<br>
>>> >> [ 4] 0.0-24.8 sec 512 KBytes 169 Kbits/sec<br>
>>> >> [ 4] 0.0-23.5 sec 512 KBytes 178 Kbits/sec<br>
>>> >> [ 4] 0.0-16.4 sec 384 KBytes 192 Kbits/sec<br>
>>> >> [ 4] 0.0-21.4 sec 384 KBytes 147 Kbits/sec<br>
>>> >><br>
>>> >> ho spento dnsmasq che non serviva a niente e andiamo di poco ma meglio<br>
>>> >><br>
>>> >> Il 03 luglio 2011 13:16, Darkman <<a href="mailto:darkman@darkman.it">darkman@darkman.it</a>> ha scritto:<br>
>>> >> > Il sintomo è abbastanza chiaro, ma dubito sia colpa della CPU o meglio,<br>
>>> >> > secondo me qualcosa<br>
>>> >> > è stata scritta male, 100Kbps sono davvero ridicoli. A maggior ragione<br>
>>> >> > quando ste cpu hanno anche qualche set dedicato<br>
>>> >> > alla crittografia simmetrica...<br>
>>> >> ><br>
>>> >> > Il giorno 03 luglio 2011 13:04, Gioacchino Mazzurco<br>
>>> >> > <<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>><br>
>>> >> > ha scritto:<br>
>>> >> >><br>
>>> >> >> ma il problema sembra proprio l'eccessivo utilizzo di cpu per la vpn<br>
>>> >> >> perche' stando in ssh sulla picostation mentre c'e' traffico che passa<br>
>>> >> >> sulla vpn diventa completamente unresponsive non sente nemmeno ctrl+c<br>
>>> >> >> sulla shell... quando il traffico finisce mi esegue tutto quello che<br>
>>> >> >> gli avevo mandato nel fratempo<br>
>>> >> >><br>
>>> >> >> Il 03 luglio 2011 13:01, Gioacchino Mazzurco <<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>> ha<br>
>>> >> >> scritto:<br>
>>> >> >> >>Hai la possibilità di usare una CPU + potente (tincare dal PC)?<br>
>>> >> >> ><br>
>>> >> >> > dovrei installarmi anche batman-adv sul pc...<br>
>>> >> >> ><br>
>>> >> >> > Il 03 luglio 2011 12:58, Darkman <<a href="mailto:darkman@darkman.it">darkman@darkman.it</a>> ha scritto:<br>
>>> >> >> >> E' chiaro che non può essere il tuo upstream,<br>
>>> >> >> >> ma sei certo che il collo di bottiglia non sia nella capacità di sta<br>
>>> >> >> >> rete<br>
>>> >> >> >> mesh tunnellata?<br>
>>> >> >> >> Hai provato a lanciare 2 iperf in parallelo?<br>
>>> >> >> >> Hai la possibilità di usare una CPU + potente (tincare dal PC)?<br>
>>> >> >> >><br>
>>> >> >> >><br>
>>> >> >> >> Il giorno 03 luglio 2011 12:34, Gioacchino Mazzurco<br>
>>> >> >> >> <<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>><br>
>>> >> >> >> ha scritto:<br>
>>> >> >> >>><br>
>>> >> >> >>> la picostation a e la z sono la stessa picostation... dalla<br>
>>> >> >> >>> picostation a posso decidere se accendere tinc e quindi far passare<br>
>>> >> >> >>> traffico mesh su internet oppure se usare solo i link wireless<br>
>>> >> >> >>><br>
>>> >> >> >>> dal computer pocco decidere sia di usare la picostation come gw sia<br>
>>> >> >> >>> di<br>
>>> >> >> >>> usare il router adsl<br>
>>> >> >> >>><br>
>>> >> >> >>> le casistiche quindi sono 3<br>
>>> >> >> >>><br>
>>> >> >> >>> iperf via internet senza tinc >500KB/s<br>
>>> >> >> >>> iperf via mesh senza tinc ~ 20Kb/s<br>
>>> >> >> >>> iperf via mesh tunnellata su internet con tinc ~100Kb/s<br>
>>> >> >> >>><br>
>>> >> >> >>> Il 03 luglio 2011 12:27, Darkman <<a href="mailto:darkman@darkman.it">darkman@darkman.it</a>> ha scritto:<br>
>>> >> >> >>> > Fammi capire:<br>
>>> >> >> >>> > - tra le tua pico(A) e quella(Z) con l'adsl ci sono diversi nodi<br>
>>> >> >> >>> > e<br>
>>> >> >> >>> > con<br>
>>> >> >> >>> > iperf<br>
>>> >> >> >>> > hai risultati di 20Kbps (A->Z) in L3 puro ? Mentre se usi tinc va<br>
>>> >> >> >>> > a<br>
>>> >> >> >>> > 100Kbps?<br>
>>> >> >> >>> > - chi sono gli end-point tinc?<br>
>>> >> >> >>> ><br>
>>> >> >> >>> ><br>
>>> >> >> >>> ><br>
>>> >> >> >>> ><br>
>>> >> >> >>> ><br>
>>> >> >> >>> > Il giorno 03 luglio 2011 12:12, Gioacchino Mazzurco<br>
>>> >> >> >>> > <<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>><br>
>>> >> >> >>> > ha scritto:<br>
>>> >> >> >>> >><br>
>>> >> >> >>> >> senza tinc praticamente non c'e' connettivita' ( a volte va ma<br>
>>> >> >> >>> >> roba<br>
>>> >> >> >>> >> tipo 20k perche' sono un sacco di op alcuni dei quali fanno<br>
>>> >> >> >>> >> schifo...)<br>
>>> >> >> >>> >><br>
>>> >> >> >>> >> se invece faccio iperf passando per internet senza tinc ottengo<br>
>>> >> >> >>> >> risultati sempre sopra i 500KB/s<br>
>>> >> >> >>> >><br>
>>> >> >> >>> >> Il 03 luglio 2011 12:01, Darkman <<a href="mailto:darkman@darkman.it">darkman@darkman.it</a>> ha<br>
>>> >> >> >>> >> scritto:<br>
>>> >> >> >>> >> > Hai gia controllato i valori tra le 2 pico con e senza tinc?<br>
>>> >> >> >>> >> ><br>
>>> >> >> >>> >> ><br>
>>> >> >> >>> >> > Il giorno 03 luglio 2011 11:45, Gioacchino Mazzurco<br>
>>> >> >> >>> >> > <<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>><br>
>>> >> >> >>> >> > ha scritto:<br>
>>> >> >> >>> >> >><br>
>>> >> >> >>> >> >> iperf -c su computer che usa una picostation come gateway -><br>
>>> >> >> >>> >> >> Picostation con tinc <- adsl 8 megabit -> iperf --server su<br>
>>> >> >> >>> >> >> <a href="http://eigenlab.org" target="_blank">eigenlab.org</a><br>
>>> >> >> >>> >> >><br>
>>> >> >> >>> >> >><br>
>>> >> >> >>> >> >> Il 03 luglio 2011 11:33, Darkman <<a href="mailto:darkman@darkman.it">darkman@darkman.it</a>> ha<br>
>>> >> >> >>> >> >> scritto:<br>
>>> >> >> >>> >> >> > 100kbps mi pare davvero troppo poco anche per quelle<br>
>>> >> >> >>> >> >> > cessonanocpu.<br>
>>> >> >> >>> >> >> > Come li hai ottenuti sti valori?<br>
>>> >> >> >>> >> >> ><br>
>>> >> >> >>> >> >> > Il giorno 03 luglio 2011 11:10, Gioacchino Mazzurco<br>
>>> >> >> >>> >> >> > <<a href="mailto:gmazzurco89@gmail.com">gmazzurco89@gmail.com</a>><br>
>>> >> >> >>> >> >> > ha scritto:<br>
>>> >> >> >>> >> >> >><br>
>>> >> >> >>> >> >> >> Ciao a tutti!<br>
>>> >> >> >>> >> >> >><br>
>>> >> >> >>> >> >> >> Facendo dei test mi sono accorto che le vpn con tinc<br>
>>> >> >> >>> >> >> >> installato<br>
>>> >> >> >>> >> >> >> sui<br>
>>> >> >> >>> >> >> >> nodi ci vanno max a 100k anche se la banda dell'adsl e'<br>
>>> >> >> >>> >> >> >> molta<br>
>>> >> >> >>> >> >> >> di<br>
>>> >> >> >>> >> >> >> piu'... ho cominciato a cercare ed ho letto che la causa<br>
>>> >> >> >>> >> >> >> e'<br>
>>> >> >> >>> >> >> >> probabilmente la CPU che non ce la fa a fare encryption<br>
>>> >> >> >>> >> >> >> decryption<br>
>>> >> >> >>> >> >> >> piu' velocemente di cosi'<br>
>>> >> >> >>> >> >> >><br>
>>> >> >> >>> >> >> >> leggendo il man di tinc ho trovato questo<br>
>>> >> >> >>> >> >> >><br>
>>> >> >> >>> >> >> >> Cipher = cipher (blowfish)<br>
>>> >> >> >>> >> >> >> The symmetric cipher algorithm used to encrypt<br>
>>> >> >> >>> >> >> >> UDP<br>
>>> >> >> >>> >> >> >> packets. Any cipher supported by OpenSSL is recognised.<br>
>>> >> >> >>> >> >> >> Furâ€<br>
>>> >> >> >>> >> >> >> thermore, specifying "none" will turn off<br>
>>> >> >> >>> >> >> >> packet<br>
>>> >> >> >>> >> >> >> encryption. It is best to use only those ciphers which<br>
>>> >> >> >>> >> >> >> support<br>
>>> >> >> >>> >> >> >> CBC mode.<br>
>>> >> >> >>> >> >> >><br>
>>> >> >> >>> >> >> >> mettendo none dovrebbe essere disabilitata l' encryption e<br>
>>> >> >> >>> >> >> >> quindi<br>
>>> >> >> >>> >> >> >> avere piu' banda, il meccanismo degli host con il file con<br>
>>> >> >> >>> >> >> >> la<br>
>>> >> >> >>> >> >> >> chiave<br>
>>> >> >> >>> >> >> >> pubblica continua a funzionare disabilitando la cifratura,<br>
>>> >> >> >>> >> >> >> e<br>
>>> >> >> >>> >> >> >> soprattutto bastera' aggiungere quell'opzione li oppure<br>
>>> >> >> >>> >> >> >> bisogna<br>
>>> >> >> >>> >> >> >> cambiare altre conf?<br>
>>> >> >> >>> >> >> >><br>
>>> >> >> >>> >> >> >> _______________________________________________<br>
>>> >> >> >>> >> >> >> Wireless mailing list<br>
>>> >> >> >>> >> >> >> <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> >> >>> >> >> >> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> >> >>> >> >> >><br>
>>> >> >> >>> >> >> ><br>
>>> >> >> >>> >> >> ><br>
>>> >> >> >>> >> >> > _______________________________________________<br>
>>> >> >> >>> >> >> > Wireless mailing list<br>
>>> >> >> >>> >> >> > <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> >> >>> >> >> > <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> >> >>> >> >> ><br>
>>> >> >> >>> >> >> ><br>
>>> >> >> >>> >> >> _______________________________________________<br>
>>> >> >> >>> >> >> Wireless mailing list<br>
>>> >> >> >>> >> >> <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> >> >>> >> >> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> >> >>> >> >><br>
>>> >> >> >>> >> ><br>
>>> >> >> >>> >> ><br>
>>> >> >> >>> >> > _______________________________________________<br>
>>> >> >> >>> >> > Wireless mailing list<br>
>>> >> >> >>> >> > <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> >> >>> >> > <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> >> >>> >> ><br>
>>> >> >> >>> >> ><br>
>>> >> >> >>> >> _______________________________________________<br>
>>> >> >> >>> >> Wireless mailing list<br>
>>> >> >> >>> >> <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> >> >>> >> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> >> >>> >><br>
>>> >> >> >>> ><br>
>>> >> >> >>> ><br>
>>> >> >> >>> > _______________________________________________<br>
>>> >> >> >>> > Wireless mailing list<br>
>>> >> >> >>> > <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> >> >>> > <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> >> >>> ><br>
>>> >> >> >>> ><br>
>>> >> >> >>> _______________________________________________<br>
>>> >> >> >>> Wireless mailing list<br>
>>> >> >> >>> <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> >> >>> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> >> >>><br>
>>> >> >> >><br>
>>> >> >> >><br>
>>> >> >> >> _______________________________________________<br>
>>> >> >> >> Wireless mailing list<br>
>>> >> >> >> <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> >> >> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> >> >><br>
>>> >> >> >><br>
>>> >> >> ><br>
>>> >> >> _______________________________________________<br>
>>> >> >> Wireless mailing list<br>
>>> >> >> <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> >> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> >><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > _______________________________________________<br>
>>> >> > Wireless mailing list<br>
>>> >> > <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> > <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >> ><br>
>>> >> ><br>
>>> >> _______________________________________________<br>
>>> >> Wireless mailing list<br>
>>> >> <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> >> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> >><br>
>>> ><br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > Wireless mailing list<br>
>>> > <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> > <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>>> ><br>
>>> ><br>
>>> _______________________________________________<br>
>>> Wireless mailing list<br>
>>> <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>>> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>><br>
>> --<br>
>> Antonio Quartulli<br>
>><br>
>> ..each of us alone is worth nothing..<br>
>> Ernesto "Che" Guevara<br>
>> _______________________________________________<br>
>> Wireless mailing list<br>
>> <a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
>> <a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
>><br>
><br>
_______________________________________________<br>
Wireless mailing list<br>
<a href="mailto:Wireless@ml.ninux.org">Wireless@ml.ninux.org</a><br>
<a href="http://ml.ninux.org/mailman/listinfo/wireless" target="_blank">http://ml.ninux.org/mailman/listinfo/wireless</a><br>
<br>
</div></div></blockquote></div><br>