Unix Technical Forum

Why do I see more disk space than I should?

This is a discussion on Why do I see more disk space than I should? within the Sun Solaris Administration forums, part of the Solaris Operating System category; --> Kjetil Torgrim Homme wrote: > [j.goerke@mobilcom.de]: >> 1024 KB = 1 MB >> 1024 MB = 1 GB >> ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Administration

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #11 (permalink)  
Old 01-16-2008, 11:33 AM
Douglas O'Neal
 
Posts: n/a
Default Re: Why do I see more disk space than I should?

Kjetil Torgrim Homme wrote:
> [j.goerke@mobilcom.de]:
>> 1024 KB = 1 MB
>> 1024 MB = 1 GB
>> 1048576 KB = 1024 MB = 1 GB

>
> please get your units right. there is no such thing as "KB", it's
> either kB (1000 bytes) or KiB (1024 bytes).
>
> 1024 B = 1 KiB
> 1024 KiB = 1 MiB
> 1048576 KiB = 1 GiB
>
> 1000 B = 1 kB
> 1000 kB = 1 MB
> 1000000 kB = 1 GB


You might also want to inform others in the industry such as Intel, AMD,
IBM, Sun, etc. of this convention. For example, Intel lists their
Pentium-4 chip as having 512 KB of L2 cache. Other examples of major
vendors getting it wrong are easily found.

Doug
--
Dr. Douglas O'Neal
Manager, Bioinformatics Center
Delaware Biotechnology Institute
(302) 831-3456
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 01-16-2008, 11:33 AM
Doug McIntyre
 
Posts: n/a
Default Re: Why do I see more disk space than I should?

"Richard B. Gilbert" <rgilbert88@comcast.net> writes:
>Kjetil Torgrim Homme wrote:
>> [j.goerke@mobilcom.de]:
>>
>>> 1024 KB = 1 MB
>>> 1024 MB = 1 GB
>>> 1048576 KB = 1024 MB = 1 GB


>> please get your units right. there is no such thing as "KB", it's
>> either kB (1000 bytes) or KiB (1024 bytes).


I don't understand why people that are so militant about making the
kilo prefix have a small k to match SI unit conventions then insist
that the kibabyte have a capital K breaking with SI conventions. If
you are going to allow that, why not allow and acknowledge that KB has
been in common use for say the last 50 years?


>> 1024 B = 1 KiB
>> 1024 KiB = 1 MiB
>> 1048576 KiB = 1 GiB
>>
>> 1000 B = 1 kB
>> 1000 kB = 1 MB
>> 1000000 kB = 1 GB


>This convention if, in fact, it is a convention, is a new one to me.
>Perhaps I've been doing it wrong for the last forty years?


Its only been a convention that started after hard drives got up into
the Gigabyte size and marketing claims that that 1000000000 bytes = 1GByte
and people found less disk space than they thought.

Wikipedia claims the KiB convetion to be inuse in less than 0.3% of
web references, but still, probably important enough to know about.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 01-16-2008, 11:33 AM
Colin B.
 
Posts: n/a
Default Re: Why do I see more disk space than I should?

In comp.unix.solaris Kjetil Torgrim Homme <kjetilho@kaksi.ifi.uio.no> wrote:
> [j.goerke@mobilcom.de]:
>>
>> 1024 KB = 1 MB
>> 1024 MB = 1 GB
>> 1048576 KB = 1024 MB = 1 GB

>
> please get your units right. there is no such thing as "KB", it's
> either kB (1000 bytes) or KiB (1024 bytes).
>
> 1024 B = 1 KiB
> 1024 KiB = 1 MiB
> 1048576 KiB = 1 GiB
>
> 1000 B = 1 kB
> 1000 kB = 1 MB
> 1000000 kB = 1 GB


There certainly is such thing as KB--it's a common use, and has been for
decades. The fact that it's not an SI unit is only one factor.

K and k have been used interchangeably in computing for a long time, and
both have commonly meant 1024, unless you're a weaselly hard drive marketer.
Distinguishing between them is unnecessary, because there aren't any other
'k' prefices (except see below). In comparison, the distinction between
m and M is significant, since both are common prefices, meaning milli- and
mega- respectively.

SI specifies k as 1000, K as the unit Kelvin, and does not address the
powers-of-two at all. IEC invented the Ki/Mi/Gi notation quite recently,
and it hasn't caught on well primarily because it's annoying and stupid.
OK, that may be a _bit_ of a personal opinion, but it's disingenuous and
wrong to suddenly declare common use, standard practice, and existing
literature incorrect.

Besides which, "kibi" as a prefix just plain sucks.

Colin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 01-16-2008, 11:33 AM
Richard B. Gilbert
 
Posts: n/a
Default Re: Why do I see more disk space than I should?

Doug McIntyre wrote:
> "Richard B. Gilbert" <rgilbert88@comcast.net> writes:
>
>>Kjetil Torgrim Homme wrote:
>>
>>>[j.goerke@mobilcom.de]:
>>>
>>>
>>>> 1024 KB = 1 MB
>>>> 1024 MB = 1 GB
>>>> 1048576 KB = 1024 MB = 1 GB
>>>

>
>>>please get your units right. there is no such thing as "KB", it's
>>>either kB (1000 bytes) or KiB (1024 bytes).

>>

>
> I don't understand why people that are so militant about making the
> kilo prefix have a small k to match SI unit conventions then insist
> that the kibabyte have a capital K breaking with SI conventions. If
> you are going to allow that, why not allow and acknowledge that KB has
> been in common use for say the last 50 years?
>
>
>
>>>1024 B = 1 KiB
>>>1024 KiB = 1 MiB
>>>1048576 KiB = 1 GiB
>>>
>>>1000 B = 1 kB
>>>1000 kB = 1 MB
>>>1000000 kB = 1 GB

>>

>
>>This convention if, in fact, it is a convention, is a new one to me.
>>Perhaps I've been doing it wrong for the last forty years?

>
>
> Its only been a convention that started after hard drives got up into
> the Gigabyte size and marketing claims that that 1000000000 bytes = 1GByte
> and people found less disk space than they thought.
>
> Wikipedia claims the KiB convetion to be inuse in less than 0.3% of
> web references, but still, probably important enough to know about.
>
>


Actually, the confusion in disk sizes goes back much further than that;
to the earliest "Winchester" disks at least! Disk marketers liked to
claim disk sizes in megabytes meaning multiples of 10^6 whereas real
computer people thought of megabytes as 2^20. The marketing terminology
made disks seem bigger than they were.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 01-16-2008, 11:33 AM
Casper H.S. Dik
 
Posts: n/a
Default Re: Why do I see more disk space than I should?

"Richard B. Gilbert" <rgilbert88@comcast.net> writes:

>Kjetil Torgrim Homme wrote:
>> [j.goerke@mobilcom.de]:
>>
>>> 1024 KB = 1 MB
>>> 1024 MB = 1 GB
>>> 1048576 KB = 1024 MB = 1 GB

>>
>>
>> please get your units right. there is no such thing as "KB", it's
>> either kB (1000 bytes) or KiB (1024 bytes).
>>
>> 1024 B = 1 KiB
>> 1024 KiB = 1 MiB
>> 1048576 KiB = 1 GiB
>>
>> 1000 B = 1 kB
>> 1000 kB = 1 MB
>> 1000000 kB = 1 GB
>>


>This convention if, in fact, it is a convention, is a new one to me.
>Perhaps I've been doing it wrong for the last forty years?


They are SI Units; they are generally ignored when it comes to computers
except by harddrive manufacturers.

Casper
--
Expressed in this posting are my opinions. They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:02 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com