[nycbug-talk] Notes from Trish's Talk:

Isaac Levy ike
Thu Jan 5 09:28:18 EST 2006


Hey Trish,

On Jan 4, 2006, at 6:50 PM, Isaac Levy wrote:

> Trish gave a great lecture with lots of great tuning information,  
> especially regarding Java on FreeBSD.

Thanks again for speaking!  With all the work you put into tuning,  
you made it all look easy ;)

Below, for the searchable record on-list, I've extracted the sysctl  
variables and Kernel Config settings from your lecture notes:

--
sysctl.conf

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
configtuning-kernel-limits.html

kern.ipc.shm_use_phys=1
net.inet.tcp.sendspace=65536
net.inet.tcp.recvspace=65536
net.inet.tcp.always_keepalive=1
net.inet.tcp.delayed_ack=1
net.inet.tcp.inflight.enable=1
net.inet.tcp.inflight.debug=0
net.inet.tcp.inflight.min=6144
net.inet.tcp.drop_synfin=1
kern.ipc.somaxconn=2048
kern.maxfiles=49312
kern.maxfilesperproc=44380
kern.polling.enable=1


--
Kernel Config

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ 
kernelconfig-config.html

options         SCHED_ULE               # ULE scheduler
#options        SCHED_4BSD              # 4BSD scheduler
options         PREEMPTION              # Enable kernel thread  
preemption
options         INET                    # InterNETworking
options         FFS                     # Berkeley Fast Filesystem
options         SOFTUPDATES             # Enable FFS soft updates  
support
options         UFS_ACL                 # Support for access control  
lists
options         UFS_DIRHASH             # Improve performance on big  
directories
options         MD_ROOT                 # MD is a potential root device
options         NFSCLIENT               # Network Filesystem Client
options         NFSSERVER               # Network Filesystem Server
options         NFS_ROOT                # NFS usable as /, requires  
NFSCLIENT
options         MSDOSFS                 # MSDOS Filesystem
options         CD9660                  # ISO 9660 Filesystem
options         PROCFS                  # Process filesystem  
(requires PSEUDOFS)
options         PSEUDOFS                # Pseudo-filesystem framework
options         GEOM_GPT                # GUID Partition Tables.
options         COMPAT_43               # Compatible with BSD 4.3  
[KEEP THIS!]
options         COMPAT_FREEBSD4         # Compatible with FreeBSD4
options         COMPAT_FREEBSD5         # Compatible with FreeBSD5
options         SCSI_DELAY=5000         # Delay (in ms) before  
probing SCSI
options         KTRACE                  # ktrace(1) support
options         SYSVSHM                 # SYSV-style shared memory
options         SYSVMSG                 # SYSV-style message queues
options         SYSVSEM                 # SYSV-style semaphores
options         _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real- 
time extensions
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
options         AHC_REG_PRETTY_PRINT    # Print register bitfields in  
debug
                                         # output.  Adds ~128k to  
driver.
options         AHD_REG_PRETTY_PRINT    # Print register bitfields in  
debug
                                         # output.  Adds ~215k to  
driver.
options         ADAPTIVE_GIANT          # Giant mutex is adaptive.


#device options

options         DEVICE_POLLING
options         HZ=1000


--
Rocket-
.ike






More information about the talk mailing list