Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!rpi!dali.cs.montana.edu!milton!uw-beaver!ubc-cs!unixg.ubc.ca!ballard From: ballard@ucs.ubc.ca (Alan Ballard) Newsgroups: comp.os.os2.misc Subject: Re: Virtual Memory Page Size Message-ID: <1991May17.171113.11939@unixg.ubc.ca> Date: 17 May 91 17:11:13 GMT References: <9645@cognos.UUCP> Sender: news@unixg.ubc.ca (Usenet News Maintenance) Organization: University of B.C. Computing Services Lines: 28 Nntp-Posting-Host: swiss.ucs.ubc.ca In article <9645@cognos.UUCP> bradc@cognos.UUCP () writes: >Is the virtual memory page size (ie. the unit of swapping) adjustable >under OS/2 (version 1.3) or is it some fixed size such as 64K? OS/2 1.x uses SEGMENTED, not paged, virtual memory. The pieces swapped are the code and data segments as defined by the applications. Using a larger number of smaller data segments might help. Actually, code segments aren't supposed to get swapped, they should be just reloaded from disk as needed, though this may not have worked until 1.3. Smaller code segments will help reduce the disk activity needed to reload them, however. OS/2 2.0 is a PAGED system. Anyone know what the page size is? >We are trying to reduce the page size in an attempt to improve virtual >memory performance. Are you running 1.3, which considerably improved memory performance? Do you have the right MEMMAN options specified in config.sys (SWAP,MOVE,SWAPDOS) -- Alan Ballard | Internet: ballard@ucs.ubc.ca University Computing Services | Bitnet: USERAB1@UBCMTSG University of British Columbia | Phone: 604-822-3074 Vancouver B.C. Canada V6R 1Z2 | Fax: 604-822-5116