On 10/31/18 12:35 PM, Samuel Sieb wrote:
On 10/30/18 3:45 PM, ToddAndMargo via users wrote:
FC28, x86
Xfce 4.12

I am trying to copy he new Xfce Live ISO (1.4 GB) over
to a Samsung usb 3.1 stick.  It is taking FOREVER.  And
this is typical.

Is your usb also slow by any chance?

My kernel is 4.18.16-200.fc28.x86_64

I just copied a 3GB iso to a FAT32 partition:
real    2m6.738s

Copying to EXT4 and syncing took almost 3 mins.

So I don't see this problem with my laptop.

Check the mount options, maybe there is something like sync set, although it still shouldn't take that long.
Try running "iostat 5" while it's copying to see how much I/O is happening.

Hi Sam,

Wow!  You sure called that one!  Thank you!

I ran to an fat32 and got:

# time cp Fedora-Xfce-Live-x86_64-29-20181029.1.iso /run/media/tony/FAT32TEST/.

   real 2m0.151s
   user 0m0.005s
   sys  0m1.483s


This is the ntfs stick mounted from the desktop:
/dev/sdc1 /run/media/todd/xxxx fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

   It was fast.

This is the way I originally mounted it:
/dev/sdc1 /mnt/xxxxx fuseblk rw,sync,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096 0 0

   And I do see the "sync".

This is the code where I mounted it:

   mount -o users,exec,sync $Device $Target > /dev/nul 2>&1;


With "sync" removed, this to a 3.1 port to the Samsung in question:

# time cp Fedora-Xfce-Live-x86_64-29-20181029.1.iso /mnt/Rent-A-Nerd/.
cp: overwrite '/mnt/Rent-A-Nerd/./Fedora-Xfce-Live-x86_64-29-20181029.1.iso'? y

real    0m8.254s
user    0m0.014s
sys     0m1.318s

And to double check, unmounted and mounted it somewhere else:

# sha256sum Fedora-Xfce-Live-x86_64-29-20181029.1.iso /run/media/todd/RENT-A-NERD/Fedora-Xfce-Live-x86_64-29-20181029.1.iso

569761a6f20ab2c619d7888fb1738253a264a844653d097f28903a6e2d1ee670 Fedora-Xfce-Live-x86_64-29-20181029.1.iso

569761a6f20ab2c619d7888fb1738253a264a844653d097f28903a6e2d1ee670 /run/media/tdd/RENT-A-NERD/Fedora-Xfce-Live-x86_64-29-20181029.1.iso


-T

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to