From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,3bd34b2058874f6e X-Google-Attributes: gid111c93,public From: pjan2@silas.cc.monash.edu.au Subject: Re: Alpha Expertise Date: 1999/10/08 Message-ID: <37FD9798.271EB17D@silas.cc.monash.edu.au>#1/1 X-Deja-AN: 534225702 Distribution: world Content-Transfer-Encoding: 7bit References: <7tirjb$5kj$1@nnrp1.deja.com> To: komarek@andrew.cmu.edu X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@monash.edu.au X-Trace: towncrier.cc.monash.edu.au 939366322 32010 130.194.10.148 (8 Oct 1999 07:05:22 GMT) Organization: Monash Uni Mime-Version: 1.0 NNTP-Posting-Date: 8 Oct 1999 07:05:22 GMT Newsgroups: comp.os.linux.alpha komarekpaul@my-deja.com wrote: ... > One test I'd like to run is how the algorithm performs while > swapping (I'm trying to make this research _useful_). I want to force a > particular process to limit its physical memory (RSS is close enough, or > whatever else you might suggest for the DATA area) to something well > below the 4GB in the machine, for example 64MB. ... You can limit the total amount of memory available by using the csh command ulimit(1) . Try "ulimit -m 65536" to get 64MB for all the processes started from that shell. However, you really want to limit the physical amount of memory that your computer uses, so that it will be forced to swap. This requires you to set some (undocumented) variable at the firmware level (can't remember what it's called ...) and power cycle the machine, which you say is infeasible. Can't you just find yourself a crappy old PC for this job?! Paul