Visualizzazione dei risultati da 1 a 7 su 7

Discussione: Velocità LAN

  1. #1

    Velocità LAN

    Ho un router casalingo (Netgear DG834v2) a cui ho collegato 3 pc.
    Ho fatto delle prove sulla velocità ed ho notato che nonostante abbia un hardware compatibile con i 100Mbps, riesco ad arrivare ad una banda di circa 16Mbps (sia solo download che down/up - quindi forse in half-duplex?).

    Su windows l'indicatore dice 100Mbps.
    Su linux non sò da dove potrei vederlo.

    Mi chiedo dove stà il problema?
    Non può essere una 10Mbps poiché li supero anche andando solo in una direzione.
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  2. #2
    Utente di HTML.it L'avatar di seclimar
    Registrato dal
    Sep 2002
    Messaggi
    21,042
    un file di 100 megabytes in quanto lo copi da un pc all'altro ?

    prova queste 4 cose

    dal pc A al pc B (comandando da A)
    dal pc A al pc B (comandando da A)
    dal pc B al pc A (comandando da B)
    dal pc B al pc A (comandando da B)


    vediamo se e' la rete o il disco di un pc ... (potrebbe anche essere qualche interrupt in conflitto: dischi o rete)

  3. #3
    Un file di 100 megabytes:

    codice:
    WIN (client) -> LIN (server) | 1' 10'' | FTP  | 1.43MB/s | 11.44Mb/s | FileZilla-vsFTPd
    WIN (server) -> LIN (client) | 0' 21'' | HTTP | 4.76MB/s | 38.08Mb/s | hfs-wget
    LIN (server) -> WIN (client) | 1' 05'' | HTTP | 1.54MB/s | 12.32Mb/s | Apache-Firefox
    LIN (server) -> WIN (client) | 1' 04'' | FTP  | 1.64MB/s | 13.12Mb/s | vsFTPd-FileZilla
    LIN (client) -> WIN (server) | N/A
    E' un po'confusionario, ma solo perché ho inserito anche troppi dati...

    Non ho dati sull'upload da linux verso un server windows, visto che non ho un server FTP e/o un form html per l'invio su windows.




    edit: tempi più precisi
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  4. #4
    :master:
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

  5. #5
    Utente di HTML.it
    Registrato dal
    Jul 2001
    Messaggi
    1,003
    Per fare un vero test di banda devi utilizzare un protocollo senza riscontro, consiglio di usare UDP per testare la larghezza di banda del link.

  6. #6
    per vedere le caratteristiche della connessione di rete sotto linux usa i comandi mii-tool o ethtool.
    per testare le performance della rete usa il software iperf (è multipiattaforma).
    A forza di seguire la corrente si finisce in qualche fogna
    -- M.Connelly

    http://www.syn-ack.it

  7. #7
    Originariamente inviato da prometeus
    per testare le performance della rete usa il software iperf (è multipiattaforma).
    Simpatico!

    codice:
    Client: Windows | Server: Linux
    
    C:\Documents and Settings\gionnico\Desktop\iperf>iperf.exe -c 192.168.0.3
    ------------------------------------------------------------
    Client connecting to 192.168.0.3, TCP port 5001
    TCP window size: 8.00 KByte (default)
    ------------------------------------------------------------
    [1916] local 192.168.0.2 port 1102 connected with 192.168.0.3 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [1916]  0.0-10.0 sec   113 MBytes  94.5 Mbits/sec
    
    C:\Documents and Settings\gionnico\Desktop\iperf>iperf.exe -c 192.168.0.3 -d
    ------------------------------------------------------------
    Server listening on TCP port 5001
    TCP window size: 8.00 KByte (default)
    ------------------------------------------------------------
    ------------------------------------------------------------
    Client connecting to 192.168.0.3, TCP port 5001
    TCP window size: 8.00 KByte (default)
    ------------------------------------------------------------
    [1880] local 192.168.0.2 port 1110 connected with 192.168.0.3 port 5001
    [1848] local 192.168.0.2 port 5001 connected with 192.168.0.3 port 3157
    [ ID] Interval       Transfer     Bandwidth
    [1880]  0.0-10.0 sec  89.8 MBytes  75.2 Mbits/sec
    [1848]  0.0-10.0 sec  46.5 MBytes  38.9 Mbits/sec
    
    C:\Documents and Settings\gionnico\Desktop\iperf>iperf.exe -c 192.168.0.3 -u
    ------------------------------------------------------------
    Client connecting to 192.168.0.3, UDP port 5001
    Sending 1470 byte datagrams
    UDP buffer size: 8.00 KByte (default)
    ------------------------------------------------------------
    [1916] local 192.168.0.2 port 1111 connected with 192.168.0.3 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [1916]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
    [1916] Server Report:
    [1916]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  0.231 ms    0/  893 (0%)
    [1916] Sent 893 datagrams
    
    C:\Documents and Settings\gionnico\Desktop\iperf>iperf.exe -c 192.168.0.3 -u -d
    ------------------------------------------------------------
    Server listening on UDP port 5001
    Receiving 1470 byte datagrams
    UDP buffer size: 8.00 KByte (default)
    ------------------------------------------------------------
    ------------------------------------------------------------
    Client connecting to 192.168.0.3, UDP port 5001
    Sending 1470 byte datagrams
    UDP buffer size: 8.00 KByte (default)
    ------------------------------------------------------------
    [1880] local 192.168.0.2 port 1112 connected with 192.168.0.3 port 5001
    [1916] local 192.168.0.2 port 5001 connected with 192.168.0.3 port 1037
    [ ID] Interval       Transfer     Bandwidth
    [1880]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
    [1880] Server Report:
    [1880]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  0.162 ms    0/  893 (0%)
    [1880] Sent 893 datagrams
    [1916]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  8.530 ms    2/  893 (0.22%)
    codice:
    Client: Linux | Server: Windows
    
    C:\Documents and Settings\gionnico\Desktop\iperf>iperf.exe -s
    ------------------------------------------------------------
    Server listening on TCP port 5001
    TCP window size: 8.00 KByte (default)
    ------------------------------------------------------------
    [1884] local 192.168.0.2 port 5001 connected with 192.168.0.3 port 4823
    [ ID] Interval       Transfer     Bandwidth
    [1884]  0.0-10.0 sec   106 MBytes  88.9 Mbits/sec
    [1872] local 192.168.0.2 port 5001 connected with 192.168.0.3 port 4825
    ------------------------------------------------------------
    Client connecting to 192.168.0.3, TCP port 5001
    TCP window size: 8.00 KByte (default)
    ------------------------------------------------------------
    [1828] local 192.168.0.2 port 1113 connected with 192.168.0.3 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [1872]  0.0-10.0 sec  46.5 MBytes  39.0 Mbits/sec
    [1828]  0.0-10.0 sec  88.6 MBytes  74.2 Mbits/sec
    
    C:\Documents and Settings\gionnico\Desktop\iperf>iperf.exe -s -u
    ------------------------------------------------------------
    Server listening on UDP port 5001
    Receiving 1470 byte datagrams
    UDP buffer size: 8.00 KByte (default)
    ------------------------------------------------------------
    [1932] local 192.168.0.2 port 5001 connected with 192.168.0.3 port 1037
    [ ID] Interval       Transfer     Bandwidth       Jitter   Lost/Total Datagrams
    [1932]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  6.112 ms    0/  893 (0%)
    [1932] local 192.168.0.2 port 5001 connected with 192.168.0.3 port 1037
    ------------------------------------------------------------
    Client connecting to 192.168.0.3, UDP port 5001
    Sending 1470 byte datagrams
    UDP buffer size: 8.00 KByte (default)
    ------------------------------------------------------------
    [1856] local 192.168.0.2 port 1114 connected with 192.168.0.3 port 5001
    [ ID] Interval       Transfer     Bandwidth
    [1856]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec
    [1856] Server Report:
    [1856]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  0.221 ms    0/  893 (0%)
    [1856] Sent 893 datagrams
    [1932]  0.0-10.0 sec  1.25 MBytes  1.05 Mbits/sec  8.348 ms    0/  893 (0%)
    Sum
    I dati server-client e client-server sono abbastanza simili.
    (94.5Mbit/s con server linux , 88.9Mbit/S con server windows - perché questa differenza? - forse problemi in DOWNLOAD da WINDOWS?)

    TCP:
    Velocità di 90 Mbit/s ca in singolo
    40-75 Mbit/s per il duplex (qualcosa non và?)

    UDP:
    Velocità di 1.05 Mbit/s ca in singolo
    Velocità di 1.05 Mbit/s ca in duplex

    L'UDP è normale che sia così lenta?


    PS: Con client qui si intende quello che invia e con server quello che riceve (a parte flag -d)?
    Main: Asus P5KR | Intel Q6600 G0 @ 3.6GHz | Kingston 2x1GB DDR-II @ 800MHz | POV GeForce 8800GT 512MB | Seagate Barracuda 7200.11 32MB 2x500GB RAID0 | Enermax Chakra 3052BS | Enermax Liberty 500W | Zerotherm Nirvana NV120 Premium || eee PC || Net: Atlantis Land WebShare 340 | Alice 19M/1M || Gentoo Linux | gtk-gnutella rulezz.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.