Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

And what of "writeback" and "writethough" #24

Open
tbielawa opened this issue Jan 16, 2013 · 3 comments
Open

And what of "writeback" and "writethough" #24

tbielawa opened this issue Jan 16, 2013 · 3 comments
Labels

Comments

@tbielawa
Copy link
Owner

With respect to: disk IO modes in QEMU/KVM

@tbielawa
Copy link
Owner Author

tbielawa commented Apr 8, 2013

Training last week provided some insight on this topic.

  • Write-back is 'lossy' (dirty pages aren't flushed immediately)
  • Write-through is more disk intensive

How to decide which caching mechanism is right for you? A major factor is considering how expensive your data is to get back. Go with write-back for a performance boost if data integrity isn't your top concern. Go with write-through if you need changes to be flushed asap.

There's some other stuff to consider as well. Such as: virsh defaults and auto-detection, how they're based off of virtual disk formats.

@tbielawa
Copy link
Owner Author

tbielawa commented Jun 8, 2013

Notes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant