05-23-2002
File: /etc/system
parameter: segkpsize
Description:
Specify the amount of kernel pageable memory
available. This memory is used primarily for
kernel thread stacks. Increasing this number
allows either larger stacks for the same number
of threads or more threads. This parameter can
only be set on systems running 64-bit kernels
Systems running 64-bit kernels use a default
stack size of 24 Kbytes.
Data Type: Unsigned long
Default: 64-bit kernels, 2 Gbytes
32-bit kernels, 512 Mbytes
Range: 64-bit kernels, 512 Mbytes - 24 Gbytes
32-bit kernels, 512 Mbytes
Units: Mbytes
Dynamic? No
Validation:
Value is compared to minimum and maximum
sizes (512 Mbytes and 24 Gbytes for 64-bit
systems) and if smaller than the minimum or
larger than the maximum, it is reset to 2 Gbytes
and a message to that effect is displayed.
The actual size used in creation of the cache is
the lesser of the value specified in segkpsize
after the constraints checking and 50% of
physical memory.
When to Change: This is one of the steps necessary to support largenumbers of processes on a system. The default
size of 2 Gbytes, assuming at least 1 Gbyte of
physical memory is present, allows creation of
24-Kbyte stacks for more than 87,000 kernel
threads. The size of a stack in a 64-bit kernel is
the same whether the process is a 32-bit process
or a 64-bit process. If more than this number is
needed, segkpsize can be increased assuming
sufficient physical memory exists.
See also nfs:nfs_max_threads if you use NFS.
Regards. Hugo.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do i determen (what command) the max. number of users allowed
Thanks in advance (10 Replies)
Discussion started by: siza
10 Replies
2. Linux
Hi
Anybody knows max. no. of threads handled by a process in linux. Please reply
Thanks in advnce :confused: (0 Replies)
Discussion started by: Agnello
0 Replies
3. Solaris
Hi,
Anybody knows the maximum number of threads suuported by a process in solaris os. Please reply
Thanks in advance :( (1 Reply)
Discussion started by: Agnello
1 Replies
4. UNIX for Dummies Questions & Answers
Hi,
What is the maximum number of arguments that could be passed to zsh ?
To find out that I tried a simple script.
And the maximum number of arguments that could be passed turned out to be 23394
#! /bin/zsh
arg=1
i=1
subIndex=23000
while
do
arg=$arg" "$i
i=$(($i + 1))... (9 Replies)
Discussion started by: matrixmadhan
9 Replies
5. UNIX for Dummies Questions & Answers
what is the maximum number ls can list down (6 Replies)
Discussion started by: karnan
6 Replies
6. Shell Programming and Scripting
I am trying to calculate the maximum number from four numbers input by the user. I have the following code, but it does not work. It says there's an error with the last line "done". Any help would be appreciated.
max=0
echo "Please enter four numbers: "
for i in 1 2 3 4
do
read number... (17 Replies)
Discussion started by: itech4814
17 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
What is the maximum number of sed squeezing in one shell?? I've surprised with this message when I squeezed 50 sed in the same shell:
253: Identifier too long - maximum length is 18.This is what I've did in my sed query
| sed -e "s/ 0 /Default /" | sed -e "s/ 1 ... (2 Replies)
Discussion started by: leo_ultra_leo
2 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I would like to save my output data in two columns. I tried print(x,y) but have two problems:
1. There are ~10000 values for each x and y, but the intermediates are omitted;
2. I'd like to list data in two columns instead of two arrays (BTW, it's fine as I can format it using other... (3 Replies)
Discussion started by: sxiong
3 Replies
LEARN ABOUT DEBIAN
__gnu_parallel::parallel_tag
__gnu_parallel::parallel_tag(3cxx) __gnu_parallel::parallel_tag(3cxx)
NAME
__gnu_parallel::parallel_tag -
SYNOPSIS
Inherited by __gnu_parallel::balanced_quicksort_tag, __gnu_parallel::balanced_tag, __gnu_parallel::default_parallel_tag,
__gnu_parallel::exact_tag, __gnu_parallel::multiway_mergesort_exact_tag, __gnu_parallel::multiway_mergesort_sampling_tag,
__gnu_parallel::multiway_mergesort_tag, __gnu_parallel::omp_loop_static_tag, __gnu_parallel::omp_loop_tag, __gnu_parallel::quicksort_tag,
__gnu_parallel::sampling_tag, and __gnu_parallel::unbalanced_tag.
Public Member Functions
parallel_tag ()
parallel_tag (_ThreadIndex __num_threads)
_ThreadIndex __get_num_threads ()
void set_num_threads (_ThreadIndex __num_threads)
Detailed Description
Recommends parallel execution at compile time, optionally using a user-specified number of threads.
Definition at line 46 of file tags.h.
Constructor & Destructor Documentation
__gnu_parallel::parallel_tag::parallel_tag () [inline]
Default constructor. Use default number of threads.
Definition at line 53 of file tags.h.
__gnu_parallel::parallel_tag::parallel_tag (_ThreadIndex__num_threads) [inline]
Default constructor. Recommend number of threads to use. Parameters:
__num_threads Desired number of threads.
Definition at line 58 of file tags.h.
Member Function Documentation
_ThreadIndex __gnu_parallel::parallel_tag::__get_num_threads () [inline]
Find out desired number of threads. Returns:
Desired number of threads.
Definition at line 63 of file tags.h.
Referenced by __gnu_parallel::__parallel_sort().
void __gnu_parallel::parallel_tag::set_num_threads (_ThreadIndex__num_threads) [inline]
Set the desired number of threads. Parameters:
__num_threads Desired number of threads.
Definition at line 73 of file tags.h.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 __gnu_parallel::parallel_tag(3cxx)