On 03/15/2018 04:39 PM, donoban wrote:
On 03/15/18 21:31, Chris Laprise wrote:
You may want to add 'discard' option to /etc/fstab so the trim happens
automatically.
There was a recent fix that switched all the domUs to use discard for
/, but dom0 was skipped.
I am considering it, there is some controversy with regular fstrim vs
discard option e.g.
http://blog.toracat.org/2014/07/discard-that-discard-run-fstrim-on-rhel-and-rebuilds/
Keep in mind that most of your VMs (all the domUs) will use discard / in
realtime, along with /rw and home. But I don't think it matters much for
performance on /, as its not meant to be a write-intensive volume (at
least not for domUs).
If I was really concerned about discard performance, I'd focus on
private volumes (rw and volatile) first.
Another wrinkle to this is that Qubes disables actual trim to the SSD by
default. So performance issues introduced by SSD hardware are not even
an issue until/unless you enable trim. See issue
https://github.com/QubesOS/qubes-issues/issues/3686
FWIW I think trim performance is only a problem for older SSD drives
that don't handle their trim cache and block ranges properly.
--
Chris Laprise, [email protected]
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB 4AB3 1DC4 D106 F07F 1886
--
You received this message because you are subscribed to the Google Groups
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qubes-users/cb4f82b9-b3c9-d09e-6f90-567415deaaaa%40posteo.net.
For more options, visit https://groups.google.com/d/optout.