Skip to content
Snippets Groups Projects
  1. Jan 27, 2023
  2. Jan 26, 2023
  3. Jan 17, 2023
  4. Jan 10, 2023
  5. Dec 31, 2022
  6. Dec 28, 2022
  7. Dec 27, 2022
  8. Dec 24, 2022
  9. Dec 23, 2022
    • lbmkplaceholder's avatar
      util/nvmutil: optimise cmd_swap() further · 448ee510
      lbmkplaceholder authored
      don't do xor swap. we know gbe2 is always 4KB higher than
      gbe in memory, so we can just set gbe2 to the value of gbe,
      and OR the size in bytes of 4KB into gbe2
      
      this is only a marginal speed boost, negligible even, but it's
      done for the lulz
      448ee510
    • lbmkplaceholder's avatar
      util/nvmutil: greatly optimise cmd_copy() · effcb942
      lbmkplaceholder authored
      similar to the last change by concept. we now write
      individual 4KB blocks per part 0 and 1, at the end
      of nvmutil, based on pointer values gbe and gbe2
      
      instead of running memcpy, simply overwrite the pointer
      
      this results in less I/O, thus more speed
      effcb942
    • lbmkplaceholder's avatar
      util/nvmutil: greatly optimise cmd_swap() · 6e5828e4
      lbmkplaceholder authored
      instead of XOR-swapping every byte, have pointers to the
      two parts and *XOR swap the pointers*. at the end of the
      program execution, when writing, pwrite the two parts into
      the same file
      6e5828e4
  10. Dec 22, 2022
  11. Dec 21, 2022
  12. Dec 14, 2022
  13. Dec 11, 2022
  14. Dec 10, 2022