How to persistently set nr_requests using UDEV rules (Doc ID 2141425.1)

Last updated on JUNE 24, 2016

Applies to:

Linux OS - Version Oracle Linux 5.0 and later
Linux x86
Linux x86-64

Goal

The nr_requests is a parameter for block device, it controls maximum requests may be allocated in the block layer for read or write requests, the default value is 128.
Occasionally, it may be suggested to adjust the value, generally speaking:
Increasing the value will improve the I/O throughput, but will also increase the memory usage.
Decreasing the value will benefit the real-time applications that are sensitive to latency, but it also decreases the I/O throughput.

This article elaborate how to set the parameter permanently across system reboots.

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms