473,785 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2004
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.n et> wrote in message
news:ri******** ************@ne ws4.srv.hcvlny. cv.net...
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
2350
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 any api's for this , and also lemme know how exactly i can write the scannerapi for this, so that it can read the information of all the cpu's. I have the related CFG file for that. with regards thanks in advance
4
779
by: AA | last post by:
Do you know how can i get that? Thanks a lot
5
6873
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
2129
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 drives. Small relations are on one EIDE drive, and the logfiles are on the other EIDE drive. When running the task, below, the rest of the machine is not doing much. I do not remember where I saw it, but somewhere I got the idea that the number...
32
76457
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 */ int is_prime_number(int n)
1
9612
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 application, stress test shows that setting it to 2 gives a better performance result. In other words, web garden helps. My first question is if it helps to set a number larger than the number of processors in the server. Are they related at all? ...
109
7647
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 7 digits in base 10. Is there a way to compute that information without actually evaluating the factorial?
35
2073
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 something. The array is an array of pointers to structs. Here is an example using a small array: /* checks that malloc succeeded, main's return, etc. removed for brevity */
11
4923
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
9489
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10356
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10162
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10100
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8988
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6744
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5528
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2893
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.