Showing posts with label performance. Show all posts
Showing posts with label performance. Show all posts

Tuesday, 7 June 2011

PERFORMANCE OF OS

Most important program that runs on a computer. Every general-purpose computer must have an operating system to run other programs. Operating systems perform basic tasks, such as recognizing input from the keyboard, sending output to the display screen, keeping track of files and directories on the disk, and controlling peripheral devices such as disk drives and printers.For large systems, the operating system has even greater responsibilities and powers. It is like a traffic cop -- it makes sure that different programs and users running at the same time do not interfere with each other. The operating system is also responsible for security, ensuring that unauthorized users do not access the system.

 
Operating systems can be classified as follows:  multi-user: Allows two or more users to run programs at the same time. Some operating systems permit hundreds or even thousands of concurrent users.multiprocessing: Supports running a program on more than one CPU.multitasking: Allows more than one program to run concurrently.multithreading: Allows different parts of a single program to run concurrently. real time: Responds to input instantly. General-purpose operating systems, such as DOS and UNIX, are not real-time.
Operating systems provide a software platform on top of which other programs, called application programs, can run. The application programs must be written to run on top of a particular operating system. Your choice of operating system, therefore, determines to a great extent the applications you can run. For PCs, the most popular operating systems are DOS, OS/2, and Windows, but others are available, such as Linux.
As a user, you normally interact with the operating system through a set of commands. For example, the DOS operating system contains commands such as COPY and RENAME for copying files and changing the names of files, respectively. The commands are accepted and executed by a part of the operating system called the command processor or command line interpreter. Graphical user interfaces allow you to enter commands by pointing and clicking at objects that appear on the screen.See: DOS, Microsoft Windows: Windows 95, Windows 98, Windows NT, Windows 2000, Windows XP, Windows 2003, Windows Vista, Linux, UNIX, OS.Smart operations to help speed software deployment, simplify storage management, and make your organization more productive.Autonomics to monitor your system, report on issues, and proactively avoid errors to help reduce the risk from outages,  Foundation for real-time batch capability and industry-leading security, resiliency, and data handling capability to help enable you to access and transform business data more readily.
 
SLYNUX is a user friendly GNU/Linux Operating System for beginners. It can be run completely from CD without installation. There is also options to install to hard disk. The main feature of this operating system is that, any person who is familiar with Microsoft Windows OS can handle this operating system very easily. The desktop of this operating system is arranged so as to make it friendly to the user. Also it has a wide range of application programs which are pre-installed. SLYNUX is a live Linux distribution which includes content of about 2GB made available by using transparent compression. This is a debian based GNU/Linux developed from Knoppix (Credit of most features of this Distro goes to knoppix). This can be used by beginners of Linux OS. SLYNUX makes to familiarize Linux technology. This is also a complete suite Linux OS. This provides all types of needed software.

OPERATING SYSTEM PROBLEMS

This chapter explains how to tune the operating system for optimal performance of the Oracle database server.This chapter contains the following sections:Understanding Operating System Performance Issues
Solving Operating System Problems Understanding CPU Finding System CPU Utilization
 
 Operating system performance issues commonly involve process management, memory management, and scheduling. If you have tuned the Oracle instance and still need to improve performance, verify your work or try to reduce system time. Ensure that there is enough I/O bandwidth, CPU power, and swap space. Do not expect, however, that further tuning of the operating system will have a significant effect on application performance. Changes in the Oracle configuration or in the application are likely to result in a more significant difference in operating system efficiency than simply tuning the operating system.
