Sparsedisk Image Size comparasin anomoly
I know that creating a Sparsedism image will still take some room when empty. Well, i decided to try and figure out the relationship between size of the blank image and capacity.
My procedure was to create a blank, non encrypted sparsedisk image in Disk Utility. I would then record the size in mb (i know bytes would have been better but i didn't need an exact correlation).
I repeated it 2 more times to make sure it wasn;t soemthing to do with background operation. I got the same exact data all times.
It was as follows:
Capacity (mb).........Empty Size(mb)
40....................10
150...................12
325...................23
1000..................33
5000..................30
12000.................34
25000.................37
Graphed it looks like
So it sort-of makes sense with the sizes except for 5000 and 1000. Why is a larger image smaller? Like i said, i did this three times and they both came out the the exact (as in exact bytes not just mb) same size.
I am compleatly confused. Can anybody sign some light on this and maybe do thier own test?
BTW, I am using 10.3.8 with a 1.0 Ghz PB (DVI) 768ram
My procedure was to create a blank, non encrypted sparsedisk image in Disk Utility. I would then record the size in mb (i know bytes would have been better but i didn't need an exact correlation).
I repeated it 2 more times to make sure it wasn;t soemthing to do with background operation. I got the same exact data all times.
It was as follows:
Capacity (mb).........Empty Size(mb)
40....................10
150...................12
325...................23
1000..................33
5000..................30
12000.................34
25000.................37
Graphed it looks like
So it sort-of makes sense with the sizes except for 5000 and 1000. Why is a larger image smaller? Like i said, i did this three times and they both came out the the exact (as in exact bytes not just mb) same size.
I am compleatly confused. Can anybody sign some light on this and maybe do thier own test?
BTW, I am using 10.3.8 with a 1.0 Ghz PB (DVI) 768ram
Comments
Below is one with a logarithmic trendline:
Or it could mean I don't know what the hell I'm talking about.
Originally posted by lundy
Maybe at 1 GB capacity the blocksize changes to 4KB pages instead of 512 bytes? This would mean fewer blocks to keep track of since each block is 8 times larger.
Or it could mean I don't know what the hell I'm talking about.
I think you know what you're talking about. And my gut feeling is that you're right.
1050 mb.......26
Originally posted by Jwink3101
Althouh i do not totally uunderstand what you are saying, i think you are definitly right.
1050 mb.......26
That makes sense. I think Apple had to do this at some point when the HD sizes got over 1GB.
They are still using 4KB though. Make a one-byte text file and look at it in the Finder and you will see that its size is 4K.
32 bits can address 4,294,967,296 blocks. Times 4096, however many GB that is....
I don't know if there's a similar tool we could use for disk images, but I bet if you could toggle on the large block sizes for small disks the anomaly would go away. You might even be able to force the small block sizes on the larger images and have two separate curves.