报告全文参考:http://www.spec.org/jEnterprise2010/results/res2011q1/jEnterprise2010-20110223-00019.html

 

下面是一些Linux 64位下参数配置:

-showversion -Xlargepages:exitOnFailure=true -Xms6400m -Xmx6400m -Xns3360m -XXaggressive -Xgc:genpar
-XXgcthreads=8 -Xlargepages -Xverbose:opt,gcpause,compaction -Dweblogic.MuxerClass=weblogic.socket.NIOSocketMuxer
-Dweblogic.SocketReaders=3 -Dweblogic.management.discover=false -Dweblogic.diagnostics.debug.DebugLogger.DISABLED=true
-Djaxws.transport.streaming=true -Doracle.jdbc.defaultRowPrefetch=200
-Djavax.xml.parsers.DocumentBuilderFactory=weblogic.xml.jaxp.RegistryDocumentBuilderFactory
-Dsun.net.inetaddr.ttl=0 -Dnetworkaddress.cache.ttl=0
 
超大内存:
-Xmx21g -Xms21g -Xmn7g -Xss272k -XX:PermSize=95m -XX:MaxPermSize=512M -XX:+UseLargePages -XX:+AggressiveOpts
-XX:+DisableExplicitGC -verbosegc -Xloggc:emugc.log -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintCommandLineFlags
-showversion -Dsun.net.inetaddr.ttl=0 -Dnetworkaddress.cache.ttl=0 -Dweblogic.SocketReaders=1
-Dweblogic.management.discover=false -Dweblogic.diagnostics.debug.DebugLogger.DISABLED=true
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl -Dhttp.keepAlive=false
 
硬件配置:
 
JEE AppServer HW (SUT hardware)
Hardware Vendor: Cisco OS Vendor: Oracle Corporation
Model Name: Cisco UCS B440 M1 Blade Server OS Name: Oracle Linux 5 Update 5 x86_64
Processor: Eight Core Intel(R) Xeon(R) X7560 Filesystem: ext3
MHz: 2262 Disks: 4x 73GB 6Gb/s SAS 15K RPM Cisco UCS M71KR-Q QLogic Converged
# of CPUs: 32 cores, 4 chips, 8 cores/chip, 2 threads/core (Hyper-Threading) Network Interface: Network Adapter with 2 x 10 Gigabit Ethernet and 2 x 4Gbps Fiber Channel
Memory (MB): 131072 Other Hardware: See notes
DIMM[0] Count: 32 DIMM[0] Size: 4096
L1 Cache: 32KB(I)+32KB(D) on chip per core # of Systems: 2
L2 Cache: 256 KB on chip per core H/W Available: May-2010
Other Cache: 24MB(I+D) L3 on chip per chip OS Available: Apr-2010
Notes / Tuning Information
Added to /etc/sysctl.conf:
fs.file-max = 524288
kernel.sem = 250 32000 100 128
kernel.shmall = 10737418240
kernel.shmmax = 4398046511104
net.core.netdev_max_backlog = 400000
net.core.optmem_max = 30000000
net.core.rmem_default = 30000000
net.core.rmem_max = 30000000
net.core.somaxconn = 40000
net.core.wmem_default = 30000000
net.core.wmem_max = 30000000
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_fin_timeout = 10
net.ipv4.tcp_max_syn_backlog = 30000
net.ipv4.tcp_max_tw_buckets = 2000000
net.ipv4.tcp_mem = 30000000 30000000 30000000
net.ipv4.tcp_rmem = 30000000 30000000 30000000
net.ipv4.tcp_timestamps = 0
net.ipv4.tcp_wmem = 30000000 30000000 30000000
vm.zone_reclaim_mode=1

For each of the NICs:
set arp_announce = 2
set arp_ignore = 1
set txqueuelen 60000
enable tso and gso
bind interrupt to a core corresponding to the server instance

Server instances were started using numactl in RT priority of 89, binding 1 instance per chip.
Stop iptables.
Stop irqbalance.
Configure 50000 hugepages.

System was configured with 4 drives in RAID1/0
for jms and server logs.

转载请注明:WebLogic Android 博客 » 关注SPECjEnterprise2010中JVM和WebLogic参数设置