Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Q: Changing kernel parameters under 4.0e
@ 1999-04-13  4:00 LT
  1999-04-13  4:00 ` Oisin McGuinness
  1999-04-15  4:00 ` Q: Changing kernel parameters under 4.0e deseim
  0 siblings, 2 replies; 7+ messages in thread
From: LT @ 1999-04-13  4:00 UTC (permalink / raw)


Hi all, I'm currently installing Informix on a machine under DU4.0e.

The distribution requires certain kernel parameters be changed, and a new
kernel built, to tune performance.

This is where I've had some fun :)

I'm trying to use doconfig to generate a new kernel. After stepping through
name / feature selection, I can then edit the configuration file.
I've added the required Informix items there, and built the kernel. Once
built, I've backed the existing kernel up, copied the new one in, and
rebooted.

The problem is that none of the changes seem to be in effect. Am I adding
the parameters in the right place? and how can I check current kernel
parameters (well, more than available through sysconfig / x tool.)

The parameters that need to be added are:
SHMMAX: 268435456
SHMMIN: 100
SHMMNI: 100
SHMSEG: 100
SEMMNI: 4096
SEMMNI: 4096
SEMMNS: 4096

When adding the parameters to the config file, I've been adding them
lowercase, without the colon. Otherwise the build process generates errors.

I've been through the man pages / manuals,  but haven't found anything else
that helped. The Informix manuals are flavour independant, and the DU
manuals are the installation ones that shipped with the OS, that tend to
focus on the intial setup.

Any ideas appreciated.

cheers

Leighton
 
--
Ignore the headers, I can be reached at
leighton <dot> corban [at] ssc <dot> govt <dot> nz




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Q: Changing kernel parameters under 4.0e
  1999-04-13  4:00 Q: Changing kernel parameters under 4.0e LT
@ 1999-04-13  4:00 ` Oisin McGuinness
  1999-04-14  4:00   ` LT
  1999-04-15  4:00 ` Q: Changing kernel parameters under 4.0e deseim
  1 sibling, 1 reply; 7+ messages in thread
From: Oisin McGuinness @ 1999-04-13  4:00 UTC (permalink / raw)
  To: LT

You need to get a copy of the System Admin Manual (online through
www.unix.digital.com, and follow the obvious links), and read section
5.3.

Alternately, the man pages for sysconfig explain it; the parameters you 
are interested in are defined and managed by sysconfig (database is /etc
sysconfigtab), use sysconfig -q ipc to see the shared memory
settings.....
If you are graphically inclined, dxkerneltuner might be more to your
taste.

It is not a kernel build issue.

Hope this helps.

Oisin McGuinness
Sumitomo Bank Capital Markets
277 Park Ave
NY NY 10172


LT wrote:
> 
> Hi all, I'm currently installing Informix on a machine under DU4.0e.
> 
> The distribution requires certain kernel parameters be changed, and a new
> kernel built, to tune performance.
> 
> This is where I've had some fun :)
> 
> I'm trying to use doconfig to generate a new kernel. After stepping through
> name / feature selection, I can then edit the configuration file.
> I've added the required Informix items there, and built the kernel. Once
> built, I've backed the existing kernel up, copied the new one in, and
> rebooted.
> 
> The problem is that none of the changes seem to be in effect. Am I adding
> the parameters in the right place? and how can I check current kernel
> parameters (well, more than available through sysconfig / x tool.)
> 
> The parameters that need to be added are:
> SHMMAX: 268435456
> SHMMIN: 100
> SHMMNI: 100
> SHMSEG: 100
> SEMMNI: 4096
> SEMMNI: 4096
> SEMMNS: 4096
> 
> When adding the parameters to the config file, I've been adding them
> lowercase, without the colon. Otherwise the build process generates errors.
> 
> I've been through the man pages / manuals,  but haven't found anything else
> that helped. The Informix manuals are flavour independant, and the DU
> manuals are the installation ones that shipped with the OS, that tend to
> focus on the intial setup.
> 
> Any ideas appreciated.
> 
> cheers
> 
> Leighton
> 
> --
> Ignore the headers, I can be reached at
> leighton <dot> corban [at] ssc <dot> govt <dot> nz



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Q: Changing kernel parameters under 4.0e
  1999-04-13  4:00 ` Oisin McGuinness
