|
Home > Archive > Unix True 64 > September 2004 > DS25 Kernel Attributes
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
DS25 Kernel Attributes
|
|
| Cedric 2004-09-22, 9:24 pm |
| Dear all,
I have a problem to configure the Tru64 unix Kernel attributes on my DS25.
My config is:
Ds25, 2 Cpu, 1Gb Ram.
To be able to run our specific program I need to increase some proc attributes.
So I set them to the max value:
per_proc_stack_size=4398046511104
max_per_proc_stack_size=4398046511104
per_proc_data_size=4398046511104
max_per_proc_data_size=4398046511104
max_per_proc_address_space=4398046511104
per_proc_address_space=4398046511104
I don't have any errors, but at run time strange things occur.
we detect that was because those values are too high.
So here is my question:
Is there a way to know the right value for those Kernel attributes?
Is there any program, that can calculate the right values?
Thanks.
Cédric.
| |
| www.quincey.com 2004-09-23, 9:13 am |
| cedric.busque@gtd.es (Cedric) wrote in message news:<7f788460.0409220027.46c960f0@posting.google.com>...
> Dear all,
>
> I have a problem to configure the Tru64 unix Kernel attributes on my DS25.
> My config is:
> Ds25, 2 Cpu, 1Gb Ram.
>
> To be able to run our specific program I need to increase some proc attributes.
> So I set them to the max value:
>
>
> per_proc_stack_size=4398046511104
> max_per_proc_stack_size=4398046511104
> per_proc_data_size=4398046511104
> max_per_proc_data_size=4398046511104
> max_per_proc_address_space=4398046511104
> per_proc_address_space=4398046511104
>
> I don't have any errors, but at run time strange things occur.
> we detect that was because those values are too high.
>
>
> So here is my question:
> Is there a way to know the right value for those Kernel attributes?
> Is there any program, that can calculate the right values?
>
> Thanks.
> Cédric.
Cedric,
Let me start with simile. Kernel tuning is like working on a
master-work oil painting and every bit an art form. Just like you must
learn perspective, the use of light, color mixing, texture and brush
strokes and how they all interact.
You must learn the inter-workings of kernel parameters. You must learn
by doing to understand the subtleties. And, they do interact in subtle
ways. You have to balance performance against a finite amount of
memory, The system needs with application needs. and more.
The default values were chosen to meet the largest number of systems
requirements and only a suggestion but normally give pretty fair
performance.
As for a program to do the above, Well, write it and many companies
will beat a path to your door to buy it. make it portable to any OS
and your a billonare.
Here is a good place to start on your journey:
http://h30097.www3.hp.com/docs/base...DF/ARH9GBTE.PDF
(if you are using Tru64 UNIX 5.1A)
The other option is to contact a consultant or HP Tru64 UNIX software
support (also fee based for kernel tunning)
Good Luck Luke, And may the force be with you
Quincey
|
|
|
|
|