[comp.unix.microport] Help! 386 v 286 swap/page activity

john@anasaz.UUCP (John Moore) (01/25/89)

We have a data communications application running on 286 microport 2.2
and 386 microport. Both machines have 4 megabytes of RAM. However, the
386 machine seems to spend a lot of time paging and swapping when
running the application, while the 286 does none - it just runs with
everything in core. Also, using ps -l to look at process sizes,
the 386 application is 2.7 megabytes while the same application on
286 is only .7 megabytes. Using "size" to look at the binaries
shows that they are about the same size on both machines. 

A test was run to see how small a process could be made. A trivial
program:
  main()
  { int i ; i++ ; }

was built and found by "size" to occupy 28 bytes. However, ps -l
showed it to be 80K (a value of 20 in the SZ field) on the 386.

What is going on? Microport tech support didn't seem able to really
understand the question, so I'm asking the net.

   Thanks in advance for help.

   Please post responses - others may be interested. 


-- 
John Moore (NJ7E)           {decvax, ncar, ihnp4}!noao!nud!anasaz!john
(602) 861-7607 (day or eve) {gatech, ames, rutgers}!ncar!...
The opinions expressed here are obviously not mine, so they must be
someone else's. :-)