473,395 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

confusion with number of processors using ESE

Hello,

I am a bit confused as to how this all works with respect to number of
processors on a Linux machine. The situation I am encountering is this :
because of Hyperthreading technology, the OS thinks it has four
processors, but in reality, it has only two. I have updated the db2licm
to use two processors, but want to be certain I did the right thing.
Would it be possible to "pretend" that the machine does indeed have four
processors somehow? Would that then allow four Nodes and attendant
Nodegroups?

I know I'm prolly fishing for trouble, but I thought I'd see what
response I'd get !!

Thanks in advance

Mairhtin O'Feannag
Nov 12 '05 #1
2 1983
I don't believe the db2licm command has anything to do with how many
processors db2 uses. It is merely there for licensing purposes. The
ability for processor affinity and how it is done depends on the os
platform. It (I believe) is normally done via the os.

Larry Edelstein

mairhtin o'feannag wrote:
Hello,

I am a bit confused as to how this all works with respect to number of
processors on a Linux machine. The situation I am encountering is this :
because of Hyperthreading technology, the OS thinks it has four
processors, but in reality, it has only two. I have updated the db2licm
to use two processors, but want to be certain I did the right thing.
Would it be possible to "pretend" that the machine does indeed have four
processors somehow? Would that then allow four Nodes and attendant
Nodegroups?

I know I'm prolly fishing for trouble, but I thought I'd see what
response I'd get !!

Thanks in advance

Mairhtin O'Feannag


Nov 12 '05 #2

"Larry" <La***@nospam.net> wrote in message
news:ri********************@news4.srv.hcvlny.cv.ne t...
I don't believe the db2licm command has anything to do with how many
processors db2 uses. It is merely there for licensing purposes. ======
Exactly.
And even for the licensing purposes, you only need to care the physical
processor numbers.
In fact, db2 process model is designed for multi-process/single thread on
Linux. You are not benefit from Hyperthreading technology.
The
ability for processor affinity and how it is done depends on the os
platform. It (I believe) is normally done via the os.

Larry Edelstein

mairhtin o'feannag wrote:
Hello,

I am a bit confused as to how this all works with respect to number of
processors on a Linux machine. The situation I am encountering is this : because of Hyperthreading technology, the OS thinks it has four
processors, but in reality, it has only two. I have updated the db2licm
to use two processors, but want to be certain I did the right thing.
Would it be possible to "pretend" that the machine does indeed have four
processors somehow? Would that then allow four Nodes and attendant
Nodegroups?

I know I'm prolly fishing for trouble, but I thought I'd see what
response I'd get !!

Thanks in advance

Mairhtin O'Feannag

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: muttu | last post by:
hello everybody am writing a scanner using python which has to get the information for sun's dual processors, so could any one of you please tell me how to find the number of processors . is there...
4
by: AA | last post by:
Do you know how can i get that? Thanks a lot
5
by: PaulThomas | last post by:
Using VS.Net 2000 and C# How can I get the CPU Serial Number and the Operating Syatem Serial Number Thanks in advance, Paul
7
by: Jean-David Beyer | last post by:
I have six hard drives (4 SCSI and 2 EIDE) on my main machine with parts of a database on each drive. The main index is on one SCSI drive all to itself. The main data are on the other three SCSI...
32
by: Cmorriskuerten | last post by:
HI, is this is this solution to test if a number is a prime number or not: /* * Is n a prime number? * Return TRUE (1): n is a prime number * Return FALSE (0): n is a *not* a prime number...
1
by: Dominic | last post by:
I'd like to tune the performance of my application in a web garden. Our server has dual processors. Is there any guideline to set this "maximum number of worker processes" for web garden? In my...
109
by: jmcgill | last post by:
Hello. Is there a method for computing the number of digits, in a given numeric base, of N factorial, without actually computing the factorial? For example, 8! has 5 digits in base 10; 10! has...
35
by: Andrew Fabbro | last post by:
I have a need to create an array that is larger than size_t - 1, which I believe is the largest guaranteed array. I though I'd found salvation in FAQ 6.14, but it appears I am not understanding...
11
by: John | last post by:
Is there a way to find the number of processors on a machine (on linux/ windows/macos/cygwin) using python code (using the same code/cross platform code)?
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.