home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!know!mips2!news.bbn.com!usc!cs.utexas.edu!sun-barr!ames!pacbell.com!att-out!oucsboss!oucsace!dneedham
- From: dneedham@oucsace.cs.ohiou.edu (Douglas Wade Needham)
- Newsgroups: comp.unix.aix
- Subject: Re: Virtual Memory curiosity
- Keywords: VM overflow response
- Message-ID: <1992Nov13.034308.8602@oucsace.cs.ohiou.edu>
- Date: 13 Nov 92 03:43:08 GMT
- References: <bmarlowe.721422470@ka> <BxM5C5.Jyw@csn.org>
- Distribution: usa
- Organization: Ohio University CS Dept,. Athens
- Lines: 41
-
-
- In <BxM5C5.Jyw@csn.org> losburn@teal.csn.org (Lynn Osburn) writes
-
- >>I've heard rumor that AIX will pick processes to kill off to avoid
- >>running out of virtual memory? Can anyone verify this and if this is
- >>true a) is there a way to disable this "feature" and b) what idiot
- >>decided that randomly killing processes was a good idea??!!
-
- >True in v3.1.x
-
- >False in v3.2.x
- >In 3.2, he just picks the larger process(es) and puts them to sleep (and
- >swaps them) for a while until things improve. A much better solution to
- >the problem, eh?
-
- [A medieval buff puts his armour on <|O ]
-
- Excuse me!? Am I missing something here on the v3.2 remark? In the
- 10+ years of dealing with UN*X and other OSs with virtual memory (VM),
- VM was always RAM and swap space **TOGETHER** (ignoring demand
- paging). Now unless IBM has come up with a new trick, how are we
- going to sleep and swap a process if VM (and therefore swap space) was
- running low. The way I would figure it, that is like saying that "I
- am bleeding from a wound, I'll shoot myself to cure it". The method
- is used by many VM swappers to free up RAM for processes.
-
- Now here is one for thought...look for an executable that is swapped, flush
- the text from the swap space (since it is supposedly read-only, and therefore
- reproducable), and then mark the pages as not having been loaded. After that,
- leave it to demand paging to pull it back in again. Then you can think of it
- as a secondary swap with larger overhead. 8)
-
- [Ready!!! Lay on!!!]
-
- >-oz
-
- - douglas wade needham
- --
- Email: dneedham@oucsace.cs.ohiou.edu
- USnail: 2330 South Clinton Street, Fort Wayne,IN 46803
- Phone: (219)455-4004 (office) (219)456-1420 (home)
-