Re: [DAEMON] Assigning JVM to a core

2013-10-16 Thread Gary Gregory
Ping?

On Thu, Oct 10, 2013 at 10:13 PM, Gary Gregory garydgreg...@gmail.comwrote:

 On Thu, Oct 10, 2013 at 10:11 PM, Martin Gainty mgai...@hotmail.com
 wrote:
  Gary
 
  which version of os/arch are you targetting?

 Martin,

 I'm pretty sure our IT folks are looking at Windows 32 and/or 64-bit.
 If it matters I'll get the exact versions.

 Gary

 
  Martin
 
 
 
 
 
  Date: Thu, 10 Oct 2013 22:08:09 -0400
  Subject: [DAEMON] Assigning JVM to a core
  From: garydgreg...@gmail.com
  To: user@commons.apache.org
 
  Hi All:
 
  Is there a way to tell [daemon] to run a JVM on a specific core within
 a CPU?
 
  Gary
 
  --
  E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
  Java Persistence with Hibernate, Second Edition
  JUnit in Action, Second Edition
  Spring Batch in Action
  Blog: http://garygregory.wordpress.com
  Home: http://garygregory.com/
  Tweet! http://twitter.com/GaryGregory
 
  -
  To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
  For additional commands, e-mail: user-h...@commons.apache.org
 
 



 --
 E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
 Java Persistence with Hibernate, Second Edition
 JUnit in Action, Second Edition
 Spring Batch in Action
 Blog: http://garygregory.wordpress.com
 Home: http://garygregory.com/
 Tweet! http://twitter.com/GaryGregory




-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Editionhttp://www.manning.com/bauer3/
JUnit in Action, Second Edition http://www.manning.com/tahchiev/
Spring Batch in Action http://www.manning.com/templier/
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


Re: [DAEMON] Assigning JVM to a core

2013-10-16 Thread Thomas Neidhart
This link may help you:
http://www.scalabiliti.com/blog/java_jvm_processor_affinity


On Wed, Oct 16, 2013 at 4:38 PM, Gary Gregory garydgreg...@gmail.comwrote:

 Ping?

 On Thu, Oct 10, 2013 at 10:13 PM, Gary Gregory garydgreg...@gmail.com
 wrote:

  On Thu, Oct 10, 2013 at 10:11 PM, Martin Gainty mgai...@hotmail.com
  wrote:
   Gary
  
   which version of os/arch are you targetting?
 
  Martin,
 
  I'm pretty sure our IT folks are looking at Windows 32 and/or 64-bit.
  If it matters I'll get the exact versions.
 
  Gary
 
  
   Martin
  
  
  
  
  
   Date: Thu, 10 Oct 2013 22:08:09 -0400
   Subject: [DAEMON] Assigning JVM to a core
   From: garydgreg...@gmail.com
   To: user@commons.apache.org
  
   Hi All:
  
   Is there a way to tell [daemon] to run a JVM on a specific core within
  a CPU?
  
   Gary
  
   --
   E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
   Java Persistence with Hibernate, Second Edition
   JUnit in Action, Second Edition
   Spring Batch in Action
   Blog: http://garygregory.wordpress.com
   Home: http://garygregory.com/
   Tweet! http://twitter.com/GaryGregory
  
   -
   To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
   For additional commands, e-mail: user-h...@commons.apache.org
  
  
 
 
 
  --
  E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
  Java Persistence with Hibernate, Second Edition
  JUnit in Action, Second Edition
  Spring Batch in Action
  Blog: http://garygregory.wordpress.com
  Home: http://garygregory.com/
  Tweet! http://twitter.com/GaryGregory
 



 --
 E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
 Java Persistence with Hibernate, Second Edition
 http://www.manning.com/bauer3/
 JUnit in Action, Second Edition http://www.manning.com/tahchiev/
 Spring Batch in Action http://www.manning.com/templier/
 Blog: http://garygregory.wordpress.com
 Home: http://garygregory.com/
 Tweet! http://twitter.com/GaryGregory



RE: [DAEMON] Assigning JVM to a core

2013-10-16 Thread Martin Gainty
procaff  /wait 2 notepad.exe starts notepad.exe on CPU 1 synchronously
procaff  /run  1 notepad.exe starts notepad.exe on CPU 0 asynchronously
procaff  /set  3 4296 sets processor affinity of process with pid 4296 to 3
procaff  /set  3 foo.exe sets processor affinity of process foo.exe  to 3


Vielen Danke Thomas!
Martin 


  



 Date: Wed, 16 Oct 2013 17:51:51 +0200
 Subject: Re: [DAEMON] Assigning JVM to a core
 From: thomas.neidh...@gmail.com
 To: user@commons.apache.org
 
 This link may help you:
 http://www.scalabiliti.com/blog/java_jvm_processor_affinity
 
 
 On Wed, Oct 16, 2013 at 4:38 PM, Gary Gregory garydgreg...@gmail.comwrote:
 
  Ping?
 
  On Thu, Oct 10, 2013 at 10:13 PM, Gary Gregory garydgreg...@gmail.com
  wrote:
 
   On Thu, Oct 10, 2013 at 10:11 PM, Martin Gainty mgai...@hotmail.com
   wrote:
Gary
   
which version of os/arch are you targetting?
  
   Martin,
  
   I'm pretty sure our IT folks are looking at Windows 32 and/or 64-bit.
   If it matters I'll get the exact versions.
  
   Gary
  
   
Martin
   
   
   
   
   
Date: Thu, 10 Oct 2013 22:08:09 -0400
Subject: [DAEMON] Assigning JVM to a core
From: garydgreg...@gmail.com
To: user@commons.apache.org
   
Hi All:
   
Is there a way to tell [daemon] to run a JVM on a specific core within
   a CPU?
   
Gary
   
--
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
   
-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org
   
   
  
  
  
   --
   E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
   Java Persistence with Hibernate, Second Edition
   JUnit in Action, Second Edition
   Spring Batch in Action
   Blog: http://garygregory.wordpress.com
   Home: http://garygregory.com/
   Tweet! http://twitter.com/GaryGregory
  
 
 
 
  --
  E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
  Java Persistence with Hibernate, Second Edition
  http://www.manning.com/bauer3/
  JUnit in Action, Second Edition http://www.manning.com/tahchiev/
  Spring Batch in Action http://www.manning.com/templier/
  Blog: http://garygregory.wordpress.com
  Home: http://garygregory.com/
  Tweet! http://twitter.com/GaryGregory
 
  

Re: [DAEMON] Assigning JVM to a core

2013-10-16 Thread Gary Gregory
Nice tips, but it sounds like I am out of luck with telling prunsrv.exe to
set the affinity for a JVM, right?

Gary


On Wed, Oct 16, 2013 at 12:26 PM, Martin Gainty mgai...@hotmail.com wrote:

 procaff  /wait 2 notepad.exe starts notepad.exe on CPU 1 synchronously
 procaff  /run  1 notepad.exe starts notepad.exe on CPU 0 asynchronously
 procaff  /set  3 4296 sets processor affinity of process with pid 4296 to 3
 procaff  /set  3 foo.exe sets processor affinity of process foo.exe  to 3


 Vielen Danke Thomas!
 Martin






  Date: Wed, 16 Oct 2013 17:51:51 +0200
  Subject: Re: [DAEMON] Assigning JVM to a core
  From: thomas.neidh...@gmail.com
  To: user@commons.apache.org
 
  This link may help you:
  http://www.scalabiliti.com/blog/java_jvm_processor_affinity
 
 
  On Wed, Oct 16, 2013 at 4:38 PM, Gary Gregory garydgreg...@gmail.com
 wrote:
 
   Ping?
  
   On Thu, Oct 10, 2013 at 10:13 PM, Gary Gregory garydgreg...@gmail.com
   wrote:
  
