@
wolfgar, I have some problem with the memory allocation. So far I saw I applied all needed patches, but afer some time watching I get memory issue
Code:
imx-ipuv3 imx-ipuv3.1: [0xe9e6b400]Falied Alloc vditmpbuf[0]
ipu2_task: page allocation failure: order:4, mode:0x40d0
[<8004ae80>] (unwind_backtrace+0x0/0xf8) from [<800c7c60>] (warn_alloc_failed+0xcc/0x10c)
[<800c7c60>] (warn_alloc_failed+0xcc/0x10c) from [<800ca140>] (__alloc_pages_nodemask+0x4b0/0x704)
[<800ca140>] (__alloc_pages_nodemask+0x4b0/0x704) from [<800ca3a4>] (__get_free_pages+0x10/0x24)
[<800ca3a4>] (__get_free_pages+0x10/0x24) from [<803cde18>] (do_task+0xa84/0x16dc)
[<803cde18>] (do_task+0xa84/0x16dc) from [<803ceab8>] (get_res_do_task+0x48/0x5b8)
[<803ceab8>] (get_res_do_task+0x48/0x5b8) from [<803cf6e8>] (ipu_task_thread+0xe0/0xb30)
[<803cf6e8>] (ipu_task_thread+0xe0/0xb30) from [<80091db8>] (kthread+0x80/0x88)
[<80091db8>] (kthread+0x80/0x88) from [<80044b78>] (kernel_thread_exit+0x0/0x8)
Mem-info:
DMA per-cpu:
CPU 0: hi: 90, btch: 15 usd: 0
CPU 1: hi: 90, btch: 15 usd: 0
CPU 2: hi: 90, btch: 15 usd: 0
CPU 3: hi: 90, btch: 15 usd: 0
Normal per-cpu:
CPU 0: hi: 186, btch: 31 usd: 0
CPU 1: hi: 186, btch: 31 usd: 60
CPU 2: hi: 186, btch: 31 usd: 0
CPU 3: hi: 186, btch: 31 usd: 0
HighMem per-cpu:
CPU 0: hi: 90, btch: 15 usd: 0
CPU 1: hi: 90, btch: 15 usd: 15
CPU 2: hi: 90, btch: 15 usd: 0
CPU 3: hi: 90, btch: 15 usd: 0
active_anon:14712 inactive_anon:437 isolated_anon:0
active_file:1488 inactive_file:11425 isolated_file:0
unevictable:0 dirty:1 writeback:0 unstable:0
free:64915 slab_reclaimable:808 slab_unreclaimable:2088
mapped:6660 shmem:527 pagetables:341 bounce:0
DMA free:5464kB min:616kB low:768kB high:924kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:186944kB 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 writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
lowmem_reserve[]: 0 1244 1593 1593
Normal free:7656kB min:4212kB low:5264kB high:6316kB active_anon:0kB inactive_anon:0kB active_file:104kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:1274048kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:3232kB slab_unreclaimable:8352kB kernel_stack:984kB pagetables:1364kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 2794 2794
HighMem free:246540kB min:348kB low:640kB high:936kB active_anon:58848kB inactive_anon:1748kB active_file:5848kB inactive_file:45800kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:357632kB mlocked:0kB dirty:4kB writeback:0kB mapped:26640kB shmem:2108kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 4*4kB 19*8kB 21*16kB 21*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 1*4096kB 0*8192kB 0*16384kB 0*32768kB = 5464kB
Normal: 344*4kB 289*8kB 190*16kB 31*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB 0*8192kB 0*16384kB 0*32768kB = 7720kB
HighMem: 1293*4kB 671*8kB 420*16kB 227*32kB 107*64kB 51*128kB 17*256kB 11*512kB 2*1024kB 2*2048kB 1*4096kB 1*8192kB 1*16384kB 5*32768kB = 246540kB
13471 total pagecache pages
0 pages in swap cache
Swap cache stats: add 0, delete 0, find 0/0
Free swap = 0kB
Total swap = 0kB
524288 pages of RAM
65219 free pages
73505 reserved pages
1615 slab pages
15361 pages shared
0 pages swap cached
imx-ipuv3 imx-ipuv3.1: [0xe9e6b200]Falied Alloc vditmpbuf[0]
mxc_ipu mxc_ipu: ERR: [0xe9e6be00] no-0x43120, timeout:4020ms!
mxc_ipu mxc_ipu: ERR: no-0x43120,ipu_queue_task err:-110
mxc_v4l2_output mxc_v4l2_output.0: display work fail ret = -110
mxc_ipu mxc_ipu: ERR:[0xe9e6be00] no-0x43120, split_task timeout,j:3,size:4.
mxc_ipu mxc_ipu: ERR:ipu[0] busy_vf:1, busy_pp:0.
mxc_ipu mxc_ipu: ERR:ipu[1] busy_vf:0, busy_pp:0.
mxc_ipu mxc_ipu: ERR: sp_task[0][0xe9e6b200] no-0x4312a done:0,state:ok,on_list:0, ipu:0x80d78960,timeout!
mxc_ipu mxc_ipu: ERR: sp_task[1][0xe9e6b400] no-0x43129 done:0,state:ok,on_list:0, ipu:0x80d78960,timeout!
mxc_ipu mxc_ipu: ERR: sp_task[2][0xe9e6ae00] no-0x43126 done:0,state:wait resource timeout,on_list:0, ipu:0x (null),timeout!
mxc_ipu mxc_ipu: ERR: sp_task[3][0xe9e6a600] no-0x43125 done:0,state:ok,on_list:0, ipu:0x80d78960,timeout!
Physical memory allocation error!
Physical memory allocation error!
[root@matrixtv ~]# free
total used free shared buffers
Mem: 1803132 1534668 268464 0 424
-/+ buffers: 1534244 268888
Swap: 0 0 0
there seems to be some memory leak (looks like with the ipu):
Code:
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1049940 753192 0 4484
-/+ buffers: 1045456 757676
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1055956 747176 0 4484
-/+ buffers: 1051472 751660
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1057872 745260 0 4484
-/+ buffers: 1053388 749744
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1062928 740204 0 4484
-/+ buffers: 1058444 744688
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1064916 738216 0 4484
-/+ buffers: 1060432 742700
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1066772 736360 0 4484
-/+ buffers: 1062288 740844
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1068744 734388 0 4484
-/+ buffers: 1064260 738872
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1070804 732328 0 4484
-/+ buffers: 1066320 736812
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1072136 730996 0 4484
-/+ buffers: 1067652 735480
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1082252 720880 0 4484
-/+ buffers: 1077768 725364
Swap: 0 0 0
[root@matrixtv /]# free
total used free shared buffers
Mem: 1803132 1084048 719084 0 4484
-/+ buffers: 1079564 723568
Swap: 0 0 0
edit: changed my wording, sorry