|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On System z, typical hardware setups can consist of up to several thousand I/O
devices. The current udev rules for handling these devices and the ccw_init
helper script are implemented in an insufficient way, leading to unnecessarily
high usage of memory and cpu time during system startup.
The attached patch against the initscripts-8.45.19.EL-1 source RPM reduces
this resource usage drastically by
a) fixing a number of coding problems in helper script ccw_init (the current
version creates failure indications in /dev/.udev/failed for each device)
b) restricting the ccw_init script to network devices (ccw_init is only
relevant for network devices)
Using these changes, memory consumption on an example system with ~1500
devices could be reduced by 80% (VSZ), resp. 50% (RSS) and the elapsed
duration for udev could be reduced from 19s down to 6 seconds.
Business case: with reduced memory and time consumption during startup, more
Linux images can be run with the same amount of resources.
|