For example, if an application experiences excessive buffer busy waits, then the number of system calls increases. If you reduce the buffer busy waits by tuning the application, then the number of system calls decreases.This section covers the following topics related to operating system performance issues:Operating systems and device controllers provide data caches that do not directly conflict with Oracle cache management. Nonetheless, these structures can consume resources while offering little or no benefit to performance. This is most noticeable on a UNIX system that has the database files in the UNIX file store; by default, all database I/O goes through the file system cache. On some UNIX systems, direct I/O is available to the filestore. This arrangement allows the database files to be accessed within the UNIX file system, bypassing the file system cache. It saves CPU resources and allows the file system cache to be dedicated to non-database activity, such as program texts and spool files.This problem does not occur on Windows. All file requests by the database bypass the caches in the file system.
Although the operating system cache is often redundant because the Oracle buffer cache buffers blocks, there are a number of cases where Oracle does not use the Oracle buffer cache. In these cases, using direct I/O which bypasses the Unix or operating system cache, or using raw devices which do not use the operating system cache, may yield worse performance than using operating system buffering. Some examples include:
 Reads or writes to the TEMPORARY tablespace.Data stored in NOCACHE LOB  Parallel Query slaves reading data You may want a mix with some files cached at the operating system level and others not.With synchronous I/O, when an I/O request is submitted to the operating system, the writing process blocks until the write is confirmed as complete. It can then continue processing. With asynchronous I/O, processing continues while the I/O request is submitted and processed. Use asynchronous I/O when possible to avoid bottlenecks.
Some platforms support asynchronous I/O by default, others need special configuration, and some only support asynchronous I/O for certain underlying file system types.
9.1.1.2 FILESYSTEMIO_OPTIONS Initialization ParameterYou can use the FILESYSTEMIO_OPTIONS initialization parameter to enable or disable asynchronous I/O or direct I/O on file system files. This parameter is platform-specific and has a default value that is best for a particular platform. It can be dynamically changed to update the default setting.
FILESYTEMIO_OPTIONS can be set to one of the following values:
    ASYNCH: enable asynchronous I/O on file system files, which has no timing requirement for transmission.
    DIRECTIO: enable direct I/O on file system files, which bypasses the buffer cache.
    SETALL: enable both asynchronous and direct I/O on file system files.
    NONE: disable both asynchronous and direct I/O on file system files see Also:Your platform-specific documentation for more details Memory UsageMemory usage is affected by both buffer cache limits and initialization parameters Buffer Cache Limits
The UNIX buffer cache consumes operating system memory resources. Although in some versions of UNIX, the UNIX buffer cache may be allocated a set amount of memory, it is common today for more sophisticated memory management mechanisms to be used. Typically, these will allow free memory pages to be used to cache I/O. In such systems, it is common for operating system reporting tools to show that there is no free memory, which is not generally a problem. If processes require more memory, the memory caching I/O data is usually released to allow the process memory to be allocated.The memory required by any one Oracle session depends on many factors. Typically the major contributing factors are:
    Number of open cursors
    Memory used by PL/SQL, such as PL/SQL tables
    SORT_AREA_SIZE initialization parameter
In Oracle, the PGA_AGGREGATE_TARGET initialization parameter gives greater control over a session's memory usage.
Some platforms provide operating system resource managers. These are designed to reduce the impact of peak load use patterns by prioritizing access to system resources. They usually implement administrative policies that govern which resources users can access and how much of those resources each user is permitted to consume.
 
Operating system resource managers are different from domains or other similar facilities. Domains provide one or more completely separated environments within one system. Disk, CPU, memory, and all other resources are dedicated to each domain and cannot be accessed from any other domain. Other similar facilities completely separate just a portion of system resources into different areas, usually separate CPU or memory areas. Like domains, the separate resource areas are dedicated only to the processing assigned to that area; processes cannot migrate across boundaries. Unlike domains, all other resources (usually disk) are accessed by all partitions on a system.Oracle runs within domains, as well as within these other less complete partitioning constructs, as long as the allocation of partitioned memory (RAM) resources is fixed, not dynamic.
Operating system resource managers prioritize resource allocation within a global pool of resources, usually a domain or an entire system. Processes are assigned to groups, which are in turn assigned resources anywhere within the resource pool.

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | Online Project management