Im using Ubuntu 14.04 LTS , the problem happens when i try to copy files from my HDD to Pendrive . Transmission slows down in the very last time and stuck for few minutes which is very annoying ! Can anyone help please ! its a pain ! note that my hdd's drives are formatted with ntfs partition .
1 Answer
Linux kernel implements the strategy that all read-writes from/to external devices go though the RAM (buffer).
So sometimes it can be seen graphically that at first the contents are going very fast from disk to the external USB but its slowing down at the last moment, this happens when the contents are being transferred from buffer to the USB device. This solely depends on how speedy your USB are and also depends on disk speed at first while transferring from disk to buffer. Sometimes it can also happen that you don't have sufficient free buffer to carry out the operation smoothly.
I would suggest you to look at iotop
to get a better idea on this. You can install iotop
by :
sudo apt-get install iotop
pv
(sudo apt-get install pv
), create a 100MB test file (dd if=/dev/zero of=file -iflag=fullblock bs=1M count=100 && sync
) and copy it to your pendrive usingpv
(pv file /media/username/pendrive
) (replace/media/username/pendrive
with the actual path to the pendrive). You may then remove the test file and uninstallpv
(rm file && sudo apt-get remove pv
). Which speed do you get?