Bug 11145 - enhancement for startup scripts
Summary: enhancement for startup scripts
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL: http://dusk.bitstream.net/randym/tune...
Whiteboard:
Keywords: FutureFeature
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-05-01 14:29 UTC by randym
Modified: 2014-03-17 02:13 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2000-05-01 14:29:27 UTC


Attachments (Terms of Use)

Description randym 2000-05-01 14:29:27 UTC
Forgive me if this is the wrong place to enter this; I was told that it was
the preferred place.

The URL (above) points to a gzip file with a couple of startup scripts I
wrote and would like to contribute.  The script reads in a config file (and
specified generic templates), and sets:
	1. the relevant /proc kernel settings
	2. hdparm parameters for mounted drives
	3. the mtrr (on Pentium II, etc, systems) to help improve video
performance.

This resets the various performance settings (and other tunable kernel
parameters) when the system boots, so that the user does not have to create
a custom script.

The templates are meant to help simplify the users life: forexample, the
"fileserver" template automagically configures the settings relevant to
fileservers.  Templates could be created for recommended, benchmark
settings.

All the best,
Randy Maas
randym@acm.org

Comment 1 Bill Nottingham 2000-08-16 02:28:13 UTC
Apologies for the late reply.

In 6.2 and later, there is /etc/sysctl.conf for tuning kernel
parameters. In the 7.0beta and later, there is /etc/sysconfig/harddisks
for turning stuff with hdparm. Plus, XFree4 automatically
sets up mtrrs. Hence, most of this is implemented as
of the 7.0 betas.


Note You need to log in before you can comment on or make changes to this bug.