1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

kilobit vs kilobyte

Discussion in 'General Discussions' started by AceH, 2007/12/09.

  1. 2007/12/09
    AceH

    AceH Inactive Thread Starter

    Joined:
    2002/01/16
    Messages:
    601
    Likes Received:
    2
    The abbreviation kbit/s, does this stand for kilobit or kilobyte? Personally I'm thinking it stands for kilobit.
     
    AceH,
    #1
  2. 2007/12/09
    Hugh Jarss

    Hugh Jarss Inactive

    Joined:
    2002/07/22
    Messages:
    908
    Likes Received:
    6
    correct, kbit/s is the abbreviation for "kilobits per second "

    also: kb/s = kilobits per second; but kB/s = kilobytes per second

    ...but the use of 'b' for bit and 'B' for byte is subject to so much misuse that it's probably better to stick with kbit and kByte if you want to be unambiguous

    ==

    wearing my "pedantic" hat, I have to chuckle when folks write things like "512mb RAM" (which should of course be written 512MB RAM if it's to mean 512 megabytes)...

    the prefix 'm' stands for milli (ie one thousandth) as opposed to 'M' which stands for Mega (ie one million); so 512mb actually means slightly over half a bit of memory :rolleyes: (curious concept)

    very best, HJ.
     

  3. to hide this advert.

  4. 2007/12/09
    AceH

    AceH Inactive Thread Starter

    Joined:
    2002/01/16
    Messages:
    601
    Likes Received:
    2
    I was trying to convert 1.5 megabytes to either kilobits or kilobytes. I was doing a Tweak Tester at http://www.dslreports.com/tweaks. Before the results are displayed they tell you to list your download speed, as advertised by you ISP, in kbit/s. I'm thinking that is mistake.

    When I convert it to kilobytes everything comes out just fine, but when I use kilobits it tells me to use an extremely high RWIN value for which I would have to turn on windows scaling. It just doesn't seem right.
     
    AceH,
    #3
  5. 2007/12/10
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,068
    Likes Received:
    396
    In data storage mega = 1,048,576 (2 to the 20th power).
    In data transfer mega = 1,000,000.
    Thus, throughput, transfer rate, download speed = bits or bytes x 1,000,000.

    ISP marketing uses 1,000,000 re megabits or megabytes.

    8 bits = 1 byte
    To convert bits to bytes divide by 8.

    dialup example:
    54,000 bits/sec = 54,000 / 8 = 6.75 kilobytes/sec

    broadband example:
    1.5 megabit connection = 1.5 million bits/sec = 1,500,000 bits/sec / 8 = 187.5 kilobytes/sec

    The problem in calculating Internet transfer rates is that not everyone adheres to the standards re bits and bytes. Some calculate 1 megabit as 1,048,576 bits, but that is not standard. Also, the standard is to use B fpr byte and b for bit, and not everyone adheres to that either. However, when using a file to test transfer rates one MUST calculate using the actual file size using data storage standards. example:

    If download a 1 megabit file, which means the file = 1,048,576 bits = 131.072 kilobytes = approx .131 megabytes and the download takes 1 second, then the transfer rate = 1 megabit/second.

    But one rarely sees that actual throughput because when transferred, a file is broken down into packets, and a packet cannot exceed 1500 bits in size, thus the 1 megabit file is broken down into about 700 packets that get transferred.

    Sometimes a packet never arrives and must be resent, which adds time to the transfer. This is called "packet loss ". And because one does not have control over all the hardware involved with Internet file transfers, packet loss is inevitable. Thus NO "download speed test" is ever 100% accurate.

    Packet loss (communication lags) also is affected by the software and protocols used for the transfers. FTP is usually a more reliable protocol than TCP for testing file transfer rates because FTP is a less complex protocol than TCP and has less software dependencies in the operating system.
     
    Last edited: 2007/12/10
  6. 2007/12/10
    AceH

    AceH Inactive Thread Starter

    Joined:
    2002/01/16
    Messages:
    601
    Likes Received:
    2
    Thanks a million TonyT. I'm fairly familiar with MTU=1500 and "packet loss" thus requiring resending that information. I've also noticed what you said that quite a few sites use the B (Bytes), b (bits), M (Megabyte) and m (megabits) interchangeably. These erros cause people to get incorrect information when running certain test.

    P.S. Although the bandwith test site I previously posted asks for kbits per second (which gives me a rediculously high number), when I use kbytes I get a much more sensible result with an "efficiency" rating of 100% with no packet loss.
     
    AceH,
    #5
  7. 2007/12/11
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,068
    Likes Received:
    396
  8. 2007/12/12
    Hugh Jarss

    Hugh Jarss Inactive

    Joined:
    2002/07/22
    Messages:
    908
    Likes Received:
    6
    Tony,

    I think you may perhaps have been a bit too generous with the dialup!

    Say I start with a byte in my machine, which indeed is 8 bits; if I then want to send that byte to you via my modem: first I have to send a start bit, then there's the data, then at the end there's a stop bit (and ?maybe a parity bit): I've actually had to put something like 10 bits onto the line, in order to send you the 8 bits which become a byte in the computer at your end.

    If the measurement of line speed means just what the words say (ie the number of bits transmitted down the line per second), surely it's going to be including this "overhead" as well as the actual data bits themselves - so (forgetting about parity for the moment) we'd get a more realistic idea of the number of useful bytes of data per second by dividing the line speed by 10; and, the numbers this gives would then be more in line with what I see - I'm "pegging the line" on the dark blue graph :) and the status bar

    Now, I wonder, does a similar situation hold for broadband? (particularly as I'm about to change over to broadband in the next couple of days if things go well)...

    ...asynchronous communications channels generally use a start bit, they need something to give the "wake up call" to the receiver. True for a COM port, for MIDI, for a dialup, and (I gather*) also for ADSL. But what about other kinds of broadband?

    *please someone jump on me if this is wrong, was trying to look it up yesterday and found all sorts of confusing stuff :( but little hard fact to go on

    ==

    Another complicating factor in the relationship between bytes into a computer, and bits on the lines connecting the computer, might be data compression. Which (for my dialup) seems to be enabled, but I don't think that it's actually being used in my case.

    In general though, whether dialup or broadband, if there's "on the fly" compansion going on, the actual number of bytes successfully into a machine would be greater than that predicted from calculation based upon the bit rate going down the line into that machine...

    sorry to be confusing

    best wishes, HJ
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.