yadayada / acd_cli

An unmaintained command line interface and FUSE filesystem for Amazon (Cloud) Drive
Other
1.35k stars 165 forks source link

Slow read of File Stream / Upload. #438

Closed timliesenhoff closed 8 years ago

timliesenhoff commented 8 years ago

Hey all, first of all, my configuration: Server with 1Gbit connection ACD Drive mounted (by fstab or acd_cli mounted to /media/acd/ , same issue) My Wan Connection is about 100 mbit. (most times 140 mbit)

When i want to view 720P Videos, the stream is lagging. I download a ubuntuimage from this server (apache) its downloaded with fuss speed (140 mbit/ or 14mb/s), so it cannot be cause of WAN connection from Server to me. When i start Up/Download to/from ACD, noproblems, 30 mb/sec

[## ] 11.7% of 26GiB 0/13 27.9MB/s 14:47m

i tryed to change buffes size, like this description, but no changes: (changed it to: 2000, 231072,331072)

16-10-07 16:50:35.507 [INFO] [acd_cli] - Settings path is "/root/.config/acd_cli". 16-10-07 16:50:35.508 [DEBUG] [acdcli.utils.conf] - configuration resulting from merging default and acd_cli.ini: {'download': {'keep_corrupt': 'False', 'keep_incomplete': 'True'}, 'DEFAULT': {}} 16-10-07 16:50:35.508 [DEBUG] [acdcli.utils.conf] - configuration resulting from merging default and acd_client.ini: {'endpoints': {'validity_duration': '259200', 'filename': 'endpoint_data'}, 'proxies': {}, 'DEFAULT': {}, 'transfer': {'idle_timeout': '60', 'connection_timeout': '30', 'chunk_retries': '1', 'fs_chunk_size': '2000', 'dl_chunk_size': '524288000'}} 16-10-07 16:50:35.508 [INFO] [acdcli.api.client] - Initializing ACD with path "/root/.cache/acd_cli". 16-10-07 16:50:35.508 [INFO] [acdcli.api.oauth] - AppspotOAuthHandler initialized 16-10-07 16:50:35.509 [DEBUG] [acdcli.utils.conf] - configuration resulting from merging default and cache.ini: {'sqlite': {'filename': 'nodes.db', 'journal_mode': 'wal', 'busy_timeout': '30000'}, 'DEFAULT': {}, 'blacklist': {'folders': '[]'}} 16-10-07 16:50:35.515 [INFO] [acdcli.cache.schema] - DB schema version is 2. 16-10-07 16:50:35.516 [DEBUG] [acdcli.cache.db] - Set busy_timeout to 30000. Result: 30000. 16-10-07 16:50:35.541 [DEBUG] [acdcli.cache.db] - Set journal_mode to wal. Result: wal. 16-10-07 16:50:35.542 [INFO] [acd_cli] - Last sync at 2016-10-07 13:50:35.290139.

But read did not changing.

16-10-07 16:47:48.155 [DEBUG] [acdcli.acd_fuse] - s: 213319680-487400055; r: 213319680-213450751 16-10-07 16:47:48.156 [DEBUG] [acdcli.acd_fuse] - <- read 131072

Any suggestions? Or maybe more data / information needed?

yadayada commented 8 years ago

Try to increase the buffer in your video player.

i tryed to change buffes size

...

But read did not changing.

That's because buffer_size only changes the length of the write queue.