USB speed issue
Tofloor
poster avatar
ben88
deepin
2018-06-28 12:03
Author
Hello Deepin community, I'm having a weird issue every time I try to transfer big files to my USB stick, the transfer starts good but after aprox. 3gb the speed starts to decay, from 60m\s to 1m\s or even less! It happens with every type of file and every pendrive I tried, I have the same issue in every linux distro I tried, some transfers get stuck or take hours. Someone know how to fix this? Thanks in advance.

Reply Favorite View the author
All Replies
dostana
deepin
2018-07-24 13:39
#1
that's funny, on Acer deepin is okay
Reply View the author
cgp
deepin
2018-07-24 16:05
#2
I just want to say that also happens in Windows .As time going, the speed of writting will decline sharply because the Hardware performance drops.I am not sure about the essential reason. It seems relate to  running out of cache..
Reply View the author
gaoshou
deepin
2018-07-24 17:18
#3
My suggestion is
1,update to latest
2,format stick in deepin
3,try another use port
Reply View the author
ben88
deepin
2019-01-24 13:17
#4
Edited by ben88 at 2019-1-24 05:18

I have found the solution to this problem, the issue is in how Linux manage the cache memory and transfer data to the USB flash drives.
The easy fix is this: you need to change the size of the cache memory so the USB transfer rate works and displays properly.

For quick but no permanent solution copy this to the console and execute:
sudo sysctl vm.dirty_bytes=15000000

For permanent solution edit: /etc/sysctl.conf
vm.dirty_bytes=15000000
[SOLVED]
Reply View the author