Closed Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Size/Size on Disk

  1. #1
    Join Date
    Apr 2009
    Location
    Trapped in my own little world.
    Posts
    2,487
    Rep Power
    33

    Size/Size on Disk

    Can somebody explain the difference?
    Attached Thumbnails Attached Thumbnails Size/Size on Disk-microsoft.gif  

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Join Date
    Jul 2006
    Posts
    16,491
    Blog Entries
    75
    Rep Power
    143

    Re: Size/Size on Disk

    Because limits of addressing physical locations on the hard drive, when a file is written to disk, it will occupy blocks of a certain size (such as 2Kb, 12Kb, etc). So, even though the file may be only 200 Bytes, it still occupies space for 2KB (it can't share a block with another file).
    Programming is a branch of mathematics.
    My CodeCall Blog | My Personal Blog

  4. #3
    Join Date
    Apr 2009
    Location
    Trapped in my own little world.
    Posts
    2,487
    Rep Power
    33

    Re: Size/Size on Disk

    Thank you. That makes perfect sense.

  5. #4
    jwxie518's Avatar
    jwxie518 is offline Speaks fluent binary
    Join Date
    Jan 2009
    Location
    New York City
    Posts
    1,175
    Blog Entries
    1
    Rep Power
    19

    Re: Size/Size on Disk

    Just a question, is there anyone working on sharing the block (the extra 2kb)?
    http://i3physics.com/blog
    *-*-*-*__ C++ revolutionized the modern programming language, but what happen to C+? Programming is just a study of chemistry __*-*-*-*

  6. #5
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    Re: Size/Size on Disk

    Quote Originally Posted by WingedPanther View Post
    Because limits of addressing physical locations on the hard drive, when a file is written to disk, it will occupy blocks of a certain size (such as 2Kb, 12Kb, etc). So, even though the file may be only 200 Bytes, it still occupies space for 2KB (it can't share a block with another file).
    Seems like this answers Lost Space? too?

  7. #6
    jwxie518's Avatar
    jwxie518 is offline Speaks fluent binary
    Join Date
    Jan 2009
    Location
    New York City
    Posts
    1,175
    Blog Entries
    1
    Rep Power
    19

    Re: Size/Size on Disk

    I guess so since if all these files takes an extra 2k 2kb, i guess it does add up to some 700 extra mb.
    http://i3physics.com/blog
    *-*-*-*__ C++ revolutionized the modern programming language, but what happen to C+? Programming is just a study of chemistry __*-*-*-*

  8. #7
    Join Date
    Apr 2009
    Location
    Trapped in my own little world.
    Posts
    2,487
    Rep Power
    33

    Re: Size/Size on Disk

    A minor flaw I suppose - until the next genius figures out a new best way of doing it lol

  9. #8
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    Re: Size/Size on Disk

    I don't think that will be possible, because of the table.. I mean if a file is split into let's say 3 blocks.. and in one block of that it will have a part of this file and another part of another file.. when it will read the data it will pickup the other part too...

    What would be possible is to reduce the size of these blocks to 1bit no space wasted.. but I don't know the downside of that.. probably it would be too slow reason bit by bit rather than 12kb by 12kb?? Mine is 4kb.. that means less wasted space.

  10. #9
    Join Date
    Apr 2009
    Location
    Trapped in my own little world.
    Posts
    2,487
    Rep Power
    33

    Re: Size/Size on Disk

    maybe if somebody found another way to store stuff tho.. it might come in handy lol - I suppose your right tho less space per block would slow it down.. but if your pc is fast enough... lol

  11. #10
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    Re: Size/Size on Disk

    You see.. having a fast pc does not mean anything when it comes to hdd.. because there is always a bottleneck when it comes to CPU vs HDD :/

    Hmm, my external HDD is 32kb :|

Closed Thread
Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. J2EE: Limit File Size or Request Size
    By tarek.mostafa in forum Java Help
    Replies: 0
    Last Post: 05-27-2010, 05:46 AM
  2. [SIZE="2"]net headers[/SIZE]
    By mIXpRo in forum C and C++
    Replies: 4
    Last Post: 01-31-2010, 03:05 PM
  3. Change font size of 'Product', 'Size', ...
    By DavidBoggitt in forum ionFiles
    Replies: 1
    Last Post: 09-03-2009, 06:21 PM
  4. Size help?
    By Turk4n in forum Computer Software/OS
    Replies: 6
    Last Post: 04-11-2009, 11:17 PM
  5. What size is your TV?
    By Chewie in forum The Lounge
    Replies: 47
    Last Post: 08-02-2008, 02:38 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts