linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Ram Disk
@ 2000-08-24 19:12 Julia Elbert
  2000-08-24 22:04 ` Jacob Chen
  0 siblings, 1 reply; 4+ messages in thread
From: Julia Elbert @ 2000-08-24 19:12 UTC (permalink / raw)
  To: 'linuxppc-embedded@lists.linuxppc.org'


Hi All,

I am running a 7mg ram disk in my 860t. I have multiple programs I start
through linuxrc. I am streaming video, serial data, and running a web server
on various sockets. The webserver is GoAhead. When I click on a cgi script
my system crashes with

Software Emulation Web/62 NIP: 1009a014 *NIP: 0x0 code: ffffffdaSoftware
Emulati
on linuxrc/6 NIP: 1009a014 *NIP: 0x0 code: ffffffdasash-2.03#

Am I running out of ram? I have 16 mgs.

Thanks in advance....
--Julia

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread
* RE: Ram Disk
@ 2000-09-20 15:58 Julia Elbert
  0 siblings, 0 replies; 4+ messages in thread
From: Julia Elbert @ 2000-09-20 15:58 UTC (permalink / raw)
  To: 'jari.nguyen@serialsystem.com.sg'
  Cc: 'linuxppc-embedded@lists.linuxppc.org'


Hi,
Hi Jari,
Maybe you were talking to Jacob? Hmmm.
I have posted this already. Look at 8/24. But here you go and feel free to
post it again if you like.
Thanks,
Julia

>From John's note my code change was as follows:
I moved a close comment down 5 lines.

lines 405 - 409 commented out in linux/mm/vmscan.c

/* Then, try to page stuff out..
		while (swap_out(priority, gfp_mask)) {
			if (!--count)
				goto done;
		}
*/

John wrote:

In *my* code (I am running a modified 2.2.15 kernel), I merely commented out
the "swap_out ()" code in routine do_try_to_free_pages in mm/vmscan.c (in my
code, it's lines 405-409).  Since I made this change, my system has been
rock-steady (and I run a LOT of applications, including the Apache web
server and various CGI scripts I have written).  I now see free memory go
down as new images are read from the ramdisk, and back up as memory is freed
by the system.
Hope this helps your problem...
John Whitney


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-09-20 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-24 19:12 Ram Disk Julia Elbert
2000-08-24 22:04 ` Jacob Chen
2000-09-19  3:13   ` thanh
  -- strict thread matches above, loose matches on Subject: below --
2000-09-20 15:58 Julia Elbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).