473,473 Members | 2,031 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Dual processor

Not that I'm going to go out and buy a new motherboard, but, will a dual
processor PC run a huge report query and still allow a user to use other
programs while the query is running?

--
Darryl Kerkeslager
Jan 22 '06 #1
8 1911
On Sun, 22 Jan 2006 14:57:15 -0500, "Darryl Kerkeslager"
<ke*********@comcast.net> wrote:

Yes.
But so does a single CPU.
That is, if the software manufacturer used best practices.

Windows uses "cooperative multi-tasking", which means that if you
really want to, you can grab the CPU (or (perhaps even more likely)
some other resource) and hang on to it 'forever' and get your thing
done in the shortest amount of time while disallowing other apps to
run normally.
It also means that well-behaved applications have every opportunity to
yield the use of resources to other players, and if the market place
paid more attention to these traits, then they would dominate the
desktop by now.

In my experience dual-CPU doesn't solve a lot of problems.

-Tom.
Not that I'm going to go out and buy a new motherboard, but, will a dual
processor PC run a huge report query and still allow a user to use other
programs while the query is running?


Jan 23 '06 #2
Tom van Stiphout wrote:
On Sun, 22 Jan 2006 14:57:15 -0500, "Darryl Kerkeslager"
<ke*********@comcast.net> wrote:

Yes.
But so does a single CPU.
That is, if the software manufacturer used best practices.
Windows 95 added preemptive multi-tasking capability, and software has
not been required to be written a special way to share CPU time with
other applications since that time. In Windows NT and 2000 and above,
it is not even possible for an application to hog 100% of CPU time on
purpose.
Windows uses "cooperative multi-tasking", which means that if you
really want to, you can grab the CPU (or (perhaps even more likely)
some other resource) and hang on to it 'forever' and get your thing
done in the shortest amount of time while disallowing other apps to
run normally.


Not since Windows 3.1.
Jan 23 '06 #3
On Mon, 23 Jan 2006 00:49:49 -0800, Steve Jorgensen
<no****@nospam.nospam> wrote:

The way you write it, it seems the OP couldn't have seen what he did:
he runs a large report query and during that time cannot use his
computer for other tasks.

Looks like even today the OS needs the applications' cooperation to
remain responsive, regardless of the multi-tasking method.

-Tom.

Tom van Stiphout wrote:
On Sun, 22 Jan 2006 14:57:15 -0500, "Darryl Kerkeslager"
<ke*********@comcast.net> wrote:

Yes.
But so does a single CPU.
That is, if the software manufacturer used best practices.


Windows 95 added preemptive multi-tasking capability, and software has
not been required to be written a special way to share CPU time with
other applications since that time. In Windows NT and 2000 and above,
it is not even possible for an application to hog 100% of CPU time on
purpose.
Windows uses "cooperative multi-tasking", which means that if you
really want to, you can grab the CPU (or (perhaps even more likely)
some other resource) and hang on to it 'forever' and get your thing
done in the shortest amount of time while disallowing other apps to
run normally.


Not since Windows 3.1.


Jan 23 '06 #4
User applications are normally written to take
high priority. If you have two user applications
running, they will each run half as fast, which
is a massive slowdown.

System processes are normally written to take
low priority, which works well for small user
applications, but is poor when doing massive
long-running foreground processes.

That is, if the software manufacturer used best practices.


It is not best practice to write foreground applications with low priority.

In a perfect world, computers would be infinitely powerful and infinitely
adaptive.

In the real world, software designers have to compromise between conflicting
requirements.

(david)

"Tom van Stiphout" <no*************@cox.net> wrote in message
news:7h********************************@4ax.com... On Mon, 23 Jan 2006 00:49:49 -0800, Steve Jorgensen
<no****@nospam.nospam> wrote:

The way you write it, it seems the OP couldn't have seen what he did:
he runs a large report query and during that time cannot use his
computer for other tasks.

Looks like even today the OS needs the applications' cooperation to
remain responsive, regardless of the multi-tasking method.

-Tom.

Tom van Stiphout wrote:
On Sun, 22 Jan 2006 14:57:15 -0500, "Darryl Kerkeslager"
<ke*********@comcast.net> wrote:

Yes.
But so does a single CPU.
That is, if the software manufacturer used best practices.


