Title of Article (Format Using "Title Caps Style". See Language Section for Info)

SAP Developer Network
E-mail This Document 

 

Summary

Main memory, CPU, and disk storage requirements on PCs climb constantly due to software upgrades. Through suitable tuning measures, one can partially compensate for this additional demand and improve performance. This mail primarily addresses the colleagues that use PCs with 2 GBS or less hard disk capacity, 64 MBS or less main memory, or a Pentium with less than 200 MHz clock speed. Even old PCs that have had their main memory extended, often have problems with page file fragmentation (Defragmentation Under NT) and can profit from the following tuning measures. The following describes my experience with my PC (2GB, 64MB, 180MHz); these points are valid mainly for Windows 95 and NT.

 

1 Delete unnecessary and temporary files

To free hard disk space:

  • Regularly delete the files in the TEMP and TMP folders
  • Empty Recycle Bin and size it as small as possible
  • Delete temporary Internet files, (In the folders "Winnt" or "Windows", or the "Internet Options" of the Internet Explorers)
  • If necessary, delete dumps, (\winnt\user.dmp)
1.1 A tool to delete files from TEMP
In order to forget about deleting temporary files, I use a batch file (Deltemp.bat) in my autostart. It deletes all files in the TEMP directory, in the directory for temporary MLP files, and in the directory for temporary Internet files. Make sure you adapt all file paths

(Suggestion: Ralph Stadter -44507)

 

If disk space problems still exist, using compressed files/folders can possibly help. A compressed folder is usually only half as big as before. Performance descreases only slightly due to CPU consumption. You should not compress large directories, such as Winnt. A good candidate, however, is directory SAPpc because you don't access it very often. Also directories created for you own files can be compressed easily. You can always see whether a folder/file is compressed, in NT they are marked blue. With classic NT, compression is turned on and off using the "properties" option of a folder (-> general, check box "compress"), with the active desktop, using functions of the Internet Explorer, you must make sure yourself that compressed folders are blue by choosing Start -> Settings -> Folder Options -> View Tab, and then check the box "Display compressed files and folders with alternate color".

Note, however that particularly for Win95 with compression, you can potentially lose more data when the hard disk is damaged. To avoid this, you can create a logical directory, an additional compressed disk. Use the tool DriveSpace under System Tools to compress drives.

 

2 Remove unnecessary programs

  • Index-preparation for MS Office (Settings index). Scans the hard disk in regular intervals
  • Turn off the MS Office Shortcut Bar by using the right mouse menu.
  • Do not use Screen savers for the servers
  • Deinstall unnecessary software, (See also the Mail from Klaus Layer/Volker Groeschel on good GUI installations (in German) in MLP shared folder, AKTUELL-INT, aka: Info: Saubere GUI-Installation)

 

3 Reduce main memory consumption

  • Do not use wallpaper
  • Regularly check the status of applications using Task Manager (suspended or looping applications, for example front.exe)

 

4 Tune the Page File

The Page file is responsible for the input/output of the disk (disk I/O). Its size determines how much virtual memory is available at a given point in time. For a PC with 64 MB extended memory, a size of about 128 to 150 MB should be sufficient for the Page File. To change the size of the file, choose START -> SETTINGS -> CONTROL PANEL, and then System ->Performance, and then "Change Virtual Memory". Alternatively, right click "My Computer", and then choose "Properties" -> "Performance" -> "Change Virtual Memory". Afterwards, reboot the PC.

If you choose the same value for Minimum and Maximum you can avoid fragmentation of the Page File. For example, a highly fragmented Page File requires increasing time for disk I/O, highly in this case meaning hundreds or even thousands of fragments. (I usually have about 10 SAPGUI windows (4.6A) open at a time, IE, an Office Application, several Unix windows, several Explorer, the Palm desktop, a Virtual desktop,...)

 

5 Check fragmentiation of the hard disk

Windows 95 has a Defragmentation function in System Tools

NT has no built-in Defragmentation function. A Defragmentation tool for the Page File can be downloaded from <A HREF="http://www.sysinternals.com/pagedfrg.htm">Pagedefrg</A> , a copy can also be found on P2385 in the share: pagedefrag. After starting, this tool shows the number of Page File fragments. It should probably be no more than 10. You also have the option to run the defragmentation tool at the next reboot or at every reboot. In order for the tool to work, sufficient free space must exist on the hard disk, therefore cleaning it up is very important. At the moment, (without compression), I have approximately 1 GBS used by programs and 200 MBS of personal data.

 

6 Avoid active connections to other network services

Every active connection to other network services particularly slows down already slow PCs, because they regularly check in the background whether the connection is still up-to-date. If you always keep this connection up, you risk decreasing performance.

To avoid that effect, make sure you do not tick the check box "Reconnect at Logon" when you set up a network connection. Otherwise all the connections are re-established after logon, slowing down the current session.

(Suggestion: Martin Wilhelm)

 

7 GUI Deinstallation

Please see also note 138922 (Klaus Layer)

Much success with tuning, comments and suggestions are always welcome.

Many greetings, Uli

 



Copyright 2003 SAP AG, Inc. All Rights Reserved. SAP, mySAP, mySAP.com, xApps, xApp, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product, service names, trademarks and registered trademarks mentioned are the trademarks of their respective owners.