Stephen Donnelly wrote:
On Fri, 2007-06-22 at 16:41 +1200, Paul Adshead wrote:
Bearing in mind most switches/routers output traffic stats in Bytes and most bills go to customers in GigaBytes, which of the following options are being used by each of us to convert between the two when creating the bill?
A, divide by 1024 * 1024 * 1024; B, divide by 1024 * 1024 * 1000; C, divide by 1024 * 1000 * 1000; D, divide by 1000 * 1000 * 1000.
Telecommunications normally uses powers of 10, e.g. 1 Mbps is 1,000,000 bps, so it is natural to do charging based on powers of 10.
(Voice is 8kHz x 8 bits = 64 kbps, not 2^16 bps)
Stephen.
Please don't confuse the difference between (bits) bps and (Bytes) Bps at this stage. bps is base-1. Bps is base-8. The first you are talking about does translate to base-10 seamlessly, 8,000 x 8 = 64,000 which is correct saying 64 kbps in both common and technical. The latter, which does not, is what this thread is about. AJ