Subject: Re: killed: out of swap
To: Michal Pasternak <michal@pasternak.w.lub.pl>
From: =?iso-8859-1?q?Vesbula?= <vesbula@yahoo.co.uk>
List: netbsd-help
Date: 01/04/2004 01:59:23
> So add more RAM and optimize the code so it uses
> less memory! Process your
> data in chunks, don't allocate more RAM than it's
> needed...

Yes, I will most likely add more RAM.

> I may be totally wrong here, but "biowait" state and
> low CPU utilization
> doesn't look for me equal as "app is paging and got
> terribly slowed down"
> (sorry, don't have NetBSD box to test this) --
> propably the problem lies
> somewhere else.

Believe it or not, that is the case here.

> Are we talking about some particular application,
> that exists? What is it?
> 
> Can you break it while it's in "biowait" state and
> send the gdb backtrace?
> 
> What is the language the application is written in?
> 
> What is the compiler? What is it's version?
> 
> What is your architecture, what is your NetBSD
> version, do you use pthreads
> or pth?
> 
> What are you doing? Why are you doing it that
> particular way?
> 
> We can't go any further without you explaining some
> basic things. At least I
> can't.

Actually, I was looking to make UVM work differently,
and not to change my program. I use 1.6ZG on i386.

> You can find generic information about NetBSD tuning
> at
> 
> 	http://www.netbsd.org/Documentation/tune/

That is exactly what I try to do. For example, how to
change amount of memory for buffering files to zero.

________________________________________________________________________
Yahoo! Messenger - Communicate instantly..."Ping" 
your friends today! Download Messenger Now 
http://uk.messenger.yahoo.com/download/index.html