LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   fast network peroformance (https://www.linuxquestions.org/questions/linux-networking-3/fast-network-peroformance-4175448059/)

!! hack-back !! 01-31-2013 05:35 PM

fast network peroformance
 
hello all,
i have 100MB/sec network adapter on debian squeeze server
and when i download from it i only got 10MB/sec
how i can make it fastest ??
thank you ...

!! hack-back !! 01-31-2013 06:04 PM

i made
ethtool eth0
ethtool -s eth0 duplex full speed 100 autoneg off

mii-tool eth0
mii-tool eth0 -F 100

but the same result

!! hack-back !! 01-31-2013 08:21 PM

i changed the cable between debian server and windows pc and the same also

KinnowGrower 01-31-2013 09:46 PM

Quote:

Originally Posted by !! hack-back !! (Post 4881700)
hello all,
i have 100MB/sec network adapter on debian squeeze server

is it 100MB/sec or 100Mb/sec?. Can you show the output of the command
Code:

sudo /sbin/ethtool eth0

KinnowGrower 01-31-2013 09:49 PM

It seems the NIC is of 100 Mb speed. So the 10MB speed you are getting is correct. Note the difference between upper case B and small case b

!! hack-back !! 02-01-2013 05:59 AM

root@debian:~# /sbin/ethtool eth0
Settings for eth0:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric Receive-only
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 24
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0x00000001 (1)
Link detected: yes

!! hack-back !! 02-01-2013 06:01 AM

it is 10MB/sec in download manager
between my windows laptop and my debian server is only 1meter utp cable

TobiSGD 02-01-2013 06:19 AM

Your numbers are correct and nothing is wrong. The network adapters are connected with 100 Megabit/sec and your download manager is showing you a transfer rate of 10 MegaByte/sec. On byte contains 8 Bit, so the theoretical maximum (that never will be reached) for a 100 Mb/sec connection is 12.5 MB/sec and your transfer rate of 10 MB/sec is pretty normal.

!! hack-back !! 02-01-2013 06:42 AM

and the maximum network cards speed is 1000MB that mean if i replace it the maximum download rate i will get is 100Mb/sec ??
is that right ?
thank you :)

TobiSGD 02-01-2013 06:56 AM

If both network cards support 1000Mb/sec you should get a transfer rate of around 100MB/sec, as long as the harddisk in the delivering computer is fast enough to handle that and the disk in the receiving computer can store at this rate (or has sufficient amount of memory to cache the data).

KinnowGrower 02-01-2013 10:12 AM

Quote:

and the maximum network cards speed is 1000MB
Again note that Upper case B means Byte and lower case b means bit. So when you say network card speed is 1000MB that is not correct. According to that, speed is 1000x8 = 8000Mb/sec. You wont get that speed any way. So do not represent the speed with upper case B because it is huge difference and cause misunderstanding and confusion as in this case.

Also if server and laptop are connected via hub/switch. Still, technically the speed depends on the speed of that hub or switch

!! hack-back !! 02-01-2013 05:40 PM

thank you very much TobiSGD & KinnowGrower


All times are GMT -5. The time now is 01:22 PM.