From 19ae730d91851bbfa2329934bed70612dcb2e426 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 16 Mar 2020 13:56:16 -0400 Subject: [PATCH] comment --- ...1_921af0fe20bfe690c008f0173394b765._comment | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 doc/bugs/very_slow_export_to_directory_special_remote___40__on_USB_drive__41__/comment_1_921af0fe20bfe690c008f0173394b765._comment diff --git a/doc/bugs/very_slow_export_to_directory_special_remote___40__on_USB_drive__41__/comment_1_921af0fe20bfe690c008f0173394b765._comment b/doc/bugs/very_slow_export_to_directory_special_remote___40__on_USB_drive__41__/comment_1_921af0fe20bfe690c008f0173394b765._comment new file mode 100644 index 0000000000..86b5a9e0ac --- /dev/null +++ b/doc/bugs/very_slow_export_to_directory_special_remote___40__on_USB_drive__41__/comment_1_921af0fe20bfe690c008f0173394b765._comment @@ -0,0 +1,18 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 1""" + date="2020-03-16T17:37:27Z" + content=""" +The directory special remote uses haskell's native ByteString library, +which tends to be easily capable of fully saturating IO on most systems. +The imposition of a meter by Utility.Metered does not change that +appreciably, it just uses a small amount of CPU time to update a counter +and occasionally display progress. + +ByteString uses a default 32kb chunk size, so if having the drive mounted sync +means it flushes the cache after every 32kb write, well there's your problem. + +All your other questions have been discussed elsewhere on this website +AFAIK, and I'm not going to try to discuss all that here. Bug reports +should be about a single bug. +"""]]