On Thu, Oct 10, 2013 at 10:11 PM, Martin Gainty mgai...@hotmail.com
 
wrote:
 Gary

 which version of os/arch are you targetting?
   
Martin,
   
I'm pretty sure our IT folks are looking at Windows 32 and/or 64-bit.
If it matters I'll get the exact versions.
   
Gary
   

 Martin





 Date: Thu, 10 Oct 2013 22:08:09 -0400
 Subject: [DAEMON] Assigning JVM to a core
 From: garydgreg...@gmail.com
 To: user@commons.apache.org

 Hi All:

 Is there a way to tell [daemon] to run a JVM on a specific core
 within
a CPU?

 Gary

 --
 E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
 Java Persistence with Hibernate, Second Edition
 JUnit in Action, Second Edition
 Spring Batch in Action
 Blog: http://garygregory.wordpress.com
 Home: http://garygregory.com/
 Tweet! http://twitter.com/GaryGregory


 -
 To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
 For additional commands, e-mail: user-h...@commons.apache.org


   
   
   
--
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory
   
  
  
  
   --
   E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
   Java Persistence with Hibernate, Second Edition
   http://www.manning.com/bauer3/
   JUnit in Action, Second Edition http://www.manning.com/tahchiev/
   Spring Batch in Action http://www.manning.com/templier/
   Blog: http://garygregory.wordpress.com
   Home: http://garygregory.com/
   Tweet! http://twitter.com/GaryGregory
  





-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Editionhttp://www.manning.com/bauer3/
JUnit in Action, Second Edition http://www.manning.com/tahchiev/
Spring Batch in Action http://www.manning.com/templier/
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory


RE: [DAEMON] Assigning JVM to a core

2013-10-10 Thread Martin Gainty
Gary

which version of os/arch are you targetting?

Martin 


  


 Date: Thu, 10 Oct 2013 22:08:09 -0400
 Subject: [DAEMON] Assigning JVM to a core
 From: garydgreg...@gmail.com
 To: user@commons.apache.org
 
 Hi All:
 
 Is there a way to tell [daemon] to run a JVM on a specific core within a CPU?
 
 Gary
 
 -- 
 E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
 Java Persistence with Hibernate, Second Edition
 JUnit in Action, Second Edition
 Spring Batch in Action
 Blog: http://garygregory.wordpress.com
 Home: http://garygregory.com/
 Tweet! http://twitter.com/GaryGregory
 
 -
 To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
 For additional commands, e-mail: user-h...@commons.apache.org
 
  

Re: [DAEMON] Assigning JVM to a core

2013-10-10 Thread Gary Gregory
On Thu, Oct 10, 2013 at 10:11 PM, Martin Gainty mgai...@hotmail.com wrote:
 Gary

 which version of os/arch are you targetting?

Martin,

I'm pretty sure our IT folks are looking at Windows 32 and/or 64-bit.
If it matters I'll get the exact versions.

Gary


 Martin





 Date: Thu, 10 Oct 2013 22:08:09 -0400
 Subject: [DAEMON] Assigning JVM to a core
 From: garydgreg...@gmail.com
 To: user@commons.apache.org

 Hi All:

 Is there a way to tell [daemon] to run a JVM on a specific core within a CPU?

 Gary

 --
 E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
 Java Persistence with Hibernate, Second Edition
 JUnit in Action, Second Edition
 Spring Batch in Action
 Blog: http://garygregory.wordpress.com
 Home: http://garygregory.com/
 Tweet! http://twitter.com/GaryGregory

 -
 To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
 For additional commands, e-mail: user-h...@commons.apache.org





-- 
E-Mail: garydgreg...@gmail.com | ggreg...@apache.org
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory

-
To unsubscribe, e-mail: user-unsubscr...@commons.apache.org
For additional commands, e-mail: user-h...@commons.apache.org