Sponsored Content
Top Forums UNIX for Advanced & Expert Users Maximum number of threads per user Post 21822 by hugo_perez on Thursday 23rd of May 2002 10:29:18 AM
Old 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

Maximum number of users allowed

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

Maximum number of threads handled by a process????

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

Maximum Number of threads suuported????

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

maximum number of arguments

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

ls - maximum number of files

what is the maximum number ls can list down (6 Replies)
Discussion started by: karnan
6 Replies

6. Shell Programming and Scripting

Maximum number from input by user

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

Maximum number of sed squeezing

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

Maximum number of data in Python

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
sys_attrs_net(5)						File Formats Manual						  sys_attrs_net(5)

NAME
sys_attrs_net - net subsystem attributes DESCRIPTION
This reference page lists and describes attributes for the Network (net) kernel subsystem. Refer to the sys_attrs(5) reference page for an introduction to the topic of kernel subsystem attributes. Enables (1) or disables (0) traffic control on all network interfaces on the system. Default value: 0 (disabled) Minimum value: 0 Maximum value: 1 Maximum number of mbufs enqueued on an interface's output queue before packets are dropped. Default value: 1024 (bytes) Minimum value: 1024 Maximum value: 65535 The default maximum transmission unit (MTU) for all loopback (lo) interfaces. Default value: 4096 (bytes) Minimum value: 68 Maximum value: 65535 Maximum number of loopback (lo) interfaces on a system. The interfaces are numbered sequentially starting with 0 (for example, lo0). Default value: 1 (interface) Minimum value: 1 Maximum value: 16581375 (or until memory is exhausted) Enables (1) or disables (0) fair allocation of netisr protocol threads. When enabled (1), only 1 netisr thread runs for each proto- col queue. Default value: 1 (enabled) Minimum value: 0 Maximum value: 1 The priority of the netisr protocol threads. Default value: 33 Minimum value: 0 Maximum value: 63 Number of network threads configured in a system. Default value: n (Based on the number of CPUs in a system. For a system with one processor, the value is 1. For a multiprocessing system, the value is 1 plus the number of processors.) Minimum value: 1 Maximum value: 50 Number of packets (packet threshold) above which another netisr thread is started. Default value: 1 (packet) Minimum value: 1 Maximum value: INT_MAX, or 2 billion Number of packet filter devices on a system. Default value: 256 (devices), if PACKETFILTER option is configured in the kernel; otherwise, 0 Minimum value: 256 Maximum value: 4096 Number of serial line internet protocol (SLIP) lines. Default value: 1 (line) Minimum value: 1 Maximum value: 50 Depth of the kernel cache used by the screend facility. Default value: 8 (entries) Minimum value: 8 Maximum value: 16 Width of the kernel cache used by the screend facility. Default value: 8 (entries) Minimum value: 8 Maximum value: 4096 Maximum number of packets pending allowed in the screend facility queue. Default value: 32 (packets) Minimum value: 32 Maximum value: 16384 SEE ALSO
sys_attrs(5) System Configuration and Tuning sys_attrs_net(5)
All times are GMT -4. The time now is 01:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy