To: | |
---|---|
Subject: | [ts-7000] Re: Only half of RAM available? |
From: | "Julien" <> |
Date: | Wed, 09 May 2007 12:54:38 -0000 |
Hi 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 ? - 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 ? Is it linked to the "mlockall" command that I currently use in my program ? mlockall(MCL_CURRENT | MCL_FUTURE); Thanks for any help, I'm a bit lost... and I really need all the memory for my application. Regards. Julien --- 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. > __._,_.___
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe __,_._,___ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: new Cirrus Logic Linux release, raaku66 |
---|---|
Next by Date: | [ts-7000] some instructions for linux-2.6.20.6, Christopher Friedt |
Previous by Thread: | [ts-7000] TS-9420, Christopher Friedt |
Next by Thread: | Re: [ts-7000] Re: Only half of RAM available?, Eddie Dawydiuk |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU