Results 1 to 6 of 6
  1. #1
    cheng is offline Newbie
    Join Date
    Aug 2008
    Posts
    3

    Push cpu to 200%

    Hi,

    I have a server with 4 CPUs and I want to utilize my java thread to 200%. What is the best way to do it?

    Thanks in advance

    -Cheng

  2. #2
    whcdavid is offline WHC Administrator
    Join Date
    Dec 2003
    Posts
    3,529
    Yes, you can do it, but you need to enable SMP in your kernel. Also, your application or sciprt should support multi-thread, otherwise kernel wouldn't know about it.

    Thanks,
    David K.
    DataCenterTalk Rate, review and Discuss about datacenters.
    DatacenterSearch Where your datacenter search ends.

  3. #3
    taki is offline Newbie
    Join Date
    Sep 2008
    Posts
    13
    Your certainly going to need a 64 bit OS before those multi-threaded applications are going to work with your os layer in your system.

  4. #4
    recklessop is offline Newbie
    Join Date
    Sep 2008
    Posts
    3
    Quote Originally Posted by taki View Post
    Your certainly going to need a 64 bit OS before those multi-threaded applications are going to work with your os layer in your system.
    32 bit versions of linux handle smp just fine... y would you have to have 64 bit?

  5. #5
    DigitalLinx is offline Newbie
    Join Date
    Dec 2008
    Posts
    9
    Quote Originally Posted by recklessop View Post
    32 bit versions of linux handle smp just fine... y would you have to have 64 bit?
    That's true, however using a 32bit kernel on a 64bit CPU is a waste of CPU.

  6. #6
    ashely is offline Newbie
    Join Date
    Feb 2009
    Posts
    21
    why would you want to do this? just out of curiosity

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •