English 中文(简体)
• 如何为联合考试委员会提供大页记忆?
原标题:How to enable large page memory for the JVM?
  • 时间:2011-11-14 04:50:49
  •  标签:
  • jboss

在文件(jbosss Performancetuning.pdf)中,它建议我们为核查和核查机制提供大量页面记忆。

But actually after I added the following to our command-line / script start-up: "-XX:+UseLargePages"

它做了大量工作,因此我做了更多的调查,使本组织第一页的记忆得以增加,然后添加了“XX:+UseLargePages-XX:LargePageSize InBytes=2m”作为开办文字。

但不幸的是,它既无所作为,也无能为我们提出一些建议,说明如何使联合核查机制能够成功地保存大量页面?

Here are some details of our server:

[root@localhost ~]# cat /proc/meminfo

MemTotal:     37033340 kB
MemFree:        318108 kB
Buffers:        179452 kB
Cached:        5934940 kB
SwapCached:          0 kB
...
HugePages_Total: 10251
HugePages_Free:  10251
HugePages_Rsvd:      0
Hugepagesize:     2048 kB

#

root     22525  0.2 20.3 28801756 7552420 ?    Sl   Nov03  31:54 java -Dprogram.name=run.sh -server -Xms1303m -Xmx24g -XX:MaxPermSize=512m -XX:+UseLargePages -XX:LargePageSizeInBytes=2m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dsun.lang.ClassLoader.allowArraySyntax=true -verbose:gc -Xloggc:/tmp/gc.log -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Djava.net.preferIPv4Stack=true -Djava.endorsed.dirs=/opt/jboss-as/lib/endorsed -classpath /opt/jboss-as/bin/run.jar org.jboss.Main -c default -b 0.0.0.0
root     31962  0.0  0.0  61200   768 pts/2    S+   22:46   0:00 grep java

[root@localhost ~]# cat /etc/sysctl.conf

...
# JBoss is running as root, so the group id is 0
vm.hugetlb_shm_group = 0
# The pages number
vm.nr_hugepages = 12288
最佳回答

最后,我在确定这一问题时,首先把大页的记忆放在比照电站的大小更大的位置上,然后仅仅更换服务器,因为除非你将电梯提升到代号上——RHEL 6.0中,否则无法使服务器发挥作用。

问题回答

暂无回答




相关问题
Implementing SSO with SAML and JBoss

I want to implement SSO with SAML tokens in JBossAS. The scenario is as follows. I have 2 applications app1 and app2 running on 2 JBoss instances. Login into app1 and enter username / password ...

How do you efficiently repeat an action every x minutes?

I have an application that runs in JBoss. I have an incoming web service request that will update an ArrayList. I want to poll this list from another class every 60 seconds. What would be the most ...

jsp:how to hide folder structure of website from users?

how to hide folder structure of website from users. i have developed a website on jave platform (jsp). website is deployed on jboss. suppose my website s home page url is dummy.com/dummyFolder/...

JBoss Web Services Behind IIS Through HTTPs

This is a tangled web that s woven, I suppose, but it really shouldn t be all that hard. Let me see if I can paint the picture: I have written a web service, starting with a WSDL, which is to run in ...

Flex: image scale stopped working after deploy to server

I have some code to scale an image s width according to its height after the image is being loaded. It works fine on my development PC if I point to the wrapper html using local file system path. ...

How in jboss write traces to separate trace file

How in JBoss to write traces to separate file? I would like to see traces about org.hibernate.SQL and org.hibernate.type in separate trace file. I added next appender and categories to jboss-log4j....

热门标签