Linux installation Oracle Kernel parameter configuration instructions

Source: Internet
Author: User
Tags semaphore




Fs.file-max = 6815744

--Represents the maximum number of file handles, indicating the number of files that can be opened on a Linux system.


Fs.aio-max-nr = 1048576

--This parameter restricts the concurrent outstanding requests and avoids the I/O subsystem failure. The recommended value is--1048576=1024*1024, which is 1024K.


Kernel.shmall = 2097152

--Represents the total amount of available shared memory, in units of pages, on a 32-bit system with a page equal to 4kB, or 4096 bytes. The maximum size of a shared memory segment is 16G, so the number of shared memory pages required is 16gb/4kb=16777216kb/4kb=4194304 (page). That is 16GB physical memory under 64Bit system, set Kernel.shmall = 4194304 to meet the requirements (almost twice times the original setting 2097152). The shmmax parameter can then be adjusted to 16G, while you can modify the sga_max_size and sga_target 12G (you want to set the maximum size of the SGA, of course, it can be 2g~14g, etc., Also coordinate other memory uses such as PGA parameters and OS, and cannot be set too full, such as 16G.


Kernel.shmmax = 2147483648

--Represents the maximum value of a single shared memory segment, in bytes, which is typically half of the physical memory, but it doesn't matter if it's larger, which is set at 4GB, which is [4294967296/1024/1024/1024]=4g. The Shmmax setting should be large enough to accommodate the entire SGA under a shared memory segment, and setting it too low may result in the need to create multiple shared memory segments, which may result in degraded system performance.


Kernel.shmmni = 4096

--Represents the minimum value for a single shared memory segment, typically 4kB, or 4096bit.


Kernel.sem = 250 32000 100 128

--250 is the value of the parameter SEMMSL, which represents the maximum number of semaphores that can be contained in a semaphore collection.

--32000 is the value of the parameter Semmns, which represents the maximum number of semaphores that can be allowed within the system.

--100 is the value of the parameter semopm that represents the number of operations that a single semopm () call can perform on a semaphore collection.

--128 is the value of the parameter Semmni, which represents the total number of system semaphore sets.

Net.ipv4.ip_local_port_range = 9000 65500

--represents the range of ports.


Net.core.rmem_default = 262144

--Represents the default value (in bytes) for receiving the socket buffer size.


Net.core.rmem_max = 4194304

--Indicates the maximum value of the receive socket buffer size, in bytes


Net.core.wmem_default = 262144

--Represents the default value (in bytes) for sending the socket buffer size.


Net.core.wmem_max = 1048576

--Represents the maximum size, in bytes, of the send socket buffer.





This article is from "Jerry" blog, please make sure to keep this source http://alipay.blog.51cto.com/7119970/1576648

Linux installation Oracle Kernel parameter configuration instructions

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.