Curious iPod Question

The geek forum. PHP, Perl, HTML, hardware questions etc.. it's all in here. Got a techie question? We'll sort you out. Ask your questions or post a link to your own site here!

Curious iPod Question

Postby Ashley » Sat Dec 04, 2004 9:25 pm

I've recently acquired a 20 gig iPod, but I was curious...now I know I'm not the math genius here, but it says I only have 18.5 G capacity. Where'd the other 2.5 go?
Image
User avatar
Ashley
 
Posts: 7364
Joined: Mon May 26, 2003 10:00 am
Location: Fort Worth, Texas

Postby Mithrandir » Sat Dec 04, 2004 9:33 pm

One of two things:
1. That's 1024x1024x1024 to get one GB, so if you multiply 18.5 x that, you get 19864223744.
2. More likely, that's the part of the disk that's responsible for the file system. You can actually mount that file system, and do disk read/writes with it like normal. In fact, I've heard (but not done it) that you can even boot a machine from it - if the machine is capable of booting from Firewire, for example a Mac.
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby Omega Amen » Sat Dec 04, 2004 10:34 pm

Ashley wrote:I've recently acquired a 20 gig iPod, but I was curious...now I know I'm not the math genius here, but it says I only have 18.5 G capacity. Where'd the other 2.5 go?


First, let us correct your math error in your question. You should have asked, "Where'd the other 1.5 go?"

Now, to the issue at hand. Ashley, oldphilosopher quickly described the issue, but I am going to elaborate on what he is talking about so that others can learn.

For the "first thing" in oldphilosopher's list, there is a perceived loss of accuracy in describing computer memory space, which is a base 2 number, with notation that is in base 10. This approximation in notating memory space is common in all computing systems, not just the iPod. For example, look at the attached image which shows the capacity of my hard drive. Notice the difference between the "bytes" number and the "GB" number.

In reality, the "G" in "GB" describing hard drive capacity/memory space is actually 2 to the 30th power (which equals 1,073,741,824). It is not 10 to the 9th power (i.e. 1,000,000,000), which is what it normally means when not referring to computer memory.

So, if we replace the "G" with 2^30 and multiply it with 18.5:

18.5 * 2^30 = 19,864,223,744

We get what oldphilosopher got.

To see what 20 GB should yield, we do the same operation only with 20 instead of 18.5:

20 * 2^30 = 21,474,836,480

And there is a discrepancy.

This is the "second thing" in oldphilosopher's list. That discrepancy is most likely space taken up by the filesystem and the operating system, which are necessary to place data onto the physical hard disk and keep track of its contents.

So, in other words, Apple was right. Ashley, you did get a 20 GB hard drive.... It is just that some of the disk capacity has necessary software for your iPod to operate properly.

For those interested in computer memory notation, here is what some other common letters mean:

"K" is 2 to the 10th power = 2^10 = 1024

"M" is 2 to the 20th power = 2^20 = 1,048,576

and so on....
You do not have the required permissions to view the files attached to this post.
Find me on Steam, PlayStation Network (OmegaAmen), Backloggery, Twitter, and Twitch.tv

I am also in the Christian gaming group, Tribe of Judah in the Christian Gamers Alliance.
User avatar
Omega Amen
 
Posts: 1473
Joined: Sat Jan 31, 2004 8:58 am
Location: Florida

Postby Ashley » Sat Dec 04, 2004 11:05 pm

:shady: Math is retarded. That's all I'm gonna say on that subject.

Thanks OldPhil for clearing that up for me (and Agasfas too for trying to tell me the same thing)
Image
User avatar
Ashley
 
Posts: 7364
Joined: Mon May 26, 2003 10:00 am
Location: Fort Worth, Texas

Postby LorentzForce » Sun Dec 05, 2004 1:17 am

(and Agasfas too for trying to tell me the same thing)


Agasfas? Wonder where he is in the thread...
Image
User avatar
LorentzForce
 
Posts: 1263
Joined: Sun Jun 01, 2003 3:18 am
Location: Between B and E

Postby Mithrandir » Sun Dec 05, 2004 8:00 am

I *liked* omega amen's response, personally... :lol:

I'm glad to see he's got my numbers, too. I hate it when I can't do multiplication like that in my head.
User avatar
Mithrandir
 
Posts: 11071
Joined: Fri Jun 27, 2003 12:00 pm
Location: You will be baked. And then there will be cake.

Postby agasfas » Sun Dec 05, 2004 8:03 am

LorentzForce wrote:Agasfas? Wonder where he is in the thread...


