6
2
I needed to figure out how many requests could be made with 1000 GB of traffic if each request took 1MB on average. I quickly did the math on paper, and then as a second thought plugged it into Google. To my surprise, Google's answer is different than mine.
My way:
1,000 gigabytes = 1000*1024*1024*1024 bytes
Divide by 1 megabyte = 1024*1024 bytes
to get:
(1000*1024*1024*1024)/(1024*1024) = 1,024,000
The Google Way:
1000 gigabytes / 1 megabyte
Output: 1,000,000
Am I wrong, or is Google wrong?
16Be specific: Do you have 1000 GiB or 1000 GB worth of traffic? Do you have 1 MiB or 1 MB requests? – slhck – 2014-07-29T18:40:50.960
4This wikipedia article might clear things up. – Adam – 2014-07-29T18:42:26.880
1@slhck Each request being one megabyte. I'm just used to writing MB instead of MiB. And that would be 1000 gigabytes. I edited my question to spell it out instead of using an abbreviation. – Nate – 2014-07-29T18:43:08.340
Where exactly are you confused? – Ramhound – 2014-07-29T18:44:27.230
I'm glad google fixed their math. A few months back they were saying 1GB = 1024MB. :) – None – 2014-07-29T18:46:18.983
5@Adam Oh wow,
mebibytes
andkibibytes
? I need to go rethink my life now. :P – Nate – 2014-07-29T18:47:37.643Related: http://superuser.com/questions/287498/what-is-the-difference-between-a-kibibyte-a-kilobit-and-a-kilobyte
– Justin Krejcha – 2014-07-29T18:50:14.180Related: http://superuser.com/questions/444616/how-much-storage-am-i-using
– None – 2014-07-29T18:51:07.600@Nate, it's not your fault most of computer science teachers and professors don't question 30 years old bad materials. Also Microsoft, Oracle, Many Cloud Services, and Memory makers use the notation wrongly. :) Take a deep breath and share what you've learned with others. :) – None – 2014-07-29T18:55:11.507
1@Radoo Already posted on facebook. My world has officially been rocked :-) – Nate – 2014-07-29T18:56:18.443
6What? 1000 ≠ 1024? Next thing, you'll be telling me that π ≠ 3. – Scott – 2014-07-29T20:21:52.603
1@Scott Every CSCI textbook I've ever looked at (as well as everything I've read online, until now) has always defined kilobyte, megabyte, etc., as 1024, not 1000. – Nate – 2014-07-29T21:25:33.697
Yeah, and if I dig around in the back of my closet, I can probably find some textbooks that say that the sun and moon revolve around the earth. :-) Did you really think that my previous comment was serious in any way? – Scott – 2014-07-29T21:37:32.380
9This xkcd will clear things up – Nick T – 2014-07-30T04:02:08.583
2Since you are talking about "one MB on average" I think that the difference doesn't actually matter for your purpose . Even so, this question has taught me something I didn't know. "New fact for the day". So thanks for asking. – Floris – 2014-07-30T15:16:19.180
1What Floris said. It turns out that for most purposes, 1024 == 1000. – Russell Borogove – 2014-07-30T17:41:12.777
Related: http://superuser.com/questions/599371/what-is-the-actual-manufactured-capacity-raw-not-formatted-of-a-hdd/599404#599404
– Jan Doggen – 2014-07-31T14:12:23.363