On Mon, Jan 6, 2020 at 4:22 PM drago01 <drag...@gmail.com> wrote:

> What does windows do? Is it the equivalent of the discard mount option or is 
> it more like fstrim?

Well, as I understand it(*), it's complicated, and there are a
lot of various tuning knobs one can use to change behavior.
But typically, with volume shadow copy enabled (used for
such things as system rollback), which is typically enabled,
there is a monthly defrag(**) that will run and do a trim as
appropriate.  Windows will also do the equivalent of the
mount discard option, queuing requests at file deletion for
later processing, but the queue is length limited (to limit
resource usage and performance impacts), so if the
number of requests is too long, new requests are thrown
away (apparently with the expectation that the monthly
defrag will clean it up).  There are also cli commands to
perform the activities.

(*) This is based on some information from quite some
time ago, so it may be somewhat stale.

(**) While defrag is often stated as not being needed for
SSDs, there are cases where in fact it can make a
difference in performance or internal data structure
layouts or limitations.
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to