Go Back   Hardware Forums > Computer Forums > Storage Devices

Reply
 
LinkBack Thread Tools
Old 03-07-2008, 05:32 PM   #1 (permalink) Top
Paranoid Geeky Geek
 
donkey42's Avatar
 
Join Date: Mar 2006
Age: 34 Male
Posts: 5,746
Times Helpful: 306
My Mood: Paranoid
Status: Offline

My Computer

Default GiB explained

a Gb as we all know is a measure of space (HDD or RAM)
HDD are sold unformatted, so, after formatting you will lose some space (about 7%)

GiB = an unformatted amount of space
Gb = Gigabyte, a formatted amount of space we all understand

so, HDD should really be sold as 160GiB, not 160Gb because a 160GiB HDD is only 149.8Gb ish, this so called waste of space is actually used by the HDD for error correction & stuff


Last edited by donkey42; 03-07-2008 at 09:18 PM. Reason: edit
  Reply With Quote
Whats this? diNovo Media Desktop Laser
diNovo Media Desktop Laser
Seller Price (inc. VAT) Delivery Total Price Availability Seller Rating
uk.insight.com £116.27 £5.86 £122.13 In Stock Rated: 4 out of 5 - Number of votes: 2
Dell £121.92 Free £121.92 In Stock Rated: 0 out of 5 - Number of votes: 0
Misco.co.uk £129.24 £4.69 £133.93 In Stock Rated: 4 out of 5 - Number of votes: 1351
Old 04-07-2008, 06:53 AM   #2 (permalink) Top
Geek Trainee
 
