Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > mulitple cpu machines

Reply
Thread Tools

mulitple cpu machines

 
 
Roedy Green
Guest
Posts: n/a
 
      09-27-2008
I was wondering if there is any hope of extracting the two cpu serial
numbers on a multiple CPU and/or multiple core machine. Failing that,
is there a way to ensure you run a piece of code on a selected CPU so
that you will get a consistent serial number?

I have the code to extract the cpu serial number on a single CPU
machine. I presume a dual core machine shares the same serial number.
--
Roedy Green Canadian Mind Products
http://mindprod.com/politics/harper.html
Anyone but Harper for Prime Minister of Canada
 
Reply With Quote
 
 
 
 
Arne Vajhøj
Guest
Posts: n/a
 
      10-05-2008
Roedy Green wrote:
> I was wondering if there is any hope of extracting the two cpu serial
> numbers on a multiple CPU and/or multiple core machine. Failing that,
> is there a way to ensure you run a piece of code on a selected CPU so
> that you will get a consistent serial number?
>
> I have the code to extract the cpu serial number on a single CPU
> machine. I presume a dual core machine shares the same serial number.


I don't think there is much solution in Java for this.

You will info about:
- what info the various CPU's (x86, x86-64, PPC, SPARX etc.) expose
- how that info can be retrieved via the OS (Win, Linux, MacOS X,
Solaris etc.)
- what options exist to limit a process to a subset of available
CPU resources in the OS

It will be system specific and coded in C and JNI !

Arne
 
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
Bonding over mulitple cisco 3750? Michael Heiming Cisco 2 12-03-2007 02:56 AM
mulitple port mapping to same internal address Brian Bergin Cisco 1 05-27-2005 02:27 PM
Mulitple 6509's imayroam Cisco 7 02-26-2005 03:42 AM
Viewstate and Mulitple Web Servers Joe Reazor ASP .Net 2 08-28-2003 08:32 PM
python threads on multi-CPU machines Thomas Womack Python 6 08-19-2003 05:51 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57