Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How can you make idle processors pick up java work?

Reply
Thread Tools

How can you make idle processors pick up java work?

 
 
lbrtchx
Guest
Posts: n/a
 
      07-31-2012
From: "lbrtchx" <lbrtchx@1:261/38.remove-dpk-this>

From: http://www.velocityreviews.com/forums/(E-Mail Removed)

How can you make idle processors pick up java work?
~
While running top I noticed that most processors running the same executing
java instance are idle
~
// __ 4 processors + 4Gb RAM
~
http://hsymbolicus.wordpress.com/?attachment_id=418
~
// __ 8 processors + 32Gb RAM
~
http://hsymbolicus.wordpress.com/?attachment_id=419
~
I need to work on vast amounts of data.
~
Is there a way to make these processors pick up/share work also, or do you
have to use some sort of scheduling framework on top of java? ~
lbrtchx
comp.lang.java.programmer: How can you make idle processors pick up java work?

-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/3
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/3
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
 
Reply With Quote
 
 
 
 
Joshua Cranmer
Guest
Posts: n/a
 
      07-31-2012
To: lbrtchx
From: "Joshua Cranmer" <joshua.cranmer@1:261/38.remove-dpk-this>

To: lbrtchx
From: Joshua Cranmer <(E-Mail Removed)>

On 7/30/2012 6:01 PM, (E-Mail Removed) wrote:
> Is there a way to make these processors pick up/share work also, or
> do you have to use some sort of scheduling framework on top of java?


Use multiple threads?

--
Beware of bugs in the above code; I have only proved it correct, not tried it.
-- Donald E. Knuth

-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/3
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/3
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
 
Reply With Quote
 
 
 
 
markspace
Guest
Posts: n/a
 
      07-31-2012
To: lbrtchx
From: "markspace" <markspace@1:261/38.remove-dpk-this>

To: lbrtchx
From: markspace <-@.>

On 7/30/2012 3:01 PM, (E-Mail Removed) wrote:

> Is there a way to make these processors pick up/share work also, or
> do you have to use some sort of scheduling framework on top of java?



I have to echo Joshua's comment. What are you doing now that you expect a JVM
to be executing more than one thread? The full protocol stack would be good to
know, as well as any frameworks you are currently using. Some are
multi-threaded, some aren't.

-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/3
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/3
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
 
Reply With Quote
 
Roedy Green
Guest
Posts: n/a
 
      07-31-2012
To: lbrtchx
From: "Roedy Green" <roedy.green@1:261/38.remove-dpk-this>

To: lbrtchx
From: Roedy Green <(E-Mail Removed)>

On Mon, 30 Jul 2012 22:01:03 +0000 (UTC), (E-Mail Removed) wrote, quoted or
indirectly quoted someone who said :

> How can you make idle processors pick up java work?


You need multiple threads. There is no way two processors can gang up to boost
the same thread.

See http://mindprod.com/jgloss/thread.html
--
Roedy Green Canadian Mind Products
http://mindprod.com
The greatest shortcoming of the human race is our inability to understand the
exponential function.
~ Dr. Albert A. Bartlett (born: 1923-03-21 age: 89)
http://www.youtube.com/watch?v=F-QA2rkpBSY

-+- BBBS/Li6 v4.10 Dada-1
+ Origin: Prism bbs (1:261/3
-+- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24

--- BBBS/Li6 v4.10 Dada-1
* Origin: Prism bbs (1:261/3
--- Synchronet 3.16a-Win32 NewsLink 1.98
Time Warp of the Future BBS - telnet://time.synchro.net:24
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you make idle processors pick up java work? qwertmonkey@syberianoutpost.ru Java 0 07-31-2012 05:30 PM
How can you make idle processors pick up java work? qwertmonkey@syberianoutpost.ru Java 0 07-31-2012 12:30 PM
How can you make idle processors pick up java work? qwertmonkey@syberianoutpost.ru Java 2 07-31-2012 11:41 AM
How can you make idle processors pick up java work? lbrtchx@gemale.com Java 3 07-31-2012 11:16 AM
How can you make idle processors pick up java work? qwertmonkey@syberiaoutpost.ru Java 3 07-31-2012 03:45 AM



Advertisments