@ 1999-04-14  4:00   ` LT
  1999-04-14  4:00     ` Oisin McGuinness
                       ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: LT @ 1999-04-14  4:00 UTC (permalink / raw)


Hi Oisin,

Oisin McGuinness <oisin@sbcm.com> wrote in article
<3713433C.F1FE9863@sbcm.com>...
> You need to get a copy of the System Admin Manual (online through
> www.unix.digital.com, and follow the obvious links), and read section
> 5.3.

Thanks for that, the documentation available online has answered several
other questions :)
 
> Alternately, the man pages for sysconfig explain it; the parameters you 
> are interested in are defined and managed by sysconfig (database is /etc
> sysconfigtab), use sysconfig -q ipc to see the shared memory
> settings.....


Hokay, sysconfig -q ipc returns the list of current parameters, inc. some
of the ones I want to change.
sysconfig -s ipc shows that it's currently loaded and configured,
sysconfig -m ipc shows that it's static.

If I'm reading things right, because it's static, changes involve a kernel
rebuild. I've looked though using a combination of sysconfig and
sysconfigdb to make changes to dynamic subsystems, but as it's static, none
seem to apply. This puts me back to square one :-/
Before working out that the ipc subsystem was static, I did try adding the
required changes to /etc/sysconfigtab via sysconfigdb, but after refreshing
all subsystems, none of the changes came through.

Is there something painfully obvious that I've skipped? I'm fairly
confident (  :)  ) that sysconfig/db don't do what I want.

Any light shed appreciated :)

cheers

Leighton


--
Ignore the headers, I can be reached at
leighton <dot> corban [at] ssc <dot> govt <dot> nz






^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Q: Changing kernel parameters under 4.0e
  1999-04-14  4:00   ` LT
@ 1999-04-14  4:00     ` Oisin McGuinness
  1999-04-15  4:00     ` Seppo.Routimo
  1999-04-16  4:00     ` Q: Changing kernel parameters under 4.0e - solved LT
  2 siblings, 0 replies; 7+ messages in thread
From: Oisin McGuinness @ 1999-04-14  4:00 UTC (permalink / raw)
  To: LT

In sysconfig terms, "dynamic" for *subsystems* means the kernel
module can be unloaded/unconfigured while the machine is up.
"Static" means that the *subsystem* must be linked/unlinked
explicitly when building the kernel; to remove or setup such
a system needs a kernel rebuild/reboot.
But these notions are *different* from the ability to reconfigure
parameters; some parameters can be reconfigured dynamically (while
the machine is up, and taking effect immediately), while some (which
I believe include the shared memory/ipc settings (we've
been through this for Sybase) can be made using sysconfigdb, but will
only take effect on reboot.

Oisin McGuinness


LT wrote:
> 
> Hi Oisin,
> 
> Oisin McGuinness <oisin@sbcm.com> wrote in article
> <3713433C.F1FE9863@sbcm.com>...
> > You need to get a copy of the System Admin Manual (online through
> > www.unix.digital.com, and follow the obvious links), and read section
> > 5.3.
> 
> Thanks for that, the documentation available online has answered several
> other questions :)
> 
> > Alternately, the man pages for sysconfig explain it; the parameters you
> > are interested in are defined and managed by sysconfig (database is /etc
> > sysconfigtab), use sysconfig -q ipc to see the shared memory
> > settings.....
> 
> Hokay, sysconfig -q ipc returns the list of current parameters, inc. some
> of the ones I want to change.
> sysconfig -s ipc shows that it's currently loaded and configured,
> sysconfig -m ipc shows that it's static.
> 
> If I'm reading things right, because it's static, changes involve a kernel
> rebuild. I've looked though using a combination of sysconfig and
> sysconfigdb to make changes to dynamic subsystems, but as it's static, none
> seem to apply. This puts me back to square one :-/
> Before working out that the ipc subsystem was static, I did try adding the
> required changes to /etc/sysconfigtab via sysconfigdb, but after refreshing
> all subsystems, none of the changes came through.
> 
> Is there something painfully obvious that I've skipped? I'm fairly
> confident (  :)  ) that sysconfig/db don't do what I want.
> 
> Any light shed appreciated :)
> 
> cheers
> 
> Leighton
> 
> --
> Ignore the headers, I can be reached at
> leighton <dot> corban [at] ssc <dot> govt <dot> nz



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Q: Changing kernel parameters under 4.0e
  1999-04-14  4:00   ` LT
  1999-04-14  4:00     ` Oisin McGuinness
