Re: Memory leak in 3.4.x-rt ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2012/8/24 Ralf Rösch <rtlinux@xxxxxxxxxxxxx>:
> Hi,
>
> we work on our TX4938 (Toshiba Mips, little endian mode) based embedded
> system (motion control)
> running successfully a 3.2 RT patched kernel for month now.
>
> I just give a try to a 3.4 RT patched kernel and detected a memory problem
> as you can see from the logs below:
>
> 3.2 with RT FULL PREEMPT is o.k
> 3.4 without RT FULL PREEMPT is .ok.
> 3.4 with RT FULL PREEMPT is not o.k.
>
> Can anyone give me hint in which direction I could go to detect the problem
> or has anyone else the same problem?
>
> Thanks and regards
> Ralf
>
>
> Linux MCU 3.2.27-rt40-00027-g8fd8396 #36 PREEMPT RT Mon Aug 20 16:21:04 CEST
> 2012 mips GNU/Linux
> [root@MCU:/opt]# watch -n 1 cat /proc/meminfo  | grep MemFree
> MemFree:          216992 kB
> MemFree:          216992 kB
> MemFree:          216944 kB
> MemFree:          216992 kB
> MemFree:          216992 kB
> MemFree:          216992 kB
> MemFree:          216992 kB
>
> uname -a
> Linux MCU 3.4.9-rt17-11244-gb12622a #23 PREEMPT RT Fri Aug 24 12:15:49 CEST
> 2012 mips GNU/Linux
> [root@MCU:/opt]# watch -n 1 cat /proc/meminfo  | grep MemFree
> MemFree:          204304 kB
> MemFree:          204208 kB
> MemFree:          204112 kB
> MemFree:          204064 kB
> MemFree:          203968 kB
> MemFree:          203920 kB
> MemFree:          203824 kB
> MemFree:          203776 kB
>
> uname -a
> Linux MCU 3.4.9-rt17-11244-gb12622a #24 PREEMPT Fri Aug 24 14:15:04 CEST
> 2012 mips GNU/Linux
> [root@MCU:/opt]# watch -n 1 cat /proc/meminfo  | grep MemFree
> MemFree:          222240 kB
> MemFree:          222192 kB
> MemFree:          222192 kB
> MemFree:          222192 kB
> MemFree:          222144 kB
> MemFree:          222144 kB
> MemFree:          222192 kB
> MemFree:          222144 kB
> MemFree:          222192 kB
> MemFree:          222144 kB

You have a big leak (around 100kB/sec), yes, but can you give us more details ?
What kind of application ? Network ? video encoder ?
Which drivers are you using ?
Did you try using some advanced tools in order to check that your
application cannot have a memory leak in a specific use case (race
condition ?) ?
You will need to be more precise on the memory leak detection, because
with what you gave, I (maybe others can) cannot help you more...

Regards,
JM
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux