* Tuning Memory ?
@ 2001-05-18 15:08 Michael Reffalt
2001-05-18 16:43 ` Nick Hill
0 siblings, 1 reply; 6+ messages in thread
From: Michael Reffalt @ 2001-05-18 15:08 UTC (permalink / raw)
I have a user who needs to launch a flow dynamics
problem and is running into the data ceiling when he executes.
Other than temp. reseting with ulimit -d how can I set the data
limit higher. Below are my current defaults
# /usr/bin/ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 200000
stack(kbytes) 2048
memory(kbytes) 1022336
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 1048576
Thanks for the help!
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tuning Memory ?
2001-05-18 15:08 Michael Reffalt
@ 2001-05-18 16:43 ` Nick Hill
0 siblings, 0 replies; 6+ messages in thread
From: Nick Hill @ 2001-05-18 16:43 UTC (permalink / raw)
Michael Reffalt wrote:
>
> I have a user who needs to launch a flow dynamics
> problem and is running into the data ceiling when he executes.
> Other than temp. reseting with ulimit -d how can I set the data
> limit higher. Below are my current defaults
>
> # /usr/bin/ulimit -a
> time(seconds) unlimited
> file(blocks) unlimited
> data(kbytes) 200000
> stack(kbytes) 2048
> memory(kbytes) 1022336
> coredump(blocks) unlimited
> nofiles(descriptors) 4096
> vmemory(kbytes) 1048576
>
> Thanks for the help!
You need to put some entries in /etc/sysconfigtab which is read at boot
time. My entry has the following, adapt as required:
proc:
max-per-proc-address-space = 2147483648
per-proc-address-space = 2147483648
max-per-proc-data-size = 2147483648
per-proc-data-size = 262144000
max-per-proc-stack-size = 268435456
see the man page entries for sysconfig, sysconfigtab and sysconfigdb for
guidence.
Nick Hill
ITD SCS Group
Rutherford Appleton Labs
Chilton, Didcot, Oxon
UK
^ permalink raw reply [flat|nested] 6+ messages in thread
* Tuning Memory ?
@ 2001-05-22 20:57 Brian Cuttler
2001-05-23 9:38 ` Nick Hill
0 siblings, 1 reply; 6+ messages in thread
From: Brian Cuttler @ 2001-05-22 20:57 UTC (permalink / raw)
Ok, assuming that I fowled up tuning my system...
On VMS I'd boot sysconfig and correct the parameters, on True64
I'm a bit less certain of the analog procedure.
Also, since this is a loaner/demo system I lack the documentation.
If someone could be so kind, I need a fairly detailed procedure, not
at base 0, I can figure out "boot installation disk" (assuming they
sent us one, it was a pre-installed OS), just no big gaps in the
procedure.
thanks,
Brian
---
Brian R Cuttler brian.cuttler@wadsworth.org
Computer Systems Support (v) 518 486-1697
Wadsworth Center (f) 518 473-6384
NYS Department of Health Help Desk 518 473-0773
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tuning Memory ?
2001-05-22 20:57 Tuning Memory ? Brian Cuttler
@ 2001-05-23 9:38 ` Nick Hill
2001-05-25 15:43 ` Brian Cuttler
0 siblings, 1 reply; 6+ messages in thread
From: Nick Hill @ 2001-05-23 9:38 UTC (permalink / raw)
Brian Cuttler wrote:
>
> Ok, assuming that I fowled up tuning my system...
>
> On VMS I'd boot sysconfig and correct the parameters, on True64
> I'm a bit less certain of the analog procedure.
>
> Also, since this is a loaner/demo system I lack the documentation.
>
> If someone could be so kind, I need a fairly detailed procedure, not
> at base 0, I can figure out "boot installation disk" (assuming they
> sent us one, it was a pre-installed OS), just no big gaps in the
> procedure.
>
I'm assuming you mean that the boot fails as a result of some tuning
param you entered.
If you boot the installation CD then you need to mount the the real root
filesystem from the hard disk. If this is a UFS filesystem then you can
just mount the partition on /mnt. If the root is an Advfs then you need
to create the directory entries in /etc/fdmns as follows having first
identified which disk it is you need to mount!
1) Create a directory /etc/fdmns/recovery
2) Create a symbolic link in the above directory to the disk device for
the root partition. If it is a V4.0 system then something like ln -s
/dev/rz0a rz0a. For a V5 system then it would be ln -s dsk0a
/dev/disk/dsk0a. Adjust disk name accordingly for you system.
3) Mount the filesystem:
mount recovery#root /mnt
4) edit /mnt/etc/sysconfigtab as required.
5) sync
6) shutdown and reboot.
Alternatively you could try an interactive boot and reset the parameters
for that boot. This should get you in so you can correct the entries in
sysconfigtab. To do this boot with flags "ia" ie
>>> boot -fl "ia"
This should start booting and at some point stop to ask for your kernel
name. At this point you should be able to give the name and enter a new
value for a tuning param. ie
vmunix proc:maxusers=2048
This means boot using vmunix and set the maxusers param in the proc
subsystem to 2048
Have fun!
Nick Hill
Rutherford Appleton Labs
ITD Scientific Computing Services Group
n.m.hill@rl.ac.uk
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tuning Memory ?
2001-05-23 9:38 ` Nick Hill
@ 2001-05-25 15:43 ` Brian Cuttler
2001-06-08 3:51 ` Jack Patteeuw
0 siblings, 1 reply; 6+ messages in thread
From: Brian Cuttler @ 2001-05-25 15:43 UTC (permalink / raw)
Nick,
We are now (thank you very much) back to where we started.
I suspect that the problem had been poor technique.
I'd created a file that looked something like this...
proc:
max-per-proc-address-space = 400000000
and a few other variables, now that I look again (I lost the
original) I'm not at all certain I had enough digits...
I used blanks, not tab.
I issued the wrong options on sysconfigdb, first specifing (typo)
the -t and tried again with -f, I believe using the -m option in
both cases.
No wonder I corrupted the parameter files.
Any further words of advice before I try to tune the system again ?
thanks,
Brian
Nick Hill (n.m.hill@rl.ac.uk) wrote:
:
:
: Brian Cuttler wrote:
: >
: > Ok, assuming that I fowled up tuning my system...
: >
: > On VMS I'd boot sysconfig and correct the parameters, on True64
: > I'm a bit less certain of the analog procedure.
: >
: > Also, since this is a loaner/demo system I lack the documentation.
: >
: > If someone could be so kind, I need a fairly detailed procedure, not
: > at base 0, I can figure out "boot installation disk" (assuming they
: > sent us one, it was a pre-installed OS), just no big gaps in the
: > procedure.
: >
:
: I'm assuming you mean that the boot fails as a result of some tuning
: param you entered.
:
: If you boot the installation CD then you need to mount the the real root
: filesystem from the hard disk. If this is a UFS filesystem then you can
: just mount the partition on /mnt. If the root is an Advfs then you need
: to create the directory entries in /etc/fdmns as follows having first
: identified which disk it is you need to mount!
:
: 1) Create a directory /etc/fdmns/recovery
:
: 2) Create a symbolic link in the above directory to the disk device for
: the root partition. If it is a V4.0 system then something like ln -s
: /dev/rz0a rz0a. For a V5 system then it would be ln -s dsk0a
: /dev/disk/dsk0a. Adjust disk name accordingly for you system.
:
: 3) Mount the filesystem:
:
: mount recovery#root /mnt
:
: 4) edit /mnt/etc/sysconfigtab as required.
:
: 5) sync
:
: 6) shutdown and reboot.
:
: Alternatively you could try an interactive boot and reset the parameters
: for that boot. This should get you in so you can correct the entries in
: sysconfigtab. To do this boot with flags "ia" ie
:
: >>> boot -fl "ia"
:
: This should start booting and at some point stop to ask for your kernel
: name. At this point you should be able to give the name and enter a new
: value for a tuning param. ie
:
: vmunix proc:maxusers=2048
:
: This means boot using vmunix and set the maxusers param in the proc
: subsystem to 2048
:
:
: Have fun!
:
: Nick Hill
: Rutherford Appleton Labs
: ITD Scientific Computing Services Group
: n.m.hill@rl.ac.uk
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Tuning Memory ?
2001-05-25 15:43 ` Brian Cuttler
@ 2001-06-08 3:51 ` Jack Patteeuw
0 siblings, 0 replies; 6+ messages in thread
From: Jack Patteeuw @ 2001-06-08 3:51 UTC (permalink / raw)
use dxkerneltuner
Jack Patteeuw
Brian Cuttler wrote:
>
> Nick,
>
> We are now (thank you very much) back to where we started.
>
> I suspect that the problem had been poor technique.
>
> I'd created a file that looked something like this...
>
> proc:
> max-per-proc-address-space = 400000000
>
> and a few other variables, now that I look again (I lost the
> original) I'm not at all certain I had enough digits...
>
> I used blanks, not tab.
>
> I issued the wrong options on sysconfigdb, first specifing (typo)
> the -t and tried again with -f, I believe using the -m option in
> both cases.
>
> No wonder I corrupted the parameter files.
>
> Any further words of advice before I try to tune the system again ?
>
> thanks,
>
> Brian
>
> Nick Hill (n.m.hill@rl.ac.uk) wrote:
> :
> :
> : Brian Cuttler wrote:
> : >
> : > Ok, assuming that I fowled up tuning my system...
> : >
> : > On VMS I'd boot sysconfig and correct the parameters, on True64
> : > I'm a bit less certain of the analog procedure.
> : >
> : > Also, since this is a loaner/demo system I lack the documentation.
> : >
> : > If someone could be so kind, I need a fairly detailed procedure, not
> : > at base 0, I can figure out "boot installation disk" (assuming they
> : > sent us one, it was a pre-installed OS), just no big gaps in the
> : > procedure.
> : >
> :
> : I'm assuming you mean that the boot fails as a result of some tuning
> : param you entered.
> :
> : If you boot the installation CD then you need to mount the the real root
> : filesystem from the hard disk. If this is a UFS filesystem then you can
> : just mount the partition on /mnt. If the root is an Advfs then you need
> : to create the directory entries in /etc/fdmns as follows having first
> : identified which disk it is you need to mount!
> :
> : 1) Create a directory /etc/fdmns/recovery
> :
> : 2) Create a symbolic link in the above directory to the disk device for
> : the root partition. If it is a V4.0 system then something like ln -s
> : /dev/rz0a rz0a. For a V5 system then it would be ln -s dsk0a
> : /dev/disk/dsk0a. Adjust disk name accordingly for you system.
> :
> : 3) Mount the filesystem:
> :
> : mount recovery#root /mnt
> :
> : 4) edit /mnt/etc/sysconfigtab as required.
> :
> : 5) sync
> :
> : 6) shutdown and reboot.
> :
> : Alternatively you could try an interactive boot and reset the parameters
> : for that boot. This should get you in so you can correct the entries in
> : sysconfigtab. To do this boot with flags "ia" ie
> :
> : >>> boot -fl "ia"
> :
> : This should start booting and at some point stop to ask for your kernel
> : name. At this point you should be able to give the name and enter a new
> : value for a tuning param. ie
> :
> : vmunix proc:maxusers=2048
> :
> : This means boot using vmunix and set the maxusers param in the proc
> : subsystem to 2048
> :
> :
> : Have fun!
> :
> : Nick Hill
> : Rutherford Appleton Labs
> : ITD Scientific Computing Services Group
> : n.m.hill@rl.ac.uk
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-06-08 3:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-22 20:57 Tuning Memory ? Brian Cuttler
2001-05-23 9:38 ` Nick Hill
2001-05-25 15:43 ` Brian Cuttler
2001-06-08 3:51 ` Jack Patteeuw
-- strict thread matches above, loose matches on Subject: below --
2001-05-18 15:08 Michael Reffalt
2001-05-18 16:43 ` Nick Hill
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox