LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 01-31-2013, 05:35 PM   #1
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 161

Rep: Reputation: 2
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 ...
 
Old 01-31-2013, 06:04 PM   #2
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 161

Original Poster
Rep: Reputation: 2
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
 
Old 01-31-2013, 08:21 PM   #3
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 161

Original Poster
Rep: Reputation: 2
i changed the cable between debian server and windows pc and the same also
 
Old 01-31-2013, 09:46 PM   #4
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 341

Rep: Reputation: 34
Quote:
Originally Posted by !! hack-back !! View Post
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
 
Old 01-31-2013, 09:49 PM   #5
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 341

Rep: Reputation: 34
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
 
Old 02-01-2013, 05:59 AM   #6
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 161

Original Poster
Rep: Reputation: 2
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
 
Old 02-01-2013, 06:01 AM   #7
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 161

Original Poster
Rep: Reputation: 2
it is 10MB/sec in download manager
between my windows laptop and my debian server is only 1meter utp cable
 
Old 02-01-2013, 06:19 AM   #8
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
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.
 
Old 02-01-2013, 06:42 AM   #9
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 161

Original Poster
Rep: Reputation: 2
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
 
Old 02-01-2013, 06:56 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,592
Blog Entries: 2

Rep: Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046Reputation: 4046
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).
 
Old 02-01-2013, 10:12 AM   #11
KinnowGrower
Member
 
Registered: May 2008
Location: Toronto
Distribution: Centos && Debian
Posts: 341

Rep: Reputation: 34
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
 
Old 02-01-2013, 05:40 PM   #12
!! hack-back !!
Member
 
Registered: Nov 2009
Posts: 161

Original Poster
Rep: Reputation: 2
thank you very much TobiSGD & KinnowGrower
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS slow when network is enabled, otherwise fast Xcalable Linux - Newbie 11 12-29-2009 01:17 PM
fast network connection jamaso Linux - Networking 2 04-27-2004 10:34 AM
Kazaa and the Fast Track Network Pwcca Linux - Software 4 04-29-2003 10:52 AM
iPAQ fast PCI network card driver philipsyyy Linux - Software 0 09-30-2002 12:45 PM
How to configure a Network everywhere fast network card under Linux Mandrake 7.2 margo256 Linux - Newbie 1 03-12-2001 10:45 AM


All times are GMT -5. The time now is 03:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration