Copying to USB stick frustratingly slow.


Recommended Posts

He folks, strange issue here. About an hour ago I started copying around 16GB of files from an UnRaid share to a USB stick mounted using the Unassigned Devices plugin. I'm copying using MC. Initially the copy zipped along nicely at 80MB/s and I had 7 of the 10 files completed within 10 minutes. I'm now sat at over an hour and the copy has slowed to 500 kB/s and my UnRaid server has virtually frozen, the UI takes around 5 minutes to load and all my dockers are unresponsive.

 

Any ideas?

Link to comment
  • 11 months later...

Still getting this issue. Just tried to transfer a load of movie's via MC on to a USB stick mounted via Unassigned Devices. Started off quickly put eventually ended up at around 300kB/s. This issue is really beginning to annoy me, lol. There is some strange stuff in my log...

 

Jul 13 18:30:35 Gandalf kernel: worker: page allocation stalls for 20089ms, order:2, mode:0x24040c0(GFP_KERNEL|__GFP_COMP)
Jul 13 18:30:35 Gandalf kernel: CPU: 1 PID: 9712 Comm: worker Not tainted 4.9.30-unRAID #1
Jul 13 18:30:35 Gandalf kernel: Hardware name: ASUSTeK COMPUTER INC. Z9PE-D8 WS/Z9PE-D8 WS, BIOS 5802 06/10/2015
Jul 13 18:30:35 Gandalf kernel: ffffc9000af07ae0 ffffffff813a4a1b 0000000000000001 0000000000000000
Jul 13 18:30:35 Gandalf kernel: ffffc9000af07b70 ffffffff810cb5b1 024040c062914c80 ffffffff8193d4e2
Jul 13 18:30:35 Gandalf kernel: ffffc9000af07b08 ffff880900000010 ffffc9000af07b80 ffffc9000af07b20
Jul 13 18:30:35 Gandalf kernel: Call Trace:
Jul 13 18:30:35 Gandalf kernel: [<ffffffff813a4a1b>] dump_stack+0x61/0x7e
Jul 13 18:30:35 Gandalf kernel: [<ffffffff810cb5b1>] warn_alloc+0x102/0x116
Jul 13 18:30:35 Gandalf kernel: [<ffffffff810cbb67>] __alloc_pages_nodemask+0x541/0xc71
Jul 13 18:30:35 Gandalf kernel: [<ffffffff813abcba>] ? timerqueue_del+0x52/0x63
Jul 13 18:30:35 Gandalf kernel: [<ffffffff81102d82>] alloc_pages_current+0xbe/0xe8
Jul 13 18:30:35 Gandalf kernel: [<ffffffff810e2c1c>] kmalloc_order+0x13/0x41
Jul 13 18:30:35 Gandalf kernel: [<ffffffff8110b2fd>] __kmalloc+0x2f/0x125
Jul 13 18:30:35 Gandalf kernel: [<ffffffff811228be>] rw_copy_check_uvector+0x4e/0x106
Jul 13 18:30:35 Gandalf kernel: [<ffffffff813b5662>] import_iovec+0x2c/0x87
Jul 13 18:30:35 Gandalf kernel: [<ffffffff81121b63>] do_readv_writev+0x5b/0x2f3
Jul 13 18:30:35 Gandalf kernel: [<ffffffff8109fe54>] ? do_futex+0xc6/0x8b5
Jul 13 18:30:35 Gandalf kernel: [<ffffffff81069ae7>] ? wake_up_q+0x51/0x51
Jul 13 18:30:35 Gandalf kernel: [<ffffffff81121e36>] vfs_readv+0x3b/0x3d
Jul 13 18:30:35 Gandalf kernel: [<ffffffff81121e36>] ? vfs_readv+0x3b/0x3d
Jul 13 18:30:35 Gandalf kernel: [<ffffffff81121f55>] do_preadv+0x6c/0xb2
Jul 13 18:30:35 Gandalf kernel: [<ffffffff8112299c>] SyS_preadv+0xc/0xe
Jul 13 18:30:35 Gandalf kernel: [<ffffffff8167f537>] entry_SYSCALL_64_fastpath+0x1a/0xa9
Jul 13 18:30:35 Gandalf kernel: Mem-Info:
Jul 13 18:30:35 Gandalf kernel: active_anon:12695631 inactive_anon:20968 isolated_anon:0
Jul 13 18:30:35 Gandalf kernel: active_file:1725052 inactive_file:1377016 isolated_file:51
Jul 13 18:30:35 Gandalf kernel: unevictable:0 dirty:493474 writeback:4103 unstable:0
Jul 13 18:30:35 Gandalf kernel: slab_reclaimable:170248 slab_unreclaimable:270956
Jul 13 18:30:35 Gandalf kernel: mapped:74327 shmem:209994 pagetables:36301 bounce:0
Jul 13 18:30:35 Gandalf kernel: free:80084 free_pcp:157 free_cma:0
Jul 13 18:30:35 Gandalf kernel: Node 0 active_anon:32069740kB inactive_anon:23112kB active_file:4036kB inactive_file:17212kB unevictable:0kB isolated(anon):0kB isolated(file):76kB mapped:94720kB dirty:3492kB writeback:1432kB shmem:323564kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 31498240kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
Jul 13 18:30:35 Gandalf kernel: Node 1 active_anon:18712784kB inactive_anon:60760kB active_file:6896172kB inactive_file:5490852kB unevictable:0kB isolated(anon):0kB isolated(file):128kB mapped:202588kB dirty:1970404kB writeback:14980kB shmem:516412kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 10020864kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no
Jul 13 18:30:35 Gandalf kernel: Node 0 DMA free:15852kB min:40kB low:52kB high:64kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15936kB managed:15852kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
Jul 13 18:30:35 Gandalf kernel: lowmem_reserve[]: 0 738 31968 31968
Jul 13 18:30:35 Gandalf kernel: Node 0 DMA32 free:126988kB min:2072kB low:2828kB high:3584kB active_anon:837828kB inactive_anon:0kB active_file:8kB inactive_file:52kB unevictable:0kB writepending:28kB present:978336kB managed:968340kB mlocked:0kB slab_reclaimable:76kB slab_unreclaimable:244kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
Jul 13 18:30:35 Gandalf kernel: lowmem_reserve[]: 0 0 31229 31229
Jul 13 18:30:35 Gandalf kernel: Node 0 Normal free:87068kB min:87616kB low:119592kB high:151568kB active_anon:31231912kB inactive_anon:23112kB active_file:4028kB inactive_file:17160kB unevictable:0kB writepending:4896kB present:32505856kB managed:31979356kB mlocked:0kB slab_reclaimable:24824kB slab_unreclaimable:331536kB kernel_stack:3928kB pagetables:68340kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB
Jul 13 18:30:35 Gandalf kernel: lowmem_reserve[]: 0 0 0 0
Jul 13 18:30:35 Gandalf kernel: Node 1 Normal free:90428kB min:90488kB low:123512kB high:156536kB active_anon:18712784kB inactive_anon:60760kB active_file:6896172kB inactive_file:5490828kB unevictable:0kB writepending:1985384kB present:33554432kB managed:33027632kB mlocked:0kB slab_reclaimable:656092kB slab_unreclaimable:752044kB kernel_stack:40280kB pagetables:76864kB bounce:0kB free_pcp:820kB local_pcp:0kB free_cma:0kB
Jul 13 18:30:35 Gandalf kernel: lowmem_reserve[]: 0 0 0 0
Jul 13 18:30:35 Gandalf kernel: Node 0 DMA: 1*4kB (U) 1*8kB (U) 0*16kB 1*32kB (U) 1*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (U) 3*4096kB (M) = 15852kB
Jul 13 18:30:35 Gandalf kernel: Node 0 DMA32: 3*4kB (UME) 2*8kB (U) 3*16kB (UME) 8*32kB (UME) 7*64kB (UM) 6*128kB (UME) 8*256kB (UME) 5*512kB (ME) 4*1024kB (ME) 1*2048kB (E) 28*4096kB (M) = 126988kB
Jul 13 18:30:35 Gandalf kernel: Node 0 Normal: 272*4kB (UME) 77*8kB (UMEH) 91*16kB (UMEH) 89*32kB (UMEH) 115*64kB (UMEH) 44*128kB (UMEH) 11*256kB (UEH) 52*512kB (UMEH) 34*1024kB (UMEH) 2*2048kB (H) 0*4096kB = 87352kB
Jul 13 18:30:35 Gandalf kernel: Node 1 Normal: 2955*4kB (UME) 1924*8kB (UM) 232*16kB (UMH) 919*32kB (UMEH) 26*64kB (H) 10*128kB (H) 4*256kB (H) 11*512kB (H) 6*1024kB (H) 5*2048kB (H) 1*4096kB (H) = 90412kB
Jul 13 18:30:35 Gandalf kernel: 3312294 total pagecache pages
Jul 13 18:30:35 Gandalf kernel: 0 pages in swap cache
Jul 13 18:30:35 Gandalf kernel: Swap cache stats: add 0, delete 0, find 0/0
Jul 13 18:30:35 Gandalf kernel: Free swap  = 0kB
Jul 13 18:30:35 Gandalf kernel: Total swap = 0kB
Jul 13 18:30:35 Gandalf kernel: 16763640 pages RAM
Jul 13 18:30:35 Gandalf kernel: 0 pages HighMem/MovableOnly
Jul 13 18:30:35 Gandalf kernel: 265845 pages reserved
Jul 13 19:20:47 Gandalf sshd[16014]: Accepted password for root from 172.16.20.2 port 57742 ssh2
Jul 13 19:21:57 Gandalf sshd[19832]: Accepted password for root from 172.16.20.2 port 58006 ssh2
Jul 13 19:26:17 Gandalf emhttp: cmd: /usr/local/emhttp/plugins/dynamix/scripts/tail_log syslog
Jul 13 19:35:50 Gandalf kernel: usb 5-1: USB disconnect, device number 3
Jul 13 19:35:51 Gandalf rc.diskinfo[10263]: PHP Warning: Missing argument 2 for force_reload() in /etc/rc.d/rc.diskinfo on line 668
Jul 13 19:35:51 Gandalf rc.diskinfo[10263]: SIGHUP received, forcing refresh of disks info.
Jul 13 19:35:51 Gandalf rc.diskinfo[10263]: PHP Warning: Missing argument 2 for force_reload() in /etc/rc.d/rc.diskinfo on line 668
Jul 13 19:35:51 Gandalf rc.diskinfo[10263]: SIGHUP received, forcing refresh of disks info.
Jul 13 19:35:51 Gandalf rc.diskinfo[10263]: PHP Warning: file_put_contents(/var/local/emhttp/smart//dev/sdl): failed to open stream: No such file or directory in /etc/rc.d/rc.diskinfo on line 483
Jul 13 19:35:52 Gandalf rc.diskinfo[10263]: PHP Warning: file_put_contents(/var/local/emhttp/smart//dev/sdl): failed to open stream: No such file or directory in /etc/rc.d/rc.diskinfo on line 483
Jul 13 19:35:54 Gandalf rc.diskinfo[10263]: PHP Warning: file_put_contents(/var/local/emhttp/smart//dev/sdl): failed to open stream: No such file or directory in /etc/rc.d/rc.diskinfo on line 483

Please, somebody put me out of my misery!

gandalf-diagnostics-20170713-1950.zip

Edited by NeoDude
Link to comment
  • 3 weeks later...

Have tried copying across the network to that USB drive plugged into your desktop? This would begin to isolate the problem a bit. (Flash drives will go bad...)

 

Here is an table from Tom's Hardware about write speeds to USB3 flash drives.  Note that they are not all created equal!

 

http://www.tomshardware.com/charts/usb-3.0-thumb-drives-2013/-02-CrystalDiskMark-3.0-x64,3241.html

 

With UBS2 Flash Drives, the network will not be the limiting factor. 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.