Skip to main content

[BUG] Slow write speeds to disk with default coalescing

Completed

Comments

5 comments

  • Fletcher Penney

    Interesting.  This *seems* to be an issue with using the macOS file coordinator for read/write?  I apparently mistakenly assumed that it was fast, even if it prevents multiple simultaneous accesses.

    From what I can tell with a brief look, it doesn't impact nvUltra performance at all, but must be queuing up file saves behind the scenes??  I'll see if I can tweak it to skip saves if a save is already in progress, and catch up at the end.

    Thanks!  (It did this on my 2018 MacBook Air, so newer hardware, but it is also an SSD)

    0
  • AmberV

    Right! That's something I forgot to mention I think---CPU and energy usage was sane across the board the entire time. It would go up to around 12 or so energy "units" while typing, which is perfectly normal in 10.14, and drop shortly thereafter to 1 to 2, I wouldn't expect it any lower since it is monitoring the folder for changes. Likewise I never noticed any feedback lag while typing---it's purely what appears to be a bottlenecked I/O thread beneath it all.

    Marked on the other hand suffers, but that's to be expected. With it constantly refreshing in the background, it was using 30 to 40 energy units continuously.

    0
  • Fletcher Penney

    I tweaked the file save process to minimize queued up saves.  While typing gibberish as fast as I can, macOS keeps up pretty well now.  When I stop typing, there are usually around 2 saves that appear in the next second or so while watching the file.

    0
  • AmberV

    That is looking much better, even on this older underpowered thing!

    0
  • Fletcher Penney

    Glad to hear it!

    0

Please sign in to leave a comment.

Powered by Zendesk