@ 1999-04-15  4:00     ` Seppo.Routimo
  1999-04-16  4:00     ` Q: Changing kernel parameters under 4.0e - solved LT
  2 siblings, 0 replies; 7+ messages in thread
From: Seppo.Routimo @ 1999-04-15  4:00 UTC (permalink / raw)


LT wrote:
> If I'm reading things right, because it's static, changes involve a kernel
> rebuild. I've looked though using a combination of sysconfig and
> sysconfigdb to make changes to dynamic subsystems, but as it's static, none
> seem to apply. This puts me back to square one :-/

Hi

If You have X console You should try dxkerneltuner.

Seppo



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Q: Changing kernel parameters under 4.0e
  1999-04-13  4:00 Q: Changing kernel parameters under 4.0e LT
  1999-04-13  4:00 ` Oisin McGuinness
@ 1999-04-15  4:00 ` deseim
  1 sibling, 0 replies; 7+ messages in thread
From: deseim @ 1999-04-15  4:00 UTC (permalink / raw)


Are you using the adecuated name for the parameters?

I think you must to use this names:

shm-max instead of shmmax
shm-min instead of shmmin
shm-mni instead of shmmni
etc ...

I don't know what "semmns" means.

You don't need to recompile the kernel, just reboot to make the changes take
effect.

Hope this help you.

                Javier

In article <01be8595$71e50b90$0401a8c0@direwolf>,
  "LT" <spam@spam.gohome.co.nz> wrote:
> Hi all, I'm currently installing Informix on a machine under DU4.0e.
>
> The parameters that need to be added are:
> SHMMAX: 268435456
> SHMMIN: 100
> SHMMNI: 100
> SHMSEG: 100
> SEMMNI: 4096
> SEMMNI: 4096
> SEMMNS: 4096
>

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Q: Changing kernel parameters under 4.0e - solved
  1999-04-14  4:00   ` LT
  1999-04-14  4:00     ` Oisin McGuinness
  1999-04-15  4:00     ` Seppo.Routimo
@ 1999-04-16  4:00     ` LT
  2 siblings, 0 replies; 7+ messages in thread
From: LT @ 1999-04-16  4:00 UTC (permalink / raw)


LT wrote in message <01be8675$fb175ae0$0401a8c0@direwolf>...


Normally I'm not in the habbit of talking to myself, but I've found a
solution.

After having additions to the sysconfigtab file being ignored, and having
people email me about using dxkerneltuner, I went back and looked at the gui
editor, and found the ipc subsystem that I was looking for.

..amazing what you see when you open your eyes 8-)

So, I've found all the attributes that I needed to alter, in the ipc
subsystem through the dxkerneltuner.

Many thanks to all those who offered help, both here and in email.

cheers

Leighton



--
Ignore the headers, I can be reached at
leighton <dot> corban [at] ssc <dot> govt <dot> nz





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-04-16  4:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-13  4:00 Q: Changing kernel parameters under 4.0e LT
1999-04-13  4:00 ` Oisin McGuinness
1999-04-14  4:00   ` LT
1999-04-14  4:00     ` Oisin McGuinness
1999-04-15  4:00     ` Seppo.Routimo
1999-04-16  4:00     ` Q: Changing kernel parameters under 4.0e - solved LT
1999-04-15  4:00 ` Q: Changing kernel parameters under 4.0e deseim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox