Sponsored Content
Operating Systems AIX What is maxreqs parameter in AIX? Post 302463620 by thepurple on Monday 18th of October 2010 05:15:05 AM
Old 10-18-2010
Hello guys,

I have incresed the maxreqs value to 16384 which is 4 times than 4096;

I am getting the out of

Code:
# iostat -A 1 | awk '/avg/ {if(x!=1){print; getline; print; x=1}else{getline; print}}'

aio: avgc avfc maxg maif maxr avg-cpu: % user % sys % idle % iowait
        0    0    4 4040 16384             2.2   0.7   97.1      0.0
        0    0    0    2 16384             8.9   1.0   90.1      0.0
        0    0    0   66 16384             4.8   1.6   93.4      0.2
        0    1    0    5 16384             1.5   0.5   98.0      0.0
        0    0    0    2 16384             3.2   1.2   95.6      0.0

Does it mean currently there is no AIO request processing as "avgc" is 0 ? May be i am interpreting wrongly. I would like to observe current aio request processed by maxreqs

your kind help please.

Last edited by Scott; 10-18-2010 at 06:17 AM.. Reason: Please use code tags
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how do I make dynamic parameter names? Or get the value of a parameter evaluated twi

Say I write something like the following: var1=1 var2=2 for int in 1 2 do echo "\$var$int" done I want the output to be: 1 2 Instead I get something like: $var1 $var2 (2 Replies)
Discussion started by: Awanka
2 Replies

2. AIX

AIX kernal parameter same as of solaris tcp_conn_req_max_q

I have some requirement to tune the kernal parameter but want to know which is equal to tcp_conn_req_max_q in solaris?? thanksin advance. amir (1 Reply)
Discussion started by: amiri2000
1 Replies

3. AIX

aix:ksh: /usr/bin/rm: 0403-027 The parameter list is too long.

Hi, I am getting the below error message When i am trying to delete the files from the directory.Could you please guide me? rm *.aud ksh: /usr/bin/rm: 0403-027 The parameter list is too long. and find /oracle/admin/testP/adump/*.aud -mtime +5 -exec rm {} \; ksh: /usr/bin/find:... (3 Replies)
Discussion started by: nokiae63
3 Replies

4. Shell Programming and Scripting

Command that takes one parameter and then searches for the passed in parameter

Hi I am looking for a unix command or a small shell script which can takes one parameter and then searches for the passed in the parameter in any or all files under say /home/dev/ Can anyone please help me on this? (3 Replies)
Discussion started by: pankaj80
3 Replies

5. Shell Programming and Scripting

Passing parameter to script, and split the parameter

i am passing input parameter 'one_two' to the script , the script output should display the result as below one_1two one_2two one_3two if then echo " Usage : <$0> <DATABASE> " exit 0 else for DB in 1 2 3 do DBname=`$DATABASE | awk -F "_" '{print $1_${DB}_$2}` done fi (5 Replies)
Discussion started by: only4satish
5 Replies

6. AIX

0403-027 The parameter list is too long on AIX 5.3

Hi we are using AIX 5.3 64bit I have near about 79000 log file having naming convention like "IFTMBCSun Aug 14 07:45:00 PAKST 2011". This naming convention was created by a script error, now we need to rename these log file by removing extar spaces and (:) colon for that we wrote below script ... (4 Replies)
Discussion started by: lodhi1978
4 Replies

7. Shell Programming and Scripting

How to get the parameter value from the parameter file in perl?

hi all, i have a parameter file of following format, i want a method which can get the value of specific parameter. parameter file format: <Parameter Name="FileLocationWindows"> <Description> The directory location of the logger file. ... (1 Reply)
Discussion started by: laxmikant.hcl
1 Replies

8. Shell Programming and Scripting

Resolving a parameter which is passed as parameter

Hi, I have the following files. ->cat scr.sh export TMP_DIR=/home/user/folder1 export TMP_DIR_2=/home/user/folder2 while read line do cat "$line" done<file_list.dat ------------------------ -> cat file_list.dat $TMP_DIR/file1.txt $TMP_DIR_2/file2.txt --------------------------- -> cat... (6 Replies)
Discussion started by: barath
6 Replies

9. Shell Programming and Scripting

Call Script with Parameter (that has another parameter)

Hi. How do I achieve this sh /EDWH-DMT02/script/MISC/exec_sql.sh "@/EDWH-DMT02/script/others/CSM_CKC/Complete_List.sql ${file_name}" Complete_List.txt The /EDWH-DMT02/script/MISC/exec_sql.sh has two parameters and it's working fine with this sh /EDWH-DMT02/script/MISC/exec_sql.sh... (7 Replies)
Discussion started by: aimy
7 Replies

10. Shell Programming and Scripting

Use parameter expansion over a parameter expansion in bash.

Hello All, Could you please do help me here as I would like to perform parameter expansion in shell over a parameter expansion. Let's say I have following variable. path="/var/talend/nat/cdc" Now to get only nat I could do following. path1="${path%/*}" path1="${path1##*/}" Here... (8 Replies)
Discussion started by: RavinderSingh13
8 Replies
sprofil(2)							System Calls Manual							sprofil(2)