Join Date: Jun 2008
Posts: 5
Times Helpful: 3
Status: Offline
MiB, GiB are using binary prefixes (powers of two) to show magnitude, while MB, GB are using decimal prefixes. These prefixes have nothing to do whether some physical memory (hard drive) is formatted or not.
Binary prefixes have been introduced to *avoid* confusion.
When you're dealing with small qantities, the difference doesn't show much; e.g. 1 KB = 1'000 Byte, whereas 1 KiB = 1'024 Byte. Almost nobody will complain about the 2.3% missing. But take larger quantities and the difference really shows:
A Giga is defined as 1'000'000'000 = 10^9; a Gibi as 2^30 = 1024 x 1024 x 1024 = 1'073'741'824 (same magnitude, but slightly more).
Therefore a 160 GB hard drive has a capacity of 160 x 10^9 Byte; any computer (knowing only binary) will report 160 x 10^9 / 2^30 = 149 GiB; a 250 GB drive will be (correctly) seen as 233 GiB (in most cases still labelled GB, that's the confusion).
The companies selling hard drives will gladly use the higher number (160; 250) as a sales argument.
For further reading, see this article: "http://en.wikipedia.org/wiki/Binary_prefix".

Last edited by kekoa; 04-07-2008 at 01:07 PM.
  Reply With Quote
The Following User Says Thank You to kekoa For This Useful Post: Show me >>
Old 04-07-2008, 08:29 PM   #3 (permalink) Top
The King

 
Addis's Avatar
 
Join Date: Jan 2004
Age: 18 Male
Posts: 5,254
Times Helpful: 402
My Mood: Drunk
Status: Offline

My Computer

Kekoa is right, it's unrelated to the formatting of the disk.

Technically when Windows displays a file size, it should say KiB, MiB etc rather than KB, MB.

Can be quite confusing, especially since Mb isn't megabyte but megabit.
__________________
Never trust a program you don't have the source code for.

My website | Powerful Desktop Linux | Linux for human beings | Linux for power users | Linux for ricers
Send a message via MSN to Addis   Reply With Quote
The Following User Says Thank You to Addis For This Useful Post: Show me >>
Old 04-07-2008, 09:09 PM   #4 (permalink) Top
Paranoid Geeky Geek
 
donkey42's Avatar
 
Join Date: Mar 2006
Age: 34 Male
Posts: 5,746
Times Helpful: 306
My Mood: Paranoid
Status: Offline

My Computer

Quote:
Originally Posted by Addis
Can be quite confusing, especially since Mb isn't megabyte but megabit.
makes sense now if seen it, but i always thought Mb = megabyte, but, can i see the logic

BTW:TBH: i just ignored kekoa because it went wwwooossshhh over my head, i never was good at maths

Edit: sorry kekoa

Last edited by donkey42; 04-07-2008 at 09:10 PM. Reason: edit
  Reply With Quote
Old 04-07-2008, 09:57 PM   #5 (permalink) Top
Geek Trainee
 
Join Date: Jun 2008
Posts: 5
Times Helpful: 3
Status: Offline
donkey42: Tried to put it in a way as not to intimidate anybody, sorry if I missed...
I've always admired the boldness of *applied* math.
In my opinion, the approximate equation
10^3 = 1'000 = 10 x 10 x 10 (approx) = 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 = 1'024 = 2^10
is a fine example of engineering math dating from the age of the slide rule and early computing machines.

Last edited by kekoa; 05-07-2008 at 08:19 AM.
  Reply With Quote
The Following User Says Thank You to kekoa For This Useful Post: Show me >>
Old 04-07-2008, 10:21 PM   #6 (permalink) Top
Paranoid Geeky Geek
 
donkey42's Avatar
 
Join Date: Mar 2006
Age: 34 Male
Posts: 5,746
Times Helpful: 306
My Mood: Paranoid
Status: Offline

My Computer

Quote:
Originally Posted by kekoa
10^3 = 1'000
well my interpretation is 10^3 = 1 & 3 zeros
Quote:
Originally Posted by kekoa
& = 10 x 10 x 10
with you
Quote:
Originally Posted by kekoa
= 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 = 1'024
understand that bit now
Quote:
Originally Posted by kekoa
= 2^10
i don't understand
Quote:
Originally Posted by kekoa
is a fine example of engineering math dating from the age of the slide rule and early computing machines.
how does 2^10 differ by being the reverse (nearly) of 10^3, how does that equate ?

Edit:
Quote:
Originally Posted by kekoa
I always admired the boldness of *applied* math.
me too, i just can't get my head around it

Edit: i just can't understand 1024 = 2^10 ?

Last edited by donkey42; 04-07-2008 at 10:53 PM. Reason: edit
  Reply With Quote
Old 05-07-2008, 08:19 AM   #7 (permalink) Top
Geek Trainee
 
Join Date: Jun 2008
Posts: 5
Times Helpful: 3
Status: Offline
donkey42: Will try to help you figuring this out...

This sign "^" should stay for "to the power of"; So "a^m" means "a to the power of m". ---

Hence "10^3" means "ten to the power of 3", which translates to "multiply 10 three times by itself" which equals 1'000 (10 x 10 x 10). In this construction 10 is called the "base" and 3 is called the "exponent". Yes, you're right, the exponent 3 means a 1 followed by three 0, as we're in the realm of our everyday *decimal* (base 10) system which knows ten digits (0 | 1 | .... | 8 | 9). Once you've reached 9 while counting, you'll have reached the base limit and have to use your carry digit so as next after 9 comes 10 (one, zero). ---

Then we have another power "2^10", which translates to "multiply 2 ten times by itself", 2 being the base and 10 being the exponent. Now we're dealing with the *binary* system (base 2) which knows only two digits (0 | 1). (These two digits are equivalent to two defined "states" in a computing machine.) Here comes a small comparison table:

decimal | binary

0 | 0000
1 | 0001
2 | 0010
3 | 0011
4 | 0100
5 | 0101
6 | 0110
7 | 0111

8 | 1000
...

The last (9th) row implies 2^3 = 8 which means that you are going to need 3 binary places to cater for decimal digits 0 through 7. Or put the other way around, groups of binaries (3 each) may be shortened to 1 octal (programmers use that property sometimes). Our decimal 8 translates to a 1 followed by three 0 in binary notation.

As you'll see, as there are only digits zero and one, the carry-over has to occur much earlier (in the row of decimal 2). Our decimal 2 is 10 (one, zero) in binary speak...
To follow your rationale, "2^10" (= 1'024, that's our decimal notation) should sport ten zeros; you're right, if you wrote it out in *binary* (think of continuing the above table) it would look indeed like this (as expected): 10'000'000'000 (b). That's how a computer would internally store our decimal number 1'024 by using up 11 bits of memory...

Last edited by kekoa; 05-07-2008 at 09:09 AM.
  Reply With Quote
The Following User Says Thank You to kekoa For This Useful Post: Show me >>
Old 05-07-2008, 02:54 PM   #8 (permalink) Top
The King

 
Addis's Avatar
 
Join Date: Jan 2004
Age: 18 Male
Posts: 5,254
Times Helpful: 402
My Mood: Drunk
Status: Offline

My Computer

In short, 1KiB is 1024 bytes. 1KB is 1000 bytes. Therefore, 50 KiB is greater than 50KB.

Manufacturers use the decimal prefix because they can call a 260GiB drive a 300GB one, for marketing reasons.
__________________
Never trust a program you don't have the source code for.

My website | Powerful Desktop Linux | Linux for human beings | Linux for power users | Linux for ricers
Send a message via MSN to Addis   Reply With Quote
The Following User Says Thank You to Addis For This Useful Post: Show me >>
Old 05-07-2008, 04:51 PM   #9 (permalink) Top
Paranoid Geeky Geek
 
donkey42's Avatar
 
Join Date: Mar 2006
Age: 34 Male
Posts: 5,746
Times Helpful: 306
My Mood: Paranoid
Status: Offline

My Computer

i've had a quick look at it, but, i need my thinking head on to figure it out, kinda like worzel gummage, i'll look at it later, cheers kekoa & Addis

Edit: thank you both, it seem really simple now, thankies for spelling it out for me cheers

BTW: i want a slide rule, now i know what they exist for, thanks

Last edited by donkey42; 05-07-2008 at 06:21 PM. Reason: edit
  Reply With Quote
Reply

Bookmarks


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

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory Latency Explained zRoCkIsAdDiCtInG CPU, Motherboards and Memory 14 18-02-2008 11:27 PM
IPv4 and subnetting explained RHochstenbach Networking and Computer Security 1 26-11-2007 05:39 AM
Hardware newcomer needs basics explained to him.... PsychoSavager Video Cards, Displays and TV Tuners 8 27-10-2007 03:04 PM


All times are GMT +1. The time now is 12:54 AM.


Copyright © 2000 - 2008 · HARDWAREFORUMS.COM · All rights reserved