HP-UXの各カーネルパラメータの意味
Pocket

HP-UXに関する個別設計書を作成するにあたり、全カーネルパラメータの説明(概要)を記述することになった。
とりあえず調べ物の基本としてGoogle先生で検索をするけど、全部取得出来なかったりと少々苦戦。

もう実機見たほうが早いということで、実際に実機を見ることにした。
以下のコマンドを実行し、カーネルパラメータの値とその意味を取得する。

# kctune -v | grep -e Tunable -e Description > kctune_description
# sed -e "/^Description/a ---------" ./kctune_description

作成したファイル「kctune_description」の中身がこちら。

Sponsored Links

Tunable             NSTREVENT
Description         Maximum number of concurrent Streams bufcalls
---------
Tunable             NSTRPUSH
Description         Maximum number of Streams modules in a stream
---------
Tunable             NSTRSCHED
Description         Number of Streams scheduler daemons to run (0 = automatic)
---------
Tunable             STRCTLSZ
Description         Maximum size of the control portion of a Streams message (bytes)
---------
Tunable             STRMSGSZ
Description         Maximum size of the data portion of a Streams message (bytes; 0 = unlimited)
---------
Tunable             acctresume
Description         Relative percentage of free disk space required to resume accounting
---------
Tunable             acctsuspend
Description         Relative percentage of free disk space below which accounting is suspended
---------
Tunable             aio_iosize_max
Description         Maximum size (in bytes) of any single AIO I/O
---------
Tunable             aio_listio_max
Description         Maximum number of async IO operations that can be specified in lio_list call
---------
Tunable             aio_max_ops
Description         Maximum number of async IO operations that can be queued at any time
---------
Tunable             aio_monitor_run_sec
Description         Frequency of AIO Thread Pool Monitor Execution (in seconds)
---------
Tunable             aio_physmem_pct
Description         Percentage of physical memory lockable for request call-back operations
---------
Tunable             aio_prio_delta_max
Description         Greatest delta (slowdown factor) allowed in async IO request priorities
---------
Tunable             aio_proc_max
Description         Maximum number of AIOs that can be queued by any process (replaces aio_max_ops)
---------
Tunable             aio_proc_thread_pct
Description         Percentage of All Process Threads Allowed in AIO Pool
---------
Tunable             aio_proc_threads
Description         Maximum Number of Process Threads Allowed in AIO Pool
---------
Tunable             aio_req_per_thread
Description         Desirable Ratio Between Number Of Pending AIO Requests and Servicing Threads
---------
Tunable             allocate_fs_swapmap
Description         Enables allocation of file system swap map space during swapon(2) call (Boolean)
---------
Tunable             alwaysdump
Description         Bitmap of memory page classes to include in a crash dump
---------
Tunable             audit_memory_usage
Description         Percentage of physical memory audit subsystem can use
---------
Tunable             audit_track_paths
Description         Enables tracking of the root and current working dirs (Boolean)
---------
Tunable             base_pagesize
Description         Base page size in kBytes (i.e., NBPG)
---------
Tunable             close_wake_blkdflks
Description         Wakeup the threads blocked for file segment lock on closing the file (Boolean)
---------
Tunable             cmpt_restrict_tl
Description         Restrict compartment streams local transport connections
---------
Tunable             copy_on_write
Description         Copy-On-Write semantics for private objects (1 = enabled; 0=disabled)
---------
Tunable             core_addshmem_read
Description         Includes readable shared memory segments in process core dumps (Boolean)
---------
Tunable             core_addshmem_write
Description         Includes writable shared memory segments in process core dumps (Boolean)
---------
Tunable             create_fastlinks
Description         Enables storage of symbolic links in HFS inode structures (Boolean)
---------
Tunable             default_disk_ir
Description         Enables SCSI disks to cache writes ("immediate reporting") (Boolean)
---------
Tunable             desfree_pct
Description         Percentage of physical memory to try to keep free via swapper daemon
---------
Tunable             diskaudit_flush_interval
Description         The interval between two periodic flushes for diskaudit(counted in seconds)
---------
Tunable             dlpi_max_clones
Description         Maximum number of clone streams on Data Link Provider Interface device
---------
Tunable             dlpi_max_ub_promisc
Description         Maximum number of unbound promiscuous streams allowed on an interface
---------
Tunable             dma32_pool_size
Description         Amount of memory to set aside for 32-bit DMA (bytes)
---------
Tunable             dnlc_hash_locks
Description         Number of locks for Directory Name Lookup Cache (DNLC)
---------
Tunable             dontdump
Description         Bitmap of memory page classes to exclude from a crash dump
---------
Tunable             dst
Description         Daylight Savings Time policy (0=none; 1=US; 2=Aus; 3,4,5=West,Cent,East Europe)
---------
Tunable             dump_compress_on
Description         Enable compressed dump functionality
---------
Tunable             dump_concurrent_on
Description         Enable concurrent dump functionality
---------
Tunable             executable_stack
Description         Enables execution of code on a stack (0 = no, 1 = yes, 2 = yes but warn)
---------
Tunable             expanded_node_host_names
Description         Enables expanded node and host names (read manpage for warnings)
---------
Tunable             fcache_fb_policy
Description         Policy for flushing data to disk
---------
Tunable             fcache_seqlimit_file
Description         Per file sequential access limit (percent of maximum file cache size)
---------
Tunable             fcache_seqlimit_scope
Description         Sequential access detection control for file cache
---------
Tunable             fcache_seqlimit_system
Description         System sequential access limit (percent of maximum file cache size)
---------
Tunable             fcache_vhand_ctl
Description         Paging threshold control for the file cache
---------
Tunable             fcd_disable_mgmt_lun
Description         Disable creation of legacy management LUN for Array device
---------
Tunable             fclp_ifc_disable_mgmt_lun
Description         Disable creation of legacy management LUN for Array device
---------
Tunable             fcoc_ifc_disable_mgmt_lun
Description         Disable creation of legacy management LUN for Array device
---------
Tunable             fcq_disable_mgmt_lun
Description         Disable creation of legacy management LUN for Array device
---------
Tunable             filecache_max
Description         Maximum amount of physical memory to be used for caching file I/O data
---------
Tunable             filecache_min
Description         Minimum guaranteed physical memory used for caching file I/O data
---------
Tunable             fr_rulecache
Description         Modify IPFilter to check rule cache before doing rule walk
---------
Tunable             fr_statemax
Description         Modify maximum number of TCP states in IPFilter
---------
Tunable             fr_tcpidletimeout
Description         Modify the default idle timeout for TCP states in IPFilter
---------
Tunable             fr_tcptimewait
Description         Modify the default time wait time after closing connection in IPFilter
---------
Tunable             frnat_tcptimewait
Description         Modify the default NAT time wait time after closing connection in IPFilter
---------
Tunable             fs_async
Description         Enables write calls to return before write operation is complete (Boolean)
---------
Tunable             fs_symlinks
Description         Maximum number of symbolic links used to resolve a path name
---------
Tunable             ftable_hash_locks
Description         Number of file table locks
---------
Tunable             gvid_no_claim_dev
Description         PCI Vendor/Device ID that gvid driver should not claim
---------
Tunable             hires_timeout_enable
Description         Enable high resolution timer support
---------
Tunable             hp_hfs_mtra_enabled
Description         Enables HFS multi-threaded read-ahead (Boolean)
---------
Tunable             intr_strobe_ics_pct
Description         Maximum percentage of time a processor is allowed to spend in interrupt context
---------
Tunable             io_ports_hash_locks
Description         Number of I/O port locks
---------
Tunable             ipf_icmp6_passthru
Description         Modify IPFilter to allow ICMPv6 ND messages or rules to act on them
---------
Tunable             ipl_buffer_sz
Description         Modify size of IPFilter kernel logging buffer
---------
Tunable             ipl_logall
Description         Modify IPFilter log size, i.e whole packet or first 128 bytes
---------
Tunable             ipl_suppress
Description         Modify IPFilter logging behaviour for identical records
---------
Tunable             ipmi_watchdog_action
Description         Sets the action for the IPMI watchdog timer (0=no action)
---------
Tunable             ipnat_enable
Description         Modify IPFilter to enable/disable NAT to improve performance
---------
Tunable             kmem_aggressive_caching
Description         Policy hint for caching pages underlying the kernel dynamic memory.
---------
Tunable             kmem_do_largepage_cache_demotion
Description         Enable (1) or Disable (0) Kernel dynamic memory demotion
---------
Tunable             kmem_va_cache_enable
Description         Enable improved per processor kernel Virtual Address Cache
---------
Tunable             ksi_alloc_max
Description         Maximum number of queued signals pending on the system
---------
Tunable             ksi_send_max
Description         Maximum number of queued signals a sending process may have pending
---------
Tunable             lcpu_attr
Description         Toggles lcpu attribute of default pset (0 = disabled; 1 = enabled)
---------
Tunable             lotsfree_pct
Description         Free memory (% of physical memory) past which swapper daemon does not run
---------
Tunable             max_acct_file_size
Description         Maximum size of accounting file (bytes)
---------
Tunable             max_async_ports
Description         Maximum number of asyncdsk ports
---------
Tunable             max_mem_window
Description         Maximum number of memory windows
---------
Tunable             max_thread_proc
Description         Maximum number of threads in each process
---------
Tunable             maxdsiz
Description         Maximum size of the data segment of a 32-bit process (bytes)
---------
Tunable             maxdsiz_64bit
Description         Maximum size of the data segment of a 64-bit process (bytes)
---------
Tunable             maxfiles
Description         Initial (soft) maximum number of file descriptors per process
---------
Tunable             maxfiles_lim
Description         Hard maximum number of file descriptors per process
---------
Tunable             maxrsessiz
Description         Maximum size of the register stack of a 32-bit process (bytes)
---------
Tunable             maxrsessiz_64bit
Description         Maximum size of the register stack of a 64-bit process (bytes)
---------
Tunable             maxssiz
Description         Maximum size of the stack segment of a 32-bit process (bytes)
---------
Tunable             maxssiz_64bit
Description         Maximum size of the stack segment of a 64-bit process (bytes)
---------
Tunable             maxtsiz
Description         Maximum size of the text (code) segment of a 32-bit process (bytes)
---------
Tunable             maxtsiz_64bit
Description         Maximum size of the text (code) segment of a 64-bit process (bytes)
---------
Tunable             maxuprc
Description         Maximum number of processes for each non-root user
---------
Tunable             mca_recovery_on
Description         Enable recovery from MCA
---------
Tunable             mpas_readonly_text
Description         Enable read-only text for 32-bit MPAS processes
---------
Tunable             mprotect_reduce_protid_on
Description         Reduces protid usage for shared memory segments (Boolean)
---------
Tunable             msgmbs
Description         Total Message Space for Sys V IPC Message Queues (MB)
---------
Tunable             msgmnb
Description         Maximum size of a message queue (bytes)
---------
Tunable             msgmni
Description         Maximum number of message queues
---------
Tunable             msgtql
Description         Maximum number of messages queued at any time
---------
Tunable             ncdnode
Description         Maximum number of open CDFS files (system-wide)
---------
Tunable             nclist
Description         Number of blocks for pty and tty data transfers
---------
Tunable             ncsize
Description         Number of Directory Name Lookup Cache (DNLC) entries
---------
Tunable             nflocks
Description         Maximum number of file locks
---------
Tunable             nfs2_max_threads
Description         Max number of active async threads for future mounts
---------
Tunable             nfs2_nra
Description         Number of 8k blocks to read ahead
---------
Tunable             nfs3_bsize
Description         Client block size for future mounts
---------
Tunable             nfs3_do_readdirplus
Description         Turn off the NFSv3 readdirplus feature
---------
Tunable             nfs3_jukebox_delay
Description         Delay between retransmissions when receiving NFS3ERR_JUKEBOX
---------
Tunable             nfs3_max_commit_threads
Description         Max number of active async commit threads for future mounts
---------
Tunable             nfs3_max_threads
Description         Max number of active async threads for future mounts
---------
Tunable             nfs3_max_transfer_size
Description         Maximum size of an NFSv3 request
---------
Tunable             nfs3_max_transfer_size_cots
Description         Maximum size of an NFSv3 request over TCP
---------
Tunable             nfs3_nra
Description         Number of 32k blocks to read ahead
---------
Tunable             nfs4_bsize
Description         Client block size for future mounts
---------
Tunable             nfs4_max_threads
Description         Max number of active async threads for future mounts
---------
Tunable             nfs4_max_transfer_size
Description         Maximum size of an NFSv4 request
---------
Tunable             nfs4_max_transfer_size_cots
Description         Maximum size of an NFSv4 request over TCP
---------
Tunable             nfs4_nra
Description         Number of 32k blocks to read ahead
---------
Tunable             nfs_portmon
Description         Turn on server enforcement that clients use reserved ports
---------
Tunable             ngroups_max
Description         Maximum number of supplementary group IDs per process
---------
Tunable             ninode
Description         Maximum number of HFS file system open inodes that can be in memory.
---------
Tunable             nkthread
Description         Maximum number of threads on the system
---------
Tunable             nproc
Description         Maximum number of processes on the system
---------
Tunable             npty
Description         Number of pseudo TTY device files
---------
Tunable             nstrpty
Description         Maximum number of Streams-based pseudo-terminals
---------
Tunable             nstrtel
Description         Number of telnet session device files
---------
Tunable             nswapdev
Description         Maximum number of devices that can be enabled for swap
---------
Tunable             nswapfs
Description         Maximum number of file systems that can be enabled for swap
---------
Tunable             numa_mode
Description         NUMA mode
---------
Tunable             numa_policy
Description         Policy for using NUMA features
---------
Tunable             numa_sched_launch
Description         Change in process default launch policy
---------
Tunable             override_umask
Description         Overrides umask influence while creating files
---------
Tunable             pa_maxssiz_32bit
Description         Maximum size of the stack segment of a 32-bit PA-RISC process (bytes)
---------
Tunable             pa_maxssiz_64bit
Description         Maximum size of the stack segment of a 64-bit PA-RISC process (bytes)
---------
Tunable             pagezero_daemon_enabled
Description         Enables background zeroing of large pages (Boolean)
---------
Tunable             patch_active_text
Description         Enables patching active text semantics
---------
Tunable             pci_eh_enable
Description         Enable/Disable PCI Error Recovery
---------
Tunable             pci_error_tolerance_time
Description         Time interval in minutes between PCI Errors
---------
Tunable             process_id_max
Description         Maximum value for newer process IDs
---------
Tunable             process_id_min
Description         Minimum value for newer process IDs
---------
Tunable             pwr_idle_ctl
Description         Power management on idle processors
---------
Tunable             remote_nfs_swap
Description         Enables swapping across NFS (Boolean)
---------
Tunable             rng_bitvals
Description         Bits that contribute to entropy
---------
Tunable             rng_sleeptime
Description         Hundredths of seconds to pause when entropy is low
---------
Tunable             rtsched_numpri
Description         Number of POSIX.1b realtime priorities
---------
Tunable             rusage_hires_enable
Description         Enables finer resolution rusage
---------
Tunable             sched_thread_affinity
Description         Thread affinity (1 = lowest affinity; 10 = highest affinity)
---------
Tunable             scroll_lines
Description         Number of saved off-screen lines on the graphics console (ITE)
---------
Tunable             secure_sid_scripts
Description         Ignores setuid/setgid bits on shell scripts (Boolean)
---------
Tunable             semaem
Description         Maximum total undo value on a semaphore
---------
Tunable             semmni
Description         Maximum number of semaphore sets on the system
---------
Tunable             semmns
Description         Maximum number of semaphores
---------
Tunable             semmnu
Description         Maximum number of processes that can have undo operations pending on a semaphore
---------
Tunable             semmsl
Description         Maximum number of semaphores in a set
---------
Tunable             semume
Description         Maximum number of semaphores on which a process can have undo operations pending
---------
Tunable             semvmx
Description         Maximum value of a semaphore
---------
Tunable             shlib_debug_enable
Description         Enables online debugging of shared libraries
---------
Tunable             shmmax
Description         Maximum size of a shared memory segment (bytes)
---------
Tunable             shmmni
Description         Maximum number of shared memory segments on the system
---------
Tunable             shmseg
Description         Maximum number of shared memory segments attached to a process
---------
Tunable             streampipes
Description         Forces all pipes to be Streams-based pipes (Boolean)
---------
Tunable             swchunk
Description         Swap chunk size (kBytes)
---------
Tunable             sysv_hash_locks
Description         Number of semaphore locks
---------
Tunable             tcphashsz
Description         Size of the TCP hash table
---------
Tunable             timeslice
Description         Scheduling interval (10ms units; -1 = do not timeslice)
---------
Tunable             timezone
Description         Timezone (minutes west of UTC)
---------
Tunable             uname_eoverflow
Description         Causes non-expanded uname(2) to return EOVERFLOW on field overflow.
---------
Tunable             vnode_cd_hash_locks
Description         Number of locks for vnode clean/dirty pool
---------
Tunable             vnode_hash_locks
Description         Number of vnode locks
---------
Tunable             vps_ceiling
Description         Maximum system-selected page size (kBytes)
---------
Tunable             vps_chatr_ceiling
Description         Maximum chatr-selected page size (kBytes)
---------
Tunable             vps_pagesize
Description         Default user page size (kBytes)
---------
Tunable             vx_dexh_sz
Description         VxFS Large directory threshold
---------
Tunable             vx_era_nthreads
Description         Maximum number of threads VxFS will detect read_ahead patterns on
---------
Tunable             vx_maxlink
Description         Maximum number of links to a VxFS file
---------
Tunable             vx_ninode
Description         Number of entries in the VxFS inode table
---------
Tunable             vxfs_bc_bufhwm
Description         VxFS metadata buffer cache high water mark
---------
Tunable             vxfs_edele_release_timelag
Description         VxFS EAU delegation timeout period
---------
Tunable             vxfs_ifree_timelag
Description         VxFS Free Inode minimum existence time

まぁ、全部英語ではあるが、もし万が一またHP-UXの業務に関わった際、何かしらの役に立つかもしれないので残しておく。

Pocket

Written by blacknon

インフラ系のSE。一時期はプログラマ。 仮想化とオープンソースに興味あり。一日中寝てたい今日このごろ。 スペインとかで働きたいなぁ…(シエスタがあるので)

Leave a Comment

メールアドレスが公開されることはありません。