Hello,
> I know that it's an (very) old thread, but I meet the same problem.
> I use a TS7200 (with TS8), and my program creates huge table of
> structure (more than 8MB). The result is that the message
> "__alloc_pages: 0-order allocation failed" appears...whereas about 10MB
> are always free.
> total used free
> shared buffersMem: 28684 17816
> 10868 0 32
>
> I have some questions about this, maybe someone will be able to help me
> :
> - I use TS8 (with adeos patch & RTAI), I read that there were bugs
> regarding "OOM linux killer" with kernel 2.4, and that these bugs seem
> to be fixed with TS10. Does my problem come from this ? Will it be fixed
> if I use TS10 ?
Yes, the memory allocation bug was present in ts8. The ts10 kernel has a
fix for this bug.
You'll find these questions are addressed in the following thread.
http://tech.groups.yahoo.com/group/ts-7000/message/1983
> - Why the other half of 16MB memory doesn't seem to be used ? I
> understand that the first part is full with linux and my program, but
> why does it not switch automaticly to the other free half ?
There was a bug with regard to memory allocation...
--
Best Regards,
______________________________________________________________
Eddie Dawydiuk, Technologic Systems | voice: (480) 837-5200
16610 East Laser Drive Suite 10 | fax: (480) 837-5300
Fountain Hills, AZ 85268 | web: www.embeddedARM.com
> --- In "appassionata6" <>
> wrote:
>>
>> I am experimenting with a TS-7200 with 32MB RAM, and a TS-7250 with
>> 64MB of RAM. Both boards are prone to, at times, emitting tons of
>> messages like:
>>
>> __alloc_pages: 0-order allocation failed (gfp=0x1d2/0)
>>
>> This has been discussed here before. The boards are running out of
>> memory, of course. This happens always with apt-get. If I use a USB
>> swap partition and it doesn't happen.
>>
>> The strange thing is, I noticed that the allocation failed messages
>> seem to happen when RAM is only half full. This is my TS-7200 while
>> failing:
>>
>>
>> total used free shared buffers
> cached
>> Mem: 28712 17768 10944 0 0
> 1636
>> -/+ buffers/cache: 16132 12580
>> Swap: 0 0 0
>>
>> and this is my TS-7250:
>>
>> total used free shared buffers
> cached
>> Mem: 60752 31976 28776 0 0
> 16768
>> -/+ buffers/cache: 15208 45544
>> Swap: 0 0 0
>>
>> Is it really the case that I am only able to access half of the RAM?
>> Does anyone understand what's happening here?
>>
>> Please help! Thanks,
>>
>> Derek Dolney
>> Micromeritics Instrument Corp.
>>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|