I'm a ninja, lurking in the dark striking when you least expect. But serious, I find it quite odd why they decided to make:
1024 bytes = 1kb
1024 kb = 1 mb and
1024 mb= 1 gb

Because before being taught it in computer class a few years ago I never knew. It's like, "why not make it an even 1000mb for the 1gb? Funny how these things happen :P. I believe there was a reason behind confusion, but I can't exactly remember. *shrugs*
"A merry heart doeth good like a medicine.." Prov 17:22

The word 'impossible' isn't in my dictionary... but I don't really have a dictionary you know? - Eikichi Onizuka.
Sorry, but I stop being a teacher at 5 o'clock. - Eikichi Onizuka.
User avatar
agasfas
 
Posts: 2341
Joined: Sat Aug 21, 2004 7:27 pm
Location: Austin, TX

Postby shooraijin » Sun Dec 05, 2004 8:19 am

1024 is a power of 2, and computers are binary. Very simple.

Actually, it's 1024 *bytes* = 1KB, 1024KB = 1MB, and (correct) 1024MB = 1GB, so there are 1,048,576 bytes in one megabyte, and I'll leave the subsequent computation as an exercise to the really, really bored reader.
"you're a doctor.... and 27 years.... so...doctor + 27 years = HATORI SOHMA" - RoyalWing, when I was 27
"Al hail the forum editting Shooby! His vibes are law!" - Osaka-chan

I could still be champ, but I'd feel bad taking it away from one of the younger guys. - George Foreman
User avatar
shooraijin
 
Posts: 9927
Joined: Thu Jun 26, 2003 12:00 pm
Location: Southern California

Postby ShiroiHikari » Sun Dec 05, 2004 9:11 am

I'm surprised that all this made sense to me. the math section of my brain has always been kinda...shriveled up in a dark corner somewhere. it probably drank too many sodas early on in my life, then crashed from the sugar/caffeine high and never really woke up again.

this is kinda like my old comp with the 40gb hard drive...I actually only had about 35gb because the OS/filesystem/recovery stuff took up about 5gb.
fightin' in the eighties
User avatar
ShiroiHikari
 
Posts: 7564
Joined: Wed May 28, 2003 12:00 pm
Location: Somewhere between 1983 and 1989

Postby Ashley » Sun Dec 05, 2004 10:35 am

I'm surprised that all this made sense to me. the math section of my brain has always been kinda...shriveled up in a dark corner somewhere. It probably drank too many sodas early on in my life, then crashed from the sugar/caffeine high and never really woke up again.


Bwahaha, I think that's what happened to mine too!
Image
User avatar
Ashley
 
Posts: 7364
Joined: Mon May 26, 2003 10:00 am
Location: Fort Worth, Texas

Postby TheMelodyMaker » Sun Dec 05, 2004 1:10 pm

I'd say that Shoo explained it best, though I'll expand on it a little. 1024, which is 2 to the 10th power (2^10), is the closest whole-number power of 2 that one can get to 1000 -- that's probably why it was chosen as the standard for measuring RAM/disk space/etc. (I hope that was somewhat understandable. ^_^; )
[color=RoyalBlue]@)}~`,~ [/color]Carry this rose in your signature as thanks to Inkhana, for all she has done for us in the past.Even though she is no longer a moderator, she has done an awful lot for us while she was and she deserves thanks. ^_^
TheMelodyMaker
 
Posts: 1904
Joined: Sun Jul 20, 2003 10:13 pm

Postby agasfas » Sun Dec 05, 2004 1:20 pm

2 to the 10th power (2^10), is the closest whole-number power of 2 that one can get to 1000


I dont know why, but that actually makes a lot of sense.... I think I'm going to research it and find the exact answer. Curiosity has gotten the best of me.... :(
"A merry heart doeth good like a medicine.." Prov 17:22

The word 'impossible' isn't in my dictionary... but I don't really have a dictionary you know? - Eikichi Onizuka.
Sorry, but I stop being a teacher at 5 o'clock. - Eikichi Onizuka.
User avatar
agasfas
 
Posts: 2341
Joined: Sat Aug 21, 2004 7:27 pm
Location: Austin, TX

Postby Mr. SmartyPants » Sun Dec 05, 2004 3:20 pm

isn't there an actual program on the ipod that enables you to play the music? I mean, if you format the harddrive in an ipod, it'll only become a plain ol external harddrive

but that same reason applies to ALL storage stuff, loosing a few megs/gigs i mean
User avatar
Mr. SmartyPants
 
Posts: 12541
Joined: Sat Aug 21, 2004 9:00 am


Return to Computing and Links

Who is online

Users browsing this forum: No registered users and 74 guests