473,396 Members | 1,773 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,396 software developers and data experts.

Threading and Dell's dual-core

Don't know whether to post this on a hardware or software board, so
here goes:

I wrote a c# chess program which searches for checkmate. Now, it's
single-threaded. But I was thinking. I just got a Dell XPS dual-core
machine. If I modify the chess program to use threading, will it take
advantage of the dual-core machine? If so, is there any special code
(besides .Net threading) that I have to implement? Thanks in advance -
Bruce

Dec 9 '05 #1
2 2462
Dear Bruce,
There are many MultiThreading Models. Windows NT works
on One to One Model , i.e. 1 User thread is mapped to 1 Kernel Thread.
This model allows Multiple Threads to run in parallel on
Multiprocessors.

Regards,
Naveed Ahmad Bajwa
http://bajoo.blogspot.com/

Dec 9 '05 #2
Hi,
since you r developing in .net, so if you look at blogs.msdn.com, some
bloggers there have been writing about how the .net 2.0 takes advantage of
dual-core machines. I think runtime does a lot of work for us to
automatically take advantage of dual-core. Searching for dual-core related
stuff on specifically blogs.msdn.com should be of help.

Ab.
http://joehacker.blogspot.com.

<br*************@glic.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Don't know whether to post this on a hardware or software board, so
here goes:

I wrote a c# chess program which searches for checkmate. Now, it's
single-threaded. But I was thinking. I just got a Dell XPS dual-core
machine. If I modify the chess program to use threading, will it take
advantage of the dual-core machine? If so, is there any special code
(besides .Net threading) that I have to implement? Thanks in advance -
Bruce

Dec 9 '05 #3

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...
5
by: Garry Hodgson | last post by:
a colleague of mine has seen an odd problem in some code of ours. we initially noticed it on webware, but in distilling a test case it seems to be strictly a python issue. in the real system, it...
2
by: Alan Hewat | last post by:
I have a relatively modest mySQL database with a PHP interface (70,000 entries). On a standard Dell Dimension 4400 (1.9 GHz with 512 Mbytes) running Suse 8.1 a typical query takes 0.66 sec with no...
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...
77
by: Jon Skeet [C# MVP] | last post by:
Please excuse the cross-post - I'm pretty sure I've had interest in the article on all the groups this is posted to. I've finally managed to finish my article on multi-threading - at least for...
2
by: Todd Brooks | last post by:
I have a coclass that implements a dual interface. The thing that's a little unusual is that the coclass doesn't inherit directly from the interface, rather it inherits from an implementation class...
8
by: Rob T | last post by:
I run dual displays on my machine with Visual Studio 2003. Does anyone have a problem when you minimize than maximize the VS program, that you get a phantom window to also show up between the 2...
0
by: Mike Caputo | last post by:
I'm connecting to a DB on a dual-processor 2.8 Ghz server with 2.5 gig RAM. So I've got plenty of muscle, and I'd like to do double-time on one update command. The command calls a stored procedure...
17
by: OlafMeding | last post by:
Below are 2 files that isolate the problem. Note, both programs hang (stop responding) with hyper-threading turned on (a BIOS setting), but work as expected with hyper-threading turned off. ...
1
by: =?Utf-8?B?RC4gUGF5bmU=?= | last post by:
I had a preloaded XP 32 on SATA HDD from DELL. I added a new SATA HDD to the system to install XP 64. The PC has no floppy drive and when running the OEM x64 CD, no disk drives were found (no...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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...
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,...

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.