Windows 95 added preemptive multi-tasking capability, and software has
not been required to be written a special way to share CPU time with
other applications since that time. In Windows NT and 2000 and above,
it is not even possible for an application to hog 100% of CPU time on
purpose.
Windows uses "cooperative multi-tasking", which means that if you
really want to, you can grab the CPU (or (perhaps even more likely)
some other resource) and hang on to it 'forever' and get your thing
done in the shortest amount of time while disallowing other apps to
run normally.


Not since Windows 3.1.

Jan 23 '06 #5
Please try it and tell us :~)

If you have one processor doing joins, and
the other handling disk access, and you have
used up all of your memory, then I guess
any other programs are still going to run
slow.

So if Access/Jet is well optimised for dual
processors, then other programs will be slow.

But if Access/Jet is deliberately throttled
to one processor, then other programs may
run well!

(david)
"Darryl Kerkeslager" <ke*********@comcast.net> wrote in message
news:pd********************@comcast.com...
Not that I'm going to go out and buy a new motherboard, but, will a dual
processor PC run a huge report query and still allow a user to use other
programs while the query is running?

--
Darryl Kerkeslager

Jan 23 '06 #6
"Tom van Stiphout" <no*************@cox.net> wrote
The way you write it, it seems the OP couldn't have seen what he did:
he runs a large report query and during that time cannot use his
computer for other tasks.


"Cannot use" may not be what I meant to write - more like the slowdown is
abominable. This is mainly an issue with the work computer, XPPro,
switching between the query running (v. large and run over WAN) and Word,
Outlook, Excel.

Perhaps the issue is memory or the network. When I run the report over my
LAN at home, it runs so fast that I don't notice any problem.

--
Darryl Kerkeslager
Jan 24 '06 #7
"david epsom dot com dot au" <david@epsomdotcomdotau> wrote
Please try it and tell us :~)


Just put the new motherboard in the mail to me, please ...
--
Darryl Kerkeslager
Jan 24 '06 #8
"david epsom dot com dot au" <david@epsomdotcomdotau> wrote
So if Access/Jet is well optimised for dual
processors, then other programs will be slow.

But if Access/Jet is deliberately throttled
to one processor, then other programs may
run well!


All programs are MS Office programs, so I guess that all (other than
Outlook) are built similarly.
--
Darryl Kerkeslager
Jan 24 '06 #9

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

Similar topics

9
by: Tomer Ben-David | last post by:
Hi I have a big j2ee appliction that was so forth run on a single cpu machine. I have tested it on a dual cpu machine, its running much slower (about X3 times slower). I know that...
1
by: Frank | last post by:
Hi, we are using oracle clients (Release 9.0.1.0.1 - Production) on an NT4 (Service Pack6) computers. the server is a W2K, (Oracle9i Enterprise Edition Release 9.0.1.1.1 - Production With the...
5
by: John Dalberg | last post by:
I am planning to build a server to be used as a SQL Server and web server. Right now I can only use a single box for both. I have read some threads were dual processors are having problems with...
7
by: cwahlmeier | last post by:
Greetings, I am running DB2 Workgroup Edition on an Intel box with two physical CPUs. It is running Windows with hyperthreading. Thus, the operating system thinks it has 4 cpus. I am about to...
6
by: David | last post by:
Hi all, In my code I have a bottleneck which consists of a cpu-intensive loop of size LENGTH. What I did was to divide that loop into two threads, Thread1 doing the 0 to LENGTH/2 part, and...
2
by: webwarrior | last post by:
Hi, Is there a reason why we have to pay more for licensing for a different kind of processor? Why are we not charged for the Hyperthreading on some processors also. If Oracle is really...
13
by: Pieter | last post by:
Hi, Maybe a little bit off-topic, but it still seemd the best place to ask for it :-) I'm planning to buy a new development laptop, and I would like to buy an AMD, Dual Core,-bit But none of...
3
by: Michel Meex | last post by:
Hello, I have an application, that has been running on a single processor server for more then a year without any problems. Now I'm migrating to a dual processor server, and I'm experiencing...
1
by: Michel Meex | last post by:
Hello, I have an application, that has been running on a single processor server for more then a year without any problems. Now I'm migrating to a dual processor server, and I'm experiencing...
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
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...
1
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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,...
0
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...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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...

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.