From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,fc606a0b78c1cebe X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!postnews1.google.com!not-for-mail From: quinceyc@hotmail.com (www.quincey.com) Newsgroups: comp.unix.tru64 Subject: Re: DS25 Kernel Attributes Date: 22 Sep 2004 20:00:47 -0700 Organization: http://groups.google.com Message-ID: References: <7f788460.0409220027.46c960f0@posting.google.com> NNTP-Posting-Host: 65.12.177.197 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1095908448 2439 127.0.0.1 (23 Sep 2004 03:00:48 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 23 Sep 2004 03:00:48 +0000 (UTC) Xref: g2news1.google.com comp.unix.tru64:310 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_doc/DOCUMENTATION/V51A_PDF/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