My thinking as well. I will give this a try today and let everyone know how it goes.
Thank you, Eric Eric Tishler Software Architect Resolute Partners, LLC Phone: 203.271.1122 Fax: 203.271.1460 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Brennan Sent: Tuesday, June 22, 2004 6:09 PM To: NZ Borland Developers Group - Delphi List Subject: RE: [DUG] Delphi applications on mulitprocessor machines A google search would no doubt clarify things but I think I read that virtual CPU's 1 and 3 are actually physical CPU 1 while VCPUs 2 and 4 are PCPU 2. >From memory under the task manager in multi-CPU machines you can right click on a task manager, select the Affinity menu item and set it to a particular processor. So as Robert says you could perhaps force Firebird to use CPU 2. David. > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Robert martin > Sent: Wednesday, 23 June 2004 9:19 AM > To: NZ Borland Developers Group - Delphi List > Subject: Re: [DUG] Delphi applications on mulitprocessor machines > > > > I have a client server application written in Delphi 6. The > server portion > runs on a fairly 'beefed up' machine with 2 Xeon processors > running at 2GHz > each. I also have 2GB of RAM and a lot of other server class hardware. > > > > When I bring up my task manager window and look at processor > performance, > I actually see 4 separate processor windows. > > The 4CPU windows shown is a Windows thing, there are 2 > hypertreaded cpus in > the system, each acts to the OS as a 2 separate CPUs. My guess is CPU > windows 1 and 2 are the first CPU and 3 and 4 are the second CPU. > > > Can anyone tell me how to read this window? Am I actually utilizing the > second processor at all? Is there something I have to do > specifically in my > Delphi code (or linker/compiler) to make my server application more fully > utilize the system hardware. > > I to would like to know this. Our server app is fully threaded, on > multiprocessor machines is there anything else we need to do or > will Windows > gracefully scale our app so that threads run on different CPUs? > > > I am also running Firebird 1.0.3 on this system too. Yes, my server > application does connect to the database. > > Firebird can only take advantage of multi processor machines in 'classic' > mode, the 'super server' version currently does not take advantage of > multiple CPUs. However you may be able to 'force' it to use a particular > CPU, so if your app is only running on processor 1 the database > could run on > processor 3. > > > Rob Martin > Software Engineer > > phone 03 377 0495 > fax 03 377 0496 > web www.chreos.com > ----- Original Message ----- > From: "Eric Tishler" <[EMAIL PROTECTED]> > To: "NZ Borland Developers Group - Delphi List" <[EMAIL PROTECTED]> > Sent: Wednesday, June 23, 2004 9:01 AM > Subject: [DUG] Delphi applications on mulitprocessor machines > > > > Hi All, > > > > I have a client server application written in Delphi 6. The > server portion > runs on a fairly 'beefed up' machine with 2 Xeon processors > running at 2GHz > each. I also have 2GB of RAM and a lot of other server class hardware. > > > > When I bring up my task manager window and look at processor > performance, > I actually see 4 separate processor windows. > > > > Processor window 1 shows 25% most of the time. Processor window 2 and 4 > show 0%. While processor window 3 very occasionally shows 5 or > 10%, but most > often it just shows 0%. > > > > Can anyone tell me how to read this window? Am I actually utilizing the > second processor at all? Is there something I have to do > specifically in my > Delphi code (or linker/compiler) to make my server application more fully > utilize the system hardware. > > > > I am also running Firebird 1.0.3 on this system too. Yes, my server > application does connect to the database. > > > > Any help would be greatly appreciated. > > > > Thank you, > > > > Eric > > > > Eric Tishler > > Software Architect > > Resolute Partners, LLC > > Phone: 203.271.1122 > > Fax: 203.271.1460 > > [EMAIL PROTECTED] > > > > > > > > _______________________________________________ > > Delphi mailing list > > [EMAIL PROTECTED] > > http://ns3.123.co.nz/mailman/listinfo/delphi > > > > > > _______________________________________________ > Delphi mailing list > [EMAIL PROTECTED] > http://ns3.123.co.nz/mailman/listinfo/delphi > _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi _______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
