[Ninux-Wireless] qualcuno ha provato iperf 3.0.1 ?

Stefano De Carlo stefanauss a gmail.com
Ven 17 Gen 2014 02:37:51 CET


Il 16/01/2014 18:39, Gioacchino Mazzurco ha scritto:
> On Thursday 16 January 2014 17:59:36 Nemesis wrote:
>> Se lo stress fosse trascurabile potremmo includerla sui nostri firmware?
> Si sarebbe un'ottima cosa, sarebbe da approfondire cosa intendono per zero 
> copy TCP, perche' magari riescono a fare il test evitando i cambi di contesto 
> dovuti ai socket, e quindi diminuirebbe notevolmente il carico sulla CPU per 
> fare i test

Dal nuovo man

https://code.google.com/p/iperf/wiki/ManPage

>        -Z, --zerocopy
>               Use  a  "zero copy" method of sending data, such as sendfile(2),
>               instead of the usual write(2).

Dal man di sendfile:


> *sendfile*() copies data between one file descriptor and another.
> Because this copying is done within the kernel, *sendfile*() is more
> efficient than the combination of *read*(2) and *write*(2), which
> would require transferring data to and from user space 

Se ricordo bene, il vantaggio dello speedtest di AirOS è che usa
strumenti in kernel space, mentre iperf su OpenWRT/Scooreggione era
limitato all'userspace e quindi cappava la CPU prima di poter dare
throughput veritieri sull'hardware limitato dei router domestici.
Mi sembra che iperf3 risolva tutto questo ma non me ne intendo
abbastanza, aspetto il responso di gente più addentro al kernel.

Stefanauss.


-------------- parte successiva --------------
Un allegato non testuale è stato rimosso....
Nome:        signature.asc
Tipo:        application/pgp-signature
Dimensione:  836 bytes
Descrizione: OpenPGP digital signature
URL:         <http://ml.ninux.org/pipermail/wireless/attachments/20140117/762f392f/attachment-0001.sig>


Maggiori informazioni sulla lista Wireless