From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,5875ebd40c8c2096 X-Google-Attributes: gid1164f8,public From: "Mark & Suzanne (gcs might work)" Subject: Re: EV6 Workstation Delay and wi**y waving Date: 1998/09/21 Message-ID: <360656F9.167E@s054.aone.net.au> X-Deja-AN: 393278997 Content-Transfer-Encoding: 7bit References: <35E6C4F9.2578@world.std.com> <6tj5pc$75f@post.gsfc.nasa.gov> <6tlu8c <36029E1C.2F1CF0FB@dial.pipex.com> <6turep$if3$1@pravda.ucr.edu> To: Chris Ulrich Content-Type: text/plain; charset=us-ascii X-Trace: news.mel.aone.net.au 906384826 1851 203.12.186.53 (21 Sep 1998 13:33:46 GMT) Organization: Garetech Computer Solutions P/L Mime-Version: 1.0 NNTP-Posting-Date: 21 Sep 1998 13:33:46 GMT Newsgroups: comp.sys.dec Chris Ulrich wrote: > > >I assume some people will want to do kernel rebuilds - is there some > >special procedure to allow this without a compiler present, or is all > >the tuning / selection of options done via scripts at boot time ?... > > In solaris, the kernel is tuned with vi: > vi /etc/system > After you're done, reboot. And actually, most changes can be done > simply by using adb (if you're brave) on a live kernel. Certainly > one can load and unload device drivers on a live system. I do this > all the time when I put new disks or tapes onto a live system > > Relinking the kernel. How quaint. I remember doing that with ultrix. > You are a little bit out of touch with Digital UNIX. Just in case you never ask :- /etc/sysconfigtab use vi if your careful sysconfigdb if like to be correct or dxkerneltuner if you like a GUI and sysconfig to have a look, load/unload parts of the kernel or reconfigure certian dynamic parameters man sysconfig sysconfig - Maintains the kernel subsystem configuration SYNOPSIS /sbin/sysconfig [-h hostname] [-i index] [-v]-c|-m|-q|-Q|-r|-s| -u [subsystem-name] [attribute-list] FLAGS -c Configures the specified subsystem by initializing its attribute values and, possibly, loading it into the kernel. -h hostname Specifies that the operation be performed on system hostname. -i index Specifies the index to be used for querying or reconfiguring indexed attributes. -m Queries the mode for the specified subsystems. A subsystem's mode can be static or dynamic. If you omit the subsystem name, syscon- fig displays the mode of all the configured subsystems. -q Queries attribute values for the configured subsystem specified by subsystem-name. If you omit attribute-list, values of all the specified subsystem's attributes are displayed. -Q Queries information about attributes of the configured subsystem specified by subsystem-name. The information includes the attribute data type, the operations supported, and the minimum and maximum values allowed for the attribute. Note that the mini- mum and maximum values means length and size for attributes of char and binary types, respectively. If you omit the attribute- list, information about all attributes in the specified subsystem is displayed. -r Reconfigures the specified subsystem. You must supply the sub- system-name argument and the attribute-list argument when you use this flag. -s Queries the subsystem state for the specified subsystems. If you omit the subsystem name, sysconfig displays the state of all the configured subsystems. -u Unconfigures and, if the subsystem is loadable, unloads the spec- ified subsystem from the kernel. -v Displays debugging information from the cfgmgr server and the kloadsrv loader (verbose flag). Well, vi to change parameters who quaint :) #!/bin/ksh # echo "#######################################################################" echo "### Parameters for node $( /bin/uname -n ) on $( /bin/date +"%Y:%m:%d:%T" )" echo "#######################################################################" for i in $( sysconfig -s | cut -d: -f1 ) do echo "##############################" echo "#" sysconfig -q $i | awk '{if ( $0 ~ /:/ ) {printf "%s\n", $0 } else { printf "\t%s\n", $0} }' done ####################################################################### ### Parameters for node ned on 1998:09:21:23:25:05 ####################################################################### ############################## # cm: max_callbacks = 341 reg_tbl = 1060 bytes of binary data read defaults = attribute does not allow this operation ############################## # generic: clock-frequency = 1024 booted_kernel = vmunix booted_args = vmunix lockmode = 0 lockdebug = 0 locktimeout = 15 max-lock-per-thread = 16 lockmaxcycles = 0 rt_preempt_opt = 0 rt-preempt-opt = 0 cpu_enable_mask = 18446744073709551615 cpu-enable-mask = 18446744073709551615 binlog-buffer-size = 0 msgbuf_size = 4096 message-buffer-size = 4096 dump-sp-threshold = 4096 lite-system = 0 physio_max_coalescing = 65536 kmem-debug = 0 kmem-debug-size-mask = 0 kmem-protected-size = 0 kmem-protected-lowat = 1000 kmem-protected-hiwat = 0 kmem-protected-kmempercent = 75 kmem-audit-count = 1024 old-obreak = 1 user_cfg_pt = 45000 memstr-buf-size = 0 memstr-start-addr = 0 memstr-end-addr = 0 insecure-bind = 0 ############################## # io: bdevsw-size = 70 cdevsw-size = 125 max-iosize-read = 65536 max-iosize-write = 65536 basic-dma-window-size = 0 dma-sg-map-unload-zero = 2 device_switch_inited = 1 device_switch_stale = 0 device_switch_print = 0 cam_ccb_pool_size = 200 cam_ccb_low_water = 100 cam_ccb_increment = 50 ############################## # ipc: msg-max = 8192 msg-mnb = 16384 msg-mni = 8192 msg-tql = 5000 shm-max = 4194304 shm-min = 1 shm-mni = 8192 shm-seg = 150 sem-mni = 8192 sem-msl = 25 sem-opm = 10 sem-ume = 10 sem-vmx = 32767 sem-aem = 16384 num-of-sems = 5000 max-kernel-ports = 38615 port-hash-max-num = 1930750 port-reserved-max-num = 38615 set-max-num = 6405 ssm-threshold = 0 ssm-enable-core-dump = 1 ############################## # proc: max-proc-per-user = 2059 max-threads-per-user = 2059 per-proc-stack-size = 33554432 max-per-proc-stack-size = 33554432 per-proc-data-size = 134217728 max-per-proc-data-size = 1073741824 max-per-proc-address-space = 1073741824 per-proc-address-space = 1073741824 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 round_robin_switch_rate = 0 sched-min-idle = 0 sched_min_idle = 0 give-boost = 1 give_boost = 1 maxusers = 256 task-max = 2069 thread-max = 4136 num-wait-queues = 256 num-timeout-hash-queues = 256 enable_extended_uids = 1 enhanced-core-name = 1 enhanced-core-max-versions = 16 ############################## # sec: audit-buffer-size = 16 audit-site-events = 64 nfs-flatten-mode = 0 ufs-sec-proplist-max-entry = 1548 ufs-proplist-max-entry = 8192 ############################## # socket: sbcompress_threshold = 0 sb_max = 131072 sobacklog_drops = 4 sobacklog_hiwat = 5 somaxconn = 1024 somaxconn_drops = 0 sominconn = 0 tss_disable = 0 tssmap_min_len = 1024 tssmap_max_pages = 16384 tssmap_wireubc = 0 tssmap_quicksum = 0 ############################## # rt: aio-max-num = 716 aio-task-max-num = 333 aio-listio-max-num = 64 aio-max-percent = 1 aio-max-retry = 0 aio-retry-scale = 4 sigqueue-max-num = 64 rttimer-max-num = 32 aio-percpu-data = 0 ############################## # bsd_tty: nclist = 120 ############################## # xpr: ############################## # kdebug: kdebug_escape = kdebug_stop_on_panic = 0 kdebug_unix_console = 0 kdebug_saveterm = 1 ############################## # dli: must-be-root = 1 max-ifq-length = 512 ############################## # ffm_fs: ############################## # bparm: bootdef_dev = SCSI 0 3001 0 0 0 0 0 boot_dev = SCSI 0 3001 0 0 0 0 0 boot_osflags = A ############################## # advfs: AdvfsCacheMaxPercent = 7 AdvfsMinFragGrps = 16 AdvfsMaxFragGrps = 48 AdvfsAccessMaxPercent = 80 AdvfsAccessCleanupPercent = 33 AdvfsSyncMmapPages = 1 AdvfsMaxDevQLen = 80 AdvfsFavorBlockingQueue = 1 AdvfsReadyQLim = 16384 ############################## # net: netisrthreads = 1 netisrwakeupthreshold = 1 nslip = 0 arptab_nb = 37 ############################## # ppp: nppp = 2 lock_debug = 0 ############################## # inet: inifaddr_hsize = 32 ipdefttl = 64 ipdirected_broadcast = 0 ipforwarding = 1 ipfragttl = 60 ipgateway = 1 ipport_userreserved = 5000 ipsendredirects = 1 ipsrcroute = 1 pmtu_decrease_intvl = 1200 pmtu_enabled = 1 pmtu_increase_intvl = 240 pmtu_rt_check_intvl = 20 subnetsarelocal = 1 tcbhashsize = 32 tcbquicklisten = 0 tcp_compat_42 = 1 tcp_cwnd_segments = 2 tcp_dont_winscale = 0 tcp_keepalive_default = 0 tcp_keepcnt = 8 tcp_keepidle = 14400 tcp_keepinit = 150 tcp_keepintvl = 150 tcp_msl = 60 tcp_mssdflt = 536 tcpnodelack = 0 tcp_recvspace = 32768 tcp_rexmit_interval_min = 2 tcprexmtthresh = 3 tcp_rttdflt = 3 tcp_sendspace = 32768 tcp_ttl = 60 tcptwreorder = 1 tcp_urgent_42 = 1 udpcksum = 1 udp_recvspace = 41600 udp_sendspace = 9216 udp_ttl = 30 ############################## # snmpinfo: snmp_devs = 12 ############################## # bufcall: ############################## # streams: strmsgsz = 12288 nstrpush = 9 ############################## # dlb: ############################## # kinfo: kinfo_streams = 10 ############################## # strstd: ############################## # timod: ############################## # tirdwr: ############################## # ldtty: ############################## # xtiso: ############################## # pts: nptys = 8192 ############################## # ufs: inode-hash-size = 512 create-fastlinks = 1 ufs-blkpref-lookbehind = 8 nmount = 128 ############################## # vfs: name-cache-size = 5957 name-cache-hash-size = 256 buffer-hash-size = 512 special-vnode-alias-tbl-size = 64 bufcache = 3 path-num-max = 64 sys-v-mode = 0 ucred-max = 256 nvnode = 2708 max-vnodes = 33632 min-free-vnodes = 2708 vnode-age = 120 namei-cache-valid-time = 1200 max-free-file-structures = 0 max-ufs-mounts = 1000 vnode-deallocation-enable = 1 pipe-maxbuf-size = 65536 pipe-single-write-max = -1 pipe-databuf-size = 8192 pipe-max-bytes-all-pipes = 81920000 noadd-exec-access = 0 fifo-do-adaptive = 1 ############################## # vm: ubc-minpercent = 10 ubc-maxpercent = 100 ubc-borrowpercent = 20 ubc-maxdirtywrites = 5 ubc-nfsloopback = 0 vm-max-wrpgio-kluster = 32768 vm-max-rdpgio-kluster = 16384 vm-cowfaults = 4 vm-mapentries = 200 vm-maxvas = 1073741824 vm-maxwire = 16777216 vm-heappercent = 7 vm-vpagemax = 16384 vm-segmentation = 1 vm-ubcpagesteal = 24 vm-ubcdirtypercent = 10 vm-ubcseqstartpercent = 50 vm-ubcseqpercent = 10 vm-csubmapsize = 1048576 vm-ubcbuffers = 256 vm-syncswapbuffers = 128 vm-asyncswapbuffers = 4 vm-clustermap = 1048576 vm-clustersize = 65536 vm-zone_size = 0 vm-kentry_zone_size = 16777216 vm-syswiredpercent = 80 vm-inswappedmin = 1 vm-page-free-target = 128 vm-page-free-swap = 74 vm-page-free-hardswap = 2048 vm-page-free-min = 20 vm-page-free-reserved = 10 vm-page-free-optimal = 74 vm-page-prewrite-target = 256 dump-user-pte-pages = 0 kernel-stack-guard-pages = 1 vm-min-kernel-address = 18446744071562067968 malloc-percpu-cache = 1 contig-malloc-percent = 20 vm-aggressive-swap = 0 vm-map-index-count = 64 vm-map-index-rebalance = 128 vm-map-index-enabled = 1 vm-map-index-hiwat = 4 vm-map-index-lowat = 2 new-wire-method = 0 vm-segment-cache-max = 50 vm-page-lock-count = 0 gh-chunks = 0 gh-min-seg-size = 8388608 gh-fail-if-no-mem = 1 private-text = 0 private-cache-percent = 0 ############################## # cma_dd: CMA_Option = attribute does not allow this operation hw_database_debug = 0 ############################## # cam_disk: initialized = 1 max_spinups_per_bus = 2 disk_no_response_time = 14 disk_dualcntr_no_resp_time = 30 disk_bus_resp_time_enable = 0 pwrmgmt_poll_period = 30 disk_busy_timeout = 10 ############################## # cam_tape: initialized = 1 open_behaviour = 1 fixed_block_padding = 0 ############################## # cam: cam_initialized_flag = 1 cam_printdb_flag = 0 cam_param_1 = 1 number_of_SCSI_buses = 0 num_peripheral_drivers = 2 num_old_peripheral_drivers = 0 ############################## # isp: isp_fw_file = /dev/qlogic ############################## # eisa: Module_Config_Name = attribute does not allow this operation Module_Type = attribute does not allow this operation EISA_Option = attribute does not allow this operation EISA_Developer_Debug = 0 Adapt_Config = 0 Confl1 = 0 ############################## # ace: dcd_timer = 2 ############################## # pci: Module_Config_Name = attribute does not allow this operation Module_Type = attribute does not allow this operation PCI_Option = attribute does not allow this operation PCI_Developer_Debug = 0 Adapt_Config = 0 Confl1 = 0 ############################## # ws: ws_graphics_flag = attribute does not allow this operation ############################## # gpc_input: kbd_scancode = 3 ############################## # vga: PCI_Option = attribute does not allow this operation ISA_Option = attribute does not allow this operation EISA_Option = attribute does not allow this operation ############################## # lsm: lsm_rootdev_is_volume = 0 lsm_swapdev_is_volume = 0 max-vol = 1024 ############################## # ddr: ############################## # subsystem error: Function not implemented ############################## # kds: kds_version = 1 kds_inited = 3 kds_print_flag = 0 kds_num_db = 4 kds_corrupt = 0 kds_bio_read = 2 kds_kio_read = 0 kds_kio_write = 2 ############################## # lan_common: Module_Config_Name = lan_common Subsystem_Description = LAN Driver Common Routines Subsystem_Version = 1 Masqueraded = 0 ############################## # dlpi: ############################## # envmon: env_current_temp = -1 env_high_temp_thresh = 45 env_fan_status = 0 env_ps_status = 0 env_supported = 1 ############################## # lat: ############################## # cdfs: Module_Config_Name = CDFS Module_Type = Dynamic