- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need to install our J2EE application on a Xeon server machines, built by IBM, but need to install it only for two cores due
to licensing issues. Any idea on how to make a JVM use only two cores of the quad-core CPU of Xeon?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need to install our J2EE application on a Xeon server machines, built by IBM, but need to install it only for two cores due
to licensing issues. Any idea on how to make a JVM use only two cores of the quad-core CPU of Xeon?
On Windows you can create script which will execute SetProcessAffinityMask() call for JVM process.
This is general method, although maybe JVM executable has corresponding command line parameters.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need to install our J2EE application on a Xeon server machines, built by IBM, but need to install it only for two cores due
to licensing issues. Any idea on how to make a JVM use only two cores of the quad-core CPU of Xeon?
On linux you can use numactl(8):
http://linux.die.net/man/8/numactl
(see --physcpubind parameter)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We need to install our J2EE application on a Xeon server machines, built by IBM, but need to install it only for two cores due
to licensing issues. Any idea on how to make a JVM use only two cores of the quad-core CPU of Xeon?
On Windows you can create script which will execute SetProcessAffinityMask() call for JVM process.
This is general method, although maybe JVM executable has corresponding command line parameters.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page