Advertisement

There's no such thing as a stupid question, but they're the easiest to answer.
Login
Search

Advertisement

Networking Networking
Search Search
Search for:
Tech Support Guy > > >

Calculate file transfer


(!)

Hieronymus's Avatar
Hieronymus Hieronymus is offline
Junior Member with 2 posts.
THREAD STARTER
 
Join Date: Jan 2007
24-Jan-2007, 07:08 AM #1
Calculate file transfer
Could someone just to say how to calculate a file transfer on Ethernet? ex.: Ethernet (100Mb/s) and 1 file (400M), time = 400M / 100Mb/s = 4s Is my formula right?
It is right that Ethernet is 100Mbit/s and not 100Mbytes/s??
Sometimes aren't the bits very clear for me?


Thanks in advance,
nymus
johnpost's Avatar
johnpost johnpost is offline
Senior Member with 317 posts.
 
Join Date: Dec 2005
24-Jan-2007, 10:16 AM #2
transfer speeds are bits/second

file size is most frequently done in bytes

so 400 MB is 3200 bits at 8 bits per byte
cwwozniak's Avatar
cwwozniak   (Chuck) cwwozniak is offline cwwozniak is a Trusted Advisor with special permissions. cwwozniak has a Profile Picture
Computer Specs
Trusted Advisor with 46,759 posts.
 
Join Date: Nov 2005
Location: Illinois - USA
Experience: Intermediate
24-Jan-2007, 10:44 AM #3
Quote:
Originally Posted by johnpost
transfer speeds are bits/second
file size is most frequently done in bytes
There are two additional factors to consider.

1) File sizes are typically specified in binary terms where 1 MB = 1,048,576 Bytes. A 400 MB file would be 419,430,400 Bytes in size.

2) There are additional bytes added to each packet of data sent to provide error detection and routing information. The actual numbers depend on the packet size and exact protocol used for sending them. In general terms, a typical packet of data sent will be about 95% or less content and 5% or a bit more of overhead. In order to send 419,430,400 Bytes of data about 441,505,684 bytes would actually need to be transmitted.

A 100 MegaBITs/Sec speed works out to a 12.5 MegaBYTEs/Sec transfer rate. Your 400 MB file would take about 35.3 seconds to send, assuming the source can continuously send it that fast, the receiving computer can process it that fast and there no large amounts of corrupted or lost packets that need to be resent.
__________________
Chuck W.
"When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours." ~ Stephen F. Roberts
JohnWill's Avatar
Computer Specs
Retired Moderator with 106,412 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
24-Jan-2007, 01:12 PM #4
In truth framing and protocol overhead are probably a lot more than 5%. Here's a paper on SMB protocol: http://www.advance7.com/downloads/Wh...LMBLatency.pdf
cwwozniak's Avatar
cwwozniak   (Chuck) cwwozniak is offline cwwozniak is a Trusted Advisor with special permissions. cwwozniak has a Profile Picture
Computer Specs
Trusted Advisor with 46,759 posts.
 
Join Date: Nov 2005
Location: Illinois - USA
Experience: Intermediate
24-Jan-2007, 04:47 PM #5
Quote:
Originally Posted by JohnWill
Here's a paper on SMB protocol:[/url]
I wasn't even thinking about Windows adding another protocol layer on top of TCP/IP. I was just going by some of the numbers for Ethernet on this site:

http://sd.wareonearth.com/~phil/net/overhead/
JohnWill's Avatar
Computer Specs
Retired Moderator with 106,412 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
24-Jan-2007, 09:11 PM #6
Oh, there's lots more overhead than that!
Courtneyc's Avatar
Computer Specs
Member with 1,897 posts.
 
Join Date: Dec 2003
Location: South Central Kansas
Experience: Advanced
24-Jan-2007, 10:09 PM #7
Windows does not add another protocol layer on top of TCP/IP. TCP/IP does that all by itself.

Keep in mind, there are a lot of things TCP has to keep track of. Your packets have to be numbered, ordered, and put in a window. That window has to be numbered and ordered. Keep in mind that the packet itself has to fit on every device it comes in contact with. If it doesn't, that packet has to be fragmented, numbered, and ordered. TCP has to keep track of this at every single connection. On top of that, some packets will get corrupted on the way to you. Those have to be resent from the source.

Also, keep in mind, your connection is only as fast as your slowest connection. If you have a terebyte connection to the Internet, but your server is at 10 meg, your entire connection is only 10 meg (minus overhead).

In short, Windows does not add a protocol on top of TCP/IP (and keep in mind, it's the TCP that adds most of the overhead).

(Windows can add NetBIOS or WINS on top of TCP/IP, but both are used to find the destination, not to send to it.)

Courtney sends...
O111111O's Avatar
O111111O O111111O is offline
Computer Specs
Senior Member with 894 posts.
 
Join Date: Aug 2005
Location: Right here.
Experience: 31337
24-Jan-2007, 10:23 PM #8
Windows SMB PDU's into Ethernet framing is innefficient and lessens the ability to "fill the wire"

Nominally on low latent connections you will see 6-8Mbytes per second for 100Mbit Ethernet windows file transfers. Low latent means less than 5ms RTT for ack packets. Windows SMB does a poor job of increasing the size of SMB payload, (as the whtiepaper John posted points out) so very seldom is a >800byte PDU seen.
JohnWill's Avatar
Computer Specs
Retired Moderator with 106,412 posts.
 
Join Date: Oct 2002
Location: South Eastern PA, USA
25-Jan-2007, 03:03 PM #9
Yep, I get around 8mb/sec between fast machines here.
Hieronymus's Avatar
Hieronymus Hieronymus is offline
Junior Member with 2 posts.
THREAD STARTER
 
Join Date: Jan 2007
30-Jan-2007, 09:35 AM #10
Thanks guys for your help and papers ?
Have someone a good link about bit and/or bytes?

Have a nice day
nymus
cwwozniak's Avatar
cwwozniak   (Chuck) cwwozniak is offline cwwozniak is a Trusted Advisor with special permissions. cwwozniak has a Profile Picture
Computer Specs
Trusted Advisor with 46,759 posts.
 
Join Date: Nov 2005
Location: Illinois - USA
Experience: Intermediate
30-Jan-2007, 10:28 AM #11
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine
WELCOME TO TECH SUPPORT GUY!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.


(clock)
THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


WELCOME
You Are Using: Server ID
Trusted Website Back to the Top ↑