tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Mohamed K. Ahmed" <mkahmed@vsc.teksystems.com>
Subject: SUMMARY: (kinda) Tuning swap/vm  system parameters
Date: Thu, 26 Jun 2003 12:31:36 -0400	[thread overview]
Message-ID: <2cf47032.70322cf4@vsc.teksystems.com> (raw)

Well, thanks for the responces from Alan Davis, Selden Ball, Allan 
Rollow, Brian Staab and Grant Schoep.

I am in the process now of increasing the swap space to at least double 
the physical memory as recommended.
In the time being, I have changed the swap mode to lazy mode (set 
vm_swap_eager  to   0  ), and no problem thus far, installed top, 
monitor, the /usr/local/bin/top output is around the following figures

load averages:  1.13,  0.71,  0.71 
120 processes: 3 running, 47 sleeping, 69 idle, 1 zombie
CPU states: 44.9% user,  0.2% nice,  4.8% system, 49.9% idle
Memory: Real: 1170M/4506M act/tot  Virtual: 5201M use/tot  Free: 2725M

I will continue to monitor the system and update the list with any new 
foundings.

Thenks

-Mohamed



----- Original Message -----
From: "Mohamed K. Ahmed" <mkahmed@vsc.teksystems.com>
Date: Friday, June 20, 2003 2:41 pm
Subject: Tuning swap/vm  system parameters

> Hello all,
> The system is ES40, Tru64 Unix version 5.1 PK 5, 4 CPUs and 4GB 
> physical memory
> 
> I just have a question, why do I have always teh out put of swapon 
> -s almost the same?
> 
> # swapon -s
> Swap partition /dev/disk/dsk0b (default swap):
>    Allocated space:       665742 pages (5.08GB)
>    In-use space:              16 pages (  0%)
>    Free space:            665726 pages ( 99%)  <--------- This one
> 
> 
> Total swap allocation:
>    Allocated space:       665742 pages (5.08GB)
>    Reserved space:        361349 pages ( 54%)
>    In-use space:              16 pages (  0%)
>    Available space:       304393 pages ( 45%)
> # 
> 
> And some times when there is a lot of developers on the system, 
> the Reserved swap space coes up to  90% without the 99% of Fre Space 
> changing?
> Do I need to Allocate more swap or tune the vm kernel parameters?
> The sysconfig vm and proc parameters follow
> # sysconfig -q vm
> vm:
> ubc_minpercent = 10
> ubc_maxpercent = 70
> ubc_borrowpercent = 20
> vm_max_wrpgio_kluster = 32768
> vm_max_rdpgio_kluster = 16384
> vm_cowfaults = 4
> vm_segmentation = 1
> vm_ubcpagesteal = 24
> vm_ubcfilemaxdirtypages = 4294967295
> vm_ubcdirtypercent = 10
> ubc_maxdirtywrites = 5
> vm_ubcseqstartpercent = 50
> vm_ubcseqpercent = 20
> vm_csubmapsize = 1048576
> vm_ubcbuffers = 256
> vm_syncswapbuffers = 128
> vm_asyncswapbuffers = 4
> vm_clustermap = 1048576
> vm_clustersize = 65536
> vm_syswiredpercent = 80
> vm_troll_percent = 4
> vm_inswappedmin = 1
> vm_page_free_target = 2048
> vm_page_free_swap = 522
> vm_page_free_hardswap = 16384
> vm_page_free_min = 20
> vm_page_free_reserved = 10
> vm_page_free_optimal = 522
> vm_swap_eager = 1             <-----------------
> swapdevice = /dev/disk/dsk0b
> vm_page_prewrite_target = 2048
> vm_ffl = 1
> ubc_ffl = 1
> vm_rss_maxpercent = 100
> anon_rss_enforce = 0
> vm_rss_block_target = 522
> vm_rss_wakeup_target = 522
> dump_user_pte_pages = 0
> kernel_stack_pages = 0
> vm_min_kernel_address = 18446741891866165248
> malloc_percpu_cache = 1
> vm_aggressive_swap = 0    <---------
> new_wire_method = 1
> vm_segment_cache_max = 50
> gh_chunks = 0
> rad_gh_regions[0] = 0
> gh_min_seg_size = 8388608
> gh_fail_if_no_mem = 1
> private_cache_percent = 0
> gh_keep_sorted = 0
> gh_front_alloc = 1
> replicate_user_text = 1
> enable_yellow_zone = 0
> boost_pager_priority = 0
> kstack_free_target = 5
> # 
> 
> # sysconfig -q proc
> proc:
> max_proc_per_user = 1024
> max_threads_per_user = 2048
> per_proc_stack_size = 8388608
> max_per_proc_stack_size = 33554432
> per_proc_data_size = 2684354560    <------------
> max_per_proc_data_size = 2684354560   <------------
> max_per_proc_address_space = 5453758464   <------------
> per_proc_address_space = 5453758464   <------------
> executable_stack = 0
> autonice = 0
> autonice_time = 600
> autonice_penalty = 4
> open_max_soft = 4096
> open_max_hard = 4096
> ncallout_alloc_size = 8192
> round_robin_switch_rate = 0
> sched_min_idle = 0
> give_boost = 1
> maxusers = 256
> num_wait_queues = 256
> num_timeout_hash_queues = 256
> enhanced_core_name = 0
> enhanced_core_max_versions = 16
> exec_disable_arg_limit = 0
> dump_cores = 1
> dump_setugid_cores = 0
> # 
> 
> -Mohamed




                 reply	other threads:[~2003-06-26 16:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox