• tromars@feddit.de
    link
    fedilink
    arrow-up
    161
    ·
    1 year 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

    • CosmicTurtle@lemmy.world
      link
      fedilink
      English
      arrow-up
      40
      arrow-down
      8
      ·
      1 year 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
        19
        ·
        edit-2
        1 year 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).

        • davidgro@lemmy.world
          link
          fedilink
          arrow-up
          4
          ·
          1 year ago

          One thing to point out, The floppy thing isn’t due to formatting, the units themselves were screwed up: It’s not 1.44 million bytes or 1.44 MiB regardless of formatting - they are 1440 kiB! (Which produces the raw size you gave) which is about 1.406 MiB unformatted.

          The reason is because they were doubled from 720 kiB disks*, and the largest standard 5¼ inch disks (“1.2 MB”) were doubled from 600 kiB*. I guess it seemed easier or less confusing to the users then double 600k becoming 1.17M.

          (* Those smaller sizes were themselves already doubled from earlier sizes. The “1.44 MB” ones are “Double sided double density”)

      • wischi@programming.dev
        link
        fedilink
        arrow-up
        16
        arrow-down
        5
        ·
        edit-2
        1 year 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
        9
        arrow-down
        2
        ·
        1 year 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
    73
    arrow-down
    1
    ·
    1 year 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
      25
      arrow-down
      3
      ·
      edit-2
      1 year 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
        12
        arrow-down
        3
        ·
        1 year 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
          6
          ·
          1 year 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).

    • triclops6@lemmy.ca
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      This is intentional, they could offer proper TiB storage but Apple started doing this decades ago just to shave pennies and now it’s caught on

  • Emerald@lemmy.world
    link
    fedilink
    arrow-up
    45
    ·
    1 year 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
    37
    arrow-down
    1
    ·
    edit-2
    1 year 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
      4
      arrow-down
      17
      ·
      1 year 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
        31
        ·
        1 year 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
          6
          ·
          1 year 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 :)

          • Turun@feddit.de
            link
            fedilink
            arrow-up
            3
            arrow-down
            1
            ·
            1 year ago

            μ is not a stretch at all, it’s literally the first character of the word micro. (Mu, iota, kappa, rho, omega). Similar to how other scientific words are derived from their original language.

            It doesn’t matter, most people will understand you if you write um instead of μm, because it isn’t ambiguous.

  • HeckGazer@programming.dev
    link
    fedilink
    arrow-up
    48
    arrow-down
    12
    ·
    edit-2
    1 year 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.

  • Etterra@lemmy.world
    link
    fedilink
    arrow-up
    29
    arrow-down
    1
    ·
    1 year 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
      13
      ·
      1 year 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.

      • psud@aussie.zone
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        It was so during the age of floppy discs. Our computers use TiB, marketers use TB to sell storage

        • Phrodo_00@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          The biggest problem is that Windows still calls TiB and friends with si prefixes (so 1TiB shows as 1TB). MS has done this since DOS (but at least back then MiB didn’t exist. They could’ve used base 10 though).

          • psud@aussie.zone
            link
            fedilink
            arrow-up
            1
            ·
            1 year ago

            TiB (and the related) didn’t get named until recently, and I think only Linux uses those abbreviations — and not universally — windows still says kB, mB etc, while using the binary equivalents

    • neonred@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 year 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.

  • Turun@feddit.de
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    1 year ago

    The issue is in your software that displays the capacity (most likely windows).

    You bought 2 TB SSD. You got 2 TB SSD. This is equivalent to 1.8 TiB (think of it like yards and meter). Windows shows you the capacity in TiB, but writes TB next to it.

    Say you buy a 2.18 yard stick. You get a 2.2 yard stick, which is equivalent to 2 meter. Windows will tell you it’s 2 yards long. Why? I don’t know.

  • teft@startrek.website
    link
    fedilink
    arrow-up
    16
    ·
    edit-2
    1 year 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.

  • letsgo@lemm.ee
    link
    fedilink
    arrow-up
    14
    arrow-down
    2
    ·
    1 year ago

    They’ve been doing this for literally centuries.

    I think it started out with a rare case of honest advertising. So for example 720K floppies were advertised as 720K. But then some lying bastard clever marketer decided to start advertising their 720K floppies as 1MB floppies, sometimes but not always marked “unformatted capacity”.

    And of course this had the desired effect of making people buy their disks instead of the honestly marketed ones, because people didn’t read the small print and thought they were getting more storage, which was important before CDs were a thing and software distributions were starting to need multiple disks. So everyone had to start doing it.

    This is as far back as my memory of the practice goes, so it may have started before 720K floppies were mainstream, but that’s why disk manufacturers now advertise the unformatted capacity of their drives instead of the formatted, aka usable, capacity.

    • Phoenixz@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      they’ve been doing this for literally centuries

      So it’s Friday December the fifth, 80 AD, 5:30pm, and Mozes is hacking away on his clay tables to nail down the final tally of this week’s adminstration of the amount of cows his boss owns and he goes "Mother fucker! These romans again ripped me off, sold me a clay tablet that only allows me to count to 720 cows, not the 751 I got! FUCK! Now I need another tablet and start tallying from the beginning, you mother fuckers!

    • AwkwardLookMonkeyPuppet@lemmy.world
      link
      fedilink
      arrow-up
      9
      arrow-down
      4
      ·
      1 year ago

      They’ve been doing this for literally centuries.

      *Proceeds to talk about floppy disks

      How long do you think digital computers have been around?

      • letsgo@lemm.ee
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        1 year ago

        For centuries. Justification: Jesus was dead for three days: from Friday afternoon (3pm?), day 1, through Saturday, day 2, and into Sunday early morning (6am?), day 3. Total elapsed time 39 hours. Digital computers were around last century (19xx) and this century (20xx), which is two centuries by the same logic. Also two millenia, but I find “centuries” a more satisfying word. Colossus went into operation in 1943, so that’s 80 years elapsed time.