On Mon, Nov 02, 2015 at 11:48:36AM -0500, Alan Stern wrote: > Order 7? Maybe you're trying to put too much data into a single > transfer and encountering problems with memory fragmentation. Try > using more frequent, smaller transfers. I tried going down to 128 kB; it still happens (and if I go even further down, I can't seem to keep up the data stream reliably, even with realtime priority on my USB thread -- perhaps not so strange, since that's ~1000 submits per second already). [209244.299476] nageru: page allocation failure: order:5, mode:0x2040d0 [209244.299486] CPU: 3 PID: 6045 Comm: nageru Tainted: G W 4.3.0 #1 [209244.299490] Hardware name: LENOVO 20ALCT01WW/20ALCT01WW, BIOS GIET83WW (2.33 ) 08/25/2015 [209244.299494] ffff88015f5cbba0 ffffffff812a5113 00000000002040d0 ffffffff8113e613 [209244.299502] 00000000002040d0 ffff880101476f00 ffff88023e5fab08 0000000000000000 [209244.299507] 0000000000000005 0000000000000050 00000000002040d0 ffff88015f5cbc58 [209244.299512] Call Trace: [209244.299524] [<ffffffff812a5113>] ? dump_stack+0x40/0x5d [209244.299534] [<ffffffff8113e613>] ? warn_alloc_failed+0xd3/0x130 [209244.299540] [<ffffffff81141b86>] ? __alloc_pages_nodemask+0x2c6/0xa10 [209244.299548] [<ffffffff81186e58>] ? kmem_getpages+0x58/0x100 [209244.299556] [<ffffffff81188bd1>] ? fallback_alloc+0x1b1/0x1f0 [209244.299572] [<ffffffffc00320f6>] ? proc_do_submiturb+0x5d6/0xba0 [usbcore] [209244.299578] [<ffffffff8118ac01>] ? __kmalloc+0x2c1/0x4b0 [209244.299587] [<ffffffffc00320f6>] ? proc_do_submiturb+0x5d6/0xba0 [usbcore] [209244.299596] [<ffffffffc00320f6>] ? proc_do_submiturb+0x5d6/0xba0 [usbcore] [209244.299604] [<ffffffffc0032f95>] ? usbdev_do_ioctl+0x8d5/0x10d0 [usbcore] [209244.299613] [<ffffffffc00337a5>] ? usbdev_ioctl+0x5/0x10 [usbcore] [209244.299621] [<ffffffff811b4bce>] ? do_vfs_ioctl+0x2be/0x490 [209244.299629] [<ffffffff8150f152>] ? __schedule+0x262/0x880 [209244.299635] [<ffffffff811b4e11>] ? SyS_ioctl+0x71/0x80 [209244.299642] [<ffffffff810039e9>] ? prepare_exit_to_usermode+0x89/0xf0 [209244.299648] [<ffffffff81512f2e>] ? entry_SYSCALL_64_fastpath+0x12/0x71 [209244.299651] Mem-Info: [209244.299660] active_anon:541969 inactive_anon:342054 isolated_anon:0 active_file:506674 inactive_file:324830 isolated_file:0 unevictable:20244 dirty:1494 writeback:0 unstable:0 slab_reclaimable:214493 slab_unreclaimable:13295 mapped:162591 shmem:216948 pagetables:10999 bounce:0 free:38519 free_pcp:106 free_cma:0 [209244.299667] Node 0 DMA free:15868kB min:20kB low:24kB high:28kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15912kB managed:15868kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes [209244.299681] lowmem_reserve[]: 0 2951 7916 7916 [209244.299690] Node 0 DMA32 free:27324kB min:4212kB low:5264kB high:6316kB active_anon:771176kB inactive_anon:566580kB active_file:768952kB inactive_file:482948kB unevictable:30852kB isolated(anon):0kB isolated(file):0kB present:3033320kB managed:3024500kB mlocked:30852kB dirty:792kB writeback:0kB mapped:263476kB shmem:336260kB slab_reclaimable:327572kB slab_unreclaimable:16432kB kernel_stack:2352kB pagetables:15512kB unstable:0kB bounce:0kB free_pcp:276kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no [209244.299702] lowmem_reserve[]: 0 0 4964 4964 [209244.299707] Node 0 Normal free:110884kB min:7088kB low:8860kB high:10632kB active_anon:1396700kB inactive_anon:801636kB active_file:1257744kB inactive_file:816372kB unevictable:50124kB isolated(anon):0kB isolated(file):0kB present:5216256kB managed:5083780kB mlocked:50124kB dirty:5184kB writeback:0kB mapped:386888kB shmem:531532kB slab_reclaimable:530400kB slab_unreclaimable:36748kB kernel_stack:4752kB pagetables:28484kB unstable:0kB bounce:0kB free_pcp:148kB local_pcp:28kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no [209244.299717] lowmem_reserve[]: 0 0 0 0 [209244.299723] Node 0 DMA: 3*4kB (U) 4*8kB (U) 3*16kB (U) 3*32kB (U) 3*64kB (U) 1*128kB (U) 0*256kB 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15868kB [209244.299747] Node 0 DMA32: 1733*4kB (UEM) 1266*8kB (UEM) 616*16kB (UEM) 16*32kB (UEM) 2*64kB (EM) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 27556kB [209244.299766] Node 0 Normal: 1025*4kB (UEM) 2108*8kB (UEM) 1996*16kB (UEM) 1227*32kB (UEM) 297*64kB (UEM) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 111172kB [209244.299786] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB [209244.299789] 1049019 total pagecache pages [209244.299792] 542 pages in swap cache [209244.299795] Swap cache stats: add 16476, delete 15934, find 55862/56175 [209244.299798] Free swap = 8206684kB [209244.299801] Total swap = 8265724kB [209244.299804] 2066372 pages RAM [209244.299807] 0 pages HighMem/MovableOnly [209244.299810] 35335 pages reserved [209244.299813] 0 pages hwpoisoned /* Steinar */ -- Homepage: http://www.sesse.net/ -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html