• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Websphere and dual cpus

 
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
Does anyone knows how websphere performs on a dual cpus machine?
Will the application threads be distributed properly to each cpu or will websphere rely on the OS for managing multitasking?
The planned setup is Windows 2003 server and Websphere application server 5.0.2 or 5.1.
Also, only one instance of the server will run.
[ April 13, 2004: Message edited by: Brahim Bakayoko ]
 
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The JVM automatically manages threads across both processors. WebSphere does not need to get involved in this.
Kyle
 
Brahim Bakayoko
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Kyle!
My question now is, is the effective usage of both cpus built into the jvm or does the jvm still has to rely on the OS cpu management?
I have worries that the OS will see the jvm as a single process and only set it up to use only one cpu. Is that the case?
The biggest thing is that I will be using windows 2003. In windows, you often have to set the process affinity of a particular application to one of the cpu manually as windows does poor multitasking management.
 
Kyle Brown
author
Posts: 3892
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No, that's not the case. The JVM will use both processors correctly, even on Windows. It's built into the JVM, which does use OS resources, but very low level ones.
Trust me, it works. I've been doing this on multi-CPU (32-cpu in some cases) windows boxes for years.
Kyle
 
Brahim Bakayoko
Ranch Hand
Posts: 155
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Good to hear that.
Thanks a bunch for the help.
 
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kyle,
Do you know if the memory model problems that were corrected in the new Java language specifications used for J2SE 5.0 had previously been corrected by IBM in the JVM in these older versions of WAS (5.x) or if these memory model defects are also present in these IBM JVMs?

thanks,
 
reply
    Bookmark Topic Watch Topic
  • New Topic