• tromars@feddit.de
    link
    fedilink
    arrow-up
    147
    ·
    2 years ago

    I know this a a joke but in case some people are actually curious: The manufacturer gives the capacity in Terabytes (= 1 Trillion Bytes) and the operating system probably shows it in Tebibytes (1024^4 Bytes ≈ 1.1 Trillion Bytes). So 2 Terabytes are two trillion bytes which is approximately 1.82 Tebibytes

    • takeda@lemmy.world
      link
      fedilink
      arrow-up
      119
      arrow-down
      2
      ·
      2 years ago

      They could easily use the proper units, but sometime someone decided to cheat and now everyone does to the point that this is the standard now.

        • LordOfTheChia@lemmy.world
          link
          fedilink
          arrow-up
          21
          ·
          2 years ago

          Eh, that at least goes back to the days of dial-up (at least).

          56k modem connections were 7k bytes or less.

          The drive thing confused and angered many cause most OSs of the time (and even now) report binary kilobytes (kiB) as kB which technically was incorrect as k is an SI prefix for 1000 (10^3) not the binary unit of 1024 (2^10).

          Really they should have advertised both on the boxes.

          I think Mac OS switched to reporting data in kilobibytes (kiB) vs kB since Mac OS 10.6.

          I remember folks at the time thinking the new update was so efficient it had grown their drive space by 10%!

          • accideath@lemmy.world
            link
            fedilink
            arrow-up
            5
            arrow-down
            1
            ·
            2 years ago

            While macOS did indeed primarily switch to KiB, MiB and Gib, it does at times still report storage as KB, MB, GB, etc., however it uses the (correct) 1000B = 1KB

            And afaik, Linux also uses the same (correct) system, at least most of the time.

            The only real outlier is Windows, which still uses the old system with KB = 1024B, some of the time. In certain menus, they do correctly use KiB

            • Eheran@lemmy.world
              link
              fedilink
              arrow-up
              5
              ·
              edit-2
              2 years ago

              Please note that kilo is a small k. n, μ, m, k, M, G, T, …

              And yes. A lot of people here get at least one of those wrong.

              • accideath@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                2 years ago

                While you are correct, I know no operating system that doesn’t capitalize the K. At the very least not consistently.

        • barsoap@lemm.ee
          link
          fedilink
          arrow-up
          15
          arrow-down
          2
          ·
          edit-2
          2 years ago

          Network / signal engineers have always, and are still, operating in bits not bytes. They’ve been doing that when what we understand now as byte was still called an octet and when you send a byte over any network transport it’s probably not going to send eight bits but that plus party, stop, whatnot ask a network engineers.

          • SpeakinTelnet@sh.itjust.works
            link
            fedilink
            arrow-up
            4
            arrow-down
            4
            ·
            2 years ago

            Every popular speedtest is in bytes, every download will show the size in bytes, even streaming services often show bitrates in bytes. Size on the internet is bytes-centric.

            An ISP selling their plan as gigabit has nothing to do with network engineers, it’s only an easy way to inflate their numbers.

            • frezik@midwest.social
              link
              fedilink
              arrow-up
              2
              arrow-down
              1
              ·
              edit-2
              2 years ago

              Nonsense. It’s a simple continuation of something that has always been around. They would have needed to actively and purposefully changed it. The first company that tried to sell “1 Megabyte/s” instead of “8 Megabits/s” is shooting themselves in the foot because the number is smaller. If it was going to change, you would need everyone to agree at once to correct the numbers the same way.

              Modems were 300 baud, then 1200 baud, then 56.6k baud. ISDN took things to 128k baud, and a T1 was 1.544M baud. Except that sometime around the time things went into tens of k, we started saying “bits” instead of “baud”. In any case, it simply continued with the first DSL and cable modems being around 1 to 10 Mbits. You had to be able to compare it fairly to what came before, and the easiest way to do that is to keep doing what they’ve been doing.

              Ethernet continues to be sold in the same system of measurement, for the same reasons.

              • SpeakinTelnet@sh.itjust.works
                link
                fedilink
                arrow-up
                2
                arrow-down
                1
                ·
                2 years ago

                The first company that tried to sell “1 Megabyte/s” instead of “8 Megabits/s” is shooting themselves in the foot because the number is smaller.

                You’re telling me that what I say is nonsense and you just paraphrase what I said.

                Don’t go thinking engineering has anything to do with what marketing put up on their storefront.

                • frezik@midwest.social
                  link
                  fedilink
                  arrow-up
                  2
                  arrow-down
                  1
                  ·
                  edit-2
                  2 years ago

                  It has plenty to do with engineering, because it was engineering that first decided to measure things this way. Marketing merely continued it.

        • Knusper@feddit.de
          link
          fedilink
          arrow-up
          6
          arrow-down
          8
          ·
          2 years ago

          Thing is, there’s no rational reason to arbitrarily use groups of 8 bits for transmission over the wire. It’s not just ISPs who use bits, the whole networking industry does it that way.

          • vithigar@lemmy.ca
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            2 years ago

            To expand on this a bit more, bits are used for data transmission rates because various types of encoding, padding, and parity means that data on the wire isn’t always 8 bits per byte. Dial up modems were very frequently 9 bits per byte (8-n-1 signalling), and for something more modern PCIe uses 8b/10b encoding, which is 10 bits on the line for each 8 bits of actual payload.

      • accideath@lemmy.world
        link
        fedilink
        arrow-up
        17
        arrow-down
        2
        ·
        2 years ago

        Before mibi-, gibi-, tibibytes, etc. were a thing, it was the harddrive manufacturers who were creating a little. Everyone saw a kilobyte as 1024 bytes but the storage manufacturers used the SI definition of kilo=1000 to their advantage.

        By now, however, kibibytes being 1024 bytes and kilobytes being 1000 bytes is pretty much standard, that most agree on. One notable exception is of course Windows…

      • TechAdmin@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        2 years ago

        I think there were some court cases in the US the HDD manufacturers won that allows them to keep using those stupid crap units to continue to mislead people. Been a minor annoyance for decades but since all the competition do it & no govt is willing to do anything everyone is stuck accepting it as is. I should start writing down the capacity in multiple units in review whenever buy storage devices going forward.

      • sudoku@programming.dev
        link
        fedilink
        English
        arrow-up
        9
        arrow-down
        4
        ·
        2 years ago

        Indeed, Windows could easily stop mislabeling TiB as TB, but it seems it’s too hard for them.

        • guy@lemmy.world
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          2 years ago

          The IEC changing the definition of 1KB from 1024 bytes to 1000 bytes was a terrible idea that’s given us this whole mess. Sure, it’s nice and consistent with scientific prefix now… except it’s far from consistent in actual usage. So many things still consider it binary prefix following the JEDEC standard. Like KiB that’s always 1024 bytes, I really think they should’ve introduced another new unambiguous unit eg. KoB that’s always 1000 bytes and deprecated the poorly defined KB altogether

          • sudoku@programming.dev
            link
            fedilink
            arrow-up
            5
            arrow-down
            1
            ·
            2 years ago

            M stands for Mega, a SI prefix that existed longer than the computer data that is being labeled. MB being 1000000 bytes was always the correct definition, it’s just that someone decided that they could somehow change it.

            • guy@lemmy.world
              link
              fedilink
              arrow-up
              3
              ·
              2 years ago

              Consistency with proper scientific prefix is nice to have, but consistency within the computing industry itself is really important, and now we have neither. In this industry, binary calculations were centric, and powers of 2 were much more useful. They really should’ve picked a different prefix to begin with, yes. However, for the IEC correcting it retroactively, this has failed. It’s a mess that’s far from actually standardised now

            • barsoap@lemm.ee
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              2 years ago

              B and b have never been SI units. Closest is Bq. So if people had not been insisting that it’s confusing noone would’ve been confused.

      • IninewCrow@lemmy.ca
        link
        fedilink
        English
        arrow-up
        5
        arrow-down
        2
        ·
        2 years ago

        So what you’re saying is that … we can make up whatever number and standard we want? … In that case, would you like to buy my 2 Tyranosaurusbytes Hard Drive?

    • CosmicTurtle@lemmy.world
      link
      fedilink
      English
      arrow-up
      33
      arrow-down
      6
      ·
      2 years ago

      You’re missing a huge part of the reason why the term ‘tebibytes’ even exists.

      Back in the 90s, when USB sticks were just coming out, a megabyte was still 1024 kilobytes. Companies saw the market get saturated with drives but they were still expensive and we hadn’t fully figured out how to miniaturize them.

      So some CEO got the bright idea of changing the definition of a “megabyte” to mean 1000. That way they could say that their drive had more megabytes than their competitors. “It’s just 24 kilobytes. Who’s going to notice?”

      Nerds.

      They stormed various boards to complain but because the average user didn’t care, sales went through the roof and soon the entire storage industry changed. Shortly after that, they started cutting costs to actually make smaller sized drives but calling them by their original size, ie. 64MB* (64 MB is 64000).

      The people who actually cared had to invent the term “mebibyte” purely because of some CEO wanting to make money. And today we have a standard that only serves to confuse people who actually care that their 2TB is actually 2048 GiB or 1.8 TiB.

      • pHr34kY@lemmy.world
        link
        fedilink
        arrow-up
        17
        ·
        edit-2
        2 years ago

        Dude, a “1.44MB” floppy disk was 1.38MiB once formatted (1,474,560 B raw). It’s been going on for eternity.

        It’s inconsistent across time though. 700MB on a CD-R was MiB, but a 4.7GB DVD was not.

        RAM has always, without exception, been reported in 1024 B per KB. Inversely, network bandwidth has been 1000 B per KB for every application since the dialup days (and prior).

      • wischi@programming.dev
        link
        fedilink
        arrow-up
        14
        arrow-down
        5
        ·
        edit-2
        2 years ago

        That’s just wrong. “Kilo” is ancient Greek for “thousand”. It always meant 1000. Because bytes are grouped on powers of two and because of the pure coincidence that 10^3 (1000) is almost the same size as 2^10 (1024) people colloquially said kilobyte when they meant 1024 bytes, but that was always wrong.

        Update: To make it even clearer. Try to think what historical would have happened if instead of binary, most computers would use ternary. Nobody would even think about reusing kilo for 3^6 (=729) or 3^7 (=2187) because they are not even close.

        Resuing well established prefixes like kilo was always a stupid idea.

      • gornius@lemmy.world
        link
        fedilink
        arrow-up
        7
        arrow-down
        2
        ·
        2 years ago

        Or - you know - for consistency? In physics kilo, mega etc. are always 10^(3n), but then for some bizarre reason, unit of information uses the same prefixes, but as 2^(10n).

  • Dudewitbow@lemmy.zip
    link
    fedilink
    arrow-up
    59
    arrow-down
    1
    ·
    2 years ago

    The result of marketing pushing base 10 numbers on an archiecture that is base 2. Fundamentally is caused by the difference of 10³ (1000) vs 2¹⁰ (1024).

    Actual storage size of what you will buy is Amount = initial size * (1000/1024)^n where n is the power of 10^n for the magnitude (e.g kilo = 3, mega = 6, giga = 9, tera = 12)

    • Chakravanti@sh.itjust.works
      link
      fedilink
      arrow-up
      20
      arrow-down
      3
      ·
      edit-2
      2 years ago

      Fact: This truth is intentionally manipulation.

      OP is right with an applicable staturing the pic.

      Solution: Sue the fuck out of all of them. Especially Samsung. Fuck Samsung everything.

      • Dudewitbow@lemmy.zip
        link
        fedilink
        arrow-up
        4
        arrow-down
        2
        ·
        2 years ago

        its correct, the final size you see in the OS is not kilo/giga/terabytes but kibi/gibi/tebibytes. the problem is less of the drive and more of how the OS displays the value. the OS CHOOSES to display it in base 2, but drives are sold in base 10, and what is given is actually correct. Windows, being the most used one, is the most guilty of starting the trend of naming what should be kibi/gibi/tebibytes as kilo/giga/terabytes. Essentially, 2 Tera Bytes ~= 1.82 Tebibytes. many OS’ display the latter but use the former naming

        • barsoap@lemm.ee
          link
          fedilink
          arrow-up
          3
          ·
          2 years ago

          Base 2 based displays and calling them kilobytes date back to the 1960s. Way before the byte was standardised to be eight bits (and according to network engineers it still isn’t you still see new RFCs using “octet”).

          Granted though harddisks seem to have been base-10 based from the very beginning, with the IBM 350 storing five million 6-bit bytes. Window’s history isn’t in that kind of hardware though but CP/M and DOS, and dir displayed in base 2 from the beginning (page 10):

          Displays the filename and size in kilobytes (1024 bytes).

          Then, speaking of operating systems with actual harddrive support: In Unix ls -lh seems to be universally base-2 based (GNU has --si to switch which I think noone ever uses). -h (and -k) are non-standard, you won’t find them in POSIX (default is to print raw number of bytes, no units).

  • Emerald@lemmy.world
    cake
    link
    fedilink
    arrow-up
    40
    ·
    2 years ago

    Image Transcription: Meme


    I bought a new 2Tb SSD but it shows up as 1.8TB SSD

    [An image of a classical art piece. The man in the image is wearing a hat and has a peculiar facial expression. One of his arms is on a table, palm facing up. The other arm is in the air, with the pointer finger touching the palm. Near that hand is the caption “Where’s my 0.2TB”]

  • only0218@sh.itjust.works
    link
    fedilink
    arrow-up
    34
    arrow-down
    1
    ·
    edit-2
    2 years ago

    Instead of that we should protest against si k should be K

    • B
    • kB < — Imposter
    • MB
    • GB
    • TB
    • PB

    (Since this is SI it’s powers of 10^3 not 2^10 when going one level up)

    • lseif@sopuli.xyz
      link
      fedilink
      arrow-up
      3
      arrow-down
      12
      ·
      2 years ago

      and μ should be u maybe… why throw in a random non-latin character? is it for the sake of anti-anglocentrism?

      • Zangoose@lemmy.world
        link
        fedilink
        English
        arrow-up
        26
        ·
        2 years ago

        Can’t tell if this is sarcasm (I’ve been on the internet too much today sorry) but just in case the Greek μ (mu) stands for “micro” since ‘m’ is already used for “milli”

        • lseif@sopuli.xyz
          link
          fedilink
          arrow-up
          6
          arrow-down
          5
          ·
          2 years ago

          yeah, i get that, but many people just use u because its more accessible (ascii and qwerty compatible), similar to writing μBittorrent as uBittorrent. imo i dont think its too big of a deal if it doesnt match the word micro, since μ is already a bit of a stretch. this is just my opinion, im not advocating for a SI reform or anything :)

  • HeckGazer@programming.dev
    link
    fedilink
    arrow-up
    44
    arrow-down
    12
    ·
    edit-2
    2 years ago

    I’d be thrilled if the SSD I bought ended up being almost 8x larger than advertised! Does beg the question of why you’re buying 250GB SSDs in 2023 but I’m not here to judge.

    • Knusper@feddit.de
      link
      fedilink
      arrow-up
      11
      ·
      2 years ago

      Funnily enough, the meme still works. They wanted 0.2 TB, goddammit, not some hugely oversized 1.8 TB hard drive.

        • u/unhappy_grapefruit_2@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          2 years ago

          Same here 256gb ssd owner ill prefer to get something a little bit bigger but I also have a secondary hdd though to store all my files on which makes everything all good

    • Matriks404@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      even 32 gigs would be good enough for a cheap laptop running non shit OS unless you want to store any bigger data or play games.

  • Etterra@lemmy.world
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    2 years ago

    That’s for the magic numbers that hold the 1.8 TB together. They live in that 0.2 TB and if you kill them then the 1.8 TB fly apart at the speed of light.

    • cryostars@lemmyf.uk
      link
      fedilink
      arrow-up
      10
      ·
      2 years ago

      I’ve always known the advertised space is larger than the actual space, but it was never quite the shock as it was when I recently bought an 18TB external drive with ~16 TB usable.

    • neonred@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      2 years ago

      A 14 TB medium is always 14 TB, which is close to 12 TiB. Minus metadata of the filesystem and granularity of a allocation sector.

  • teft@startrek.website
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    2 years ago

    in small print 2TiB*

    From wikipedia:

    More than one system exists to define unit multiples based on the byte. Some systems are based on powers of 10, following the International System of Units (SI), which defines for example the prefix kilo as 1000 (103); other systems are based on powers of 2.

    Your system calculates 1 terabyte as 1 tebibyte which is 2^40 bytes=1,099,511,627,776 bytes and the hardware manufacturers calculate 1 terabyte as 1 terabyte which is 10^12=1,000,000,000,000 bytes. That is where the discrepancy is.

    • remotelove@lemmy.ca
      link
      fedilink
      arrow-up
      5
      arrow-down
      1
      ·
      edit-2
      2 years ago

      That would be 2.2 terabytes. You are on the right track though and metric system conversion is part of the problem. 1000GB != 1024GB. 1,024GB is correct while HDD manufacturers use 1,000GB, which is also correct, but still not equal to 1024GB. (I just confused myself thinking through the conversions, but you get the idea.)

      The other part of the problem is hidden partitions used for recovery or performance. There are other things like FAT and such, but I don’t know the modern file layouts these days. (Its probably the same as it always was, TBH.)

      The space is usually, mostly, there. It’s just hidden and preallocated.

      Edit: Forgot about boot partitions as well. That’s a thing. Additionally, I have seen more than one instance of someone doing 1:1 drive copies without adjusting the partitions for a larger drive. That is less common these days but probably still happens.