home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!elroy.jpl.nasa.gov!ucla-cs!ucla-mic!ucla-physics!hsr
- From: hsr@physics.ucla.edu (Harisankar Ramishan)
- Subject: Re: Warning! The file SWAPPER.DAT is full!
- Message-ID: <1992Sep9.224357.19355@physics.ucla.edu>
- Keywords: swap memory csd
- Organization: UCLA Department of Physics
- References: <1992Sep1.065606.24673@leland.Stanford.EDU> <1992Sep2.131728@axion.bt.co.uk>
- Date: Wed, 9 Sep 92 22:43:57 GMT
- Lines: 33
-
- Regards the SWAPPER.DAT is full message:
-
- I was experimenting with the ability of OS/2 to use virtual memory and to
- multitask. The machine was:
-
- A MAXIM 486 (25 MHz) with 8MB RAM and some 40+ MB of free hard disk.
- Microsoft Fortran v5.1 creating 16 bit protected mode executables.
-
- I created an OS/2 executable that did trivial things with a 700 by 700 real
- array (ie, approximately a 2 MB data structure). Worked fine.
-
- Then I created a cmd file that started multiple copies of these in the
- background, to see the execution time (vs number of copies). And what I found
- was that while three of these programs would run concurrently, when I tried
- to run four concurrent copies of the program, I got a message that the
- system was unable to swap and to contact ye friendly IBM support person.
- Had to do a hard restart.
-
- The swapfile size was just some 4 MB. My guess is that the
- system was overwhelmed by the sudden demand of 8 MB of memory from four
- different background programs, and swapped its swapping routine! So it was
- out of luck when time came to use virtual memory. I say this, because I didn't
- have this problem when I created the programs in foreground manually and ran
- them concurrently.
-
- Equally interesting, after running such demanding programs, sysinfo told me
- I had LOTS more free memory. Presumably pieces of the operating system that
- weren't necessary had been unloaded to make room, and now there was more
- empty space as a result.
-
- hari
- hsr@uclaph.physics.ucla.edu
-
-