home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 14 Text / 14-Text.zip / wp21perf.inf (.txt) < prev    next >
OS/2 Help File  |  1993-07-13  |  27KB  |  660 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Version Notice ΓòÉΓòÉΓòÉ
  3.  
  4. Information 
  5.  
  6. Copyright International Business Machines Corporation 1993. All rights 
  7. reserved. 
  8. Note to U.S. Government Users Documentation related to restricted rights Use, 
  9. duplication or disclosure is subject to restrictions set forth in GSA ADP 
  10. Schedule Contract with IBM Corp. 
  11.  
  12.  
  13. ΓòÉΓòÉΓòÉ 2. Trademarks referenced ΓòÉΓòÉΓòÉ
  14.  
  15. The following products are referenced in the document: 
  16.  
  17. o OS/2, Personal Systems/2, PS/2 and Micro Channel are registered trademarks of 
  18.   the International Business Machines Corporation 
  19. o Presentation Manager and WIN-OS/2 are trademarks of the International 
  20.   Business Machines Corporation 
  21. o Intel is a registered trademark of the Intel Corporation 
  22. o Microsoft and Microsoft Windows are registered trademarks of Microsoft 
  23.   Corporation 
  24.  
  25. This paper is designed to provide information on improvments in the OS/2 2.1 
  26. release. It contains details of the performance improvements incorporated since 
  27. OS/2 2.0. 
  28.  
  29. System Requirements Section 1 covers system requirements. 
  30.  
  31. The Graphics Subsystem Section 2 contains information on the changes made in 
  32. the graphics sub-system. 
  33.  
  34. Video Display DriversSection 3 contains information on video display drivers, 
  35. including new support. 
  36.  
  37. WIN-OS/2 Section 4 explains the enhancements made in WIN-OS/2, including 
  38. seamless support, clipboard and DDE, and the new settings available. 
  39.  
  40. General Performance OptimizationsSection 5 covers general system performance 
  41. optimizations. 
  42.  
  43. Memory reduction items are covered in Memory ReductionSection 6 
  44.  
  45. VDMSection 7 covers VDM support and customization of the AUTOEXEC.BAT. 
  46.  
  47. OtherSection 8 covers the other areas of performance improvements, including 
  48. printing and communication support. 
  49.  
  50. Installation changes are covered in InstallationSection 9 
  51.  
  52.  
  53. ΓòÉΓòÉΓòÉ 3. Introduction ΓòÉΓòÉΓòÉ
  54.  
  55. OS/2 version 2.1 continues the OS/2 product line. The main objective for this 
  56. release were to provide Windows 3.1 application support, to incorporate all 
  57. service fixes, to continue migrating OS/2 components to 32-bit, to increase 
  58. function and to provide additional display driver support. The fol lowing 
  59. information applies to the final release of OS/2 2.1. The information covered 
  60. pertains to performance improvements made for this release, and functional 
  61. changes that affect performance. This document covers many of the changes, but 
  62. not all the changes and improvements that went into OS/2 2.1. Other 
  63. documentation is available that contains information on all aspects of this 
  64. release, and this document should not be viewed as containing all changes made 
  65. since release 2.0. 
  66.  
  67.  
  68. ΓòÉΓòÉΓòÉ 4. System Requirements ΓòÉΓòÉΓòÉ
  69.  
  70. The system requirements have changed little from OS/2 2.0. The memory 
  71. requirement for OS/2 2.1 is similar to the memory requirement for OS/2 2.0. The 
  72. DASD requirement has increased about 7MB, depending on the installation options 
  73. selected. 
  74.  
  75.  
  76. ΓòÉΓòÉΓòÉ 4.1. Hardware Configurations for OS/2 ΓòÉΓòÉΓòÉ
  77.  
  78. 2.1 
  79.  
  80. OS/2 2.0 is designed for personal computers with the following minimum 
  81. requirements: 
  82.  
  83. o Intel (or compatible) 80386SX microprocessor 
  84. o 4MB of memory 
  85. o 60MB hard disk with 20-40 MB of free disk space 
  86. o 2-button mouse or other pointing device 
  87.  
  88. It is recommended that systems should have a minimum of 6 megabytes of memory 
  89. for good performance. 
  90.  
  91.  
  92. ΓòÉΓòÉΓòÉ 4.2. WIN-OS/2 DASD Requirements ΓòÉΓòÉΓòÉ
  93.  
  94. In OS/2 version 2.1, Windows support can be installed on a partition different 
  95. from the partition where OS/2 is installed. This will allow moving some of the 
  96. disk space requirement to another partition. While the same amount of disk 
  97. space is required in total, this feature allows flexibility when available 
  98. space on the install partition is limited. The total is approximately 8MB of 
  99. DASD. See the installation guide for more information. 
  100.  
  101.  
  102. ΓòÉΓòÉΓòÉ 5. The Graphics Subsystem ΓòÉΓòÉΓòÉ
  103.  
  104. In OS/2 2.1, the graphics engine was rewritten from assembler using the 32-bit 
  105. IBM C Set/2 compiler. In addition to being a fully 32-bit engine, many graphics 
  106. operations were enhanced for better performance. The 32-bit engine uses more 
  107. memory than the 16-bit version, so effort was made to optimize the memory usage 
  108. of the 32-bit graphics engine for both the Workplace Shell and graphical 
  109. applications. Frequently used functions and routines in the graphics engine 
  110. were tuned and linked together to minimize the system working set. This process 
  111. is referred to as page tuning. The performance items for the OS/2 graphics 
  112. subsystem are listed as follows: 
  113.  
  114. o Conversion to 32-bit 
  115.  
  116.   The conversion of the engine to 32-bit has the following advantages:, 
  117.  
  118.    - The flat memory model, eliminating segmentation overhead. 
  119.    - Allows optimization of 32-bit presentation drivers. 
  120.    - Eliminates the conversion (thunk) overhead between the graphics engine and 
  121.      the 32-bit components in the system. 
  122.    - Eliminates thunking in graphics calls from 32-bit applications. 
  123.  
  124. o Palette Manager Support so applications can share access to the hardware 
  125.   color table. 
  126.  
  127. o New APIs (GPIPolygons) were added for faster and easier application 
  128.   development. 
  129.  
  130. o Page tuning to reduce memory requirements 
  131.  
  132.  
  133. ΓòÉΓòÉΓòÉ 6. Video Display Drivers ΓòÉΓòÉΓòÉ
  134.  
  135. Both presentation manager display drivers, and WIN-OS/2 display drivers have 
  136. been changed to provide additional function and improve performance. 
  137.  
  138.  
  139. ΓòÉΓòÉΓòÉ 6.1. Presentation Manager Display Drivers ΓòÉΓòÉΓòÉ
  140.  
  141. The Presentation Manager display drivers have several performance enhancements. 
  142. By display driver, they are listed here: 
  143.  
  144. o VGA driver 
  145.  
  146.   The new VGA driver is 32-bit. It has the advantages of 32-bit code, but, from 
  147.   the viewpoint of performance, it has some improvement over the 16-bit 
  148.   version. 
  149.  
  150. o XGA driver 
  151.  
  152.   The XGA driver was also converted to 32-bit. It has visible performance 
  153.   improvement over its 16-bit counterpart. The XGA driver also makes use of the 
  154.   new hardware features of the latest XGA-2 display adapter. It provides 
  155.   non-interlace support, takes advantage of the external polling capability, 
  156.   and can display up to 64K colors in low resolution modes (640 x 480, 640 x 
  157.   400). 
  158.  
  159. o SVGA driver 
  160.  
  161.   There was no SVGA support supplied in OS/2 2.0. In OS/2 2.1, several SVGA 
  162.   chip sets are supported. The drivers are 32-bit. Performance comparisons 
  163.   between OS/2 2.1 and OS/2 2.0 with generic 16-bit drivers (available from 
  164.   venders) shows that OS/2 2.1 with SVGA is visibly faster. OS/2 2.1 supports 
  165.   the following SVGA chip sets: 
  166.  
  167.    - ATI Technologies Inc., VGA Wonder XL (Rev. 2.0 or higher). 
  168.    - Headland Technology Inc., Video Seven, Chip Type: HT209. 
  169.    - Trident Microsystems, VGA Card, Chip Type: TVGA 8900B and TVGA 8900C. 
  170.    - Tseng Laboratories, Chip Type: ET4000. 
  171.    - Western Digital Corporation, Paradise, Chip Type: WD90C00, WD90C11, 
  172.      WD90C30, and WD90C31. 
  173.    - Cirrus Logic Inc., Chip Type: CL-GD542X, family 5422 & 5424. 
  174.    - IBM Corp., Chip Type: IBM VGA 256c 
  175.  
  176.   The default driver during installation is VGA driver (640 x 480 x 16 colors). 
  177.   The resolution may be changed by installing the drivers for the desired 
  178.   resolution. 
  179.  
  180.   At least 0.5 MB VRAM is needed to install the SVGA drivers. At 0.5 MB VRAM, 
  181.   only the OS/2 SVGA resolution of 640 x 480 x 256 colors is supported. Both 
  182.   the 1024 x 768 x 256 colors and 800 X 600 X 256 colors resolutions require 1 
  183.   MB VRAM. 
  184.  
  185. o 8514 driver 
  186.  
  187.   The 8514 PM display driver support has been converted to 32-bit. Its 
  188.   performance is better than the 16-bit version. 
  189.  
  190.  
  191. ΓòÉΓòÉΓòÉ 6.2. WIN-OS/2 Display Drivers ΓòÉΓòÉΓòÉ
  192.  
  193. o Seamless Support (WIN-OS/2) 
  194.  
  195.   WIN-OS/2 display drivers have been improved for both performance and 
  196.   functionality. WIN-OS/2 display drivers are automatically copied at install 
  197.   time (if WIN-OS/2 is installed) for the display type selected at 
  198.   installation. WIN-OS/2 is available in full screen or seamless (windowed) 
  199.   sessions. Seamless support is provided in the display device driver, and that 
  200.   support has expanded. In version 2.0, only the VGA display driver provided 
  201.   seamless support. All other display drivers supported WIN-OS/2 in full screen 
  202.   only. In version 2.1, VGA, XGA, SVGA and 8514 display drivers shipped with 
  203.   OS/2 support seamless execution for WIN-OS/2. 
  204.  
  205. o Code Path Reduction p. Code paths have been reduced to improve the overall 
  206.   performance of the WIN-OS/2 display drivers, in both full screen and seamless 
  207.   modes. 
  208.  
  209.  
  210. ΓòÉΓòÉΓòÉ 7. WIN-OS/2 ΓòÉΓòÉΓòÉ
  211.  
  212. A significant enhancement provided in OS/2 2.1 is the support for Windows 3.1 
  213. applications. Performance of WIN-OS/2 has also been substantially improved. A 
  214. new mode called Enhanced Compatibility Mode enables a number of Windows 3.1 
  215. enhanced mode applications to run. 
  216.  
  217. The Clipboard and DDE support has been redesigned, including virtual rendering 
  218. of clipboard data. Several enhancements were made to display drivers. 
  219.  
  220.  
  221. ΓòÉΓòÉΓòÉ 7.1. Enhanced Mode Compatibility ΓòÉΓòÉΓòÉ
  222.  
  223. In OS/2 2.0, support was provided in WIN-OS/2 3.0 to enable Windows 3.0 
  224. applications to run in standard and real modes. In OS/2 2.1, the support has 
  225. been upgraded to support standard and enhanced modes for Windows applications. 
  226.  
  227. The Enhanced Mode Compatibility enables running a number of Windows 3.1 
  228. enhanced mode applications under OS/2 2.1. It is important to realize that this 
  229. is not an implementation of Windows 3.1 enhanced mode, but a mode specific to 
  230. WIN-OS/2 3.1. This illustrates the flexibility of OS/2 and its power in 
  231. blending different application environments into an integrated platform. The 
  232. major benefit to Windows 3.1 users of enhanced mode was virtual memory, which 
  233. OS/2 users had since OS/2 2.0. Like the previous WIN-OS/2, a special VDD is 
  234. provided to emulate a DPMI server. The WIN-OS/2 3.1 kernel is loaded into the 
  235. VDD to directly service the requests of Windows applications running in that 
  236. VDM. To preserve the integrity of the system and avoid having duplicate virtual 
  237. device drivers (one running on top of the other), the WIN-OS/2 Enhanced Mode 
  238. Compatibility does not use the Windows enhanced mode virtual device drivers 
  239. (VxDs). As a result, Windows 3.1 applications which access VxDs will not run in 
  240. the WIN-OS/2 3.1 Enhanced Compatibility Mode. Windows applications requiring 
  241. real mode to execute, will only be supported in the 2.0 version of WIN-OS/2. 
  242.  
  243. An application can be set up to run in the Enhanced Compatibility Mode by 
  244. setting the WIN_RUNMODE to "3.1 Enhanced Compatibility Mode". This setting can 
  245. be found in the Settings notebook for the application object. 
  246.  
  247. Enhanced Compatibility mode sessions can be started from an OS/2 or DOS command 
  248. line by typing WINOS2 /E or WINOS2 /3. To start an application to run in the 
  249. Enhanced Compatibility mode, (for example hello.exe), you would type WINOS2 /3 
  250. hello.exe. 
  251.  
  252. The enhancements made to WIN-OS/2 are as follows: 
  253.  
  254. OS2K386.EXE 
  255.  
  256. This new WIN-OS/2 3.1 (OS2K386.EXE) kernel replaces the OS2/2 2.0 
  257. (OS2K286.EXE). It has all the functionality of the Windows 3.1 kernel 
  258. (KRNL386.EXE). This kernel provides memory, program loading and scheduling for 
  259. WIN-OS/2 3.1. It uses the DPMI interface for memory and interrupt management. 
  260. It executes in full screen and seamless modes, using the current VDM 
  261. architecture with DOS emulation. 
  262.  
  263. OS2USER.EXE 
  264.  
  265. This kernel is similar to the Windows 3.1 USER.EXE with all the seamless 
  266. support code ported from the WIN-OS/2 3.0 USER.EXE. The kernel contains the 
  267. user interface and windowing parts of Windows 3.1. 
  268.  
  269. OS2GDI.EXE 
  270.  
  271. This kernel is similar to Windows 3.1 GDI.EXE. The kernel contains the graphics 
  272. device interface with the palette management code ported from WIN-OS/2 3.0. The 
  273. print spooler mapping that eliminates double spooling by Windows applications 
  274. has also been ported from WIN-OS/2 3.0. 
  275.  
  276. SESMGR.DLL 
  277.  
  278. Two new program types have been added to the session manager to support Windows 
  279. 3.1 standard mode: 
  280.  
  281. o PROG_31_STDSEAMLESSVDM - Windows 3.1 program which will execute in its own 
  282.   windowed and WIN-OS/2 session. 
  283. o PROG_31_STDSEAMLESSCOMMON - Windows 3.1 program which will execute in a 
  284.   common windowed and WIN-OS/2 session. 
  285.  
  286. OS2KRNL 
  287.  
  288. A new return value to DosQAppType is used to determine the Windows version (3.0 
  289. or 3.1) of the application. This value is used in the migration of Windows 
  290. applications to the appropriate common VDM. 
  291.  
  292. Workplace Shell 
  293.  
  294. The Session page of WIN-OS/2 objects has been changed to enable the shell to 
  295. detect if WIN-OS/2 3.1 is installed and display the updated session. 
  296.  
  297.  
  298. ΓòÉΓòÉΓòÉ 7.2. Other WIN-OS/2 Improvements ΓòÉΓòÉΓòÉ
  299.  
  300. WIN-OS/2 Setup Icon 
  301.  
  302. Settings for WIN-OS/2 sessions can be changed globally, using the WIN-OS/2 
  303. Setup icon found in the System Setup folder. Settings can also be changed for 
  304. specific sessions, using the application settings notebook. Changes to the 
  305. WIN-OS/2 Setup icon will change all Windows applications that start after the 
  306. change is made. The WIN-OS/2 Setup settings will not override  any custom 
  307. values set for applications. This allows changing settings easier for multiple 
  308. Windows applications. 
  309.  
  310. CLIPBOARD and DDE 
  311.  
  312. Both Clipboard and DDE have undergone major redesign since OS/2 2.0. Most 
  313. noticeable is the user interface and the method in which data is exchanged 
  314. between VDM's. Under WIN-OS/2 3.1, clipboard and DDE agents are no longer 
  315. executables. They have been implemented as DLLs that are loaded by their 
  316. respective "Shields". The windows shield (winsheld.exe) loads "winsdde.dll" and 
  317. "winsclip.dll", while the PM shield (pmviop.dll) loads "pmdde.dll" and 
  318. "pmclip.dll". The settings for making clipboard and DDE globally public (that 
  319. is, DDE is exported outside of the PM session) are now to be found in the 
  320. "WIN-OS2 Setup" object. This object is typically found in the "System Setup" 
  321. object, which in turn is found in the "OS/2 System" folder. 
  322.  
  323. Virtual rendering of clipboard data was added in this redesigned clipboard. 
  324. This means that data conversions only take place if the client requests the 
  325. clipbaord data in a different data format) In OS/2 2.1 data placed in the 
  326. clipboard (cut or copied) was converted in all supported formats 'just in case' 
  327. it was asked for in a different format. While this improved the paste time, 
  328. that time and memory used at cut/copy time overshadowed the savings to paste. 
  329. The new design requires less memory, resulting in the ability to cut/copy 
  330. larger items. 
  331.  
  332. In general, changes that were made to the clipboard and DDE include: 
  333.  
  334. o PMCLIP.DLL replaces CLIPOS2.EXE (CLIPOS2.EXE is now just a viewer). 
  335. o PMDDE.DLL replaces PMDDE.EXE. 
  336. o WINSCLIP.DLL replaces CLIPWOS2.EXE (CLIPWOS2.EXE is now obsolete). 
  337. o WINSDDE.DLL replaces DDEAGENT.EXE. 
  338. o VWIN.SYS replaces VDMSERVER.EXE. 
  339.  
  340. The settings that change the clipboard and DDE from public to private are 
  341. WIN_DDE and WIN_CLIPBOARD. Additional information can be found in Appendix A. 
  342. Settings 
  343.  
  344. PMVIOP.DLL 
  345.  
  346. This DLL has been modified to support the new clipboard and DDE settings. 
  347.  
  348. Compiler Change 
  349.  
  350. Three components of WIN-OS/2 have been changed to be compiled using the Watcom 
  351. Compiler. This provided a significant performance improvement for WIN-OS/2 
  352. sessions. The components are USER.EXE, GDI.EXE and WINSHELD.EXE. 
  353.  
  354. DPMI Memory 
  355.  
  356. Changes have been made in DPMI so that the Windows applications get access to 
  357. only the memory required to execute their application. This change was made by 
  358. having the DPMI layer only provide the memory requested by the applications, 
  359. rather than providing all the memory allocated for the session. The default 
  360. DPMI memory allocated to a WIN-OS/2 session has been changed to 64MB (from 
  361. 4MB). This allows better used of system memory while providing access to large 
  362. amounts of memory when needed. 
  363.  
  364. New Settings for WIN-OS/2 
  365.  
  366. There are two new settings for WIN-OS/2 3.1. They are WIN_RUNMODE and 
  367. DOS_AUTOEXEC. WIN_RUNMODE changes the mode from enhanced to standard. 
  368. DOS_AUTOEXEC is used to specify a specific AUTOEXEC.BAT file for a session or 
  369. application. The appendix contains additional information. 
  370.  
  371. Support for Windows 3.1 Printer Drivers 
  372.  
  373. The additional support for Enhanced Mode Windows application also makes it 
  374. possible to use printer drivers designed for that level of support. These 
  375. drivers are primarily for the newer high end printers. 
  376.  
  377.  
  378. ΓòÉΓòÉΓòÉ 8. General Performance Optimizations ΓòÉΓòÉΓòÉ
  379.  
  380. Swap File Compaction 
  381.  
  382. If the swap file extends beyond the initial size specified, OS/2 starts to 
  383. manage the swap file space. This will impact performance negatively because of 
  384. the associated overhead. OS/2 will attempt to shrink the swap file back to the 
  385. originally designated size. At that time, the additional system management is 
  386. discontinued by OS/2. The swap file grows and shrinks in 1 MB increments only. 
  387.  
  388. The swap file shrinks when several conditions are met. When the amount of free 
  389. swap space in the swap file exceeds 1.5MB, swap file compaction will be 
  390. performed at system idle time. During compaction, free swap space will be moved 
  391. toward the end of the swap file. After compaction, when the amount of free 
  392. space at the end of the swap file is greater than 1 MB, the swap file will be 
  393. shrunk to make more disk space available to the user. 
  394.  
  395. Caching Selectors 
  396.  
  397. Changes were made in the OS/2 kernel (OS2KRNL) and the WIN-OS/2 kernel 
  398. (OS2K386.EXE) to cache selector information. This improves the performance of 
  399. loading applications and starting sessions. 
  400.  
  401. Interrupt Descriptor Tables 
  402.  
  403. The IDTs were aligned on paragraph boundaries (16 bytes) to optimize interrupt 
  404. code entry. This reduces the memory bus cycles required to vector to the 
  405. interrupt service routines. Placing the code on 16 byte boundaries also ensures 
  406. that the descriptor table is in the CPU cache on 80486 systems. 
  407.  
  408. Code Basing 
  409.  
  410. The major components of the system were based (as application .EXEs should be). 
  411. This allows the linker to do the internal fix-ups at link time, reducing load 
  412. time and memory requirements. Based components include the Workplace Shell, 
  413. display drivers, the graphics subsystem, DosCall1m PM WIN, SOM and the spooler. 
  414.  
  415. Link Options 
  416.  
  417. The link options used by the operating system components were reviewed. 
  418. Wherever possible code was packed with the linker /EXEPACK option. This reduced 
  419. the size of executable files requiring fewer disk accesses when loading the 
  420. code. Although the code must be unpacked at run time, this is faster than disk 
  421. access time. The /PACKCODE and /PACKDATA options were also used to reduce the 
  422. number of memory objects created. The /FARCALLTRANSLATION option was used to 
  423. let the linker change far calls to near calls whenever possible. 
  424.  
  425. CTRL-ESC 
  426.  
  427. The Control-Escape (CTRL-ESC) hot key sequence priority was raised to 
  428. Time-Critical to keep lower priority CPU intensive threads from locking out the 
  429. sequence. 
  430.  
  431. Dynamic Time Slicing 
  432.  
  433. OS/2 2.1 contains dynamic timeslicing. This means that OS/2 is adjusting the 
  434. timeslice values based on the actual processes active on the system. As the 
  435. workload changes, so will the timeslice handling. This change means that 
  436. earlier recommendations for TIMESLICE= values are no longer valid. Removing the 
  437. TIMESLICE= line in your CONFIG.SYS (if there) will enable dynamic timeslicing, 
  438. improving overall system performance. 
  439.  
  440.  
  441. ΓòÉΓòÉΓòÉ 9. Memory Reduction ΓòÉΓòÉΓòÉ
  442.  
  443. Although many new functions were added to OS/2 2.1, an several components were 
  444. converted to 32-bit, a concerted effort was made to reduce the base memory 
  445. requirements. Conversion to 32-bit code, without a special effort to reduce 
  446. memory requirements, will increase the working set for that code. Reduced 
  447. memory requirements translates into improved system performance. When more 
  448. memory is available, paging is reduced. Since disk operations are very slow 
  449. compared to CPU operations, the fewer needed the better the performance. 
  450.  
  451. Memory can be reduced by fine tuning code, reducing redundant code and page 
  452. tuning. Page tuning is placing commonly used functions together in pages. This 
  453. was done by collecting information on the functions called to perform certain 
  454. tasks. The Real-time Tracing System (made by IBM, Yorktown Heights, NY) was 
  455. used for collection and verification. High use code was packed together in as 
  456. few pages as possible. Functions that work together were also packed together 
  457. in memory. The result is that the pages in memory when completing a task are 
  458. optimally packed to contain code that will most probably be used for the 
  459. completion of that task. Page tuning helped to reduce the overall working set 
  460. requirements for this release. 
  461.  
  462. The following list summarizes the memory reduction items that were implemented 
  463. in OS/2 2.1: 
  464.  
  465. o The base system resident memory pools, (heaps), were combined to reduce 
  466.   redundancy and reduce the size of the structures needed to manage each heap. 
  467.  
  468. o The loader Module Table Entry (MTE) structures that were allocated on page 
  469.   (4K) boundaries were changed to be double word aligned. 
  470.  
  471. o Code that was used to initialize the system and never used again is now 
  472.   discarded. 
  473.  
  474. o Thunk interfaces were optimized to reduce overhead 
  475.  
  476. o On a 4MB system the number of threads specified in the CONFIG.SYS THREADS= 
  477.   statement is reduced from 256 to 128. 
  478.  
  479. o Several system components were page tuned, reducing working set memory 
  480.   requirements. This includes the Workplace Shell, the presen- tation manager 
  481.   display drivers, the spooler and the graphics engine. 
  482.  
  483.  
  484. ΓòÉΓòÉΓòÉ 10. VDM ΓòÉΓòÉΓòÉ
  485.  
  486. DOS mode has been improved by adding dual-threaded support, improvements to 
  487. DPMI, and by allowing customization of autoexecs per session. 
  488.  
  489. Dual-Threaded DOS 
  490.  
  491. Dual-thread support has been added to DOS sessions. OS/2 enhanced its 
  492. multimedia support with this feature. Multimedia programs need to handle 
  493. interrupts while doing file I/O. In OS/2 2.0, each VDM executes as one thread. 
  494. If the thread is busy doing a file I/O operation, it will not receive any 
  495. interrupt until the entire I/O operation is complete. By introducing a second 
  496. thread in OS/2 2.1, interrupts can be serviced while waiting for the completion 
  497. of the I/O operation. This improves the performance of multimedia DOS 
  498. applications, which need interrupt notification even when doing file I/O. 
  499.  
  500. To set up a DOS application to use dual-threads, enable the DOS setting 
  501. INT_DURING_IO. It consumes more memory and CPU time when set ON. Only use it 
  502. when required. DOS communication programs that do file I/O will be helped by 
  503. this feature also. 
  504.  
  505. DPMI enhancements 
  506.  
  507. DPMI is a protected mode programming interface for DOS applications allowing 
  508. these applications to run in protect mode, while utilizing the real mode 
  509. services of the operating system and device drivers. In OS/2 2.1 the DPMI 
  510. support has been upgraded to version 1.0. 
  511.  
  512. Customized AUTOEXEC.BAT files 
  513.  
  514. The OS/2 CONFIG.SYS file specifies the operating system configuration and 
  515. installs device drivers and other memory resident applications. The OS/2 
  516. AUTOEXEC.BAT file is specific to the DOS session. OS/2 2.1 supports multiple 
  517. AUTOEXEC.BAT files, with each session specifying its AUTOEXEC.BAT. 
  518.  
  519.  
  520. ΓòÉΓòÉΓòÉ 11. Other ΓòÉΓòÉΓòÉ
  521.  
  522. Printing 
  523.  
  524. For parallel ports LPT1 to LPT3, both parallel port device drivers, PRINT02.SYS 
  525. for Micro Channel machines and PRINT01.SYS for ISA and EISA machines, now send 
  526. data faster. This allows the print buffer, found on most printers, to be filled 
  527. quicker reducing the overall print job time. 
  528.  
  529. Communication 
  530.  
  531. Improvements were made in VPIC & VCOM to reduce code paths to improve 
  532. performance in OS/2 2.1. This means that OS/2 2.1 performs better running DOS 
  533. and Windows communication applications. OS/2 2.1 can support more DOS 
  534. communication applications due to these performance improvements. 
  535.  
  536. Advanced Power Management 
  537.  
  538. On laptops that support the Advanced Power Management 1.0 Specification, there 
  539. is an improvement in battery life. Software support will automatically be 
  540. installed on systems with the correct hardware support. The object icon can be 
  541. found in the System Setup folder. 
  542. This object is used to show the current status/state of your laptop's battery 
  543. and allows turning the advanced power management functions on and off. 
  544.  
  545.  
  546. ΓòÉΓòÉΓòÉ 12. Installation ΓòÉΓòÉΓòÉ
  547.  
  548. There have been 2 major changes to installation in OS/2 2.1. Selection of the 
  549. destination drive for WIN-OS/2 support has been added, and WIN-OS/2 accessories 
  550. are selectable in 4 categories: 
  551.  
  552. o Windows Support 
  553.  
  554.    - Readme Files 
  555.    - Accessories 
  556.    - Screen Savers 
  557.    - Sound 
  558.  
  559. Additionally, installation no longer asks for all disks at install time, but 
  560. only for disks that contain needed files. The WIN-OS/2 selections are only 
  561. available with Selectable Installation. The destination drive is any partition 
  562. available at installation time, The default is the same partition and OS/2 
  563. installation. 
  564.  
  565. The Full Installation installs all features available with OS/2. 
  566.  
  567. Preselected installation provides a general installation of OS/2 features for 
  568. users. This default is good for new users that do not have enough space for a 
  569. full install. The features provided when the preselected installation is taken 
  570. include all required files for OS/2 and the following features: 
  571.  
  572. o OS/2 Tutorial 
  573. o Fonts (not including Helvetica or Courier(outline)) 
  574. o Optional System Utilities (not including backup & restore, Fdiskpm, PM REXX 
  575.   and Sort. 
  576. o Tools and Games (not including Search and Scan or Personal Productivity) 
  577. o OS/2 DOS and Windows Support 
  578. o REXX 
  579. o Serviceability and Diagnostic Aids 
  580. o Optional Bitmaps 
  581.  
  582. The Selectable Install allows end users to choose which options to install. 
  583.  
  584. Full installation option installs all features of OS/2. This selection requires 
  585. about 40 MB of disk space. Additional space is required for the swap file in 
  586. constrained systems. If your partition is small ( < 50 MB) it is advisable to 
  587. move the swap file to another partition. 
  588.  
  589. The features provided when the full installation is taken include all required 
  590. files for OS/2 and ALL the features available for your hardware. 
  591.  
  592.  
  593. ΓòÉΓòÉΓòÉ 13. Summary ΓòÉΓòÉΓòÉ
  594.  
  595. In summary, you should see generally improved performance in OS/2 version 2.1. 
  596. Major improvement will be seen in the performance of Windows applications in 
  597. the WIN-OS/2 session. 
  598.  
  599.  
  600. ΓòÉΓòÉΓòÉ 14. Appendix A. Settings ΓòÉΓòÉΓòÉ
  601.  
  602. The following is a summary of the settings referred to in this document. 
  603.  
  604. o WIN_DDE 
  605.  
  606.   This setting allows WIN-OS/2 to share DDE information between WIN-OS/2 and 
  607.   OS/2 sessions. For better performance, this setting should be set OFF, but 
  608.   only if you are not exchanging data via DDE between OS/2 and WIN-OS/2 
  609.   applications. This should be set to Off  for private data exchange between 
  610.   DOS applications. 
  611.  
  612.   The default is ON. 
  613.  
  614. o WIN_CLIPBOARD 
  615.  
  616.   This setting allows WIN-OS/2 to share clipboard information between public 
  617.   WIN-OS/2 and OS/2 sessions. 
  618.  
  619.   For better performance this setting should be set to Off  for private data 
  620.   exchange between WIN-OS/2 applications. Only set this setting Off if you will 
  621.   not be exchanging clipboard data between OS/2 applications and WIN-OS/2 
  622.   applications. 
  623.  
  624.   The default is ON. 
  625.  
  626. o WIN_RUNMODE 
  627.  
  628.   In WIN-OS/2 3.1, the WIN_RUNMODE Settings option has been changed to include 
  629.   two radio buttons for selection either one of the two modes-- 3.1 Standard or 
  630.   3.1 Enhanced Compatibility. Select the button 3.1 Standard for applications 
  631.   to be run in Standard mode 
  632.  
  633.   The default is Standard. 
  634.  
  635. o DOS_AUTOEXEC 
  636.  
  637.   The DOS_AUTOEXEC setting is new in WIN-OS/2 3.1. This setting allows the 
  638.   application to run in different DOS environments. You can now specify the 
  639.   AUTOEXEC.BAT file to be executed when the VDM session is started. 
  640.  
  641.   The default is blank. 
  642.  
  643. o INT_DURING_IO 
  644.  
  645.   Allows interrupts to be handled during file reads/writes. This setting is 
  646.   primarily designed for DOS multimedia applications and should be turned On 
  647.   when the user runs multimedia applications. Other DOS applications that do 
  648.   not require long file read/write should leave it Off  as it will cost more 
  649.   memory and system overhead. 
  650.  
  651.   The default value is Off. 
  652.  
  653. o DOS_AUTOEXEC 
  654.  
  655.   The DOS_AUTOEXEC setting is new in OS/2 2.1. It allows setting a specific 
  656.   AUTOEXEC.BAT file for each DOS session.or Customized AUTOEXEC.BAT files help 
  657.   to reduce memory while optimizing function. 
  658.  
  659.   The default is the AUTOEXEC.BAT file in the root directory. 
  660.