NAME
sprofil() - execution time profile for disjointed text spaces SYNOPSIS
DESCRIPTION
controls profiling, by which the system maintains estimates of the amount of time the calling program spends executing at various places in its address space. It differs from its predecessor in that it allows simultaneous profiling of many disjointed regions of memory. profp must point to an ordered array of structures. The structure is defined as: profcnt specifies the number of structures in the profp array. If profcnt is 0, profiling is disabled. If non-NULL, tvp points to a which on return contains the time value corresponding to one clock tick. The only valid flags values are and The flags parameter must be set to one of these values. When profiling is enabled, each thread's program counter is examined each clock tick times per second), and the system searches the profp array for a region that includes Each structure is interpreted as follows: pr_base must point to an area of memory whose length (in bytes) is given by pr_size. This memory must not be modified or freed while profiling is enabled. This memory is treated as an array of 2, 4 or 8-byte elements corresponding to the or flag specified by the flags parameter. pr_size must be a non-zero multiple of the element size. pr_offset is the start address of the region to be profiled. Note that it is always interpreted as a text address and never as the address of a function descriptor. pr_scale is interpreted as an unsigned, fixed-point value with sixteen bits to the right of the binary point. The value falls within a region if (offset=((pr_offset) * pr_scale) / 65536) < pr_size. If a matching region is found, offset is rounded down to a 2, 4 or 8-byte boundary corresponding to the element size specified by the flags parameter. The element at pr_base + offset is incremented by 1, unless that would result in overflow. If the calculation above results in an invalid address, profiling is silently disabled. The profp array must be sorted in ascending order by pr_offset value. The profiling regions must not overlap. If a pr_scale field is set to 0 or 1, the corresponding array entry is ignored. The last entry in the profp array is special. If its pr_offset field is set to 0 and its pr_scale field is set to 2, it is treated as an overflow descriptor. In this case, its pr_size field must be set to the size of one element. If the value did not fall within the range of one of the preceding descriptors, the single element specified by the pr_base field is incremented, unless that would result in over- flow. Each call to disables profiling if it was enabled and then enables profiling of the regions specified by the array entries. Due to variations in instruction length on different architectures, the pr_scale setting results in different entry-to-instruction ratios. The following tables show the number of instructions that map into each element of the array that pr_base points to based on instruction size, pr_scale and flags. On PA-RISC machines, instructions are 4 bytes each. +-------+---------------------------------------+ |Scale | PROF_USHORT PROF_UINT PROF_UINT64 | +-------+---------------------------------------+ | 2 | 16384 32768 65536 | | 4 | 8192 16384 32768 | | 8 | 4096 8192 16384 | | 16 | 2048 4096 8192 | | 32 | 1024 2048 4096 | | 64 | 512 1024 2048 | | 128 | 256 512 1024 | | 256 | 128 256 512 | | 512 | 64 128 256 | | 1024 | 32 64 128 | | 2048 | 16 32 64 | | 4096 | 8 16 32 | | 8192 | 4 8 16 | | 16384 | 2 4 8 | | 32768 | 1 2 4 | | 65536 | 0.5 1 2 | |131072 | 0.25 0.5 1 | +-------+---------------------------------------+ On Itanium-based machines, pc points to a 16-byte bundle containing three instructions. It is not possible to profile individual instruc- tions. +------+---------------------------------------+ |Scale | PROF_USHORT PROF_UINT PROF_UINT64 | +------+---------------------------------------+ | 2 | 4096 8192 16384 | | 4 | 2048 4096 8192 | | 8 | 1024 2048 4096 | | 16 | 512 1024 2048 | | 32 | 256 512 1024 | | 64 | 128 256 512 | | 128 | 64 128 256 | | 256 | 32 64 128 | | 512 | 16 32 64 | | 1024 | 8 16 32 | | 2048 | 4 8 16 | | 4096 | 2 4 8 | | 8192 | 1 2 4 | |16384 | 0.5 1 2 | |32768 | 0.25 0.5 1 | +------+---------------------------------------+ Note that a 1-1 mapping of counters consumes twice as much space as for counters, and should only be used in those cases where you expect a 16-bit counter to overflow. Likewise, a 1-1 mapping of counters consumes twice as much space as for counters, and should only be used in those cases where you expect a 32-bit counter to overflow. The results of specifying a pr_scale that corresponds to an instruction-to-profiling element ratio smaller than 1-1 mapping produces unde- fined behavior. If overlapping text regions are specified, then the pr_base associated with the largest offset less than the value of the program counter gets incremented. If more than one text region has the same offset, the first one is chosen. A text region with the pr_offset of 0 and pr_scale of 0x0002 acts as an overflow bin. Any value not previously matched or outside the regions of text space specified is considered to match this text region and the first counter of the specified pr_base is incremented. If specified, such an overflow bin should always be last in the list of specified regions. Notes Profiling is turned off when an is executed, but remains on in both child and parent processes after a A call to has the same effect as calling with just one member in the profp array with the fields profcnt, tvp, and flags taking on the val- ues of and respectively. RETURN VALUE
On success, returns 0. Otherwise, it returns -1 and sets the global variable to indicate the error. ERRORS
The function fails if: profcnt was less than or equal to 0, or greater than Either profp or tvp points to an illegal address. The flags parameter is not valid or a pr_size field is zero or greater than (2^46 * pr_scale) / 65536 or is not a multiple of the element size or the overflow descriptor is not last in the list of specified regions or is more than one element long or the regions are not sorted in ascending order by pr_offset or the regions overlap. SEE ALSO
prof(1), intro(2), profil(2), times(2), monitor(3C), smonitor(3C). sprofil(2)
All times are GMT -4. The time now is 11:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy