sysctl.conf nebo loader.conf
Tyman Vladimir
Vladimir.Tyman at i.cz
Fri Mar 14 09:43:32 CET 2003
Robert Řezníček wrote:
>
> sysctl.conf
V pripade hw.ata.* jdou nedefaultni hodnoty nastavit pouze v loader.conf viz. nize relevantni cast "man ata" na 4.7.
.....
The following tunables are setable from the loader:
hw.ata.ata_dma
set to 1 for DMA access, 0 for PIO (default is DMA).
hw.ata.atapi_dma
set to 1 for DMA access, 0 for PIO (default is PIO).
hw.ata.wc
set to 1 to enable Write Caching, 0 to disable (default is enabled).
(WARNING: might cause data loss on power failures.)
hw.ata.tags
set to 1 to enable Tagged Queuing support, 0 to disable (default is dis-
abled). (Only IBM DPTA, DTLA, ICxxxxxxAT, ICxxxxxxAV drives support
that.)
.....
Osobne mam vyzkouseno, ze to tak skutecne je u hw.ata.tags.
Abyste nemusel hledat syntaxi, tak tady je priklad loader.conf:
# cat /boot/loader.conf
# -- sysinstall generated deltas -- #
userconfig_script_load="YES"
hw.ata.tags="1"
Vladimir Tyman
> On Fri, Mar 14, 2003 at 12:12:05AM +0100, Liquid wrote:
> > Zdravim, resim problemek o tom kam ktere parametry ladeni kernelu zapsat
> > aby to bylo spravne?
> > Kterej z tech konfiguraku je to spravne misto na zapsani techto parametru?
> > ----------
> > vfs.vmiodirenable=1
> > kern.ipc.maxsockbuf=2097152
> > kern.ipc.somaxconn=8192
> > kern.ipc.maxsockets=16424
> > kern.ipc.nmbclusters=65536
> > kern.maxfiles=65536
> > kern.maxfilesperproc=32768
> > net.inet.tcp.rfc1323=1
> > net.inet.tcp.delayed_ack=0
> > net.inet.tcp.sendspace=65535
> > net.inet.tcp.recvspace=65535
> > net.inet.udp.recvspace=65535
> > net.inet.udp.maxdgram=57344
> > net.inet.icmp.icmplim=200
> > net.local.stream.recvspace=65535
> > hw.ata.wc="1"
> > ---------------------------
>
> > Dikes, Liquid.
>
> ---end quoted text---
More information about the Users-l
mailing list