USB cache flush

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I assign VirtualBox disk image (.vdi) files on a USB stick.
I have found that it is painfully slow.
The reason is easy.
VirtualBox flushes write caches very often.
Even you make dirty_writeback_centisecs and alike very long, the result is same.

Then, how it flushes often?
do sync(2) often? No.
>From an output of strace, it is no.
No sync, no fsync, no fdatasync....
and no O_DIRECT and no O_SYNC ....
How VirtualBox flushes so often?

My question is, how to prevent this flushing.
how to enable (revive) delay-write feature of
Linux USB driver?

    --- Okajima, Jun. Tokyo, Japan.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux