Solved

Websphere CPU binding

Posted on 2003-11-17
4
658 Views
Last Modified: 2013-12-10
My problem is the following:
I have two E10000 domains of four CPUs. My websphere license covers 4 cpus. I want to load balance between 2 Cpus of each node (that have 4 cpus).
How can I limit Websphere to use 2 cpus only on each node ?
Is there any websphere parameters to do this ?
Or an alternative solutions (breaking in 4 domains is not possible).
0
Comment
Question by:jkassad2002
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 3

Expert Comment

by:jerelw
ID: 9764345
The operating system load balances between the CPUs--usually, one application server, or one clone per CPU.
0
 
LVL 3

Expert Comment

by:schleus
ID: 9768904
What version of WebSphere do you have?  

Do you just want to use 2 processors per node across each node for hardware level failover, or was there some other reason?

Have you considered partitioning off your E10000 into two zones isolating 2 CPU's to each zone?

Schleus
0
 

Author Comment

by:jkassad2002
ID: 9769710
Hardware failover would be ok. Load balancing better.
We do not want to partition again in two zones: -> We might need additional Gigabit cards -> Loosing CPUs.
Websphere is the version 5.0.
Isn't it possible to use pbind or something like this ?
Websphere does it provide tools to do it ?
0
 
LVL 3

Accepted Solution

by:
schleus earned 500 total points
ID: 9776070
OK, in version 5 of WebSphere you can get the process ID in a file after the app server has started.  I forget the exact location, but I remember in ends in .pid.  You can write a script to take that PID and bind it to a processor.  The instructions for that are below.

http://developers.sun.com/solaris/articles/solaris_processor.html

As far as WebSphere providing a tool for it, nope.  It is OS specific.

Let me know if you need me to get you the exact location of the PID file after the app server starts.  Also keep in mind, you will need to bind the dmgr and node agent PIDs to the processor also.

Schleus
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
Most of the developers using Tomcat find it easy to configure the datasource in Server.xml and use the JNDI name in the code to get the connection.  So the default connection pool using DBCP (or any other framework) is made available and the life go…
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question