https://bugs.kde.org/show_bug.cgi?id=281270

Bruno Gonçalves <bigbr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bigbr...@gmail.com

--- Comment #51 from Bruno Gonçalves <bigbr...@gmail.com> ---
Reducing the cache usage for saving files to USB devices has been solving this
problem for the past 2 years.

Here is how we are using it, but basically it is a noudev rule that calls a
simple script, where $1 is the USB device to limit the RAM cache size while
copying files, we are using a 16 MB limit, which is enough so that the
recording does not become too slow and at the same time when completing a
recording, almost immediately the device can be ejected.

echo 1 > /sys/block/$1/bdi/strict_limit
echo 16777216 > /sys/block/$1/bdi/max_bytes

https://github.com/biglinux/usb-dirty-pages-udev

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to