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
Brand Logo

agnos.is Forums

  1. Home
  2. Microblog Memes
  3. Surely that only works on a USB that is already zero'd out (meaning nothing to change)?

Surely that only works on a USB that is already zero'd out (meaning nothing to change)?

Scheduled Pinned Locked Moved Microblog Memes
4 Posts 3 Posters 0 Views
  • 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.
  • tetris11@feddit.ukT This user is from outside of this forum
    tetris11@feddit.ukT This user is from outside of this forum
    [email protected]
    wrote last edited by [email protected]
    #1

    Surely that only works on a USB that is already zero'd out (meaning nothing to change)?

    I wonder if this benchmark holds true on a USB that has seen some action and needs to commit large number of zeroes in random dereferenced space?

    A P 2 Replies Last reply
    11
    • tetris11@feddit.ukT [email protected]

      Surely that only works on a USB that is already zero'd out (meaning nothing to change)?

      I wonder if this benchmark holds true on a USB that has seen some action and needs to commit large number of zeroes in random dereferenced space?

      A This user is from outside of this forum
      A This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      This is reading, not writing. USB sends a dummy zero every few consecutive 1s for framing purposes. If you want the details Ben Eater has a great video on it.

      tetris11@feddit.ukT 1 Reply Last reply
      21
      • tetris11@feddit.ukT [email protected]

        Surely that only works on a USB that is already zero'd out (meaning nothing to change)?

        I wonder if this benchmark holds true on a USB that has seen some action and needs to commit large number of zeroes in random dereferenced space?

        P This user is from outside of this forum
        P This user is from outside of this forum
        [email protected]
        wrote last edited by
        #3

        They're reading from the USB into /dev/null (effectively throwing the read data away), not writing

        1 Reply Last reply
        2
        • A [email protected]

          This is reading, not writing. USB sends a dummy zero every few consecutive 1s for framing purposes. If you want the details Ben Eater has a great video on it.

          tetris11@feddit.ukT This user is from outside of this forum
          tetris11@feddit.ukT This user is from outside of this forum
          [email protected]
          wrote last edited by
          #4

          This is reading, not writing

          Ah I see thanks

          Ben Eater has a great video on it.

          I'm not watching a video, but appreciate the pointing in the right direction

          USB sends a dummy zero every few consecutive 1s for framing purposes

          Huh, TIL about Bit-Stuffing and Framing Bits

          Bit stuffing is the insertion of non-information bits into data ... is used for various purposes, such as for bringing bit streams that do not necessarily have the same or rationally related bit rates up to a common rate

          Framing is the process by which, while receiving a stream of fixed-length frames, the receiver identifies the frame boundaries, permitting the data bits within the frame to be extracted for decoding or retransmission.
          A common practice is to insert in a dedicated time slot within the frame, a noninformation framing bit that is used for synchronization of the incoming data with the receiver.

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


          • Login

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