Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. AQOTD (Arithmetic Question Of The Day)

AQOTD (Arithmetic Question Of The Day)

Scheduled Pinned Locked Moved The Lounge
questionadobetools
19 Posts 8 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    Hi, I would imagine that the manufacturer is using the SI units... so the drive probably has 8,000,000,000 bytes of available space. When you created the filesystem... the metafiles such as the $MFT would consume a small percentage of that... leaving you with less than 8GB. Now can you explain why my old 21 inch 4:3 CRT monitor is missing 1.8 inches? I have never been able to explain that one... :^) Best Wishes, -David Delaune

    CPalliniC Offline
    CPalliniC Offline
    CPallini
    wrote on last edited by
    #7

    Randor wrote:

    Now can you explain why my old 21 inch 4:3 CRT monitor is missing 1.8 inches?

    I stole those.

    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
    [My articles]

    In testa che avete, signor di Ceprano?

    1 Reply Last reply
    0
    • X Xiangyang Liu

      How many bytes are there in a Gigabyte? I baught a few USB flash drives (Kingston) that are supposed to be 8GB. But the total capacity is not even 8,000,000,000 bytes, but 7,794,737,152 bytes.

      My Younger Son & His "PET"

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #8

      Depends on whom[^] you ask.

      Bastard Programmer from Hell :suss:

      1 Reply Last reply
      0
      • L Lost User

        Hi, I would imagine that the manufacturer is using the SI units... so the drive probably has 8,000,000,000 bytes of available space. When you created the filesystem... the metafiles such as the $MFT would consume a small percentage of that... leaving you with less than 8GB. Now can you explain why my old 21 inch 4:3 CRT monitor is missing 1.8 inches? I have never been able to explain that one... :^) Best Wishes, -David Delaune

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #9

        Flash chips tend to use powers of two though (like RAM), unlike harddisks.

        L 1 Reply Last reply
        0
        • realJSOPR realJSOP

          Formatting the disk requires a certain amount of space on the disk, and the type of format (FAT, FAT32, or NTFS) determines the cluster size, and thus the available free space on the drive. the same thing happens on hard drives. The bigger the drive, the more space you lose to 'overhead".

          ".45 ACP - because shooting twice is just silly" - JSOP, 2010
          -----
          You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
          -----
          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #10

          Right. And let's not forget that the smallest space a file can occupy is one cluster, even if the file has only one single byte. The larger the drive, the more physical sectors make up one cluster and the more space is actually wasted if you have many tiny files.

          And from the clouds a mighty voice spoke:
          "Smile and be happy, for it could come worse!"

          And I smiled and was happy
          And it came worse.

          1 Reply Last reply
          0
          • L Lost User

            Flash chips tend to use powers of two though (like RAM), unlike harddisks.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #11

            Hi, I apologize in advance for being argumentative... but that is completely FALSE. It is in-fact completely the opposite and all USB flash drive manufacturers have standardized using SI units for reporting available space. I've been developing embedded applications on these devices for 7 years and before SandDisk even held the patents... the technology was pioneered by a small company called M-Systems and the prototypes were called uDOC. Anyway you are partially correct... the chips themselves are engineered with a number of blocks using powers of 2... but flash drives use these extra blocks for replacing/reallocating old blocks with high error rates. Best Wishes, -David Delaune

            L 1 Reply Last reply
            0
            • L Lost User

              Hi, I apologize in advance for being argumentative... but that is completely FALSE. It is in-fact completely the opposite and all USB flash drive manufacturers have standardized using SI units for reporting available space. I've been developing embedded applications on these devices for 7 years and before SandDisk even held the patents... the technology was pioneered by a small company called M-Systems and the prototypes were called uDOC. Anyway you are partially correct... the chips themselves are engineered with a number of blocks using powers of 2... but flash drives use these extra blocks for replacing/reallocating old blocks with high error rates. Best Wishes, -David Delaune

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #12

              So it's still completely right. Flash chips are power of two sizes.

              1 Reply Last reply
              0
              • realJSOPR realJSOP

                Formatting the disk requires a certain amount of space on the disk, and the type of format (FAT, FAT32, or NTFS) determines the cluster size, and thus the available free space on the drive. the same thing happens on hard drives. The bigger the drive, the more space you lose to 'overhead".

                ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                -----
                You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                -----
                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

                X Offline
                X Offline
                Xiangyang Liu
                wrote on last edited by
                #13

                That's like you are buying a donut which someone already took a bite. The bite was consumed by the baker during its manufacturing process. In other words, "it's overhead".

                My Younger Son & His "PET"

                1 Reply Last reply
                0
                • L Lost User

                  Hi, I would imagine that the manufacturer is using the SI units... so the drive probably has 8,000,000,000 bytes of available space. When you created the filesystem... the metafiles such as the $MFT would consume a small percentage of that... leaving you with less than 8GB. Now can you explain why my old 21 inch 4:3 CRT monitor is missing 1.8 inches? I have never been able to explain that one... :^) Best Wishes, -David Delaune

                  J Offline
                  J Offline
                  Jorgen Andersson
                  wrote on last edited by
                  #14

                  Randor wrote:

                  Now can you explain why my old 21 inch 4:3 CRT monitor is missing 1.8 inches? I have never been able to explain that one...

                  If you take it out of the casing before you measure it from corner to corner, not the visible pixels but the physical corners of the CRT, you will find out where the missing 1.8 inches are.

                  Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

                  L 1 Reply Last reply
                  0
                  • X Xiangyang Liu

                    How many bytes are there in a Gigabyte? I baught a few USB flash drives (Kingston) that are supposed to be 8GB. But the total capacity is not even 8,000,000,000 bytes, but 7,794,737,152 bytes.

                    My Younger Son & His "PET"

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #15

                    Storage uses SI units, therefore 1 KB = 1000 bytes (and not 1024 bytes). So 8 GB = 8000000000 bytes, some of which is used by the file system. How much is used depends on the type of the file system i.e. FAT, FAT32, NTFS, etc.

                    X 1 Reply Last reply
                    0
                    • J Jorgen Andersson

                      Randor wrote:

                      Now can you explain why my old 21 inch 4:3 CRT monitor is missing 1.8 inches? I have never been able to explain that one...

                      If you take it out of the casing before you measure it from corner to corner, not the visible pixels but the physical corners of the CRT, you will find out where the missing 1.8 inches are.

                      Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #16

                      Well, I guess I should have known... its always the artists fault... you know... that chain-smoking pothead with the tie-dye tee-shirt back in the rear office spending his entire day inside 3D CAD design software. I'm sure that the curvy/beveled encasement will sell a few thousand more monitors... but I'd rather have the extra inches on the viewscreen. :) Best Wishes, -David Delaune

                      J 1 Reply Last reply
                      0
                      • L Lost User

                        Well, I guess I should have known... its always the artists fault... you know... that chain-smoking pothead with the tie-dye tee-shirt back in the rear office spending his entire day inside 3D CAD design software. I'm sure that the curvy/beveled encasement will sell a few thousand more monitors... but I'd rather have the extra inches on the viewscreen. :) Best Wishes, -David Delaune

                        J Offline
                        J Offline
                        Jorgen Andersson
                        wrote on last edited by
                        #17

                        Personally I'd rather blame marketing.

                        Light moves faster than sound. That is why some people appear bright, until you hear them speak. List of common misconceptions

                        1 Reply Last reply
                        0
                        • X Xiangyang Liu

                          How many bytes are there in a Gigabyte? I baught a few USB flash drives (Kingston) that are supposed to be 8GB. But the total capacity is not even 8,000,000,000 bytes, but 7,794,737,152 bytes.

                          My Younger Son & His "PET"

                          G Offline
                          G Offline
                          Garth J Lancaster
                          wrote on last edited by
                          #18

                          as per Shameel's answer, but I also note it is usually sales people who think in Raw SI units eg 1KB = 1000 bytes, not 1024 - why, because it's too hard for them to relate/count in base 2.. so to use 'pure SI' as simple 'thousands' for example, is easier on them - more painful on us - I always feel ripped off knowing Im not actually getting what I want 'g'

                          1 Reply Last reply
                          0
                          • L Lost User

                            Storage uses SI units, therefore 1 KB = 1000 bytes (and not 1024 bytes). So 8 GB = 8000000000 bytes, some of which is used by the file system. How much is used depends on the type of the file system i.e. FAT, FAT32, NTFS, etc.

                            X Offline
                            X Offline
                            Xiangyang Liu
                            wrote on last edited by
                            #19

                            Here is what it says when I look at the "properties" of the drive before I used any space on it: Used Space: 104,071,168 bytes, 99.2 mb Free Space: 7,690,665,984 bytes, 7.12gb Capacity: 7,797,734,152 bytes, 7.25gb It is the 0.75gb of "hidden" overhead that upsets me, I don't care how it was manufactured and what they have to do, don't tell me I am paying for 8gb when it is actually 7.12gb. That's more than 10% less. The sales tax in my state is about 5% and it is printed clearly on the receipt!

                            My Younger Son & His "PET"

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Categories
                            • Recent
                            • Tags
                            • Popular
                            • World
                            • Users
                            • Groups