home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / misc / 29675 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.9 KB  |  45 lines

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